Class: TencentCloud::Kms::V20190118::Tag

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



3229
3230
3231
3232
# File 'lib/v20190118/models.rb', line 3229

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



3227
3228
3229
# File 'lib/v20190118/models.rb', line 3227

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



3227
3228
3229
# File 'lib/v20190118/models.rb', line 3227

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



3234
3235
3236
3237
# File 'lib/v20190118/models.rb', line 3234

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