Class: TencentCloud::Lighthouse::V20200324::ContainerEnv

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

Overview

容器环境变量

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

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

Parameters:

  • Key:

    环境变量Key

  • Value:

    环境变量值



685
686
687
# File 'lib/v20200324/models.rb', line 685

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

    环境变量Key

  • Value:

    环境变量值



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