Class: TencentCloud::Chdfs::V20201112::ModifyResourceTagsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chdfs::V20201112::ModifyResourceTagsRequest
- Defined in:
- lib/v20201112/models.rb
Overview
ModifyResourceTags请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filesystemid = nil, tags = nil) ⇒ ModifyResourceTagsRequest
constructor
A new instance of ModifyResourceTagsRequest.
Constructor Details
#initialize(filesystemid = nil, tags = nil) ⇒ ModifyResourceTagsRequest
Returns a new instance of ModifyResourceTagsRequest.
1474 1475 1476 1477 |
# File 'lib/v20201112/models.rb', line 1474 def initialize(filesystemid=nil, =nil) @FileSystemId = filesystemid @Tags = end |
Instance Attribute Details
#FileSystemId ⇒ Object
1472 1473 1474 |
# File 'lib/v20201112/models.rb', line 1472 def FileSystemId @FileSystemId end |
#Tags ⇒ Object
1472 1473 1474 |
# File 'lib/v20201112/models.rb', line 1472 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 |
# File 'lib/v20201112/models.rb', line 1479 def deserialize(params) @FileSystemId = params['FileSystemId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |