lib/services/serviceFabric/lib/models/containerCodePackageProperties.js
/**
   * Defines the metadata of ContainerCodePackageProperties
   *
   * @returns {object} metadata of ContainerCodePackageProperties
   *
   */
Defines the metadata of ContainerCodePackageProperties
@returns {object} metadata of ContainerCodePackageProperties
Defines the metadata of ContainerCodePackageProperties @returns { object } metadata of ContainerCodePackageProperties
mapper() {
    return {
      required: false,
      serializedName: 'ContainerCodePackageProperties',
      type: {
        name: 'Composite',
        className: 'ContainerCodePackageProperties',
        modelProperties: {
          name: {
            required: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          image: {
            required: true,
            serializedName: 'image',
            type: {
              name: 'String'
            }
          },
          imageRegistryCredential: {
            required: false,
            serializedName: 'imageRegistryCredential',
            type: {
              name: 'Composite',
              className: 'ImageRegistryCredential'
            }
          },
          entrypoint: {
            required: false,
            serializedName: 'entrypoint',
            type: {
              name: 'String'
            }
          },
          commands: {
            required: false,
            serializedName: 'commands',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          environmentVariables: {
            required: false,
            serializedName: 'environmentVariables',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'EnvironmentVariableElementType',
                  type: {
                    name: 'Composite',
                    className: 'EnvironmentVariable'
                  }
              }
            }
          },
          settings: {
            required: false,
            serializedName: 'settings',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'SettingElementType',
                  type: {
                    name: 'Composite',
                    className: 'Setting'
                  }
              }
            }
          },
          labels: {
            required: false,
            serializedName: 'labels',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ContainerLabelElementType',
                  type: {
                    name: 'Composite',
                    className: 'ContainerLabel'
                  }
              }
            }
          },
          endpoints: {
            required: false,
            serializedName: 'endpoints',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'EndpointPropertiesElementType',
                  type: {
                    name: 'Composite',
                    className: 'EndpointProperties'
                  }
              }
            }
          },
          resources: {
            required: true,
            serializedName: 'resources',
            type: {
              name: 'Composite',
              className: 'ResourceRequirements'
            }
          },
          volumeRefs: {
            required: false,
            serializedName: 'volumeRefs',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ContainerVolumeElementType',
                  type: {
                    name: 'Composite',
                    className: 'ContainerVolume'
                  }
              }
            }
          },
          instanceView: {
            required: false,
            readOnly: true,
            serializedName: 'instanceView',
            type: {
              name: 'Composite',
              className: 'ContainerInstanceView'
            }
          },
          diagnostics: {
            required: false,
            serializedName: 'diagnostics',
            type: {
              name: 'Composite',
              className: 'DiagnosticsRef'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ContainerCodePackageProperties' , type : { name : 'Composite' , className : 'ContainerCodePackageProperties' , modelProperties : { name : { required : true , serializedName : 'name' , type : { name : 'String' } } , image : { required : true , serializedName : 'image' , type : { name : 'String' } } , imageRegistryCredential : { required : false , serializedName : 'imageRegistryCredential' , type : { name : 'Composite' , className : 'ImageRegistryCredential' } } , entrypoint : { required : false , serializedName : 'entrypoint' , type : { name : 'String' } } , commands : { required : false , serializedName : 'commands' , type : { name : 'Sequence' , element : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , environmentVariables : { required : false , serializedName : 'environmentVariables' , type : { name : 'Sequence' , element : { required : false , serializedName : 'EnvironmentVariableElementType' , type : { name : 'Composite' , className : 'EnvironmentVariable' } } } } , settings : { required : false , serializedName : 'settings' , type : { name : 'Sequence' , element : { required : false , serializedName : 'SettingElementType' , type : { name : 'Composite' , className : 'Setting' } } } } , labels : { required : false , serializedName : 'labels' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ContainerLabelElementType' , type : { name : 'Composite' , className : 'ContainerLabel' } } } } , endpoints : { required : false , serializedName : 'endpoints' , type : { name : 'Sequence' , element : { required : false , serializedName : 'EndpointPropertiesElementType' , type : { name : 'Composite' , className : 'EndpointProperties' } } } } , resources : { required : true , serializedName : 'resources' , type : { name : 'Composite' , className : 'ResourceRequirements' } } , volumeRefs : { required : false , serializedName : 'volumeRefs' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ContainerVolumeElementType' , type : { name : 'Composite' , className : 'ContainerVolume' } } } } , instanceView : { required : false , readOnly : true , serializedName : 'instanceView' , type : { name : 'Composite' , className : 'ContainerInstanceView' } } , diagnostics : { required : false , serializedName : 'diagnostics' , type : { name : 'Composite' , className : 'DiagnosticsRef' } } } } } ; }
Defines the metadata of ContainerCodePackageProperties
 @returns {object} metadata of ContainerCodePackageProperties
Defines the metadata of ContainerCodePackageProperties @returns { object } metadata of ContainerCodePackageProperties