lib/services/batch/lib/models/poolUsageMetrics.js
/**
   * Defines the metadata of PoolUsageMetrics
   *
   * @returns {object} metadata of PoolUsageMetrics
   *
   */
Defines the metadata of PoolUsageMetrics
@returns {object} metadata of PoolUsageMetrics
Defines the metadata of PoolUsageMetrics @returns { object } metadata of PoolUsageMetrics
mapper() {
    return {
      required: false,
      serializedName: 'PoolUsageMetrics',
      type: {
        name: 'Composite',
        className: 'PoolUsageMetrics',
        modelProperties: {
          poolId: {
            required: true,
            serializedName: 'poolId',
            type: {
              name: 'String'
            }
          },
          startTime: {
            required: true,
            serializedName: 'startTime',
            type: {
              name: 'DateTime'
            }
          },
          endTime: {
            required: true,
            serializedName: 'endTime',
            type: {
              name: 'DateTime'
            }
          },
          vmSize: {
            required: true,
            serializedName: 'vmSize',
            type: {
              name: 'String'
            }
          },
          totalCoreHours: {
            required: true,
            serializedName: 'totalCoreHours',
            type: {
              name: 'Number'
            }
          },
          dataIngressGiB: {
            required: true,
            serializedName: 'dataIngressGiB',
            type: {
              name: 'Number'
            }
          },
          dataEgressGiB: {
            required: true,
            serializedName: 'dataEgressGiB',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'PoolUsageMetrics' , type : { name : 'Composite' , className : 'PoolUsageMetrics' , modelProperties : { poolId : { required : true , serializedName : 'poolId' , type : { name : 'String' } } , startTime : { required : true , serializedName : 'startTime' , type : { name : 'DateTime' } } , endTime : { required : true , serializedName : 'endTime' , type : { name : 'DateTime' } } , vmSize : { required : true , serializedName : 'vmSize' , type : { name : 'String' } } , totalCoreHours : { required : true , serializedName : 'totalCoreHours' , type : { name : 'Number' } } , dataIngressGiB : { required : true , serializedName : 'dataIngressGiB' , type : { name : 'Number' } } , dataEgressGiB : { required : true , serializedName : 'dataEgressGiB' , type : { name : 'Number' } } } } } ; }
Defines the metadata of PoolUsageMetrics
 @returns {object} metadata of PoolUsageMetrics
Defines the metadata of PoolUsageMetrics @returns { object } metadata of PoolUsageMetrics