Class: TencentCloud::Config::V20220802::Tag

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



1044
1045
1046
1047
# File 'lib/v20220802/models.rb', line 1044

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签key

  • TagValue:

    标签value



1042
1043
1044
# File 'lib/v20220802/models.rb', line 1042

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签key

  • TagValue:

    标签value



1042
1043
1044
# File 'lib/v20220802/models.rb', line 1042

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1049
1050
1051
1052
# File 'lib/v20220802/models.rb', line 1049

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