Class: TencentCloud::Asr::V20190614::SetVocabStateRequest

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

Overview

SetVocabState请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#StateObject

Parameters:

  • VocabId:

    热词表ID。

  • State:

    热词表状态,1:设为默认状态;0:设为非默认状态。



1778
1779
1780
# File 'lib/v20190614/models.rb', line 1778

def State
  @State
end

#VocabIdObject

Parameters:

  • VocabId:

    热词表ID。

  • State:

    热词表状态,1:设为默认状态;0:设为非默认状态。



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