Class: TencentCloud::Ocr::V20181119::ItemNames
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ItemNames
- Defined in:
- lib/v20181119/models.rb
Overview
自定义抽取需要的字段名称、字段类型、字段提示词。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyname = nil, keytype = nil, keyprompt = nil) ⇒ ItemNames
constructor
A new instance of ItemNames.
Constructor Details
#initialize(keyname = nil, keytype = nil, keyprompt = nil) ⇒ ItemNames
Returns a new instance of ItemNames.
5875 5876 5877 5878 5879 |
# File 'lib/v20181119/models.rb', line 5875 def initialize(keyname=nil, keytype=nil, keyprompt=nil) @KeyName = keyname @KeyType = keytype @KeyPrompt = keyprompt end |
Instance Attribute Details
#KeyName ⇒ Object
5873 5874 5875 |
# File 'lib/v20181119/models.rb', line 5873 def KeyName @KeyName end |
#KeyPrompt ⇒ Object
5873 5874 5875 |
# File 'lib/v20181119/models.rb', line 5873 def KeyPrompt @KeyPrompt end |
#KeyType ⇒ Object
5873 5874 5875 |
# File 'lib/v20181119/models.rb', line 5873 def KeyType @KeyType end |
Instance Method Details
#deserialize(params) ⇒ Object
5881 5882 5883 5884 5885 |
# File 'lib/v20181119/models.rb', line 5881 def deserialize(params) @KeyName = params['KeyName'] @KeyType = params['KeyType'] @KeyPrompt = params['KeyPrompt'] end |