lib/services/batch/lib/models/jobAddParameter.js
/**
   * Defines the metadata of JobAddParameter
   *
   * @returns {object} metadata of JobAddParameter
   *
   */
Defines the metadata of JobAddParameter
@returns {object} metadata of JobAddParameter
Defines the metadata of JobAddParameter @returns { object } metadata of JobAddParameter
mapper() {
    return {
      required: false,
      serializedName: 'JobAddParameter',
      type: {
        name: 'Composite',
        className: 'JobAddParameter',
        modelProperties: {
          id: {
            required: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          displayName: {
            required: false,
            serializedName: 'displayName',
            type: {
              name: 'String'
            }
          },
          priority: {
            required: false,
            serializedName: 'priority',
            type: {
              name: 'Number'
            }
          },
          constraints: {
            required: false,
            serializedName: 'constraints',
            type: {
              name: 'Composite',
              className: 'JobConstraints'
            }
          },
          jobManagerTask: {
            required: false,
            serializedName: 'jobManagerTask',
            type: {
              name: 'Composite',
              className: 'JobManagerTask'
            }
          },
          jobPreparationTask: {
            required: false,
            serializedName: 'jobPreparationTask',
            type: {
              name: 'Composite',
              className: 'JobPreparationTask'
            }
          },
          jobReleaseTask: {
            required: false,
            serializedName: 'jobReleaseTask',
            type: {
              name: 'Composite',
              className: 'JobReleaseTask'
            }
          },
          commonEnvironmentSettings: {
            required: false,
            serializedName: 'commonEnvironmentSettings',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'EnvironmentSettingElementType',
                  type: {
                    name: 'Composite',
                    className: 'EnvironmentSetting'
                  }
              }
            }
          },
          poolInfo: {
            required: true,
            serializedName: 'poolInfo',
            defaultValue: {},
            type: {
              name: 'Composite',
              className: 'PoolInformation'
            }
          },
          onAllTasksComplete: {
            required: false,
            serializedName: 'onAllTasksComplete',
            type: {
              name: 'Enum',
              allowedValues: [ 'noAction', 'terminateJob' ]
            }
          },
          onTaskFailure: {
            required: false,
            serializedName: 'onTaskFailure',
            type: {
              name: 'Enum',
              allowedValues: [ 'noAction', 'performExitOptionsJobAction' ]
            }
          },
          metadata: {
            required: false,
            serializedName: 'metadata',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'MetadataItemElementType',
                  type: {
                    name: 'Composite',
                    className: 'MetadataItem'
                  }
              }
            }
          },
          usesTaskDependencies: {
            required: false,
            serializedName: 'usesTaskDependencies',
            type: {
              name: 'Boolean'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'JobAddParameter' , type : { name : 'Composite' , className : 'JobAddParameter' , modelProperties : { id : { required : true , serializedName : 'id' , type : { name : 'String' } } , displayName : { required : false , serializedName : 'displayName' , type : { name : 'String' } } , priority : { required : false , serializedName : 'priority' , type : { name : 'Number' } } , constraints : { required : false , serializedName : 'constraints' , type : { name : 'Composite' , className : 'JobConstraints' } } , jobManagerTask : { required : false , serializedName : 'jobManagerTask' , type : { name : 'Composite' , className : 'JobManagerTask' } } , jobPreparationTask : { required : false , serializedName : 'jobPreparationTask' , type : { name : 'Composite' , className : 'JobPreparationTask' } } , jobReleaseTask : { required : false , serializedName : 'jobReleaseTask' , type : { name : 'Composite' , className : 'JobReleaseTask' } } , commonEnvironmentSettings : { required : false , serializedName : 'commonEnvironmentSettings' , type : { name : 'Sequence' , element : { required : false , serializedName : 'EnvironmentSettingElementType' , type : { name : 'Composite' , className : 'EnvironmentSetting' } } } } , poolInfo : { required : true , serializedName : 'poolInfo' , defaultValue : { } , type : { name : 'Composite' , className : 'PoolInformation' } } , onAllTasksComplete : { required : false , serializedName : 'onAllTasksComplete' , type : { name : 'Enum' , allowedValues : [ 'noAction' , 'terminateJob' ] } } , onTaskFailure : { required : false , serializedName : 'onTaskFailure' , type : { name : 'Enum' , allowedValues : [ 'noAction' , 'performExitOptionsJobAction' ] } } , metadata : { required : false , serializedName : 'metadata' , type : { name : 'Sequence' , element : { required : false , serializedName : 'MetadataItemElementType' , type : { name : 'Composite' , className : 'MetadataItem' } } } } , usesTaskDependencies : { required : false , serializedName : 'usesTaskDependencies' , type : { name : 'Boolean' } } } } } ; }
Defines the metadata of JobAddParameter
 @returns {object} metadata of JobAddParameter
Defines the metadata of JobAddParameter @returns { object } metadata of JobAddParameter