Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::SpatialSpec
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2019_12_12::Models::SpatialSpec
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#path ⇒ String
Index paths typically start with root and end with wildcard (/path/*).
-
#types ⇒ Array<SpatialType>
List of path’s spatial type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SpatialSpec class as Ruby Hash.
Instance Attribute Details
#path ⇒ String
Index paths typically start with root and end with wildcard (/path/*)
18 19 20 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb', line 18 def path @path end |
#types ⇒ Array<SpatialType>
Returns List of path’s spatial type.
21 22 23 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb', line 21 def types @types end |
Class Method Details
.mapper ⇒ Object
Mapper for SpatialSpec class as Ruby Hash. This will be used for serialization/deserialization.
28 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 |
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SpatialSpec', type: { name: 'Composite', class_name: 'SpatialSpec', model_properties: { path: { client_side_validation: true, required: false, serialized_name: 'path', type: { name: 'String' } }, types: { client_side_validation: true, required: false, serialized_name: 'types', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SpatialTypeElementType', type: { name: 'String' } } } } } } } end |