Class: TencentCloud::Bma::V20210624::CreateCRRightFileRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20210624::CreateCRRightFileRequest
- Defined in:
- lib/v20210624/models.rb
Overview
CreateCRRightFile请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(workid = nil, filelist = nil) ⇒ CreateCRRightFileRequest
constructor
A new instance of CreateCRRightFileRequest.
Constructor Details
#initialize(workid = nil, filelist = nil) ⇒ CreateCRRightFileRequest
Returns a new instance of CreateCRRightFileRequest.
473 474 475 476 |
# File 'lib/v20210624/models.rb', line 473 def initialize(workid=nil, filelist=nil) @WorkId = workid @FileList = filelist end |
Instance Attribute Details
#FileList ⇒ Object
471 472 473 |
# File 'lib/v20210624/models.rb', line 471 def FileList @FileList end |
#WorkId ⇒ Object
471 472 473 |
# File 'lib/v20210624/models.rb', line 471 def WorkId @WorkId end |
Instance Method Details
#deserialize(params) ⇒ Object
478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/v20210624/models.rb', line 478 def deserialize(params) @WorkId = params['WorkId'] unless params['FileList'].nil? @FileList = [] params['FileList'].each do |i| file_tmp = File.new file_tmp.deserialize(i) @FileList << file_tmp end end end |