class Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::EventSubscriptionDestination

Information about the destination for an event subscription.

Attributes

endpointType[RW]

Private Class Methods

mapper() click to toggle source

Mapper for EventSubscriptionDestination class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventSubscriptionDestination',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'endpointType',
      uber_parent: 'EventSubscriptionDestination',
      class_name: 'EventSubscriptionDestination',
      model_properties: {
      }
    }
  }
end
new() click to toggle source
# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb, line 24
def initialize
  @endpointType = "EventSubscriptionDestination"
end