Class: TencentCloud::Cdn::V20180606::UpdateScdnDomainRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::UpdateScdnDomainRequest
- Defined in:
- lib/v20180606/models.rb
Overview
UpdateScdnDomain请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, waf = nil, acl = nil, cc = nil, ddos = nil, bot = nil) ⇒ UpdateScdnDomainRequest
constructor
A new instance of UpdateScdnDomainRequest.
Constructor Details
#initialize(domain = nil, waf = nil, acl = nil, cc = nil, ddos = nil, bot = nil) ⇒ UpdateScdnDomainRequest
Returns a new instance of UpdateScdnDomainRequest.
14019 14020 14021 14022 14023 14024 14025 14026 |
# File 'lib/v20180606/models.rb', line 14019 def initialize(domain=nil, waf=nil, acl=nil, cc=nil, ddos=nil, bot=nil) @Domain = domain @Waf = waf @Acl = acl @CC = cc @Ddos = ddos @Bot = bot end |
Instance Attribute Details
#Acl ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def Acl @Acl end |
#Bot ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def Bot @Bot end |
#CC ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def CC @CC end |
#Ddos ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def Ddos @Ddos end |
#Domain ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def Domain @Domain end |
#Waf ⇒ Object
14017 14018 14019 |
# File 'lib/v20180606/models.rb', line 14017 def Waf @Waf end |
Instance Method Details
#deserialize(params) ⇒ Object
14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 |
# File 'lib/v20180606/models.rb', line 14028 def deserialize(params) @Domain = params['Domain'] unless params['Waf'].nil? @Waf = ScdnWafConfig.new @Waf.deserialize(params['Waf']) end unless params['Acl'].nil? @Acl = ScdnAclConfig.new @Acl.deserialize(params['Acl']) end unless params['CC'].nil? @CC = ScdnConfig.new @CC.deserialize(params['CC']) end unless params['Ddos'].nil? @Ddos = ScdnDdosConfig.new @Ddos.deserialize(params['Ddos']) end unless params['Bot'].nil? @Bot = ScdnBotConfig.new @Bot.deserialize(params['Bot']) end end |