Sha256: 6cc2a233bc49002a396e50dc199fbd4b83dcf87e98416de865af6320e84ff64e

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 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 information.
    #
    class TagValue

      include MsRestAzure

      # @return [String] The tag ID.
      attr_accessor :id

      # @return [String] The tag value.
      attr_accessor :tag_value

      # @return [TagCount] The tag value count.
      attr_accessor :count


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources-0.16.0 lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb
azure_mgmt_resources-0.15.2 lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb