lib/services/containerRegistryManagement/lib/models/task.js
/**
   * Defines the metadata of Task
   *
   * @returns {object} metadata of Task
   *
   */
Defines the metadata of Task
@returns {object} metadata of Task
Defines the metadata of Task @returns { object } metadata of Task
mapper() {
    return {
      required: false,
      serializedName: 'Task',
      type: {
        name: 'Composite',
        className: 'Task',
        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'
            }
          },
          location: {
            required: true,
            serializedName: 'location',
            type: {
              name: 'String'
            }
          },
          tags: {
            required: false,
            serializedName: 'tags',
            type: {
              name: 'Dictionary',
              value: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          provisioningState: {
            required: false,
            readOnly: true,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          creationDate: {
            required: false,
            readOnly: true,
            serializedName: 'properties.creationDate',
            type: {
              name: 'DateTime'
            }
          },
          status: {
            required: false,
            serializedName: 'properties.status',
            type: {
              name: 'String'
            }
          },
          platform: {
            required: true,
            serializedName: 'properties.platform',
            type: {
              name: 'Composite',
              className: 'PlatformProperties'
            }
          },
          agentConfiguration: {
            required: false,
            serializedName: 'properties.agentConfiguration',
            type: {
              name: 'Composite',
              className: 'AgentProperties'
            }
          },
          timeout: {
            required: false,
            serializedName: 'properties.timeout',
            defaultValue: 3600,
            constraints: {
              InclusiveMaximum: 28800,
              InclusiveMinimum: 300
            },
            type: {
              name: 'Number'
            }
          },
          step: {
            required: true,
            serializedName: 'properties.step',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'type',
                clientName: 'type'
              },
              uberParent: 'TaskStepProperties',
              className: 'TaskStepProperties'
            }
          },
          trigger: {
            required: false,
            serializedName: 'properties.trigger',
            type: {
              name: 'Composite',
              className: 'TriggerProperties'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'Task' , type : { name : 'Composite' , className : 'Task' , 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' } } , location : { required : true , serializedName : 'location' , type : { name : 'String' } } , tags : { required : false , serializedName : 'tags' , type : { name : 'Dictionary' , value : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , provisioningState : { required : false , readOnly : true , serializedName : 'properties.provisioningState' , type : { name : 'String' } } , creationDate : { required : false , readOnly : true , serializedName : 'properties.creationDate' , type : { name : 'DateTime' } } , status : { required : false , serializedName : 'properties.status' , type : { name : 'String' } } , platform : { required : true , serializedName : 'properties.platform' , type : { name : 'Composite' , className : 'PlatformProperties' } } , agentConfiguration : { required : false , serializedName : 'properties.agentConfiguration' , type : { name : 'Composite' , className : 'AgentProperties' } } , timeout : { required : false , serializedName : 'properties.timeout' , defaultValue : 3600 , constraints : { InclusiveMaximum : 28800 , InclusiveMinimum : 300 } , type : { name : 'Number' } } , step : { required : true , serializedName : 'properties.step' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'type' , clientName : 'type' } , uberParent : 'TaskStepProperties' , className : 'TaskStepProperties' } } , trigger : { required : false , serializedName : 'properties.trigger' , type : { name : 'Composite' , className : 'TriggerProperties' } } } } } ; }
Defines the metadata of Task
 @returns {object} metadata of Task
Defines the metadata of Task @returns { object } metadata of Task