Class: Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::EventContent
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::EventContent
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb
Overview
The content of the event request message.
Instance Attribute Summary collapse
-
#action ⇒ String
The action that encompasses the provided event.
-
#actor ⇒ Actor
situations, this could be from the authorization context of the request.
-
#id ⇒ String
The event ID.
-
#request ⇒ Request
The request that generated the event.
-
#source ⇒ Source
differently, while the actor initiates the event, the source generates it.
-
#target ⇒ Target
The target of the event.
-
#timestamp ⇒ DateTime
The time at which the event occurred.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventContent class as Ruby Hash.
Instance Attribute Details
#action ⇒ String
Returns The action that encompasses the provided event.
22 23 24 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 22 def action @action end |
#actor ⇒ Actor
situations, this could be from the authorization context of the request.
33 34 35 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 33 def actor @actor end |
#id ⇒ String
Returns The event ID.
16 17 18 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 16 def id @id end |
#request ⇒ Request
Returns The request that generated the event.
28 29 30 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 28 def request @request end |
#source ⇒ Source
differently, while the actor initiates the event, the source generates it.
38 39 40 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 38 def source @source end |
#target ⇒ Target
Returns The target of the event.
25 26 27 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 25 def target @target end |
#timestamp ⇒ DateTime
Returns The time at which the event occurred.
19 20 21 |
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/event_content.rb', line 19 def @timestamp end |
Class Method Details
.mapper ⇒ Object
Mapper for EventContent class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/2017-06-01-preview/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 |