Class: TencentCloud::Ocr::V20181119::CreateAIFormTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

CreateAIFormTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#FileListObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1462
1463
1464
# File 'lib/v20181119/models.rb', line 1462

def FileList
  @FileList
end

#FileTypeObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1462
1463
1464
# File 'lib/v20181119/models.rb', line 1462

def FileType
  @FileType
end

#FirstNotesObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1462
1463
1464
# File 'lib/v20181119/models.rb', line 1462

def FirstNotes
  @FirstNotes
end

#SecondNotesObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



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