Sha256: 386a6fc8d79fdd97fe13042a4cc8b441ddb92581786358977af487f75dd73164

Contents?: true

Size: 1.96 KB

Versions: 28

Compression:

Stored size: 1.96 KB

Contents

# 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::Storage::Mgmt::V2018_02_01
  module Models
    #
    # The resource model definition for a Azure Resource Manager resource with
    # an etag.
    #
    class AzureEntityResource < Resource

      include MsRestAzure

      # @return [String] Resource Etag.
      attr_accessor :etag


      #
      # Mapper for AzureEntityResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AzureEntityResource',
          type: {
            name: 'Composite',
            class_name: 'AzureEntityResource',
            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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.22.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.21.2 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.21.1 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.21.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.20.1 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.20.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.19.3 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.19.2 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.19.1 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.19.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.18.2 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.18.1 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.18.0 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.10 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.9 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.8 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.7 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.6 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb
azure_mgmt_storage-0.17.5 lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb