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.



12556
12557
12558
12559
# File 'lib/v20180525/models.rb', line 12556

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    key

  • Value:

    val



12554
12555
12556
# File 'lib/v20180525/models.rb', line 12554

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    key

  • Value:

    val



12554
12555
12556
# File 'lib/v20180525/models.rb', line 12554

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12561
12562
12563
12564
# File 'lib/v20180525/models.rb', line 12561

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