Class: TencentCloud::Waf::V20180125::ModifyAreaBanRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyAreaBanRuleRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyAreaBanRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, areas = nil, jobtype = nil, jobdatetime = nil, lang = nil) ⇒ ModifyAreaBanRuleRequest
constructor
A new instance of ModifyAreaBanRuleRequest.
Constructor Details
#initialize(domain = nil, areas = nil, jobtype = nil, jobdatetime = nil, lang = nil) ⇒ ModifyAreaBanRuleRequest
Returns a new instance of ModifyAreaBanRuleRequest.
14276 14277 14278 14279 14280 14281 14282 |
# File 'lib/v20180125/models.rb', line 14276 def initialize(domain=nil, areas=nil, jobtype=nil, jobdatetime=nil, lang=nil) @Domain = domain @Areas = areas @JobType = jobtype @JobDateTime = jobdatetime @Lang = lang end |
Instance Attribute Details
#Areas ⇒ Object
14274 14275 14276 |
# File 'lib/v20180125/models.rb', line 14274 def Areas @Areas end |
#Domain ⇒ Object
14274 14275 14276 |
# File 'lib/v20180125/models.rb', line 14274 def Domain @Domain end |
#JobDateTime ⇒ Object
14274 14275 14276 |
# File 'lib/v20180125/models.rb', line 14274 def JobDateTime @JobDateTime end |
#JobType ⇒ Object
14274 14275 14276 |
# File 'lib/v20180125/models.rb', line 14274 def JobType @JobType end |
#Lang ⇒ Object
14274 14275 14276 |
# File 'lib/v20180125/models.rb', line 14274 def Lang @Lang end |
Instance Method Details
#deserialize(params) ⇒ Object
14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 |
# File 'lib/v20180125/models.rb', line 14284 def deserialize(params) @Domain = params['Domain'] unless params['Areas'].nil? @Areas = [] params['Areas'].each do |i| area_tmp = Area.new area_tmp.deserialize(i) @Areas << area_tmp end end @JobType = params['JobType'] unless params['JobDateTime'].nil? @JobDateTime = JobDateTime.new @JobDateTime.deserialize(params['JobDateTime']) end @Lang = params['Lang'] end |