Class: TencentCloud::Ess::V20201111::ExtractionField

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

Overview

合同智能提取字段信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, type = nil, description = nil, values = nil, choicelist = nil) ⇒ ExtractionField

Returns a new instance of ExtractionField.



12391
12392
12393
12394
12395
12396
12397
# File 'lib/v20201111/models.rb', line 12391

def initialize(name=nil, type=nil, description=nil, values=nil, choicelist=nil)
  @Name = name
  @Type = type
  @Description = description
  @Values = values
  @ChoiceList = choicelist
end

Instance Attribute Details

#ChoiceListObject

注意: 1、描述字段不能超过100个字符

Parameters:

  • Values:

    提取出合同中的字段信息。

  • ChoiceList:

    当字段类型Type为OPTION时为必输项,输入选项值



12389
12390
12391
# File 'lib/v20201111/models.rb', line 12389

def ChoiceList
  @ChoiceList
end

#DescriptionObject

注意: 1、描述字段不能超过100个字符

Parameters:

  • Values:

    提取出合同中的字段信息。

  • ChoiceList:

    当字段类型Type为OPTION时为必输项,输入选项值



12389
12390
12391
# File 'lib/v20201111/models.rb', line 12389

def Description
  @Description
end

#NameObject

注意: 1、描述字段不能超过100个字符

Parameters:

  • Values:

    提取出合同中的字段信息。

  • ChoiceList:

    当字段类型Type为OPTION时为必输项,输入选项值



12389
12390
12391
# File 'lib/v20201111/models.rb', line 12389

def Name
  @Name
end

#TypeObject

注意: 1、描述字段不能超过100个字符

Parameters:

  • Values:

    提取出合同中的字段信息。

  • ChoiceList:

    当字段类型Type为OPTION时为必输项,输入选项值



12389
12390
12391
# File 'lib/v20201111/models.rb', line 12389

def Type
  @Type
end

#ValuesObject

注意: 1、描述字段不能超过100个字符

Parameters:

  • Values:

    提取出合同中的字段信息。

  • ChoiceList:

    当字段类型Type为OPTION时为必输项,输入选项值



12389
12390
12391
# File 'lib/v20201111/models.rb', line 12389

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



12399
12400
12401
12402
12403
12404
12405
# File 'lib/v20201111/models.rb', line 12399

def deserialize(params)
  @Name = params['Name']
  @Type = params['Type']
  @Description = params['Description']
  @Values = params['Values']
  @ChoiceList = params['ChoiceList']
end