Sha256: 6a76ae5cad6320f8ac77af3b5989aeb814321261353b8cf3f3ef490cca70636d

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 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::Resources2::Mgmt::V2018_05_01
  module Models
    #
    # Tag count.
    #
    class TagCount

      include MsRestAzure2

      # @return [String] Type of count.
      attr_accessor :type

      # @return [Integer] Value of count.
      attr_accessor :value


      #
      # Mapper for TagCount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TagCount',
          type: {
            name: 'Composite',
            class_name: 'TagCount',
            model_properties: {
              type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources2-1.0.1 lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_count.rb
azure_mgmt_resources2-1.0.0 lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_count.rb