Class: TencentCloud::Mqtt::V20240516::HeaderItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20240516/models.rb

Overview

HTTP 认证器header

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

Parameters:

  • Key:

    header key

  • Value:

    header value



3179
3180
3181
# File 'lib/v20240516/models.rb', line 3179

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    header key

  • Value:

    header value



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