Class: TencentCloud::Dcdb::V20180411::Tag

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



6659
6660
6661
6662
# File 'lib/v20180411/models.rb', line 6659

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



6657
6658
6659
# File 'lib/v20180411/models.rb', line 6657

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



6657
6658
6659
# File 'lib/v20180411/models.rb', line 6657

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



6664
6665
6666
6667
# File 'lib/v20180411/models.rb', line 6664

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