Class: TencentCloud::Tcb::V20180608::Tag

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



7689
7690
7691
7692
# File 'lib/v20180608/models.rb', line 7689

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



7687
7688
7689
# File 'lib/v20180608/models.rb', line 7687

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



7687
7688
7689
# File 'lib/v20180608/models.rb', line 7687

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



7694
7695
7696
7697
# File 'lib/v20180608/models.rb', line 7694

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