Sha256: de930ab38bc90ecbfe1347895d954e9e0726a4aa451bc991e7b736a400214782

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 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::Cosmosdb::Mgmt::V2019_12_12
  module Models
    #
    # Cosmos DB table resource object
    #
    class TableResource

      include MsRestAzure

      # @return [String] Name of the Cosmos DB table
      attr_accessor :id


      #
      # Mapper for TableResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TableResource',
          type: {
            name: 'Composite',
            class_name: 'TableResource',
            model_properties: {
              id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb