Class: TencentCloud::Mps::V20190612::OcrWordsConfigureInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::OcrWordsConfigureInfoForUpdate
- Defined in:
- lib/v20190612/models.rb
Overview
文本关键词识别控制参数。
Instance Attribute Summary collapse
-
#LabelSet ⇒ Object
- ON:开启文本关键词识别任务;
- OFF:关闭文本关键词识别任务。
标签个数最多 10 个,每个标签长度最多 16 个字符。. -
#Switch ⇒ Object
- ON:开启文本关键词识别任务;
- OFF:关闭文本关键词识别任务。
标签个数最多 10 个,每个标签长度最多 16 个字符。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, labelset = nil) ⇒ OcrWordsConfigureInfoForUpdate
constructor
A new instance of OcrWordsConfigureInfoForUpdate.
Constructor Details
#initialize(switch = nil, labelset = nil) ⇒ OcrWordsConfigureInfoForUpdate
Returns a new instance of OcrWordsConfigureInfoForUpdate.
23777 23778 23779 23780 |
# File 'lib/v20190612/models.rb', line 23777 def initialize(switch=nil, labelset=nil) @Switch = switch @LabelSet = labelset end |
Instance Attribute Details
#LabelSet ⇒ Object
23775 23776 23777 |
# File 'lib/v20190612/models.rb', line 23775 def LabelSet @LabelSet end |
#Switch ⇒ Object
23775 23776 23777 |
# File 'lib/v20190612/models.rb', line 23775 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
23782 23783 23784 23785 |
# File 'lib/v20190612/models.rb', line 23782 def deserialize(params) @Switch = params['Switch'] @LabelSet = params['LabelSet'] end |