Class: TencentCloud::Waf::V20180125::DeleteCCRuleRequest

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

Overview

DeleteCCRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, name = nil, edition = nil, ruleid = nil) ⇒ DeleteCCRuleRequest

Returns a new instance of DeleteCCRuleRequest.



2674
2675
2676
2677
2678
2679
# File 'lib/v20180125/models.rb', line 2674

def initialize(domain=nil, name=nil, edition=nil, ruleid=nil)
  @Domain = domain
  @Name = name
  @Edition = edition
  @RuleId = ruleid
end

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    域名

  • Name:

    规则名称

  • Edition:

    clb-waf或者sparta-waf

  • RuleId:

    规则Id



2672
2673
2674
# File 'lib/v20180125/models.rb', line 2672

def Domain
  @Domain
end

#EditionObject

Parameters:

  • Domain:

    域名

  • Name:

    规则名称

  • Edition:

    clb-waf或者sparta-waf

  • RuleId:

    规则Id



2672
2673
2674
# File 'lib/v20180125/models.rb', line 2672

def Edition
  @Edition
end

#NameObject

Parameters:

  • Domain:

    域名

  • Name:

    规则名称

  • Edition:

    clb-waf或者sparta-waf

  • RuleId:

    规则Id



2672
2673
2674
# File 'lib/v20180125/models.rb', line 2672

def Name
  @Name
end

#RuleIdObject

Parameters:

  • Domain:

    域名

  • Name:

    规则名称

  • Edition:

    clb-waf或者sparta-waf

  • RuleId:

    规则Id



2672
2673
2674
# File 'lib/v20180125/models.rb', line 2672

def RuleId
  @RuleId
end

Instance Method Details

#deserialize(params) ⇒ Object



2681
2682
2683
2684
2685
2686
# File 'lib/v20180125/models.rb', line 2681

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