# 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::V2020_04_01 module Models # # Cosmos DB Cassandra table resource 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 # @return [Integer] Analytical TTL. attr_accessor :analytical_storage_ttl # # 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' } }, analytical_storage_ttl: { client_side_validation: true, required: false, serialized_name: 'analyticalStorageTtl', type: { name: 'Number' } } } } } end end end end