# 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::ARM::Web module Models # # Azure resource. This resource is tracked in Azure Resource Manager # class Resource include MsRestAzure # @return [String] Resource Id. attr_accessor :id # @return [String] Resource Name. attr_accessor :name # @return [String] Kind of resource. attr_accessor :kind # @return [String] Resource Location. attr_accessor :location # @return [String] Resource type. attr_accessor :type # @return [Hash{String => String}] Resource tags. attr_accessor :tags # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Resource', type: { name: 'Composite', class_name: 'Resource', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end