Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::Argument
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::Argument
- 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
-
#is_secret ⇒ Boolean
secret and want to be removed from build logs.
-
#name ⇒ String
The name of the argument.
-
#value ⇒ String
The value of the argument.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Argument class as Ruby Hash.
Instance Attribute Details
#is_secret ⇒ Boolean
secret and want to be removed from build logs. Default value: false .
23 24 25 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/argument.rb', line 23 def is_secret @is_secret end |
#name ⇒ String
Returns 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 |
#value ⇒ String
Returns 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
.mapper ⇒ Object
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 |