Class: TencentCloud::Batch::V20170312::EnvVar

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/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.



2262
2263
2264
2265
# File 'lib/v20170312/models.rb', line 2262

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    环境变量名称

  • Value:

    环境变量取值



2260
2261
2262
# File 'lib/v20170312/models.rb', line 2260

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    环境变量名称

  • Value:

    环境变量取值



2260
2261
2262
# File 'lib/v20170312/models.rb', line 2260

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2267
2268
2269
2270
# File 'lib/v20170312/models.rb', line 2267

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