Class: TencentCloud::Scf::V20180416::Variable

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

Overview

变量参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ Variable

Returns a new instance of Variable.



5474
5475
5476
5477
# File 'lib/v20180416/models.rb', line 5474

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    变量的名称,不可为空字符

  • Value: —

    变量的值,不可为空字符



5472
5473
5474
# File 'lib/v20180416/models.rb', line 5472

def Key
  @Key
end

#Value ⇒ Object

Parameters:

  • Key: —

    变量的名称,不可为空字符

  • Value: —

    变量的值,不可为空字符



5472
5473
5474
# File 'lib/v20180416/models.rb', line 5472

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



5479
5480
5481
5482
# File 'lib/v20180416/models.rb', line 5479

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