Class: TencentCloud::Asr::V20190614::UpdateAsrKeyWordLibResponse

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

Overview

UpdateAsrKeyWordLib返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ UpdateAsrKeyWordLibResponse

Returns a new instance of UpdateAsrKeyWordLibResponse.



1914
1915
1916
1917
# File 'lib/v20190614/models.rb', line 1914

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    关键词表ID数据

  • RequestId:

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



1912
1913
1914
# File 'lib/v20190614/models.rb', line 1912

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    关键词表ID数据

  • RequestId:

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



1912
1913
1914
# File 'lib/v20190614/models.rb', line 1912

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1919
1920
1921
1922
1923
1924
1925
# File 'lib/v20190614/models.rb', line 1919

def deserialize(params)
  unless params['Data'].nil?
    @Data = KeyWordLibIdData.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end