Class: TencentCloud::Cdn::V20180606::RedirectConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::RedirectConfig
- Defined in:
- lib/v20180606/models.rb
Overview
自定义回源302 follow请求host配置
Instance Attribute Summary collapse
-
#FollowRedirectBackupHost ⇒ Object
on:开启 off:关闭.
-
#FollowRedirectHost ⇒ Object
on:开启 off:关闭.
-
#Switch ⇒ Object
on:开启 off:关闭.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, followredirecthost = nil, followredirectbackuphost = nil) ⇒ RedirectConfig
constructor
A new instance of RedirectConfig.
Constructor Details
#initialize(switch = nil, followredirecthost = nil, followredirectbackuphost = nil) ⇒ RedirectConfig
Returns a new instance of RedirectConfig.
11194 11195 11196 11197 11198 |
# File 'lib/v20180606/models.rb', line 11194 def initialize(switch=nil, followredirecthost=nil, followredirectbackuphost=nil) @Switch = switch @FollowRedirectHost = followredirecthost @FollowRedirectBackupHost = followredirectbackuphost end |
Instance Attribute Details
#FollowRedirectBackupHost ⇒ Object
on:开启off:关闭
11192 11193 11194 |
# File 'lib/v20180606/models.rb', line 11192 def FollowRedirectBackupHost @FollowRedirectBackupHost end |
#FollowRedirectHost ⇒ Object
on:开启off:关闭
11192 11193 11194 |
# File 'lib/v20180606/models.rb', line 11192 def FollowRedirectHost @FollowRedirectHost end |
#Switch ⇒ Object
on:开启off:关闭
11192 11193 11194 |
# File 'lib/v20180606/models.rb', line 11192 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
11200 11201 11202 11203 11204 |
# File 'lib/v20180606/models.rb', line 11200 def deserialize(params) @Switch = params['Switch'] @FollowRedirectHost = params['FollowRedirectHost'] @FollowRedirectBackupHost = params['FollowRedirectBackupHost'] end |