Class: TencentCloud::Tke::V20180525::RollOutSequence
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::RollOutSequence
- Defined in:
- lib/v20180525/models.rb
Overview
发布序列
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, sequenceflows = nil, enabled = nil, id = nil) ⇒ RollOutSequence
constructor
A new instance of RollOutSequence.
Constructor Details
#initialize(name = nil, sequenceflows = nil, enabled = nil, id = nil) ⇒ RollOutSequence
Returns a new instance of RollOutSequence.
19480 19481 19482 19483 19484 19485 |
# File 'lib/v20180525/models.rb', line 19480 def initialize(name=nil, sequenceflows=nil, enabled=nil, id=nil) @Name = name @SequenceFlows = sequenceflows @Enabled = enabled @ID = id end |
Instance Attribute Details
#Enabled ⇒ Object
19478 19479 19480 |
# File 'lib/v20180525/models.rb', line 19478 def Enabled @Enabled end |
#ID ⇒ Object
19478 19479 19480 |
# File 'lib/v20180525/models.rb', line 19478 def ID @ID end |
#Name ⇒ Object
19478 19479 19480 |
# File 'lib/v20180525/models.rb', line 19478 def Name @Name end |
#SequenceFlows ⇒ Object
19478 19479 19480 |
# File 'lib/v20180525/models.rb', line 19478 def SequenceFlows @SequenceFlows end |
Instance Method Details
#deserialize(params) ⇒ Object
19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 |
# File 'lib/v20180525/models.rb', line 19487 def deserialize(params) @Name = params['Name'] unless params['SequenceFlows'].nil? @SequenceFlows = [] params['SequenceFlows'].each do |i| sequenceflow_tmp = SequenceFlow.new sequenceflow_tmp.deserialize(i) @SequenceFlows << sequenceflow_tmp end end @Enabled = params['Enabled'] @ID = params['ID'] end |