Class: TencentCloud::Vtc::V20240223::DescribeVideoTranslateJobResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vtc::V20240223::DescribeVideoTranslateJobResponse
- Defined in:
- lib/v20240223/models.rb
Overview
DescribeVideoTranslateJob返回参数结构体
Instance Attribute Summary collapse
- #AsrTimestamps ⇒ Object
- #JobAudioModerationId ⇒ Object
- #JobAudioTaskId ⇒ Object
- #JobConfirm ⇒ Object
- #JobErrorCode ⇒ Object
- #JobErrorMsg ⇒ Object
- #JobStatus ⇒ Object
- #JobSubmitReqId ⇒ Object
- #JobVideoId ⇒ Object
- #JobVideoModerationId ⇒ Object
- #OriginalVideoUrl ⇒ Object
- #RequestId ⇒ Object
- #ResultVideoUrl ⇒ Object
- #TranslateResults ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobstatus = nil, joberrorcode = nil, joberrormsg = nil, resultvideourl = nil, translateresults = nil, jobconfirm = nil, jobaudiotaskid = nil, jobvideomoderationid = nil, jobvideoid = nil, originalvideourl = nil, asrtimestamps = nil, jobsubmitreqid = nil, jobaudiomoderationid = nil, requestid = nil) ⇒ DescribeVideoTranslateJobResponse
constructor
A new instance of DescribeVideoTranslateJobResponse.
Constructor Details
#initialize(jobstatus = nil, joberrorcode = nil, joberrormsg = nil, resultvideourl = nil, translateresults = nil, jobconfirm = nil, jobaudiotaskid = nil, jobvideomoderationid = nil, jobvideoid = nil, originalvideourl = nil, asrtimestamps = nil, jobsubmitreqid = nil, jobaudiomoderationid = nil, requestid = nil) ⇒ DescribeVideoTranslateJobResponse
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/v20240223/models.rb', line 179 def initialize(jobstatus=nil, joberrorcode=nil, joberrormsg=nil, resultvideourl=nil, translateresults=nil, jobconfirm=nil, jobaudiotaskid=nil, jobvideomoderationid=nil, jobvideoid=nil, originalvideourl=nil, =nil, jobsubmitreqid=nil, jobaudiomoderationid=nil, requestid=nil) @JobStatus = jobstatus @JobErrorCode = joberrorcode @JobErrorMsg = joberrormsg @ResultVideoUrl = resultvideourl @TranslateResults = translateresults @JobConfirm = jobconfirm @JobAudioTaskId = jobaudiotaskid @JobVideoModerationId = jobvideomoderationid @JobVideoId = jobvideoid @OriginalVideoUrl = originalvideourl @AsrTimestamps = @JobSubmitReqId = jobsubmitreqid @JobAudioModerationId = jobaudiomoderationid @RequestId = requestid end |
Instance Attribute Details
#AsrTimestamps ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def AsrTimestamps @AsrTimestamps end |
#JobAudioModerationId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobAudioModerationId @JobAudioModerationId end |
#JobAudioTaskId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobAudioTaskId @JobAudioTaskId end |
#JobConfirm ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobConfirm @JobConfirm end |
#JobErrorCode ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobErrorCode @JobErrorCode end |
#JobErrorMsg ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobErrorMsg @JobErrorMsg end |
#JobStatus ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobStatus @JobStatus end |
#JobSubmitReqId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobSubmitReqId @JobSubmitReqId end |
#JobVideoId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobVideoId @JobVideoId end |
#JobVideoModerationId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def JobVideoModerationId @JobVideoModerationId end |
#OriginalVideoUrl ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def OriginalVideoUrl @OriginalVideoUrl end |
#RequestId ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def RequestId @RequestId end |
#ResultVideoUrl ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def ResultVideoUrl @ResultVideoUrl end |
#TranslateResults ⇒ Object
177 178 179 |
# File 'lib/v20240223/models.rb', line 177 def TranslateResults @TranslateResults end |
Instance Method Details
#deserialize(params) ⇒ Object
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/v20240223/models.rb', line 196 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'] @JobVideoId = params['JobVideoId'] @OriginalVideoUrl = params['OriginalVideoUrl'] unless params['AsrTimestamps'].nil? @AsrTimestamps = [] params['AsrTimestamps'].each do |i| = AsrTimestamps.new .deserialize(i) @AsrTimestamps << end end @JobSubmitReqId = params['JobSubmitReqId'] @JobAudioModerationId = params['JobAudioModerationId'] @RequestId = params['RequestId'] end |