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.



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

#FileListObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1388
1389
1390
# File 'lib/v20181119/models.rb', line 1388

def FileList
  @FileList
end

#FileTypeObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1388
1389
1390
# File 'lib/v20181119/models.rb', line 1388

def FileType
  @FileType
end

#FirstNotesObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



1388
1389
1390
# File 'lib/v20181119/models.rb', line 1388

def FirstNotes
  @FirstNotes
end

#SecondNotesObject

Parameters:

  • FileList:

    多个文件的URL列表

  • FirstNotes:

    备注信息1

  • SecondNotes:

    备注信息2

  • FileType:

    文件类型



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