Class: TencentCloud::Waf::V20180125::DescribeAreaBanAreasRsp

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

Overview

DescribeAreaBanAreas接口的回包

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, source = nil, areas = nil, jobtype = nil, jobdatetime = nil, crontype = nil) ⇒ DescribeAreaBanAreasRsp

Returns a new instance of DescribeAreaBanAreasRsp.



5909
5910
5911
5912
5913
5914
5915
5916
# File 'lib/v20180125/models.rb', line 5909

def initialize(status=nil, source=nil, areas=nil, jobtype=nil, jobdatetime=nil, crontype=nil)
  @Status = status
  @Source = source
  @Areas = areas
  @JobType = jobtype
  @JobDateTime = jobdatetime
  @CronType = crontype
end

Instance Attribute Details

#AreasObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def Areas
  @Areas
end

#CronTypeObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def CronType
  @CronType
end

#JobDateTimeObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def JobDateTime
  @JobDateTime
end

#JobTypeObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def JobType
  @JobType
end

#SourceObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def Source
  @Source
end

#StatusObject

Parameters:

  • Status:

    状态 “0”:未开启地域封禁 “1”:开启地域封禁

  • Source:

    数据来源 custom-自定义(默认)、batch-批量防护

  • Areas:

    字符串数据,配置的地域列表

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务详细配置

  • CronType:

    周期任务配置



5907
5908
5909
# File 'lib/v20180125/models.rb', line 5907

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
# File 'lib/v20180125/models.rb', line 5918

def deserialize(params)
  @Status = params['Status']
  @Source = params['Source']
  @Areas = params['Areas']
  @JobType = params['JobType']
  unless params['JobDateTime'].nil?
    @JobDateTime = JobDateTime.new
    @JobDateTime.deserialize(params['JobDateTime'])
  end
  @CronType = params['CronType']
end