Class: MicrosoftGraph::Models::ProvisioningStep
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::ProvisioningStep
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/provisioning_step.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#details ⇒ Object
Gets the details property value.
-
#details=(value) ⇒ Object
Sets the details property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new provisioningStep and sets the default values.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#provisioning_step_type ⇒ Object
Gets the provisioningStepType property value.
-
#provisioning_step_type=(value) ⇒ Object
Sets the provisioningStepType property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#status ⇒ Object
Gets the status property value.
-
#status=(value) ⇒ Object
Sets the status property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new provisioningStep and sets the default values.
49 50 51 |
# File 'lib/models/provisioning_step.rb', line 49 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
57 58 59 60 |
# File 'lib/models/provisioning_step.rb', line 57 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ProvisioningStep.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
34 35 36 |
# File 'lib/models/provisioning_step.rb', line 34 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
42 43 44 |
# File 'lib/models/provisioning_step.rb', line 42 def additional_data=(value) @additional_data = value end |
#description ⇒ Object
Gets the description property value. Summary of what occurred during the step.
65 66 67 |
# File 'lib/models/provisioning_step.rb', line 65 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. Summary of what occurred during the step.
73 74 75 |
# File 'lib/models/provisioning_step.rb', line 73 def description=(value) @description = value end |
#details ⇒ Object
Gets the details property value. Details of what occurred during the step.
80 81 82 |
# File 'lib/models/provisioning_step.rb', line 80 def details return @details end |
#details=(value) ⇒ Object
Sets the details property value. Details of what occurred during the step.
88 89 90 |
# File 'lib/models/provisioning_step.rb', line 88 def details=(value) @details = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
95 96 97 98 99 100 101 102 103 104 |
# File 'lib/models/provisioning_step.rb', line 95 def get_field_deserializers() return { "description" => lambda {|n| @description = n.get_string_value() }, "details" => lambda {|n| @details = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DetailsInfo.create_from_discriminator_value(pn) }) }, "name" => lambda {|n| @name = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "provisioningStepType" => lambda {|n| @provisioning_step_type = n.get_enum_value(MicrosoftGraph::Models::ProvisioningStepType) }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::ProvisioningResult) }, } end |
#name ⇒ Object
Gets the name property value. Name of the step.
109 110 111 |
# File 'lib/models/provisioning_step.rb', line 109 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. Name of the step.
117 118 119 |
# File 'lib/models/provisioning_step.rb', line 117 def name=(value) @name = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
124 125 126 |
# File 'lib/models/provisioning_step.rb', line 124 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
132 133 134 |
# File 'lib/models/provisioning_step.rb', line 132 def odata_type=(value) @odata_type = value end |
#provisioning_step_type ⇒ Object
Gets the provisioningStepType property value. Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue.
139 140 141 |
# File 'lib/models/provisioning_step.rb', line 139 def provisioning_step_type return @provisioning_step_type end |
#provisioning_step_type=(value) ⇒ Object
Sets the provisioningStepType property value. Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue.
147 148 149 |
# File 'lib/models/provisioning_step.rb', line 147 def provisioning_step_type=(value) @provisioning_step_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
155 156 157 158 159 160 161 162 163 164 |
# File 'lib/models/provisioning_step.rb', line 155 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("description", @description) writer.write_object_value("details", @details) writer.write_string_value("name", @name) writer.write_string_value("@odata.type", @odata_type) writer.write_enum_value("provisioningStepType", @provisioning_step_type) writer.write_enum_value("status", @status) writer.write_additional_data(@additional_data) end |
#status ⇒ Object
Gets the status property value. Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue.
169 170 171 |
# File 'lib/models/provisioning_step.rb', line 169 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue.
177 178 179 |
# File 'lib/models/provisioning_step.rb', line 177 def status=(value) @status = value end |