class TencentCloud::Vclm::V20240523::DescribeVideoTranslateJobResponse

DescribeVideoTranslateJob返回参数结构体

def deserialize(params)

def deserialize(params)
  @JobStatus = params['JobStatus']
  @JobErrorCode = params['JobErrorCode']
  @JobErrorMsg = params['JobErrorMsg']
  @ResultVideoUrl = params['ResultVideoUrl']
  unless params['TranslateResults'].nil?
    @TranslateResults = []
    params['TranslateResults'].each do |i|
      translateresult_tmp = TranslateResult.new
      translateresult_tmp.deserialize(i)
      @TranslateResults << translateresult_tmp
    end
  end
  @JobConfirm = params['JobConfirm']
  @JobAudioTaskId = params['JobAudioTaskId']
  @JobVideoModerationId = params['JobVideoModerationId']
  @JobAudioModerationId = params['JobAudioModerationId']
  @JobVideoId = params['JobVideoId']
  @OriginalVideoUrl = params['OriginalVideoUrl']
  unless params['AsrTimestamps'].nil?
    @AsrTimestamps = []
    params['AsrTimestamps'].each do |i|
      asrtimestamps_tmp = AsrTimestamps.new
      asrtimestamps_tmp.deserialize(i)
      @AsrTimestamps << asrtimestamps_tmp
    end
  end
  @JobSubmitReqId = params['JobSubmitReqId']
  @RequestId = params['RequestId']
end

def initialize(jobstatus=nil, joberrorcode=nil, joberrormsg=nil, resultvideourl=nil, translateresults=nil, jobconfirm=nil, jobaudiotaskid=nil, jobvideomoderationid=nil, jobaudiomoderationid=nil, jobvideoid=nil, originalvideourl=nil, asrtimestamps=nil, jobsubmitreqid=nil, requestid=nil)

def initialize(jobstatus=nil, joberrorcode=nil, joberrormsg=nil, resultvideourl=nil, translateresults=nil, jobconfirm=nil, jobaudiotaskid=nil, jobvideomoderationid=nil, jobaudiomoderationid=nil, jobvideoid=nil, originalvideourl=nil, asrtimestamps=nil, jobsubmitreqid=nil, requestid=nil)
  @JobStatus = jobstatus
  @JobErrorCode = joberrorcode
  @JobErrorMsg = joberrormsg
  @ResultVideoUrl = resultvideourl
  @TranslateResults = translateresults
  @JobConfirm = jobconfirm
  @JobAudioTaskId = jobaudiotaskid
  @JobVideoModerationId = jobvideomoderationid
  @JobAudioModerationId = jobaudiomoderationid
  @JobVideoId = jobvideoid
  @OriginalVideoUrl = originalvideourl
  @AsrTimestamps = asrtimestamps
  @JobSubmitReqId = jobsubmitreqid
  @RequestId = requestid
end