Class: Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb
Overview
Parameters to create and update Cosmos DB Gremlin database.
Instance Attribute Summary collapse
-
#options ⇒ Hash{String => String}
applied for the request.
-
#resource ⇒ GremlinDatabaseResource
database.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GremlinDatabaseCreateUpdateParameters class as Ruby Hash.
Instance Attribute Details
#options ⇒ Hash{String => String}
applied for the request. This corresponds to the headers sent with the request.
22 23 24 |
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb', line 22 def @options end |
#resource ⇒ GremlinDatabaseResource
database
17 18 19 |
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb', line 17 def resource @resource end |
Class Method Details
.mapper ⇒ Object
Mapper for GremlinDatabaseCreateUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GremlinDatabaseCreateUpdateParameters', type: { name: 'Composite', class_name: 'GremlinDatabaseCreateUpdateParameters', model_properties: { resource: { client_side_validation: true, required: true, serialized_name: 'properties.resource', type: { name: 'Composite', class_name: 'GremlinDatabaseResource' } }, 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 |