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.



11729
11730
11731
11732
# File 'lib/v20180525/models.rb', line 11729

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    key

  • Value:

    val



11727
11728
11729
# File 'lib/v20180525/models.rb', line 11727

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    key

  • Value:

    val



11727
11728
11729
# File 'lib/v20180525/models.rb', line 11727

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



11734
11735
11736
11737
# File 'lib/v20180525/models.rb', line 11734

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