Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters

Inherits:
Object
  • Object
show all
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.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTaskStepUpdateParameters

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_tokenString

blob) associated with the context for a step.

Returns:

  • (String)

    The token (git PAT or SAS token of storage account



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_pathString

for the task step.

Returns:

  • (String)

    The URL(absolute or relative) of the source context



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

#typeObject

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

.mapperObject

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