class Azure::EventGrid::Mgmt::V2018_01_01::Models::WebHookEventSubscriptionDestination
Information about the webhook destination for an event subscription
Attributes
endpointType[RW]
endpoint_base_url[RW]
@return [String] The base URL that represents the endpoint of the destination of an event subscription.
endpoint_url[RW]
@return [String] The URL that represents the endpoint of the destination of an event subscription.
Public Class Methods
mapper()
click to toggle source
Mapper for WebHookEventSubscriptionDestination
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WebHook', type: { name: 'Composite', class_name: 'WebHookEventSubscriptionDestination', model_properties: { endpointType: { client_side_validation: true, required: true, serialized_name: 'endpointType', type: { name: 'String' } }, endpoint_url: { client_side_validation: true, required: false, serialized_name: 'properties.endpointUrl', type: { name: 'String' } }, endpoint_base_url: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endpointBaseUrl', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb, line 16 def initialize @endpointType = "WebHook" end