Class: TencentCloud::Postgres::V20170312::Tag

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

实例绑定的标签信息,包含标签键TagKey和标签值TagValue

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tagkey = nil, tagvalue = nil) ⇒ Tag

Returns a new instance of Tag.



7336
7337
7338
7339
# File 'lib/v20170312/models.rb', line 7336

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7334
7335
7336
# File 'lib/v20170312/models.rb', line 7334

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7334
7335
7336
# File 'lib/v20170312/models.rb', line 7334

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



7341
7342
7343
7344
# File 'lib/v20170312/models.rb', line 7341

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