Class: TencentCloud::Cwp::V20180228::ModifyFileTamperRuleRequest

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

Overview

ModifyFileTamperRule请求参数结构体

Instance Attribute Summary collapse

  • #Id ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #IsGlobal ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #Level ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #Name ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #Rules ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #Status ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .
  • #Uuids ⇒ Object
  • cur 仅对当前加白
  • all 所有符合条件加白
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(name = nil, rules = nil, isglobal = nil, status = nil, id = nil, uuids = nil, level = nil, addwhitetype = nil) ⇒ ModifyFileTamperRuleRequest

    Returns a new instance of ModifyFileTamperRuleRequest.

    
    
    32396
    32397
    32398
    32399
    32400
    32401
    32402
    32403
    32404
    32405
    # File 'lib/v20180228/models.rb', line 32396
    
    def initialize(name=nil, rules=nil, isglobal=nil, status=nil, id=nil, uuids=nil, level=nil, addwhitetype=nil)
      @Name = name
      @Rules = rules
      @IsGlobal = isglobal
      @Status = status
      @Id = id
      @Uuids = uuids
      @Level = level
      @AddWhiteType = addwhitetype
    end

    Instance Attribute Details

    #AddWhiteTypeObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def AddWhiteType
      @AddWhiteType
    end

    #IdObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Id
      @Id
    end

    #IsGlobalObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def IsGlobal
      @IsGlobal
    end

    #LevelObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Level
      @Level
    end

    #NameObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Name
      @Name
    end

    #RulesObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Rules
      @Rules
    end

    #StatusObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Status
      @Status
    end

    #UuidsObject

  • cur 仅对当前加白
  • all 所有符合条件加白
  • Parameters:

    • Name:

      规则名称

    • Rules:

      规则内容

    • IsGlobal:

      是否全局规则(默认否) 0:否 ,1:是,全局是Uuids 可为空

    • Status:

      启用状态 0: 启用 1: 已关闭

    • Id:

      规则id 不填或者0表示新增

    • Uuids:

      影响的主机uuid集合

    • Level:

      风险等级 0:无, 1: 高危, 2:中危, 3: 低危

    • AddWhiteType:

      加白处理类型

    
    
    32394
    32395
    32396
    # File 'lib/v20180228/models.rb', line 32394
    
    def Uuids
      @Uuids
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    32407
    32408
    32409
    32410
    32411
    32412
    32413
    32414
    32415
    32416
    32417
    32418
    32419
    32420
    32421
    32422
    32423
    # File 'lib/v20180228/models.rb', line 32407
    
    def deserialize(params)
      @Name = params['Name']
      unless params['Rules'].nil?
        @Rules = []
        params['Rules'].each do |i|
          filetamperrule_tmp = FileTamperRule.new
          filetamperrule_tmp.deserialize(i)
          @Rules << filetamperrule_tmp
        end
      end
      @IsGlobal = params['IsGlobal']
      @Status = params['Status']
      @Id = params['Id']
      @Uuids = params['Uuids']
      @Level = params['Level']
      @AddWhiteType = params['AddWhiteType']
    end