Class: TencentCloud::Mps::V20190612::CreateAsrHotwordsResponse

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

Overview

CreateAsrHotwords返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hotwordsid = nil, requestid = nil) ⇒ CreateAsrHotwordsResponse

Returns a new instance of CreateAsrHotwordsResponse.



7062
7063
7064
7065
# File 'lib/v20190612/models.rb', line 7062

def initialize(hotwordsid=nil, requestid=nil)
  @HotwordsId = hotwordsid
  @RequestId = requestid
end

Instance Attribute Details

#HotwordsIdObject

Parameters:

  • HotwordsId:

    热词库 id

  • RequestId:

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



7060
7061
7062
# File 'lib/v20190612/models.rb', line 7060

def HotwordsId
  @HotwordsId
end

#RequestIdObject

Parameters:

  • HotwordsId:

    热词库 id

  • RequestId:

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



7060
7061
7062
# File 'lib/v20190612/models.rb', line 7060

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7067
7068
7069
7070
# File 'lib/v20190612/models.rb', line 7067

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