Class: TencentCloud::Batch::V20170312::Tag

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

Overview

标签。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Tag.



3652
3653
3654
3655
# File 'lib/v20170312/models.rb', line 3652

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键。

  • Value:

    标签值。



3650
3651
3652
# File 'lib/v20170312/models.rb', line 3650

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签键。

  • Value:

    标签值。



3650
3651
3652
# File 'lib/v20170312/models.rb', line 3650

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3657
3658
3659
3660
# File 'lib/v20170312/models.rb', line 3657

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