# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Cosmosdb::Mgmt::V2015_04_08 module Models # # A metric name. # class MetricName include MsRestAzure # @return [String] The name of the metric. attr_accessor :value # @return [String] The friendly name of the metric. attr_accessor :localized_value # # Mapper for MetricName class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricName', type: { name: 'Composite', class_name: 'MetricName', model_properties: { value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'String' } }, localized_value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', type: { name: 'String' } } } } } end end end end