# 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 # # Parameters to create and update Cosmos DB Cassandra table. # class CassandraTableCreateUpdateParameters include MsRestAzure # @return [CassandraTableResource] The standard JSON format of a # Cassandra table attr_accessor :resource # @return [Hash{String => String}] A key-value pair of options to be # applied for the request. This corresponds to the headers sent with the # request. attr_accessor :options # # Mapper for CassandraTableCreateUpdateParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CassandraTableCreateUpdateParameters', type: { name: 'Composite', class_name: 'CassandraTableCreateUpdateParameters', model_properties: { resource: { client_side_validation: true, required: true, serialized_name: 'properties.resource', type: { name: 'Composite', class_name: 'CassandraTableResource' } }, options: { client_side_validation: true, required: true, serialized_name: 'properties.options', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end