Class: TencentCloud::Aiart::V20221229::QueryTrainPortraitModelJobResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aiart::V20221229::QueryTrainPortraitModelJobResponse
- Defined in:
- lib/v20221229/models.rb
Overview
QueryTrainPortraitModelJob返回参数结构体
Instance Attribute Summary collapse
-
#JobErrorCode ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。.
-
#JobErrorMsg ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。.
-
#JobStatusCode ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。.
-
#JobStatusMsg ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。.
-
#RequestId ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobstatuscode = nil, jobstatusmsg = nil, joberrorcode = nil, joberrormsg = nil, requestid = nil) ⇒ QueryTrainPortraitModelJobResponse
constructor
A new instance of QueryTrainPortraitModelJobResponse.
Constructor Details
#initialize(jobstatuscode = nil, jobstatusmsg = nil, joberrorcode = nil, joberrormsg = nil, requestid = nil) ⇒ QueryTrainPortraitModelJobResponse
Returns a new instance of QueryTrainPortraitModelJobResponse.
535 536 537 538 539 540 541 |
# File 'lib/v20221229/models.rb', line 535 def initialize(jobstatuscode=nil, jobstatusmsg=nil, joberrorcode=nil, joberrormsg=nil, requestid=nil) @JobStatusCode = jobstatuscode @JobStatusMsg = jobstatusmsg @JobErrorCode = joberrorcode @JobErrorMsg = joberrormsg @RequestId = requestid end |
Instance Attribute Details
#JobErrorCode ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
533 534 535 |
# File 'lib/v20221229/models.rb', line 533 def JobErrorCode @JobErrorCode end |
#JobErrorMsg ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
533 534 535 |
# File 'lib/v20221229/models.rb', line 533 def JobErrorMsg @JobErrorMsg end |
#JobStatusCode ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
533 534 535 |
# File 'lib/v20221229/models.rb', line 533 def JobStatusCode @JobStatusCode end |
#JobStatusMsg ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
533 534 535 |
# File 'lib/v20221229/models.rb', line 533 def JobStatusMsg @JobStatusMsg end |
#RequestId ⇒ Object
INIT: 初始化、WAIT:等待中、RUN:运行中、FAIL:处理失败、DONE:处理完成。
533 534 535 |
# File 'lib/v20221229/models.rb', line 533 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
543 544 545 546 547 548 549 |
# File 'lib/v20221229/models.rb', line 543 def deserialize(params) @JobStatusCode = params['JobStatusCode'] @JobStatusMsg = params['JobStatusMsg'] @JobErrorCode = params['JobErrorCode'] @JobErrorMsg = params['JobErrorMsg'] @RequestId = params['RequestId'] end |