Class: TencentCloud::Asr::V20190614::UpdateAsrVocabResponse

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

Overview

UpdateAsrVocab返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vocabid = nil, requestid = nil) ⇒ UpdateAsrVocabResponse

Returns a new instance of UpdateAsrVocabResponse.



1978
1979
1980
1981
# File 'lib/v20190614/models.rb', line 1978

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • VocabId:

    热词表ID

  • RequestId:

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



1976
1977
1978
# File 'lib/v20190614/models.rb', line 1976

def RequestId
  @RequestId
end

#VocabIdObject

Parameters:

  • VocabId:

    热词表ID

  • RequestId:

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



1976
1977
1978
# File 'lib/v20190614/models.rb', line 1976

def VocabId
  @VocabId
end

Instance Method Details

#deserialize(params) ⇒ Object



1983
1984
1985
1986
# File 'lib/v20190614/models.rb', line 1983

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