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.



11703
11704
11705
11706
# File 'lib/v20180525/models.rb', line 11703

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    key

  • Value:

    val



11701
11702
11703
# File 'lib/v20180525/models.rb', line 11701

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    key

  • Value:

    val



11701
11702
11703
# File 'lib/v20180525/models.rb', line 11701

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



11708
11709
11710
11711
# File 'lib/v20180525/models.rb', line 11708

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