Class: TencentCloud::Mqtt::V20240516::HeaderItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mqtt::V20240516::HeaderItem
- Defined in:
- lib/v20240516/models.rb
Overview
HTTP 认证器header
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ HeaderItem
constructor
A new instance of HeaderItem.
Constructor Details
#initialize(key = nil, value = nil) ⇒ HeaderItem
Returns a new instance of HeaderItem.
3181 3182 3183 3184 |
# File 'lib/v20240516/models.rb', line 3181 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3179 3180 3181 |
# File 'lib/v20240516/models.rb', line 3179 def Key @Key end |
#Value ⇒ Object
3179 3180 3181 |
# File 'lib/v20240516/models.rb', line 3179 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3186 3187 3188 3189 |
# File 'lib/v20240516/models.rb', line 3186 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |