Class: TencentCloud::Tke::V20180525::CreateRollOutSequenceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateRollOutSequenceRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateRollOutSequence请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, sequenceflows = nil, enabled = nil) ⇒ CreateRollOutSequenceRequest
constructor
A new instance of CreateRollOutSequenceRequest.
Constructor Details
#initialize(name = nil, sequenceflows = nil, enabled = nil) ⇒ CreateRollOutSequenceRequest
Returns a new instance of CreateRollOutSequenceRequest.
4008 4009 4010 4011 4012 |
# File 'lib/v20180525/models.rb', line 4008 def initialize(name=nil, sequenceflows=nil, enabled=nil) @Name = name @SequenceFlows = sequenceflows @Enabled = enabled end |
Instance Attribute Details
#Enabled ⇒ Object
4006 4007 4008 |
# File 'lib/v20180525/models.rb', line 4006 def Enabled @Enabled end |
#Name ⇒ Object
4006 4007 4008 |
# File 'lib/v20180525/models.rb', line 4006 def Name @Name end |
#SequenceFlows ⇒ Object
4006 4007 4008 |
# File 'lib/v20180525/models.rb', line 4006 def SequenceFlows @SequenceFlows end |
Instance Method Details
#deserialize(params) ⇒ Object
4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 |
# File 'lib/v20180525/models.rb', line 4014 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'] end |