class Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::CallbackConfig
The configuration of service URI and custom headers for the webhook.
Attributes
custom_headers[RW]
@return [Hash{String => String}] Custom headers that will be added to the webhook notifications.
service_uri[RW]
@return [String] The service URI for the webhook to post notifications.
Public Class Methods
mapper()
click to toggle source
Mapper for CallbackConfig
class as Ruby Hash. This will be used for serialization/deserialization.
# 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