Class: Azure::Cosmosdb::Mgmt::V2019_08_01::Models::CompositePath

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#orderCompositePathSortOrder

Possible values include: ‘Ascending’, ‘Descending’

Returns:



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb', line 22

def order
  @order
end

#pathString

Index paths typically start with root and end with wildcard (/path/*)

Returns:

  • (String)

    The path for which the indexing behavior applies to.



18
19
20
# File 'lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb', line 18

def path
  @path
end

Class Method Details

.mapperObject

Mapper for CompositePath 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
# File 'lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CompositePath',
    type: {
      name: 'Composite',
      class_name: 'CompositePath',
      model_properties: {
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        order: {
          client_side_validation: true,
          required: false,
          serialized_name: 'order',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end