Class: TencentCloud::Tke::V20180525::ClusterRollOutSequenceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterRollOutSequenceTag
- Defined in:
- lib/v20180525/models.rb
Overview
集群发布序列标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustername = nil, tags = nil, region = nil) ⇒ ClusterRollOutSequenceTag
constructor
A new instance of ClusterRollOutSequenceTag.
Constructor Details
#initialize(clusterid = nil, clustername = nil, tags = nil, region = nil) ⇒ ClusterRollOutSequenceTag
Returns a new instance of ClusterRollOutSequenceTag.
1702 1703 1704 1705 1706 1707 |
# File 'lib/v20180525/models.rb', line 1702 def initialize(clusterid=nil, clustername=nil, =nil, region=nil) @ClusterID = clusterid @ClusterName = clustername @Tags = @Region = region end |
Instance Attribute Details
#ClusterID ⇒ Object
1700 1701 1702 |
# File 'lib/v20180525/models.rb', line 1700 def ClusterID @ClusterID end |
#ClusterName ⇒ Object
1700 1701 1702 |
# File 'lib/v20180525/models.rb', line 1700 def ClusterName @ClusterName end |
#Region ⇒ Object
1700 1701 1702 |
# File 'lib/v20180525/models.rb', line 1700 def Region @Region end |
#Tags ⇒ Object
1700 1701 1702 |
# File 'lib/v20180525/models.rb', line 1700 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 |
# File 'lib/v20180525/models.rb', line 1709 def deserialize(params) @ClusterID = params['ClusterID'] @ClusterName = params['ClusterName'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @Region = params['Region'] end |