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.



7488
7489
7490
7491
# File 'lib/v20170312/models.rb', line 7488

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7486
7487
7488
# File 'lib/v20170312/models.rb', line 7486

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7486
7487
7488
# File 'lib/v20170312/models.rb', line 7486

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



7493
7494
7495
7496
# File 'lib/v20170312/models.rb', line 7493

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