Sha256: 597033c10f0fb92e901e7a779483d3a8cba74a68e2475b343f0370dff694814d

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 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::Resources::Mgmt::V2016_09_01
  module Models
    #
    # Tag count.
    #
    class TagCount

      include MsRestAzure

      # @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()
        {
          required: false,
          serialized_name: 'TagCount',
          type: {
            name: 'Composite',
            class_name: 'TagCount',
            model_properties: {
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              value: {
                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_resources-0.15.1 lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb
azure_mgmt_resources-0.15.0 lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb