Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::Argument

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb

Overview

The properties of a run argument.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#is_secretBoolean

secret and want to be removed from build logs. Default value: false .

Returns:

  • (Boolean)

    Flag to indicate whether the argument represents a



23
24
25
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb', line 23

def is_secret
  @is_secret
end

#nameString

Returns The name of the argument.

Returns:

  • (String)

    The name of the argument.



16
17
18
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb', line 16

def name
  @name
end

#valueString

Returns The value of the argument.

Returns:

  • (String)

    The value of the argument.



19
20
21
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb', line 19

def value
  @value
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Argument',
    type: {
      name: 'Composite',
      class_name: 'Argument',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        is_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isSecret',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end