Class: TencentCloud::Mps::V20190612::OcrWordsConfigureInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::OcrWordsConfigureInfo
- 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) ⇒ OcrWordsConfigureInfo
constructor
A new instance of OcrWordsConfigureInfo.
Constructor Details
#initialize(switch = nil, labelset = nil) ⇒ OcrWordsConfigureInfo
Returns a new instance of OcrWordsConfigureInfo.
23754 23755 23756 23757 |
# File 'lib/v20190612/models.rb', line 23754 def initialize(switch=nil, labelset=nil) @Switch = switch @LabelSet = labelset end |
Instance Attribute Details
#LabelSet ⇒ Object
23752 23753 23754 |
# File 'lib/v20190612/models.rb', line 23752 def LabelSet @LabelSet end |
#Switch ⇒ Object
23752 23753 23754 |
# File 'lib/v20190612/models.rb', line 23752 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
23759 23760 23761 23762 |
# File 'lib/v20190612/models.rb', line 23759 def deserialize(params) @Switch = params['Switch'] @LabelSet = params['LabelSet'] end |