lib/services/serviceFabric/lib/models/serviceResourceDescription.js
/**
   * Defines the metadata of ServiceResourceDescription
   *
   * @returns {object} metadata of ServiceResourceDescription
   *
   */
Defines the metadata of ServiceResourceDescription
@returns {object} metadata of ServiceResourceDescription
Defines the metadata of ServiceResourceDescription @returns { object } metadata of ServiceResourceDescription
mapper() {
    return {
      required: false,
      serializedName: 'ServiceResourceDescription',
      type: {
        name: 'Composite',
        className: 'ServiceResourceDescription',
        modelProperties: {
          osType: {
            required: true,
            serializedName: 'properties.osType',
            type: {
              name: 'String'
            }
          },
          codePackages: {
            required: true,
            serializedName: 'properties.codePackages',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ContainerCodePackagePropertiesElementType',
                  type: {
                    name: 'Composite',
                    className: 'ContainerCodePackageProperties'
                  }
              }
            }
          },
          networkRefs: {
            required: false,
            serializedName: 'properties.networkRefs',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'NetworkRefElementType',
                  type: {
                    name: 'Composite',
                    className: 'NetworkRef'
                  }
              }
            }
          },
          diagnostics: {
            required: false,
            serializedName: 'properties.diagnostics',
            type: {
              name: 'Composite',
              className: 'DiagnosticsRef'
            }
          },
          description: {
            required: false,
            serializedName: 'properties.description',
            type: {
              name: 'String'
            }
          },
          replicaCount: {
            required: false,
            serializedName: 'properties.replicaCount',
            type: {
              name: 'Number'
            }
          },
          healthState: {
            required: false,
            serializedName: 'properties.healthState',
            type: {
              name: 'String'
            }
          },
          status: {
            required: false,
            readOnly: true,
            serializedName: 'properties.status',
            type: {
              name: 'String'
            }
          },
          name: {
            required: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ServiceResourceDescription' , type : { name : 'Composite' , className : 'ServiceResourceDescription' , modelProperties : { osType : { required : true , serializedName : 'properties.osType' , type : { name : 'String' } } , codePackages : { required : true , serializedName : 'properties.codePackages' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ContainerCodePackagePropertiesElementType' , type : { name : 'Composite' , className : 'ContainerCodePackageProperties' } } } } , networkRefs : { required : false , serializedName : 'properties.networkRefs' , type : { name : 'Sequence' , element : { required : false , serializedName : 'NetworkRefElementType' , type : { name : 'Composite' , className : 'NetworkRef' } } } } , diagnostics : { required : false , serializedName : 'properties.diagnostics' , type : { name : 'Composite' , className : 'DiagnosticsRef' } } , description : { required : false , serializedName : 'properties.description' , type : { name : 'String' } } , replicaCount : { required : false , serializedName : 'properties.replicaCount' , type : { name : 'Number' } } , healthState : { required : false , serializedName : 'properties.healthState' , type : { name : 'String' } } , status : { required : false , readOnly : true , serializedName : 'properties.status' , type : { name : 'String' } } , name : { required : true , serializedName : 'name' , type : { name : 'String' } } } } } ; }
Defines the metadata of ServiceResourceDescription
 @returns {object} metadata of ServiceResourceDescription
Defines the metadata of ServiceResourceDescription @returns { object } metadata of ServiceResourceDescription