class Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData

Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData',
    type: {
      name: 'Composite',
      class_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData',
      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