class Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData

Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.

Attributes

entity_type[RW]

@return [String] The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.

namespace_name[RW]

@return [String] The namespace name of the Microsoft.ServiceBus resource.

queue_name[RW]

@return [String] The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.

request_uri[RW]

@return [String] The endpoint of the Microsoft.ServiceBus resource.

subscription_name[RW]

@return [String] The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.

topic_name[RW]

@return [String] The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData',
    type: {
      name: 'Composite',
      class_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData',
      model_properties: {
        namespace_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'namespaceName',
          type: {
            name: 'String'
          }
        },
        request_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requestUri',
          type: {
            name: 'String'
          }
        },
        entity_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'entityType',
          type: {
            name: 'String'
          }
        },
        queue_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'queueName',
          type: {
            name: 'String'
          }
        },
        topic_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'topicName',
          type: {
            name: 'String'
          }
        },
        subscription_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subscriptionName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end