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.
1694 1695 1696 1697 1698 1699 |
# File 'lib/v20180525/models.rb', line 1694 def initialize(clusterid=nil, clustername=nil, =nil, region=nil) @ClusterID = clusterid @ClusterName = clustername @Tags = @Region = region end |
Instance Attribute Details
#ClusterID ⇒ Object
1692 1693 1694 |
# File 'lib/v20180525/models.rb', line 1692 def ClusterID @ClusterID end |
#ClusterName ⇒ Object
1692 1693 1694 |
# File 'lib/v20180525/models.rb', line 1692 def ClusterName @ClusterName end |
#Region ⇒ Object
1692 1693 1694 |
# File 'lib/v20180525/models.rb', line 1692 def Region @Region end |
#Tags ⇒ Object
1692 1693 1694 |
# File 'lib/v20180525/models.rb', line 1692 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 |
# File 'lib/v20180525/models.rb', line 1701 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 |