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.
1437 1438 1439 1440 |
# File 'lib/v20201112/models.rb', line 1437 def initialize(filesystemid=nil, =nil) @FileSystemId = filesystemid @Tags = end |
Instance Attribute Details
#FileSystemId ⇒ Object
1435 1436 1437 |
# File 'lib/v20201112/models.rb', line 1435 def FileSystemId @FileSystemId end |
#Tags ⇒ Object
1435 1436 1437 |
# File 'lib/v20201112/models.rb', line 1435 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/v20201112/models.rb', line 1442 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 |