Class: TencentCloud::Lighthouse::V20200324::ContainerEnv
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::ContainerEnv
- Defined in:
- lib/v20200324/models.rb
Overview
容器环境变量
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ ContainerEnv
constructor
A new instance of ContainerEnv.
Constructor Details
#initialize(key = nil, value = nil) ⇒ ContainerEnv
Returns a new instance of ContainerEnv.
687 688 689 690 |
# File 'lib/v20200324/models.rb', line 687 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20200324/models.rb', line 685 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
685 686 687 |
# File 'lib/v20200324/models.rb', line 685 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
692 693 694 695 |
# File 'lib/v20200324/models.rb', line 692 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |