Class: TencentCloud::Ocr::V20181119::CreateAIFormTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::CreateAIFormTaskRequest
- Defined in:
- lib/v20181119/models.rb
Overview
CreateAIFormTask请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filelist = nil, firstnotes = nil, secondnotes = nil, filetype = nil) ⇒ CreateAIFormTaskRequest
constructor
A new instance of CreateAIFormTaskRequest.
Constructor Details
#initialize(filelist = nil, firstnotes = nil, secondnotes = nil, filetype = nil) ⇒ CreateAIFormTaskRequest
Returns a new instance of CreateAIFormTaskRequest.
1464 1465 1466 1467 1468 1469 |
# File 'lib/v20181119/models.rb', line 1464 def initialize(filelist=nil, firstnotes=nil, secondnotes=nil, filetype=nil) @FileList = filelist @FirstNotes = firstnotes @SecondNotes = secondnotes @FileType = filetype end |
Instance Attribute Details
#FileList ⇒ Object
1462 1463 1464 |
# File 'lib/v20181119/models.rb', line 1462 def FileList @FileList end |
#FileType ⇒ Object
1462 1463 1464 |
# File 'lib/v20181119/models.rb', line 1462 def FileType @FileType end |
#FirstNotes ⇒ Object
1462 1463 1464 |
# File 'lib/v20181119/models.rb', line 1462 def FirstNotes @FirstNotes end |
#SecondNotes ⇒ Object
1462 1463 1464 |
# File 'lib/v20181119/models.rb', line 1462 def SecondNotes @SecondNotes end |
Instance Method Details
#deserialize(params) ⇒ Object
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/v20181119/models.rb', line 1471 def deserialize(params) unless params['FileList'].nil? @FileList = [] params['FileList'].each do |i| smartformfileurl_tmp = SmartFormFileUrl.new smartformfileurl_tmp.deserialize(i) @FileList << smartformfileurl_tmp end end @FirstNotes = params['FirstNotes'] @SecondNotes = params['SecondNotes'] @FileType = params['FileType'] end |