Class: TencentCloud::Tke::V20180525::CreateRollOutSequenceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

CreateRollOutSequence请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, sequenceflows = nil, enabled = nil) ⇒ CreateRollOutSequenceRequest



4028
4029
4030
4031
4032
# File 'lib/v20180525/models.rb', line 4028

def initialize(name=nil, sequenceflows=nil, enabled=nil)
  @Name = name
  @SequenceFlows = sequenceflows
  @Enabled = enabled
end

Instance Attribute Details

#EnabledObject



4026
4027
4028
# File 'lib/v20180525/models.rb', line 4026

def Enabled
  @Enabled
end

#NameObject



4026
4027
4028
# File 'lib/v20180525/models.rb', line 4026

def Name
  @Name
end

#SequenceFlowsObject



4026
4027
4028
# File 'lib/v20180525/models.rb', line 4026

def SequenceFlows
  @SequenceFlows
end

Instance Method Details

#deserialize(params) ⇒ Object



4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
# File 'lib/v20180525/models.rb', line 4034

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