Class: TencentCloud::Af::V20200226::GetAntiFraudRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Af::V20200226::GetAntiFraudRequest
- Defined in:
- lib/v20200226/models.rb
Overview
GetAntiFraud请求参数结构体
Instance Attribute Summary collapse
-
#BusinessCryptoData ⇒ Object
入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。.
-
#BusinessSecurityData ⇒ Object
入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(businesssecuritydata = nil, businesscryptodata = nil) ⇒ GetAntiFraudRequest
constructor
A new instance of GetAntiFraudRequest.
Constructor Details
#initialize(businesssecuritydata = nil, businesscryptodata = nil) ⇒ GetAntiFraudRequest
Returns a new instance of GetAntiFraudRequest.
556 557 558 559 |
# File 'lib/v20200226/models.rb', line 556 def initialize(businesssecuritydata=nil, businesscryptodata=nil) @BusinessSecurityData = businesssecuritydata @BusinessCryptoData = businesscryptodata end |
Instance Attribute Details
#BusinessCryptoData ⇒ Object
入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。
554 555 556 |
# File 'lib/v20200226/models.rb', line 554 def BusinessCryptoData @BusinessCryptoData end |
#BusinessSecurityData ⇒ Object
入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。
554 555 556 |
# File 'lib/v20200226/models.rb', line 554 def BusinessSecurityData @BusinessSecurityData end |
Instance Method Details
#deserialize(params) ⇒ Object
561 562 563 564 565 566 567 568 569 570 |
# File 'lib/v20200226/models.rb', line 561 def deserialize(params) unless params['BusinessSecurityData'].nil? @BusinessSecurityData = AntiFraudFilter.new @BusinessSecurityData.deserialize(params['BusinessSecurityData']) end unless params['BusinessCryptoData'].nil? @BusinessCryptoData = AntiFraudCryptoFilter.new @BusinessCryptoData.deserialize(params['BusinessCryptoData']) end end |