Class: TencentCloud::Tke::V20180525::EnvironmentVariable

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

Overview

EnvironmentVariable

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EnvironmentVariable.



12882
12883
12884
12885
# File 'lib/v20180525/models.rb', line 12882

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    key

  • Value:

    val



12880
12881
12882
# File 'lib/v20180525/models.rb', line 12880

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    key

  • Value:

    val



12880
12881
12882
# File 'lib/v20180525/models.rb', line 12880

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12887
12888
12889
12890
# File 'lib/v20180525/models.rb', line 12887

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