# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::RecoveryServices module Models # # ARM Resource. # class Resource < MsRestAzure::Resource include MsRestAzure include MsRest::JSONable # @return [String] Optional ETag. attr_accessor :e_tag # # 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' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, e_tag: { required: false, serialized_name: 'eTag', type: { name: 'String' } } } } } end end end end