Class: TencentCloud::Waf::V20180125::WebshellStatus

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

Overview

域名的webshell开启状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of WebshellStatus.



13428
13429
13430
13431
# File 'lib/v20180125/models.rb', line 13428

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

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    域名

  • Status:

    webshell开关,1:开。0:关。2:观察



13426
13427
13428
# File 'lib/v20180125/models.rb', line 13426

def Domain
  @Domain
end

#StatusObject

Parameters:

  • Domain:

    域名

  • Status:

    webshell开关,1:开。0:关。2:观察



13426
13427
13428
# File 'lib/v20180125/models.rb', line 13426

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



13433
13434
13435
13436
# File 'lib/v20180125/models.rb', line 13433

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