Class: TencentCloud::Cdn::V20180606::ScdnErrorPage
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ScdnErrorPage
- Defined in:
- lib/v20180606/models.rb
Overview
acl的错误页面
Instance Attribute Summary collapse
-
#RedirectCode ⇒ Object
执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301.
-
#RedirectUrl ⇒ Object
执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(redirectcode = nil, redirecturl = nil) ⇒ ScdnErrorPage
constructor
A new instance of ScdnErrorPage.
Constructor Details
#initialize(redirectcode = nil, redirecturl = nil) ⇒ ScdnErrorPage
Returns a new instance of ScdnErrorPage.
12137 12138 12139 12140 |
# File 'lib/v20180606/models.rb', line 12137 def initialize(redirectcode=nil, redirecturl=nil) @RedirectCode = redirectcode @RedirectUrl = redirecturl end |
Instance Attribute Details
#RedirectCode ⇒ Object
执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301
12135 12136 12137 |
# File 'lib/v20180606/models.rb', line 12135 def RedirectCode @RedirectCode end |
#RedirectUrl ⇒ Object
执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301
12135 12136 12137 |
# File 'lib/v20180606/models.rb', line 12135 def RedirectUrl @RedirectUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
12142 12143 12144 12145 |
# File 'lib/v20180606/models.rb', line 12142 def deserialize(params) @RedirectCode = params['RedirectCode'] @RedirectUrl = params['RedirectUrl'] end |