# 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::RecoveryServices::Mgmt::V2016_06_01 module Models # # Tracked resource with location. # class TrackedResource < Resource include MsRestAzure # @return [String] Resource location. attr_accessor :location # @return [Hash{String => String}] Resource tags. attr_accessor :tags # # Mapper for TrackedResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'TrackedResource', type: { name: 'Composite', class_name: 'TrackedResource', 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' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, e_tag: { required: false, serialized_name: 'eTag', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', 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