Class: TencentCloud::Waf::V20180125::ModifyBotStatusRequest

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

Overview

ModifyBotStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category = nil, status = nil, domain = nil, instanceid = nil, isversionfour = nil, botversion = nil, domainlist = nil) ⇒ ModifyBotStatusRequest

Returns a new instance of ModifyBotStatusRequest.



9962
9963
9964
9965
9966
9967
9968
9969
9970
# File 'lib/v20180125/models.rb', line 9962

def initialize(category=nil, status=nil, domain=nil, instanceid=nil, isversionfour=nil, botversion=nil, domainlist=nil)
  @Category = category
  @Status = status
  @Domain = domain
  @InstanceID = instanceid
  @IsVersionFour = isversionfour
  @BotVersion = botversion
  @DomainList = domainlist
end

Instance Attribute Details

#BotVersionObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def BotVersion
  @BotVersion
end

#CategoryObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def Category
  @Category
end

#DomainObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def Domain
  @Domain
end

#DomainListObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def DomainList
  @DomainList
end

#InstanceIDObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def InstanceID
  @InstanceID
end

#IsVersionFourObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def IsVersionFour
  @IsVersionFour
end

#StatusObject

Parameters:

  • Category:

    类别

  • Status:

    状态

  • Domain:

    域名

  • InstanceID:

    实例id

  • IsVersionFour:

    是否是bot4.0版本

  • BotVersion:

    传入Bot版本号,场景化版本为“4.1.0”

  • DomainList:

    批量开启BOT开关的域名列表



9960
9961
9962
# File 'lib/v20180125/models.rb', line 9960

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



9972
9973
9974
9975
9976
9977
9978
9979
9980
# File 'lib/v20180125/models.rb', line 9972

def deserialize(params)
  @Category = params['Category']
  @Status = params['Status']
  @Domain = params['Domain']
  @InstanceID = params['InstanceID']
  @IsVersionFour = params['IsVersionFour']
  @BotVersion = params['BotVersion']
  @DomainList = params['DomainList']
end