Class: TencentCloud::Waf::V20180125::ModifyAreaBanAreasRequest

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

Overview

ModifyAreaBanAreas请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, areas = nil, jobtype = nil, jobdatetime = nil) ⇒ ModifyAreaBanAreasRequest

Returns a new instance of ModifyAreaBanAreasRequest.



9798
9799
9800
9801
9802
9803
# File 'lib/v20180125/models.rb', line 9798

def initialize(domain=nil, areas=nil, jobtype=nil, jobdatetime=nil)
  @Domain = domain
  @Areas = areas
  @JobType = jobtype
  @JobDateTime = jobdatetime
end

Instance Attribute Details

#AreasObject

Parameters:

  • Domain:

    需要修改的域名

  • Areas:

    需要调整的地域信息,一个字符串数组

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务配置



9796
9797
9798
# File 'lib/v20180125/models.rb', line 9796

def Areas
  @Areas
end

#DomainObject

Parameters:

  • Domain:

    需要修改的域名

  • Areas:

    需要调整的地域信息,一个字符串数组

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务配置



9796
9797
9798
# File 'lib/v20180125/models.rb', line 9796

def Domain
  @Domain
end

#JobDateTimeObject

Parameters:

  • Domain:

    需要修改的域名

  • Areas:

    需要调整的地域信息,一个字符串数组

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务配置



9796
9797
9798
# File 'lib/v20180125/models.rb', line 9796

def JobDateTime
  @JobDateTime
end

#JobTypeObject

Parameters:

  • Domain:

    需要修改的域名

  • Areas:

    需要调整的地域信息,一个字符串数组

  • JobType:

    定时任务类型

  • JobDateTime:

    定时任务配置



9796
9797
9798
# File 'lib/v20180125/models.rb', line 9796

def JobType
  @JobType
end

Instance Method Details

#deserialize(params) ⇒ Object



9805
9806
9807
9808
9809
9810
9811
9812
9813
# File 'lib/v20180125/models.rb', line 9805

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