# 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::Signalr::Mgmt::V2020_05_01
  module Models
    #
    # Specifications of the Dimension of metrics.
    #
    class Dimension

      include MsRestAzure

      # @return [String] The public facing name of the dimension.
      attr_accessor :name

      # @return [String] Localized friendly display name of the dimension.
      attr_accessor :display_name

      # @return [String] Name of the dimension as it appears in MDM.
      attr_accessor :internal_name

      # @return [Boolean] A Boolean flag indicating whether this dimension
      # should be included for the shoebox export scenario.
      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
