Class: TencentCloud::Csip::V20221121::NICAsset
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::NICAsset
- Defined in:
- lib/v20221121/models.rb
Overview
网卡资产
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #AssetId ⇒ Object
- #AssetName ⇒ Object
- #AssetType ⇒ Object
- #ConfigureRisk ⇒ Object
- #CreateTime ⇒ Object
- #ExposedPort ⇒ Object
- #ExposedVUL ⇒ Object
- #InboundCumulativeFlow ⇒ Object
- #InboundPeakBandwidth ⇒ Object
- #IsCore ⇒ Object
- #IsNewAsset ⇒ Object
- #LastScanTime ⇒ Object
- #NetworkAttack ⇒ Object
- #Nick ⇒ Object
- #OutboundCumulativeFlow ⇒ Object
- #OutboundPeakBandwidth ⇒ Object
- #PrivateIp ⇒ Object
- #PublicIp ⇒ Object
- #Region ⇒ Object
- #ScanTask ⇒ Object
- #Tag ⇒ Object
- #Uin ⇒ Object
- #VpcId ⇒ Object
- #VpcName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appid = nil, uin = nil, assetid = nil, assetname = nil, assettype = nil, privateip = nil, publicip = nil, region = nil, vpcid = nil, vpcname = nil, tag = nil, outboundpeakbandwidth = nil, inboundpeakbandwidth = nil, outboundcumulativeflow = nil, inboundcumulativeflow = nil, networkattack = nil, exposedport = nil, exposedvul = nil, configurerisk = nil, createtime = nil, scantask = nil, lastscantime = nil, nick = nil, iscore = nil, isnewasset = nil) ⇒ NICAsset
constructor
A new instance of NICAsset.
Constructor Details
#initialize(appid = nil, uin = nil, assetid = nil, assetname = nil, assettype = nil, privateip = nil, publicip = nil, region = nil, vpcid = nil, vpcname = nil, tag = nil, outboundpeakbandwidth = nil, inboundpeakbandwidth = nil, outboundcumulativeflow = nil, inboundcumulativeflow = nil, networkattack = nil, exposedport = nil, exposedvul = nil, configurerisk = nil, createtime = nil, scantask = nil, lastscantime = nil, nick = nil, iscore = nil, isnewasset = nil) ⇒ NICAsset
Returns a new instance of NICAsset.
10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 |
# File 'lib/v20221121/models.rb', line 10464 def initialize(appid=nil, uin=nil, assetid=nil, assetname=nil, assettype=nil, privateip=nil, publicip=nil, region=nil, vpcid=nil, vpcname=nil, tag=nil, outboundpeakbandwidth=nil, inboundpeakbandwidth=nil, outboundcumulativeflow=nil, inboundcumulativeflow=nil, networkattack=nil, exposedport=nil, exposedvul=nil, configurerisk=nil, createtime=nil, scantask=nil, lastscantime=nil, nick=nil, iscore=nil, isnewasset=nil) @AppId = appid @Uin = uin @AssetId = assetid @AssetName = assetname @AssetType = assettype @PrivateIp = privateip @PublicIp = publicip @Region = region @VpcId = vpcid @VpcName = vpcname @Tag = tag @OutboundPeakBandwidth = outboundpeakbandwidth @InboundPeakBandwidth = inboundpeakbandwidth @OutboundCumulativeFlow = outboundcumulativeflow @InboundCumulativeFlow = inboundcumulativeflow @NetworkAttack = networkattack @ExposedPort = exposedport @ExposedVUL = exposedvul @ConfigureRisk = configurerisk @CreateTime = createtime @ScanTask = scantask @LastScanTime = lastscantime @Nick = nick @IsCore = iscore @IsNewAsset = isnewasset end |
Instance Attribute Details
#AppId ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def AppId @AppId end |
#AssetId ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def AssetId @AssetId end |
#AssetName ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def AssetName @AssetName end |
#AssetType ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def AssetType @AssetType end |
#ConfigureRisk ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def ConfigureRisk @ConfigureRisk end |
#CreateTime ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def CreateTime @CreateTime end |
#ExposedPort ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def ExposedPort @ExposedPort end |
#ExposedVUL ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def ExposedVUL @ExposedVUL end |
#InboundCumulativeFlow ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def InboundCumulativeFlow @InboundCumulativeFlow end |
#InboundPeakBandwidth ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def InboundPeakBandwidth @InboundPeakBandwidth end |
#IsCore ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def IsCore @IsCore end |
#IsNewAsset ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def IsNewAsset @IsNewAsset end |
#LastScanTime ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def LastScanTime @LastScanTime end |
#NetworkAttack ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def NetworkAttack @NetworkAttack end |
#Nick ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def Nick @Nick end |
#OutboundCumulativeFlow ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def OutboundCumulativeFlow @OutboundCumulativeFlow end |
#OutboundPeakBandwidth ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def OutboundPeakBandwidth @OutboundPeakBandwidth end |
#PrivateIp ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def PrivateIp @PrivateIp end |
#PublicIp ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def PublicIp @PublicIp end |
#Region ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def Region @Region end |
#ScanTask ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def ScanTask @ScanTask end |
#Tag ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def Tag @Tag end |
#Uin ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def Uin @Uin end |
#VpcId ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def VpcId @VpcId end |
#VpcName ⇒ Object
10462 10463 10464 |
# File 'lib/v20221121/models.rb', line 10462 def VpcName @VpcName end |
Instance Method Details
#deserialize(params) ⇒ Object
10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 |
# File 'lib/v20221121/models.rb', line 10492 def deserialize(params) @AppId = params['AppId'] @Uin = params['Uin'] @AssetId = params['AssetId'] @AssetName = params['AssetName'] @AssetType = params['AssetType'] @PrivateIp = params['PrivateIp'] @PublicIp = params['PublicIp'] @Region = params['Region'] @VpcId = params['VpcId'] @VpcName = params['VpcName'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tag << tag_tmp end end @OutboundPeakBandwidth = params['OutboundPeakBandwidth'] @InboundPeakBandwidth = params['InboundPeakBandwidth'] @OutboundCumulativeFlow = params['OutboundCumulativeFlow'] @InboundCumulativeFlow = params['InboundCumulativeFlow'] @NetworkAttack = params['NetworkAttack'] @ExposedPort = params['ExposedPort'] @ExposedVUL = params['ExposedVUL'] @ConfigureRisk = params['ConfigureRisk'] @CreateTime = params['CreateTime'] @ScanTask = params['ScanTask'] @LastScanTime = params['LastScanTime'] @Nick = params['Nick'] @IsCore = params['IsCore'] @IsNewAsset = params['IsNewAsset'] end |