class Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::DeadLetterDestination

Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.

Attributes

endpointType[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeadLetterDestination',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'endpointType',
      uber_parent: 'DeadLetterDestination',
      class_name: 'DeadLetterDestination',
      model_properties: {
      }
    }
  }
end
new() click to toggle source
# File lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb, line 22
def initialize
  @endpointType = "DeadLetterDestination"
end