Class: TencentCloud::Teo::V20220901::CustomizedHeader
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::CustomizedHeader
- Defined in:
- lib/v20220901/models.rb
Overview
负载均衡实例 HTTP/HTTPS 健康检查策略下可配置的自定义头部。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ CustomizedHeader
constructor
A new instance of CustomizedHeader.
Constructor Details
#initialize(key = nil, value = nil) ⇒ CustomizedHeader
Returns a new instance of CustomizedHeader.
5969 5970 5971 5972 |
# File 'lib/v20220901/models.rb', line 5969 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5967 5968 5969 |
# File 'lib/v20220901/models.rb', line 5967 def Key @Key end |
#Value ⇒ Object
5967 5968 5969 |
# File 'lib/v20220901/models.rb', line 5967 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5974 5975 5976 5977 |
# File 'lib/v20220901/models.rb', line 5974 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |