Class: TencentCloud::Teo::V20220901::HostName
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::HostName
- Defined in:
- lib/v20220901/models.rb
Overview
访问 URL 重定向 HostName 配置参数。
Instance Attribute Summary collapse
-
#Action ⇒ Object
<li>follow:跟随请求;</li> <li>custom:自定义。</li>.
-
#Value ⇒ Object
<li>follow:跟随请求;</li> <li>custom:自定义。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, value = nil) ⇒ HostName
constructor
A new instance of HostName.
Constructor Details
#initialize(action = nil, value = nil) ⇒ HostName
Returns a new instance of HostName.
13700 13701 13702 13703 |
# File 'lib/v20220901/models.rb', line 13700 def initialize(action=nil, value=nil) @Action = action @Value = value end |
Instance Attribute Details
#Action ⇒ Object
<li>follow:跟随请求;</li> <li>custom:自定义。</li>
13698 13699 13700 |
# File 'lib/v20220901/models.rb', line 13698 def Action @Action end |
#Value ⇒ Object
<li>follow:跟随请求;</li> <li>custom:自定义。</li>
13698 13699 13700 |
# File 'lib/v20220901/models.rb', line 13698 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
13705 13706 13707 13708 |
# File 'lib/v20220901/models.rb', line 13705 def deserialize(params) @Action = params['Action'] @Value = params['Value'] end |