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.
7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 |
# File 'lib/v20221121/models.rb', line 7543 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
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Account @Account end |
#Address ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Address @Address end |
#AssetType ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def AssetType @AssetType end |
#City ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def City @City end |
#ContainerID ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def ContainerID @ContainerID end |
#ContainerName ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def ContainerName @ContainerName end |
#Country ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Country @Country end |
#Domain ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Domain @Domain end |
#Family ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Family @Family end |
#FileName ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def FileName @FileName end |
#FromLogAnalysisData ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def FromLogAnalysisData @FromLogAnalysisData end |
#HostIP ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def HostIP @HostIP end |
#Info ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Info @Info end |
#InstanceID ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def InstanceID @InstanceID end |
#IP ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def IP @IP end |
#Latitude ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Latitude @Latitude end |
#Longitude ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Longitude @Longitude end |
#MD5 ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def MD5 @MD5 end |
#Name ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Name @Name end |
#OriginIP ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def OriginIP @OriginIP end |
#Port ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Port @Port end |
#Province ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def Province @Province end |
#VirusName ⇒ Object
7541 7542 7543 |
# File 'lib/v20221121/models.rb', line 7541 def VirusName @VirusName end |
Instance Method Details
#deserialize(params) ⇒ Object
7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 |
# File 'lib/v20221121/models.rb', line 7569 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 |