Class: TencentCloud::Tds::V20220801::DescribeFraudBaseResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tds::V20220801::DescribeFraudBaseResponse
- Defined in:
- lib/v20220801/models.rb
Overview
DescribeFraudBase返回参数结构体
Instance Attribute Summary collapse
- #AppVersion ⇒ Object
- #Brand ⇒ Object
- #ClientIp ⇒ Object
- #HistRiskInfos ⇒ Object
- #Model ⇒ Object
- #NetworkType ⇒ Object
- #PackageName ⇒ Object
- #Platform ⇒ Object
- #RequestId ⇒ Object
- #RiskInfos ⇒ Object
- #SdkBuildNo ⇒ Object
- #SystemVersion ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appversion = nil, brand = nil, clientip = nil, model = nil, networktype = nil, packagename = nil, platform = nil, systemversion = nil, sdkbuildno = nil, riskinfos = nil, histriskinfos = nil, requestid = nil) ⇒ DescribeFraudBaseResponse
constructor
A new instance of DescribeFraudBaseResponse.
Constructor Details
#initialize(appversion = nil, brand = nil, clientip = nil, model = nil, networktype = nil, packagename = nil, platform = nil, systemversion = nil, sdkbuildno = nil, riskinfos = nil, histriskinfos = nil, requestid = nil) ⇒ DescribeFraudBaseResponse
Returns a new instance of DescribeFraudBaseResponse.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
# File 'lib/v20220801/models.rb', line 263 def initialize(appversion=nil, brand=nil, clientip=nil, model=nil, networktype=nil, packagename=nil, platform=nil, systemversion=nil, sdkbuildno=nil, riskinfos=nil, histriskinfos=nil, requestid=nil) @AppVersion = appversion @Brand = brand @ClientIp = clientip @Model = model @NetworkType = networktype @PackageName = packagename @Platform = platform @SystemVersion = systemversion @SdkBuildNo = sdkbuildno @RiskInfos = riskinfos @HistRiskInfos = histriskinfos @RequestId = requestid end |
Instance Attribute Details
#AppVersion ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def AppVersion @AppVersion end |
#Brand ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def Brand @Brand end |
#ClientIp ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def ClientIp @ClientIp end |
#HistRiskInfos ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def HistRiskInfos @HistRiskInfos end |
#Model ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def Model @Model end |
#NetworkType ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def NetworkType @NetworkType end |
#PackageName ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def PackageName @PackageName end |
#Platform ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def Platform @Platform end |
#RequestId ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def RequestId @RequestId end |
#RiskInfos ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def RiskInfos @RiskInfos end |
#SdkBuildNo ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def SdkBuildNo @SdkBuildNo end |
#SystemVersion ⇒ Object
261 262 263 |
# File 'lib/v20220801/models.rb', line 261 def SystemVersion @SystemVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'lib/v20220801/models.rb', line 278 def deserialize(params) @AppVersion = params['AppVersion'] @Brand = params['Brand'] @ClientIp = params['ClientIp'] @Model = params['Model'] @NetworkType = params['NetworkType'] @PackageName = params['PackageName'] @Platform = params['Platform'] @SystemVersion = params['SystemVersion'] @SdkBuildNo = params['SdkBuildNo'] unless params['RiskInfos'].nil? @RiskInfos = [] params['RiskInfos'].each do |i| riskinfo_tmp = RiskInfo.new riskinfo_tmp.deserialize(i) @RiskInfos << riskinfo_tmp end end unless params['HistRiskInfos'].nil? @HistRiskInfos = [] params['HistRiskInfos'].each do |i| riskinfo_tmp = RiskInfo.new riskinfo_tmp.deserialize(i) @HistRiskInfos << riskinfo_tmp end end @RequestId = params['RequestId'] end |