# 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::Web::Mgmt::V2015_04_01 module Models # # Dimension of a resource metric. For e.g. instance specific HTTP requests # for a web app, # where instance name is dimension of the metric HTTP request # class Dimension include MsRestAzure # @return [String] attr_accessor :name # @return [String] attr_accessor :display_name # @return [String] attr_accessor :internal_name # @return [Boolean] attr_accessor :to_be_exported_for_shoebox # # Mapper for Dimension class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Dimension', type: { name: 'Composite', class_name: 'Dimension', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, internal_name: { client_side_validation: true, required: false, serialized_name: 'internalName', type: { name: 'String' } }, to_be_exported_for_shoebox: { client_side_validation: true, required: false, serialized_name: 'toBeExportedForShoebox', type: { name: 'Boolean' } } } } } end end end end