Class: TencentCloud::Af::V20200226::DescribeAntiFraudRequest

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

Overview

DescribeAntiFraud请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(businesssecuritydata = nil, businesscryptodata = nil) ⇒ DescribeAntiFraudRequest

Returns a new instance of DescribeAntiFraudRequest.



297
298
299
300
# File 'lib/v20200226/models.rb', line 297

def initialize(businesssecuritydata=nil, businesscryptodata=nil)
  @BusinessSecurityData = businesssecuritydata
  @BusinessCryptoData = businesscryptodata
end

Instance Attribute Details

#BusinessCryptoDataObject

Parameters:

  • BusinessSecurityData:

    原始业务入参(二选一)

  • BusinessCryptoData:

    密文业务入参(二选一)



295
296
297
# File 'lib/v20200226/models.rb', line 295

def BusinessCryptoData
  @BusinessCryptoData
end

#BusinessSecurityDataObject

Parameters:

  • BusinessSecurityData:

    原始业务入参(二选一)

  • BusinessCryptoData:

    密文业务入参(二选一)



295
296
297
# File 'lib/v20200226/models.rb', line 295

def BusinessSecurityData
  @BusinessSecurityData
end

Instance Method Details

#deserialize(params) ⇒ Object



302
303
304
305
306
307
308
309
310
311
# File 'lib/v20200226/models.rb', line 302

def deserialize(params)
  unless params['BusinessSecurityData'].nil?
    @BusinessSecurityData = FinanceAntiFraudFilter.new
    @BusinessSecurityData.deserialize(params['BusinessSecurityData'])
  end
  unless params['BusinessCryptoData'].nil?
    @BusinessCryptoData = FinanceAntiFraudCryptoFilter.new
    @BusinessCryptoData.deserialize(params['BusinessCryptoData'])
  end
end