Class: Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2019_03_22_preview::Models::EnrichmentProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb
Overview
The properties of an enrichment that your IoT hub applies to messages delivered to endpoints.
Instance Attribute Summary collapse
-
#endpoint_names ⇒ Array<String>
is applied to the message.
-
#key ⇒ String
The key or name for the enrichment property.
-
#value ⇒ String
The value for the enrichment property.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnrichmentProperties class as Ruby Hash.
Instance Attribute Details
#endpoint_names ⇒ Array<String>
is applied to the message.
24 25 26 |
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb', line 24 def endpoint_names @endpoint_names end |
#key ⇒ String
Returns The key or name for the enrichment property.
17 18 19 |
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb', line 17 def key @key end |
#value ⇒ String
Returns The value for the enrichment property.
20 21 22 |
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb', line 20 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for EnrichmentProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/2019-03-22-preview/generated/azure_mgmt_iot_hub/models/enrichment_properties.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnrichmentProperties', type: { name: 'Composite', class_name: 'EnrichmentProperties', model_properties: { key: { client_side_validation: true, required: true, serialized_name: 'key', type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'String' } }, endpoint_names: { client_side_validation: true, required: true, serialized_name: 'endpointNames', constraints: { MinItems: 1 }, type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |