Class: TencentCloud::Af::V20200226::GetAntiFraudRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200226/models.rb

Overview

GetAntiFraud请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BusinessCryptoDataObject

入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。

Parameters:

  • BusinessSecurityData:

    默认不传,约定用原始业务

  • BusinessCryptoData:

    默认不传,约定用密文业务



554
555
556
# File 'lib/v20200226/models.rb', line 554

def BusinessCryptoData
  @BusinessCryptoData
end

#BusinessSecurityDataObject

入参(二选一BusinessSecurityData 或 BusinessCryptoData)。 入参(二选一 BusinessSecurityData 或 BusinessCryptoData)。

Parameters:

  • 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