Class: TencentCloud::Tcaplusdb::V20190823::TagInfoUnit

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

Overview

标签信息单元

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TagInfoUnit.



4769
4770
4771
4772
# File 'lib/v20190823/models.rb', line 4769

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

Instance Attribute Details

#TagKeyObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



4767
4768
4769
# File 'lib/v20190823/models.rb', line 4767

def TagKey
  @TagKey
end

#TagValueObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



4767
4768
4769
# File 'lib/v20190823/models.rb', line 4767

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



4774
4775
4776
4777
# File 'lib/v20190823/models.rb', line 4774

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