Sha256: 6cc1c1365ea349818b09873e19104948801ac6966dd2430e347989f497546f02

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

# 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::MediaServices::Mgmt::V2020_05_01
  module Models
    #
    # A metric dimension.
    #
    class MetricDimension

      include MsRestAzure

      # @return [String] The metric dimension name.
      attr_accessor :name

      # @return [String] The display name for the dimension.
      attr_accessor :display_name

      # @return [Boolean] Whether to export metric to shoebox.
      attr_accessor :to_be_exported_for_shoebox


      #
      # Mapper for MetricDimension class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'MetricDimension',
          type: {
            name: 'Composite',
            class_name: 'MetricDimension',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              display_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              },
              to_be_exported_for_shoebox: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'toBeExportedForShoebox',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/metric_dimension.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/metric_dimension.rb