Class: TencentCloud::Af::V20200226::QueryAntiFraudResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Af::V20200226::QueryAntiFraudResponse
- Defined in:
- lib/v20200226/models.rb
Overview
QueryAntiFraud返回参数结构体
Instance Attribute Summary collapse
-
#CodeDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Found ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IdFound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RiskInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RiskScore ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(found = nil, idfound = nil, riskscore = nil, riskinfo = nil, codedesc = nil, requestid = nil) ⇒ QueryAntiFraudResponse
constructor
A new instance of QueryAntiFraudResponse.
Constructor Details
#initialize(found = nil, idfound = nil, riskscore = nil, riskinfo = nil, codedesc = nil, requestid = nil) ⇒ QueryAntiFraudResponse
Returns a new instance of QueryAntiFraudResponse.
749 750 751 752 753 754 755 756 |
# File 'lib/v20200226/models.rb', line 749 def initialize(found=nil, idfound=nil, riskscore=nil, riskinfo=nil, codedesc=nil, requestid=nil) @Found = found @IdFound = idfound @RiskScore = riskscore @RiskInfo = riskinfo @CodeDesc = codedesc @RequestId = requestid end |
Instance Attribute Details
#CodeDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def CodeDesc @CodeDesc end |
#Found ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def Found @Found end |
#IdFound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def IdFound @IdFound end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def RequestId @RequestId end |
#RiskInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def RiskInfo @RiskInfo end |
#RiskScore ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
747 748 749 |
# File 'lib/v20200226/models.rb', line 747 def RiskScore @RiskScore end |
Instance Method Details
#deserialize(params) ⇒ Object
758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 |
# File 'lib/v20200226/models.rb', line 758 def deserialize(params) @Found = params['Found'] @IdFound = params['IdFound'] @RiskScore = params['RiskScore'] unless params['RiskInfo'].nil? @RiskInfo = [] params['RiskInfo'].each do |i| riskdetail_tmp = RiskDetail.new riskdetail_tmp.deserialize(i) @RiskInfo << riskdetail_tmp end end @CodeDesc = params['CodeDesc'] @RequestId = params['RequestId'] end |