lib/services/databox/lib/models/jobDetails.js
/**
   * Defines the metadata of JobDetails
   *
   * @returns {object} metadata of JobDetails
   *
   */
Defines the metadata of JobDetails
@returns {object} metadata of JobDetails
Defines the metadata of JobDetails @returns { object } metadata of JobDetails
mapper() {
    return {
      required: false,
      serializedName: 'JobDetails',
      type: {
        name: 'Composite',
        polymorphicDiscriminator: {
          serializedName: 'jobDetailsType',
          clientName: 'jobDetailsType'
        },
        uberParent: 'JobDetails',
        className: 'JobDetails',
        modelProperties: {
          expectedDataSizeInTeraBytes: {
            required: false,
            serializedName: 'expectedDataSizeInTeraBytes',
            type: {
              name: 'Number'
            }
          },
          jobStages: {
            required: false,
            serializedName: 'jobStages',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'JobStagesElementType',
                  type: {
                    name: 'Composite',
                    className: 'JobStages'
                  }
              }
            }
          },
          contactDetails: {
            required: true,
            serializedName: 'contactDetails',
            type: {
              name: 'Composite',
              className: 'ContactDetails'
            }
          },
          shippingAddress: {
            required: true,
            serializedName: 'shippingAddress',
            type: {
              name: 'Composite',
              className: 'ShippingAddress'
            }
          },
          errorDetails: {
            required: false,
            serializedName: 'errorDetails',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'JobErrorDetailsElementType',
                  type: {
                    name: 'Composite',
                    className: 'JobErrorDetails'
                  }
              }
            }
          },
          jobDetailsType: {
            required: true,
            serializedName: 'jobDetailsType',
            isPolymorphicDiscriminator: true,
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'JobDetails' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'jobDetailsType' , clientName : 'jobDetailsType' } , uberParent : 'JobDetails' , className : 'JobDetails' , modelProperties : { expectedDataSizeInTeraBytes : { required : false , serializedName : 'expectedDataSizeInTeraBytes' , type : { name : 'Number' } } , jobStages : { required : false , serializedName : 'jobStages' , type : { name : 'Sequence' , element : { required : false , serializedName : 'JobStagesElementType' , type : { name : 'Composite' , className : 'JobStages' } } } } , contactDetails : { required : true , serializedName : 'contactDetails' , type : { name : 'Composite' , className : 'ContactDetails' } } , shippingAddress : { required : true , serializedName : 'shippingAddress' , type : { name : 'Composite' , className : 'ShippingAddress' } } , errorDetails : { required : false , serializedName : 'errorDetails' , type : { name : 'Sequence' , element : { required : false , serializedName : 'JobErrorDetailsElementType' , type : { name : 'Composite' , className : 'JobErrorDetails' } } } } , jobDetailsType : { required : true , serializedName : 'jobDetailsType' , isPolymorphicDiscriminator : true , type : { name : 'String' } } } } } ; }
Defines the metadata of JobDetails
 @returns {object} metadata of JobDetails
Defines the metadata of JobDetails @returns { object } metadata of JobDetails