Class: TencentCloud::Asr::V20190614::SetVocabStateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::SetVocabStateRequest
- Defined in:
- lib/v20190614/models.rb
Overview
SetVocabState请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vocabid = nil, state = nil) ⇒ SetVocabStateRequest
constructor
A new instance of SetVocabStateRequest.
Constructor Details
#initialize(vocabid = nil, state = nil) ⇒ SetVocabStateRequest
Returns a new instance of SetVocabStateRequest.
1780 1781 1782 1783 |
# File 'lib/v20190614/models.rb', line 1780 def initialize(vocabid=nil, state=nil) @VocabId = vocabid @State = state end |
Instance Attribute Details
#State ⇒ Object
1778 1779 1780 |
# File 'lib/v20190614/models.rb', line 1778 def State @State end |
#VocabId ⇒ Object
1778 1779 1780 |
# File 'lib/v20190614/models.rb', line 1778 def VocabId @VocabId end |
Instance Method Details
#deserialize(params) ⇒ Object
1785 1786 1787 1788 |
# File 'lib/v20190614/models.rb', line 1785 def deserialize(params) @VocabId = params['VocabId'] @State = params['State'] end |