Class: TencentCloud::Ess::V20201111::FeedbackInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::FeedbackInfo
- Defined in:
- lib/v20201111/models.rb
Overview
信息提取结果字段反馈
Instance Attribute Summary collapse
-
#Reason ⇒ Object
值如下: - 0: 未反馈 - 1: 信息提取正确 - 2: 信息提取有错误. -
#Result ⇒ Object
值如下: - 0: 未反馈 - 1: 信息提取正确 - 2: 信息提取有错误.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, reason = nil) ⇒ FeedbackInfo
constructor
A new instance of FeedbackInfo.
Constructor Details
#initialize(result = nil, reason = nil) ⇒ FeedbackInfo
Returns a new instance of FeedbackInfo.
12602 12603 12604 12605 |
# File 'lib/v20201111/models.rb', line 12602 def initialize(result=nil, reason=nil) @Result = result @Reason = reason end |
Instance Attribute Details
#Reason ⇒ Object
值如下:
- 0: 未反馈
- 1: 信息提取正确
- 2: 信息提取有错误
12600 12601 12602 |
# File 'lib/v20201111/models.rb', line 12600 def Reason @Reason end |
#Result ⇒ Object
值如下:
- 0: 未反馈
- 1: 信息提取正确
- 2: 信息提取有错误
12600 12601 12602 |
# File 'lib/v20201111/models.rb', line 12600 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
12607 12608 12609 12610 12611 12612 12613 |
# File 'lib/v20201111/models.rb', line 12607 def deserialize(params) @Result = params['Result'] unless params['Reason'].nil? @Reason = FeedbackInfoReason.new @Reason.deserialize(params['Reason']) end end |