Class: TencentCloud::Monitor::V20180724::RemoteWriteHeader
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::RemoteWriteHeader
- Defined in:
- lib/v20180724/models.rb
Overview
Remote Write 协议额外添加的 HTTP 头
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ RemoteWriteHeader
constructor
A new instance of RemoteWriteHeader.
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
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
14735 14736 14737 |
# File 'lib/v20180724/models.rb', line 14735 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
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 |