Sha256: 1bf0253183ba215f3f516bc1bc868d680ae0fbb5a20966809ea40ea6b03da923
Contents?: true
Size: 1.54 KB
Versions: 5
Compression:
Stored size: 1.54 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::V2020_03_01 module Models # # Cosmos DB MongoDB collection index key # class MongoIndex include MsRestAzure # @return [MongoIndexKeys] Cosmos DB MongoDB collection index keys attr_accessor :key # @return [MongoIndexOptions] Cosmos DB MongoDB collection index key # options attr_accessor :options # # Mapper for MongoIndex class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MongoIndex', type: { name: 'Composite', class_name: 'MongoIndex', model_properties: { key: { client_side_validation: true, required: false, serialized_name: 'key', type: { name: 'Composite', class_name: 'MongoIndexKeys' } }, options: { client_side_validation: true, required: false, serialized_name: 'options', type: { name: 'Composite', class_name: 'MongoIndexOptions' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems