class Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::EventContent

The content of the event request message.

Attributes

action[RW]

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

actor[RW]

@return [Actor] 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 [Request] The request that generated the event.

source[RW]

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

target[RW]

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

# File lib/2019-05-01/generated/azure_mgmt_container_registry/models/event_content.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventContent',
    type: {
      name: 'Composite',
      class_name: 'EventContent',
      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: 'Target'
          }
        },
        request: {
          client_side_validation: true,
          required: false,
          serialized_name: 'request',
          type: {
            name: 'Composite',
            class_name: 'Request'
          }
        },
        actor: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actor',
          type: {
            name: 'Composite',
            class_name: 'Actor'
          }
        },
        source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'source',
          type: {
            name: 'Composite',
            class_name: 'Source'
          }
        }
      }
    }
  }
end