Class: TencentCloud::Dayu::V20180709::ModifyCCHostProtectionRequest

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

Overview

ModifyCCHostProtection请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(business = nil, id = nil, ruleid = nil, method = nil) ⇒ ModifyCCHostProtectionRequest

Returns a new instance of ModifyCCHostProtectionRequest.



6844
6845
6846
6847
6848
6849
# File 'lib/v20180709/models.rb', line 6844

def initialize(business=nil, id=nil, ruleid=nil, method=nil)
  @Business = business
  @Id = id
  @RuleId = ruleid
  @Method = method
end

Instance Attribute Details

#BusinessObject

Parameters:



6842
6843
6844
# File 'lib/v20180709/models.rb', line 6842

def Business
  @Business
end

#IdObject

Parameters:



6842
6843
6844
# File 'lib/v20180709/models.rb', line 6842

def Id
  @Id
end

#MethodObject

Parameters:



6842
6843
6844
# File 'lib/v20180709/models.rb', line 6842

def Method
  @Method
end

#RuleIdObject

Parameters:



6842
6843
6844
# File 'lib/v20180709/models.rb', line 6842

def RuleId
  @RuleId
end

Instance Method Details

#deserialize(params) ⇒ Object



6851
6852
6853
6854
6855
6856
# File 'lib/v20180709/models.rb', line 6851

def deserialize(params)
  @Business = params['Business']
  @Id = params['Id']
  @RuleId = params['RuleId']
  @Method = params['Method']
end