Class: TencentCloud::Keewidb::V20220308::ResourceTag

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

Overview

实例绑定标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceTag.



3059
3060
3061
3062
# File 'lib/v20220308/models.rb', line 3059

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签 Key。

  • TagValue:

    标签 Value。



3057
3058
3059
# File 'lib/v20220308/models.rb', line 3057

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签 Key。

  • TagValue:

    标签 Value。



3057
3058
3059
# File 'lib/v20220308/models.rb', line 3057

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



3064
3065
3066
3067
# File 'lib/v20220308/models.rb', line 3064

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