Class: TencentCloud::Csip::V20221121::PortRiskAdvanceCFGParamItem

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

Overview

端口风险高级配置项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(portsets = nil, checktype = nil, detail = nil, enable = nil) ⇒ PortRiskAdvanceCFGParamItem

Returns a new instance of PortRiskAdvanceCFGParamItem.



7261
7262
7263
7264
7265
7266
# File 'lib/v20221121/models.rb', line 7261

def initialize(portsets=nil, checktype=nil, detail=nil, enable=nil)
  @PortSets = portsets
  @CheckType = checktype
  @Detail = detail
  @Enable = enable
end

Instance Attribute Details

#CheckTypeObject

Parameters:

  • PortSets:

    端口集合,以逗号分隔

  • CheckType:

    检测项类型,0-系统定义,1-用户自定义

  • Detail:

    检测项描述

  • Enable:

    是否启用,1-启用,0-禁用



7259
7260
7261
# File 'lib/v20221121/models.rb', line 7259

def CheckType
  @CheckType
end

#DetailObject

Parameters:

  • PortSets:

    端口集合,以逗号分隔

  • CheckType:

    检测项类型,0-系统定义,1-用户自定义

  • Detail:

    检测项描述

  • Enable:

    是否启用,1-启用,0-禁用



7259
7260
7261
# File 'lib/v20221121/models.rb', line 7259

def Detail
  @Detail
end

#EnableObject

Parameters:

  • PortSets:

    端口集合,以逗号分隔

  • CheckType:

    检测项类型,0-系统定义,1-用户自定义

  • Detail:

    检测项描述

  • Enable:

    是否启用,1-启用,0-禁用



7259
7260
7261
# File 'lib/v20221121/models.rb', line 7259

def Enable
  @Enable
end

#PortSetsObject

Parameters:

  • PortSets:

    端口集合,以逗号分隔

  • CheckType:

    检测项类型,0-系统定义,1-用户自定义

  • Detail:

    检测项描述

  • Enable:

    是否启用,1-启用,0-禁用



7259
7260
7261
# File 'lib/v20221121/models.rb', line 7259

def PortSets
  @PortSets
end

Instance Method Details

#deserialize(params) ⇒ Object



7268
7269
7270
7271
7272
7273
# File 'lib/v20221121/models.rb', line 7268

def deserialize(params)
  @PortSets = params['PortSets']
  @CheckType = params['CheckType']
  @Detail = params['Detail']
  @Enable = params['Enable']
end