Class: Azure::ARM::Insights::Models::WebhookNotification
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::WebhookNotification
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/webhook_notification.rb
Overview
Webhook notification of an autoscale event.
Instance Attribute Summary collapse
-
#properties ⇒ Hash{String => String}
can be empty.
-
#service_uri ⇒ String
The service address to receive the notification.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WebhookNotification class as Ruby Hash.
Instance Attribute Details
#properties ⇒ Hash{String => String}
can be empty.
20 21 22 |
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 20 def properties @properties end |
#service_uri ⇒ String
Returns the service address to receive the notification.
16 17 18 |
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 16 def service_uri @service_uri end |
Class Method Details
.mapper ⇒ Object
Mapper for WebhookNotification class as Ruby Hash. This will be used for serialization/deserialization.
27 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 |
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 27 def self.mapper() { required: false, serialized_name: 'WebhookNotification', type: { name: 'Composite', class_name: 'WebhookNotification', model_properties: { service_uri: { required: false, serialized_name: 'serviceUri', type: { name: 'String' } }, properties: { required: false, serialized_name: 'properties', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |