Class: TencentCloud::Tke::V20180525::ModifyClusterTagsResponse

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

Overview

ModifyClusterTags返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tags = nil, requestid = nil) ⇒ ModifyClusterTagsResponse



14456
14457
14458
14459
# File 'lib/v20180525/models.rb', line 14456

def initialize(tags=nil, requestid=nil)
  @Tags = tags
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



14454
14455
14456
# File 'lib/v20180525/models.rb', line 14454

def RequestId
  @RequestId
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。



14454
14455
14456
# File 'lib/v20180525/models.rb', line 14454

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
# File 'lib/v20180525/models.rb', line 14461

def deserialize(params)
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @RequestId = params['RequestId']
end