Class: TencentCloud::Tke::V20180525::ModifyClusterTagsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterTagsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterTags请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, tags = nil, syncsubresource = nil) ⇒ ModifyClusterTagsRequest
constructor
A new instance of ModifyClusterTagsRequest.
Constructor Details
#initialize(clusterid = nil, tags = nil, syncsubresource = nil) ⇒ ModifyClusterTagsRequest
Returns a new instance of ModifyClusterTagsRequest.
14225 14226 14227 14228 14229 |
# File 'lib/v20180525/models.rb', line 14225 def initialize(clusterid=nil, =nil, syncsubresource=nil) @ClusterId = clusterid @Tags = @SyncSubresource = syncsubresource end |
Instance Attribute Details
#ClusterId ⇒ Object
14223 14224 14225 |
# File 'lib/v20180525/models.rb', line 14223 def ClusterId @ClusterId end |
#SyncSubresource ⇒ Object
14223 14224 14225 |
# File 'lib/v20180525/models.rb', line 14223 def SyncSubresource @SyncSubresource end |
#Tags ⇒ Object
14223 14224 14225 |
# File 'lib/v20180525/models.rb', line 14223 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 |
# File 'lib/v20180525/models.rb', line 14231 def deserialize(params) @ClusterId = params['ClusterId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @SyncSubresource = params['SyncSubresource'] end |