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.



8117
8118
8119
8120
# File 'lib/v20190612/models.rb', line 8117

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

Instance Attribute Details

#HotwordsIdObject

Parameters:

  • HotwordsId:

    热词库 id

  • RequestId:

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



8115
8116
8117
# File 'lib/v20190612/models.rb', line 8115

def HotwordsId
  @HotwordsId
end

#RequestIdObject

Parameters:

  • HotwordsId:

    热词库 id

  • RequestId:

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



8115
8116
8117
# File 'lib/v20190612/models.rb', line 8115

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8122
8123
8124
8125
# File 'lib/v20190612/models.rb', line 8122

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