Class: TencentCloud::Tds::V20220801::DescribeFraudPremiumResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tds::V20220801::DescribeFraudPremiumResponse
- Defined in:
- lib/v20220801/models.rb
Overview
DescribeFraudPremium返回参数结构体
Instance Attribute Summary collapse
- #AppVersion ⇒ Object
- #Brand ⇒ Object
- #ClientIp ⇒ Object
- #HistRiskInfos ⇒ Object
- #Model ⇒ Object
- #NetworkType ⇒ Object
- #Openid ⇒ 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, openid = nil, requestid = nil) ⇒ DescribeFraudPremiumResponse
constructor
A new instance of DescribeFraudPremiumResponse.
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, openid = nil, requestid = nil) ⇒ DescribeFraudPremiumResponse
Returns a new instance of DescribeFraudPremiumResponse.
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'lib/v20220801/models.rb', line 355 def initialize(appversion=nil, brand=nil, clientip=nil, model=nil, networktype=nil, packagename=nil, platform=nil, systemversion=nil, sdkbuildno=nil, riskinfos=nil, histriskinfos=nil, openid=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 @Openid = openid @RequestId = requestid end |
Instance Attribute Details
#AppVersion ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def AppVersion @AppVersion end |
#Brand ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def Brand @Brand end |
#ClientIp ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def ClientIp @ClientIp end |
#HistRiskInfos ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def HistRiskInfos @HistRiskInfos end |
#Model ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def Model @Model end |
#NetworkType ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def NetworkType @NetworkType end |
#Openid ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def Openid @Openid end |
#PackageName ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def PackageName @PackageName end |
#Platform ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def Platform @Platform end |
#RequestId ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def RequestId @RequestId end |
#RiskInfos ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def RiskInfos @RiskInfos end |
#SdkBuildNo ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def SdkBuildNo @SdkBuildNo end |
#SystemVersion ⇒ Object
353 354 355 |
# File 'lib/v20220801/models.rb', line 353 def SystemVersion @SystemVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 |
# File 'lib/v20220801/models.rb', line 371 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 @Openid = params['Openid'] @RequestId = params['RequestId'] end |