Class: TencentCloud::Ess::V20201111::Tag

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

Overview

标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tagkey = nil, tagvalue = nil) ⇒ Tag

Returns a new instance of Tag.



17570
17571
17572
17573
# File 'lib/v20201111/models.rb', line 17570

def initialize(tagkey=nil, tagvalue=nil)
  @TagKey = tagkey
  @TagValue = tagvalue
end

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键,最大长度不超过50字符。

  • TagValue:

    标签值,最大长度不超过50字符。



17568
17569
17570
# File 'lib/v20201111/models.rb', line 17568

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键,最大长度不超过50字符。

  • TagValue:

    标签值,最大长度不超过50字符。



17568
17569
17570
# File 'lib/v20201111/models.rb', line 17568

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



17575
17576
17577
17578
# File 'lib/v20201111/models.rb', line 17575

def deserialize(params)
  @TagKey = params['TagKey']
  @TagValue = params['TagValue']
end