Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb
Overview
Base properties for updating any task step.
Direct Known Subclasses
DockerBuildStepUpdateParameters, EncodedTaskStepUpdateParameters, FileTaskStepUpdateParameters
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#context_access_token ⇒ String
blob) associated with the context for a step.
-
#context_path ⇒ String
for the task step.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TaskStepUpdateParameters class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ TaskStepUpdateParameters
constructor
A new instance of TaskStepUpdateParameters.
Constructor Details
#initialize ⇒ TaskStepUpdateParameters
Returns a new instance of TaskStepUpdateParameters.
20 21 22 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb', line 20 def initialize @type = "TaskStepUpdateParameters" end |
Instance Attribute Details
#context_access_token ⇒ String
blob) associated with the context for a step.
32 33 34 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb', line 32 def context_access_token @context_access_token end |
#context_path ⇒ String
for the task step.
28 29 30 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb', line 28 def context_path @context_path end |
#type ⇒ Object
Returns the value of attribute type.
24 25 26 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for TaskStepUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 68 69 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TaskStepUpdateParameters', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'TaskStepUpdateParameters', class_name: 'TaskStepUpdateParameters', model_properties: { context_path: { client_side_validation: true, required: false, serialized_name: 'contextPath', type: { name: 'String' } }, context_access_token: { client_side_validation: true, required: false, serialized_name: 'contextAccessToken', type: { name: 'String' } } } } } end |