Class: Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildStepProperties
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::BuildStepProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb
Overview
Base properties for any build step.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BuildStepProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BuildStepProperties
constructor
A new instance of BuildStepProperties.
Constructor Details
#initialize ⇒ BuildStepProperties
Returns a new instance of BuildStepProperties.
18 19 20 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb', line 18 def initialize @type = "BuildStepProperties" end |
Instance Attribute Details
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’
27 28 29 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb', line 27 def provisioning_state @provisioning_state end |
#type ⇒ Object
Returns the value of attribute type.
22 23 24 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for BuildStepProperties class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/build_step_properties.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BuildStepProperties', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'BuildStepProperties', class_name: 'BuildStepProperties', model_properties: { provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } } } } } end |