Class: TencentCloud::Organization::V20210331::Tag

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



7697
7698
7699
7700
# File 'lib/v20210331/models.rb', line 7697

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



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

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



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

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



7702
7703
7704
7705
# File 'lib/v20210331/models.rb', line 7702

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