# 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::Batch::Mgmt::V2018_12_01 module Models # # A definition of an Azure resource. # class ProxyResource include MsRestAzure # @return [String] The ID of the resource. attr_accessor :id # @return [String] The name of the resource. attr_accessor :name # @return [String] The type of the resource. attr_accessor :type # @return [String] The ETag of the resource, used for concurrency # statements. attr_accessor :etag # # Mapper for ProxyResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { name: 'Composite', class_name: 'ProxyResource', 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' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end end end end