Class: TencentCloud::Batch::V20170312::EventVar

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) ⇒ EventVar

Returns a new instance of EventVar.



2309
2310
2311
2312
# File 'lib/v20170312/models.rb', line 2309

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    自定义键

  • Value:

    自定义值



2307
2308
2309
# File 'lib/v20170312/models.rb', line 2307

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    自定义键

  • Value:

    自定义值



2307
2308
2309
# File 'lib/v20170312/models.rb', line 2307

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2314
2315
2316
2317
# File 'lib/v20170312/models.rb', line 2314

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