# 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::V2020_06_01 module Models # # Wrapper resource for tags API requests and responses. # class TagsResource include MsRestAzure2 # @return [String] The ID of the tags wrapper resource. attr_accessor :id # @return [String] The name of the tags wrapper resource. attr_accessor :name # @return [String] The type of the tags wrapper resource. attr_accessor :type # @return [Tags] The set of tags. attr_accessor :properties # # Mapper for TagsResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TagsResource', type: { name: 'Composite', class_name: 'TagsResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, properties: { client_side_validation: true, required: true, serialized_name: 'properties', type: { name: 'Composite', class_name: 'Tags' } } } } } end end end end