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.



3031
3032
3033
3034
# File 'lib/v20220308/models.rb', line 3031

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签 Key。

  • TagValue:

    标签 Value。



3029
3030
3031
# File 'lib/v20220308/models.rb', line 3029

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签 Key。

  • TagValue:

    标签 Value。



3029
3030
3031
# File 'lib/v20220308/models.rb', line 3029

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



3036
3037
3038
3039
# File 'lib/v20220308/models.rb', line 3036

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