Class: TencentCloud::Tione::V20211111::EnvVar

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

Overview

环境变量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ EnvVar

Returns a new instance of EnvVar.



4271
4272
4273
4274
# File 'lib/v20211111/models.rb', line 4271

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    环境变量key

  • Value:

    环境变量value



4269
4270
4271
# File 'lib/v20211111/models.rb', line 4269

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    环境变量key

  • Value:

    环境变量value



4269
4270
4271
# File 'lib/v20211111/models.rb', line 4269

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4276
4277
4278
4279
# File 'lib/v20211111/models.rb', line 4276

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