Class: TencentCloud::Waf::V20180125::ModifyAreaBanStatusRequest

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

Overview

ModifyAreaBanStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, status = nil) ⇒ ModifyAreaBanStatusRequest

Returns a new instance of ModifyAreaBanStatusRequest.



9841
9842
9843
9844
# File 'lib/v20180125/models.rb', line 9841

def initialize(domain=nil, status=nil)
  @Domain = domain
  @Status = status
end

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    需要修改的域名

  • Status:

    状态值,0表示关闭,1表示开启



9839
9840
9841
# File 'lib/v20180125/models.rb', line 9839

def Domain
  @Domain
end

#StatusObject

Parameters:

  • Domain:

    需要修改的域名

  • Status:

    状态值,0表示关闭,1表示开启



9839
9840
9841
# File 'lib/v20180125/models.rb', line 9839

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



9846
9847
9848
9849
# File 'lib/v20180125/models.rb', line 9846

def deserialize(params)
  @Domain = params['Domain']
  @Status = params['Status']
end