Class: Azure::ContainerRegistry::Mgmt::V2017_06_01_preview::Models::Actor

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb

Overview

The agent that initiated the event. For most situations, this could be from the authorization context of the request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

context that generated the event.

Returns:

  • (String)

    The subject or username associated with the request



18
19
20
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb', line 18

def name
  @name
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2017-06-01-preview/generated/azure_mgmt_container_registry/models/actor.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Actor',
    type: {
      name: 'Composite',
      class_name: 'Actor',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end