Class: TencentCloud::Monitor::V20180724::RemoteWriteHeader

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

Overview

Remote Write 协议额外添加的 HTTP 头

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ RemoteWriteHeader

Returns a new instance of RemoteWriteHeader.



14737
14738
14739
14740
# File 'lib/v20180724/models.rb', line 14737

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Key:

    HTTP 头的键

  • Value:

    HTTP 头的值



14735
14736
14737
# File 'lib/v20180724/models.rb', line 14735

def Key
  @Key
end

#ValueObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Key:

    HTTP 头的键

  • Value:

    HTTP 头的值



14735
14736
14737
# File 'lib/v20180724/models.rb', line 14735

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



14742
14743
14744
14745
# File 'lib/v20180724/models.rb', line 14742

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end