Class: TencentCloud::Asr::V20190614::VoicePrintUpdateResponse

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

Overview

VoicePrintUpdate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of VoicePrintUpdateResponse.



2515
2516
2517
2518
# File 'lib/v20190614/models.rb', line 2515

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    说话人基础数据

  • RequestId:

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



2513
2514
2515
# File 'lib/v20190614/models.rb', line 2513

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    说话人基础数据

  • RequestId:

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



2513
2514
2515
# File 'lib/v20190614/models.rb', line 2513

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2520
2521
2522
2523
2524
2525
2526
# File 'lib/v20190614/models.rb', line 2520

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