Class: TencentCloud::Chdfs::V20201112::DescribeResourceTagsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chdfs::V20201112::DescribeResourceTagsResponse
- Defined in:
- lib/v20201112/models.rb
Overview
DescribeResourceTags返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tags = nil, requestid = nil) ⇒ DescribeResourceTagsResponse
constructor
A new instance of DescribeResourceTagsResponse.
Constructor Details
#initialize(tags = nil, requestid = nil) ⇒ DescribeResourceTagsResponse
Returns a new instance of DescribeResourceTagsResponse.
1019 1020 1021 1022 |
# File 'lib/v20201112/models.rb', line 1019 def initialize(=nil, requestid=nil) @Tags = @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1017 1018 1019 |
# File 'lib/v20201112/models.rb', line 1017 def RequestId @RequestId end |
#Tags ⇒ Object
1017 1018 1019 |
# File 'lib/v20201112/models.rb', line 1017 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 |
# File 'lib/v20201112/models.rb', line 1024 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 |