lib/services/mediaServicesManagement/lib/models/job.js
/**
   * Defines the metadata of Job
   *
   * @returns {object} metadata of Job
   *
   */
Defines the metadata of Job
@returns {object} metadata of Job
Defines the metadata of Job @returns { object } metadata of Job
mapper() {
    return {
      required: false,
      serializedName: 'Job',
      type: {
        name: 'Composite',
        className: 'Job',
        modelProperties: {
          id: {
            required: false,
            readOnly: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          name: {
            required: false,
            readOnly: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          type: {
            required: false,
            readOnly: true,
            serializedName: 'type',
            type: {
              name: 'String'
            }
          },
          created: {
            required: false,
            nullable: false,
            readOnly: true,
            serializedName: 'properties.created',
            type: {
              name: 'DateTime'
            }
          },
          state: {
            required: false,
            nullable: false,
            readOnly: true,
            serializedName: 'properties.state',
            type: {
              name: 'Enum',
              allowedValues: [ 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled' ]
            }
          },
          description: {
            required: false,
            serializedName: 'properties.description',
            type: {
              name: 'String'
            }
          },
          input: {
            required: true,
            serializedName: 'properties.input',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: '@odata.type',
                clientName: 'odatatype'
              },
              uberParent: 'JobInput',
              className: 'JobInput'
            }
          },
          lastModified: {
            required: false,
            nullable: false,
            readOnly: true,
            serializedName: 'properties.lastModified',
            type: {
              name: 'DateTime'
            }
          },
          outputs: {
            required: true,
            serializedName: 'properties.outputs',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'JobOutputElementType',
                  type: {
                    name: 'Composite',
                    polymorphicDiscriminator: {
                      serializedName: '@odata.type',
                      clientName: 'odatatype'
                    },
                    uberParent: 'JobOutput',
                    className: 'JobOutput'
                  }
              }
            }
          },
          priority: {
            required: false,
            serializedName: 'properties.priority',
            type: {
              name: 'Enum',
              allowedValues: [ 'Low', 'Normal', 'High' ]
            }
          },
          correlationData: {
            required: false,
            serializedName: 'properties.correlationData',
            type: {
              name: 'Dictionary',
              value: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'Job' , type : { name : 'Composite' , className : 'Job' , modelProperties : { id : { required : false , readOnly : true , serializedName : 'id' , type : { name : 'String' } } , name : { required : false , readOnly : true , serializedName : 'name' , type : { name : 'String' } } , type : { required : false , readOnly : true , serializedName : 'type' , type : { name : 'String' } } , created : { required : false , nullable : false , readOnly : true , serializedName : 'properties.created' , type : { name : 'DateTime' } } , state : { required : false , nullable : false , readOnly : true , serializedName : 'properties.state' , type : { name : 'Enum' , allowedValues : [ 'Canceled' , 'Canceling' , 'Error' , 'Finished' , 'Processing' , 'Queued' , 'Scheduled' ] } } , description : { required : false , serializedName : 'properties.description' , type : { name : 'String' } } , input : { required : true , serializedName : 'properties.input' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '@odata.type' , clientName : 'odatatype' } , uberParent : 'JobInput' , className : 'JobInput' } } , lastModified : { required : false , nullable : false , readOnly : true , serializedName : 'properties.lastModified' , type : { name : 'DateTime' } } , outputs : { required : true , serializedName : 'properties.outputs' , type : { name : 'Sequence' , element : { required : false , serializedName : 'JobOutputElementType' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : '@odata.type' , clientName : 'odatatype' } , uberParent : 'JobOutput' , className : 'JobOutput' } } } } , priority : { required : false , serializedName : 'properties.priority' , type : { name : 'Enum' , allowedValues : [ 'Low' , 'Normal' , 'High' ] } } , correlationData : { required : false , serializedName : 'properties.correlationData' , type : { name : 'Dictionary' , value : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } } } } ; }
Defines the metadata of Job
 @returns {object} metadata of Job
Defines the metadata of Job @returns { object } metadata of Job