Class: TencentCloud::Waf::V20180125::ModifyDomainWhiteRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyDomainWhiteRuleRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyDomainWhiteRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, id = nil, rules = nil, url = nil, function = nil, status = nil) ⇒ ModifyDomainWhiteRuleRequest
constructor
A new instance of ModifyDomainWhiteRuleRequest.
Constructor Details
#initialize(domain = nil, id = nil, rules = nil, url = nil, function = nil, status = nil) ⇒ ModifyDomainWhiteRuleRequest
Returns a new instance of ModifyDomainWhiteRuleRequest.
10421 10422 10423 10424 10425 10426 10427 10428 |
# File 'lib/v20180125/models.rb', line 10421 def initialize(domain=nil, id=nil, rules=nil, url=nil, function=nil, status=nil) @Domain = domain @Id = id @Rules = rules @Url = url @Function = function @Status = status end |
Instance Attribute Details
#Domain ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Domain @Domain end |
#Function ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Function @Function end |
#Id ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Id @Id end |
#Rules ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Rules @Rules end |
#Status ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Status @Status end |
#Url ⇒ Object
10419 10420 10421 |
# File 'lib/v20180125/models.rb', line 10419 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
10430 10431 10432 10433 10434 10435 10436 10437 |
# File 'lib/v20180125/models.rb', line 10430 def deserialize(params) @Domain = params['Domain'] @Id = params['Id'] @Rules = params['Rules'] @Url = params['Url'] @Function = params['Function'] @Status = params['Status'] end |