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.
1390 1391 1392 1393 1394 1395 |
# File 'lib/v20181119/models.rb', line 1390 def initialize(filelist=nil, firstnotes=nil, secondnotes=nil, filetype=nil) @FileList = filelist @FirstNotes = firstnotes @SecondNotes = secondnotes @FileType = filetype end |
Instance Attribute Details
#FileList ⇒ Object
1388 1389 1390 |
# File 'lib/v20181119/models.rb', line 1388 def FileList @FileList end |
#FileType ⇒ Object
1388 1389 1390 |
# File 'lib/v20181119/models.rb', line 1388 def FileType @FileType end |
#FirstNotes ⇒ Object
1388 1389 1390 |
# File 'lib/v20181119/models.rb', line 1388 def FirstNotes @FirstNotes end |
#SecondNotes ⇒ Object
1388 1389 1390 |
# File 'lib/v20181119/models.rb', line 1388 def SecondNotes @SecondNotes end |
Instance Method Details
#deserialize(params) ⇒ Object
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 |
# File 'lib/v20181119/models.rb', line 1397 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 |