class Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData

The content of the event request message.

Attributes

action[RW]

@return [String] The action that encompasses the provided event.

actor[RW]

@return [ContainerRegistryEventActor] The agent that initiated the event. For most situations, this could be from the authorization context of the request.

id[RW]

@return [String] The event ID.

request[RW]

@return [ContainerRegistryEventRequest] The request that generated the event.

source[RW]

@return [ContainerRegistryEventSource] The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

target[RW]

@return [ContainerRegistryEventTarget] The target of the event.

timestamp[RW]

@return [DateTime] The time at which the event occurred.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb, line 46
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerRegistryEventData',
    type: {
      name: 'Composite',
      class_name: 'ContainerRegistryEventData',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        action: {
          client_side_validation: true,
          required: false,
          serialized_name: 'action',
          type: {
            name: 'String'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'target',
          type: {
            name: 'Composite',
            class_name: 'ContainerRegistryEventTarget'
          }
        },
        request: {
          client_side_validation: true,
          required: false,
          serialized_name: 'request',
          type: {
            name: 'Composite',
            class_name: 'ContainerRegistryEventRequest'
          }
        },
        actor: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actor',
          type: {
            name: 'Composite',
            class_name: 'ContainerRegistryEventActor'
          }
        },
        source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'ContainerRegistryEventSource'
          }
        }
      }
    }
  }
end