Class: TencentCloud::Af::V20200226::GetAntiFraudResponse

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(data = nil, requestid = nil) ⇒ GetAntiFraudResponse

Returns a new instance of GetAntiFraudResponse.



582
583
584
585
# File 'lib/v20200226/models.rb', line 582

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    反欺诈评分接口结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



580
581
582
# File 'lib/v20200226/models.rb', line 580

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    反欺诈评分接口结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



580
581
582
# File 'lib/v20200226/models.rb', line 580

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



587
588
589
590
591
592
593
# File 'lib/v20200226/models.rb', line 587

def deserialize(params)
  unless params['Data'].nil?
    @Data = AntiFraudRecord.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end