Class: TencentCloud::Oceanus::V20190422::Tag

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



5837
5838
5839
5840
# File 'lib/v20190422/models.rb', line 5837

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

Instance Attribute Details

#TagKeyObject

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

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



5835
5836
5837
# File 'lib/v20190422/models.rb', line 5835

def TagKey
  @TagKey
end

#TagValueObject

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

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



5835
5836
5837
# File 'lib/v20190422/models.rb', line 5835

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



5842
5843
5844
5845
# File 'lib/v20190422/models.rb', line 5842

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