Class: TencentCloud::Mps::V20190612::PureSubtitleTransResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::PureSubtitleTransResult
- Defined in:
- lib/v20190612/models.rb
Overview
纯字幕翻译结果
Instance Attribute Summary collapse
-
#ErrCode ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrCodeExt ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#Input ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#Message ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#Output ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#Progress ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
- PROCESSING - SUCCESS - FAIL 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, errcodeext = nil, errcode = nil, message = nil, input = nil, output = nil, progress = nil) ⇒ PureSubtitleTransResult
constructor
A new instance of PureSubtitleTransResult.
Constructor Details
#initialize(status = nil, errcodeext = nil, errcode = nil, message = nil, input = nil, output = nil, progress = nil) ⇒ PureSubtitleTransResult
Returns a new instance of PureSubtitleTransResult.
25279 25280 25281 25282 25283 25284 25285 25286 25287 |
# File 'lib/v20190612/models.rb', line 25279 def initialize(status=nil, errcodeext=nil, errcode=nil, =nil, input=nil, output=nil, progress=nil) @Status = status @ErrCodeExt = errcodeext @ErrCode = errcode @Message = @Input = input @Output = output @Progress = progress end |
Instance Attribute Details
#ErrCode ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def ErrCode @ErrCode end |
#ErrCodeExt ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def ErrCodeExt @ErrCodeExt end |
#Input ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def Input @Input end |
#Message ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def Message @Message end |
#Output ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def Output @Output end |
#Progress ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def Progress @Progress end |
#Status ⇒ Object
- PROCESSING
- SUCCESS
- FAIL 注意:此字段可能返回 null,表示取不到有效值。
25277 25278 25279 |
# File 'lib/v20190612/models.rb', line 25277 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
25289 25290 25291 25292 25293 25294 25295 25296 25297 25298 25299 25300 25301 25302 25303 |
# File 'lib/v20190612/models.rb', line 25289 def deserialize(params) @Status = params['Status'] @ErrCodeExt = params['ErrCodeExt'] @ErrCode = params['ErrCode'] @Message = params['Message'] unless params['Input'].nil? @Input = SmartSubtitleTaskResultInput.new @Input.deserialize(params['Input']) end unless params['Output'].nil? @Output = PureSubtitleTransResultOutput.new @Output.deserialize(params['Output']) end @Progress = params['Progress'] end |