class_docstr: Pipeline parameter for workflow.
  
  Attributes:
      name (str): The name of the parameter.
      parameter_type (ParameterTypeEnum): The type of the parameter.
      default_value (PrimitiveType): The default value of the parameter.
class_docstr_tok: ["Pipeline","parameter","for","workflow",".","Attributes",":","name","(","str",")",":","The","name","of","the","parameter",".","parameter_type","(","ParameterTypeEnum",")",":","The","type","of","the","parameter",".","default_value","(","PrimitiveType",")",":","The","default","value","of","the","parameter","."]
docstr: Get the request structure for workflow service calls.
docstr_tok: ["Get","the","request","structure","for","workflow","service","calls","."]
code: def to_request(self) -> RequestType:
      """Get the request structure for workflow service calls."""
      value = {
          "Name": self.name,
          "Type": self.parameter_type.value,
      }
      if self.default_value is not None:
          value["DefaultValue"] = self.default_value
      return value
  
imports: from __future__ import absolute_import
  from enum import Enum
  from functools import partial
  from typing import Dict, List, Type
  import attr
  from sagemaker.workflow.entities import DefaultEnumMeta, Entity, PrimitiveType, RequestType, PipelineVariable
label_desc: Use image node_id 2 for calling the Parameter obj's underlying member method code with example usage: obj.to_request() and returns: value