class Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventData

The content of the event request message.

Attributes

action[RW]

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

id[RW]

@return [String] The event ID.

target[RW]

@return [ContainerRegistryArtifactEventTarget] 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 ContainerRegistryArtifactEventData class as Ruby Hash. This will be used for serialization/deserialization.

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