Class: TencentCloud::Tem::V20210701::Tag

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



4803
4804
4805
4806
# File 'lib/v20210701/models.rb', line 4803

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



4801
4802
4803
# File 'lib/v20210701/models.rb', line 4801

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



4801
4802
4803
# File 'lib/v20210701/models.rb', line 4801

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



4808
4809
4810
4811
# File 'lib/v20210701/models.rb', line 4808

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