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.
6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 |
# File 'lib/v20221121/models.rb', line 6903 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
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def AppId @AppId end |
#AssetId ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def AssetId @AssetId end |
#AssetName ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def AssetName @AssetName end |
#AssetType ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def AssetType @AssetType end |
#ConfigureRisk ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def ConfigureRisk @ConfigureRisk end |
#CreateTime ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def CreateTime @CreateTime end |
#ExposedPort ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def ExposedPort @ExposedPort end |
#ExposedVUL ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def ExposedVUL @ExposedVUL end |
#InboundCumulativeFlow ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def InboundCumulativeFlow @InboundCumulativeFlow end |
#InboundPeakBandwidth ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def InboundPeakBandwidth @InboundPeakBandwidth end |
#IsCore ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def IsCore @IsCore end |
#IsNewAsset ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def IsNewAsset @IsNewAsset end |
#LastScanTime ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def LastScanTime @LastScanTime end |
#NetworkAttack ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def NetworkAttack @NetworkAttack end |
#Nick ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def Nick @Nick end |
#OutboundCumulativeFlow ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def OutboundCumulativeFlow @OutboundCumulativeFlow end |
#OutboundPeakBandwidth ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def OutboundPeakBandwidth @OutboundPeakBandwidth end |
#PrivateIp ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def PrivateIp @PrivateIp end |
#PublicIp ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def PublicIp @PublicIp end |
#Region ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def Region @Region end |
#ScanTask ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def ScanTask @ScanTask end |
#Tag ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def Tag @Tag end |
#Uin ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def Uin @Uin end |
#VpcId ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def VpcId @VpcId end |
#VpcName ⇒ Object
6901 6902 6903 |
# File 'lib/v20221121/models.rb', line 6901 def VpcName @VpcName end |
Instance Method Details
#deserialize(params) ⇒ Object
6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 |
# File 'lib/v20221121/models.rb', line 6931 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 |