Sha256: 5ac78f3a5b749fad9936e5aa58bd1c256b1f25d20294759fcd2da41f0e539f67

Contents?: true

Size: 1.84 KB

Versions: 11

Compression:

Stored size: 1.84 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::V2015_04_08
  module Models
    #
    # Cosmos DB Cassandra table id object
    #
    class CassandraTableResource

      include MsRestAzure

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

      # @return [Integer] Time to live of the Cosmos DB Cassandra table
      attr_accessor :default_ttl

      # @return [CassandraSchema] Schema of the Cosmos DB Cassandra table
      attr_accessor :schema


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.24.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.23.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.22.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.21.2 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.21.1 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.21.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.20.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.19.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.18.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb
azure_mgmt_cosmosdb-0.17.0 lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb