Class: TencentCloud::Csip::V20221121::RoleInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::RoleInfo
- Defined in:
- lib/v20221121/models.rb
Overview
告警数据攻击者或受害者信息
Instance Attribute Summary collapse
- #Account ⇒ Object
- #Address ⇒ Object
- #AssetType ⇒ Object
- #City ⇒ Object
- #ContainerID ⇒ Object
- #ContainerName ⇒ Object
- #Country ⇒ Object
- #Domain ⇒ Object
- #Family ⇒ Object
- #FileName ⇒ Object
- #FromLogAnalysisData ⇒ Object
- #HostIP ⇒ Object
- #Info ⇒ Object
- #InstanceID ⇒ Object
- #IP ⇒ Object
- #Latitude ⇒ Object
- #Longitude ⇒ Object
- #MD5 ⇒ Object
- #Name ⇒ Object
- #OriginIP ⇒ Object
- #Port ⇒ Object
- #Province ⇒ Object
- #VirusName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, hostip = nil, originip = nil, port = nil, instanceid = nil, city = nil, province = nil, country = nil, address = nil, latitude = nil, longitude = nil, info = nil, domain = nil, name = nil, account = nil, family = nil, virusname = nil, md5 = nil, filename = nil, assettype = nil, fromloganalysisdata = nil, containername = nil, containerid = nil) ⇒ RoleInfo
constructor
A new instance of RoleInfo.
Constructor Details
#initialize(ip = nil, hostip = nil, originip = nil, port = nil, instanceid = nil, city = nil, province = nil, country = nil, address = nil, latitude = nil, longitude = nil, info = nil, domain = nil, name = nil, account = nil, family = nil, virusname = nil, md5 = nil, filename = nil, assettype = nil, fromloganalysisdata = nil, containername = nil, containerid = nil) ⇒ RoleInfo
Returns a new instance of RoleInfo.
11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 |
# File 'lib/v20221121/models.rb', line 11384 def initialize(ip=nil, hostip=nil, originip=nil, port=nil, instanceid=nil, city=nil, province=nil, country=nil, address=nil, latitude=nil, longitude=nil, info=nil, domain=nil, name=nil, account=nil, family=nil, virusname=nil, md5=nil, filename=nil, assettype=nil, fromloganalysisdata=nil, containername=nil, containerid=nil) @IP = ip @HostIP = hostip @OriginIP = originip @Port = port @InstanceID = instanceid @City = city @Province = province @Country = country @Address = address @Latitude = latitude @Longitude = longitude @Info = info @Domain = domain @Name = name @Account = account @Family = family @VirusName = virusname @MD5 = md5 @FileName = filename @AssetType = assettype @FromLogAnalysisData = fromloganalysisdata @ContainerName = containername @ContainerID = containerid end |
Instance Attribute Details
#Account ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Account @Account end |
#Address ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Address @Address end |
#AssetType ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def AssetType @AssetType end |
#City ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def City @City end |
#ContainerID ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def ContainerID @ContainerID end |
#ContainerName ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def ContainerName @ContainerName end |
#Country ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Country @Country end |
#Domain ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Domain @Domain end |
#Family ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Family @Family end |
#FileName ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def FileName @FileName end |
#FromLogAnalysisData ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def FromLogAnalysisData @FromLogAnalysisData end |
#HostIP ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def HostIP @HostIP end |
#Info ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Info @Info end |
#InstanceID ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def InstanceID @InstanceID end |
#IP ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def IP @IP end |
#Latitude ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Latitude @Latitude end |
#Longitude ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Longitude @Longitude end |
#MD5 ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def MD5 @MD5 end |
#Name ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Name @Name end |
#OriginIP ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def OriginIP @OriginIP end |
#Port ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Port @Port end |
#Province ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def Province @Province end |
#VirusName ⇒ Object
11382 11383 11384 |
# File 'lib/v20221121/models.rb', line 11382 def VirusName @VirusName end |
Instance Method Details
#deserialize(params) ⇒ Object
11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 |
# File 'lib/v20221121/models.rb', line 11410 def deserialize(params) @IP = params['IP'] @HostIP = params['HostIP'] @OriginIP = params['OriginIP'] @Port = params['Port'] @InstanceID = params['InstanceID'] @City = params['City'] @Province = params['Province'] @Country = params['Country'] @Address = params['Address'] @Latitude = params['Latitude'] @Longitude = params['Longitude'] @Info = params['Info'] @Domain = params['Domain'] @Name = params['Name'] @Account = params['Account'] @Family = params['Family'] @VirusName = params['VirusName'] @MD5 = params['MD5'] @FileName = params['FileName'] @AssetType = params['AssetType'] unless params['FromLogAnalysisData'].nil? @FromLogAnalysisData = [] params['FromLogAnalysisData'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @FromLogAnalysisData << keyvalue_tmp end end @ContainerName = params['ContainerName'] @ContainerID = params['ContainerID'] end |