Class: TencentCloud::Tke::V20180525::RollOutSequence

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

Overview

发布序列

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, sequenceflows = nil, enabled = nil, id = nil) ⇒ RollOutSequence



19060
19061
19062
19063
19064
19065
# File 'lib/v20180525/models.rb', line 19060

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

Instance Attribute Details

#EnabledObject



19058
19059
19060
# File 'lib/v20180525/models.rb', line 19058

def Enabled
  @Enabled
end

#IDObject



19058
19059
19060
# File 'lib/v20180525/models.rb', line 19058

def ID
  @ID
end

#NameObject



19058
19059
19060
# File 'lib/v20180525/models.rb', line 19058

def Name
  @Name
end

#SequenceFlowsObject



19058
19059
19060
# File 'lib/v20180525/models.rb', line 19058

def SequenceFlows
  @SequenceFlows
end

Instance Method Details

#deserialize(params) ⇒ Object



19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
# File 'lib/v20180525/models.rb', line 19067

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