Class: TencentCloud::Cdn::V20180606::CreateScdnDomainRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CreateScdnDomainRequest
- Defined in:
- lib/v20180606/models.rb
Overview
CreateScdnDomain请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, waf = nil, acl = nil, cc = nil, ddos = nil, bot = nil) ⇒ CreateScdnDomainRequest
constructor
A new instance of CreateScdnDomainRequest.
Constructor Details
#initialize(domain = nil, waf = nil, acl = nil, cc = nil, ddos = nil, bot = nil) ⇒ CreateScdnDomainRequest
Returns a new instance of CreateScdnDomainRequest.
2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'lib/v20180606/models.rb', line 2995 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
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def Acl @Acl end |
#Bot ⇒ Object
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def Bot @Bot end |
#CC ⇒ Object
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def CC @CC end |
#Ddos ⇒ Object
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def Ddos @Ddos end |
#Domain ⇒ Object
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def Domain @Domain end |
#Waf ⇒ Object
2993 2994 2995 |
# File 'lib/v20180606/models.rb', line 2993 def Waf @Waf end |
Instance Method Details
#deserialize(params) ⇒ Object
3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 |
# File 'lib/v20180606/models.rb', line 3004 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 |