Class: TencentCloud::Asr::V20190614::SetVocabStateResponse

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, requestid = nil) ⇒ SetVocabStateResponse

Returns a new instance of SetVocabStateResponse.



1800
1801
1802
1803
# File 'lib/v20190614/models.rb', line 1800

def initialize(vocabid=nil, requestid=nil)
  @VocabId = vocabid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VocabId:

    热词表ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1798
1799
1800
# File 'lib/v20190614/models.rb', line 1798

def RequestId
  @RequestId
end

#VocabIdObject

Parameters:

  • VocabId:

    热词表ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1798
1799
1800
# File 'lib/v20190614/models.rb', line 1798

def VocabId
  @VocabId
end

Instance Method Details

#deserialize(params) ⇒ Object



1805
1806
1807
1808
# File 'lib/v20190614/models.rb', line 1805

def deserialize(params)
  @VocabId = params['VocabId']
  @RequestId = params['RequestId']
end