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.



2373
2374
2375
2376
# File 'lib/v20190118/models.rb', line 2373

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



2371
2372
2373
# File 'lib/v20190118/models.rb', line 2371

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



2371
2372
2373
# File 'lib/v20190118/models.rb', line 2371

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



2378
2379
2380
2381
# File 'lib/v20190118/models.rb', line 2378

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