Class: Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::CallbackConfig
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::CallbackConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb
Overview
The configuration of service URI and custom headers for the webhook.
Instance Attribute Summary collapse
-
#custom_headers ⇒ Hash{String => String}
the webhook notifications.
-
#service_uri ⇒ String
The service URI for the webhook to post notifications.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CallbackConfig class as Ruby Hash.
Instance Attribute Details
#custom_headers ⇒ Hash{String => String}
the webhook notifications.
20 21 22 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb', line 20 def custom_headers @custom_headers end |
#service_uri ⇒ String
Returns The service URI for the webhook to post notifications.
16 17 18 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb', line 16 def service_uri @service_uri end |
Class Method Details
.mapper ⇒ Object
Mapper for CallbackConfig 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 60 61 62 63 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/callback_config.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CallbackConfig', type: { name: 'Composite', class_name: 'CallbackConfig', model_properties: { service_uri: { client_side_validation: true, required: true, serialized_name: 'serviceUri', type: { name: 'String' } }, custom_headers: { client_side_validation: true, required: false, serialized_name: 'customHeaders', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |