Class: TencentCloud::Waf::V20180125::ModifyCustomWhiteRuleStatusRequest

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

Overview

ModifyCustomWhiteRuleStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, ruleid = nil, status = nil) ⇒ ModifyCustomWhiteRuleStatusRequest

Returns a new instance of ModifyCustomWhiteRuleStatusRequest.



10280
10281
10282
10283
10284
# File 'lib/v20180125/models.rb', line 10280

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

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    域名

  • RuleId:

    规则ID

  • Status:

    开关的状态,1是开启、0是关闭



10278
10279
10280
# File 'lib/v20180125/models.rb', line 10278

def Domain
  @Domain
end

#RuleIdObject

Parameters:

  • Domain:

    域名

  • RuleId:

    规则ID

  • Status:

    开关的状态,1是开启、0是关闭



10278
10279
10280
# File 'lib/v20180125/models.rb', line 10278

def RuleId
  @RuleId
end

#StatusObject

Parameters:

  • Domain:

    域名

  • RuleId:

    规则ID

  • Status:

    开关的状态,1是开启、0是关闭



10278
10279
10280
# File 'lib/v20180125/models.rb', line 10278

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



10286
10287
10288
10289
10290
# File 'lib/v20180125/models.rb', line 10286

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