Class: TencentCloud::Cwp::V20180228::VulEmergentMsgInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

紧急通知实体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vulid = nil, publishtime = nil, name = nil, nameen = nil, supportfix = nil, supportdefense = nil, kbid = nil, kbnumber = nil) ⇒ VulEmergentMsgInfo

Returns a new instance of VulEmergentMsgInfo.



40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
# File 'lib/v20180228/models.rb', line 40400

def initialize(vulid=nil, publishtime=nil, name=nil, nameen=nil, supportfix=nil, supportdefense=nil, kbid=nil, kbnumber=nil)
  @VulId = vulid
  @PublishTime = publishtime
  @Name = name
  @NameEn = nameen
  @SupportFix = supportfix
  @SupportDefense = supportdefense
  @KbId = kbid
  @KbNumber = kbnumber
end

Instance Attribute Details

#KbIdObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def KbId
  @KbId
end

#KbNumberObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def KbNumber
  @KbNumber
end

#NameObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def Name
  @Name
end

#NameEnObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def NameEn
  @NameEn
end

#PublishTimeObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def PublishTime
  @PublishTime
end

#SupportDefenseObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def SupportDefense
  @SupportDefense
end

#SupportFixObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def SupportFix
  @SupportFix
end

#VulIdObject

Parameters:

  • VulId:

    漏洞id

  • PublishTime:

    漏洞披露时间

  • Name:

    漏洞名

  • NameEn:

    漏洞名,英文描述

  • SupportFix:

    是否支持自动修复 0:不支持 >0: 支持

  • SupportDefense:

    是否支持自动防御 0:不支持 1:支持

  • KbId:

    KB对应的ID

  • KbNumber:

    KB号



40398
40399
40400
# File 'lib/v20180228/models.rb', line 40398

def VulId
  @VulId
end

Instance Method Details

#deserialize(params) ⇒ Object



40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
# File 'lib/v20180228/models.rb', line 40411

def deserialize(params)
  @VulId = params['VulId']
  @PublishTime = params['PublishTime']
  @Name = params['Name']
  @NameEn = params['NameEn']
  @SupportFix = params['SupportFix']
  @SupportDefense = params['SupportDefense']
  @KbId = params['KbId']
  @KbNumber = params['KbNumber']
end