Class: TencentCloud::Vdb::V20230616::Tag

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



1276
1277
1278
1279
# File 'lib/v20230616/models.rb', line 1276

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



1274
1275
1276
# File 'lib/v20230616/models.rb', line 1274

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



1274
1275
1276
# File 'lib/v20230616/models.rb', line 1274

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1281
1282
1283
1284
# File 'lib/v20230616/models.rb', line 1281

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