lib/services/monitorManagement/lib/models/metricCriteria.js
/**
   * Defines the metadata of MetricCriteria
   *
   * @returns {object} metadata of MetricCriteria
   *
   */
Defines the metadata of MetricCriteria
@returns {object} metadata of MetricCriteria
Defines the metadata of MetricCriteria @returns { object } metadata of MetricCriteria
mapper() {
    return {
      required: false,
      serializedName: 'MetricCriteria',
      type: {
        name: 'Composite',
        className: 'MetricCriteria',
        modelProperties: {
          name: {
            required: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          metricName: {
            required: true,
            serializedName: 'metricName',
            type: {
              name: 'String'
            }
          },
          metricNamespace: {
            required: false,
            serializedName: 'metricNamespace',
            type: {
              name: 'String'
            }
          },
          operator: {
            required: true,
            serializedName: 'operator',
            type: {
              name: 'Object'
            }
          },
          timeAggregation: {
            required: true,
            serializedName: 'timeAggregation',
            type: {
              name: 'Object'
            }
          },
          threshold: {
            required: true,
            serializedName: 'threshold',
            type: {
              name: 'Number'
            }
          },
          dimensions: {
            required: false,
            serializedName: 'dimensions',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'MetricDimensionElementType',
                  type: {
                    name: 'Composite',
                    className: 'MetricDimension'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'MetricCriteria' , type : { name : 'Composite' , className : 'MetricCriteria' , modelProperties : { name : { required : true , serializedName : 'name' , type : { name : 'String' } } , metricName : { required : true , serializedName : 'metricName' , type : { name : 'String' } } , metricNamespace : { required : false , serializedName : 'metricNamespace' , type : { name : 'String' } } , operator : { required : true , serializedName : 'operator' , type : { name : 'Object' } } , timeAggregation : { required : true , serializedName : 'timeAggregation' , type : { name : 'Object' } } , threshold : { required : true , serializedName : 'threshold' , type : { name : 'Number' } } , dimensions : { required : false , serializedName : 'dimensions' , type : { name : 'Sequence' , element : { required : false , serializedName : 'MetricDimensionElementType' , type : { name : 'Composite' , className : 'MetricDimension' } } } } } } } ; }
Defines the metadata of MetricCriteria
 @returns {object} metadata of MetricCriteria
Defines the metadata of MetricCriteria @returns { object } metadata of MetricCriteria