Class: TencentCloud::Tms::V20201229::GetFinancialLLMTaskResultResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tms::V20201229::GetFinancialLLMTaskResultResponse
- Defined in:
- lib/v20201229/models.rb
Overview
GetFinancialLLMTaskResult返回参数结构体
Instance Attribute Summary collapse
-
#Details ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#FailureReason ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#ModerationResult ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#RequestId ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#ReviewedLabels ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#StartTime ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
-
#Status ⇒ Object
-
Success: 成功 - Processing: 处理中,请等待 - Failed: 失败.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, moderationresult = nil, failurereason = nil, starttime = nil, reviewedlabels = nil, details = nil, requestid = nil) ⇒ GetFinancialLLMTaskResultResponse
constructor
A new instance of GetFinancialLLMTaskResultResponse.
Constructor Details
#initialize(status = nil, moderationresult = nil, failurereason = nil, starttime = nil, reviewedlabels = nil, details = nil, requestid = nil) ⇒ GetFinancialLLMTaskResultResponse
Returns a new instance of GetFinancialLLMTaskResultResponse.
275 276 277 278 279 280 281 282 283 |
# File 'lib/v20201229/models.rb', line 275 def initialize(status=nil, moderationresult=nil, failurereason=nil, starttime=nil, reviewedlabels=nil, details=nil, requestid=nil) @Status = status @ModerationResult = moderationresult @FailureReason = failurereason @StartTime = starttime @ReviewedLabels = reviewedlabels @Details = details @RequestId = requestid end |
Instance Attribute Details
#Details ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def Details @Details end |
#FailureReason ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def FailureReason @FailureReason end |
#ModerationResult ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def ModerationResult @ModerationResult end |
#RequestId ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def RequestId @RequestId end |
#ReviewedLabels ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def ReviewedLabels @ReviewedLabels end |
#StartTime ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def StartTime @StartTime end |
#Status ⇒ Object
-
Success: 成功
-
Processing: 处理中,请等待
-
Failed: 失败
273 274 275 |
# File 'lib/v20201229/models.rb', line 273 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
# File 'lib/v20201229/models.rb', line 285 def deserialize(params) @Status = params['Status'] @ModerationResult = params['ModerationResult'] @FailureReason = params['FailureReason'] @StartTime = params['StartTime'] @ReviewedLabels = params['ReviewedLabels'] unless params['Details'].nil? @Details = [] params['Details'].each do |i| financialllmviolationdetail_tmp = FinancialLLMViolationDetail.new financialllmviolationdetail_tmp.deserialize(i) @Details << financialllmviolationdetail_tmp end end @RequestId = params['RequestId'] end |