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.



6341
6342
6343
6344
# File 'lib/v20180411/models.rb', line 6341

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



6339
6340
6341
# File 'lib/v20180411/models.rb', line 6339

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



6339
6340
6341
# File 'lib/v20180411/models.rb', line 6339

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



6346
6347
6348
6349
# File 'lib/v20180411/models.rb', line 6346

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