Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::PartitionKeyProperty
- Inherits:
-
Object
- Object
- Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::PartitionKeyProperty
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/partition_key_property.rb
Overview
The structure of the property that a partition key can have. An environment can have multiple such properties.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the property.
-
#type ⇒ PropertyType
include: ‘String’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionKeyProperty class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
17 18 19 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/partition_key_property.rb', line 17 def name @name end |
#type ⇒ PropertyType
include: ‘String’
21 22 23 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/partition_key_property.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionKeyProperty 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 |
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/partition_key_property.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartitionKeyProperty', type: { name: 'Composite', class_name: 'PartitionKeyProperty', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } } } } } end |