Class: TencentCloud::Organization::V20210331::Tag

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



7436
7437
7438
7439
# File 'lib/v20210331/models.rb', line 7436

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7434
7435
7436
# File 'lib/v20210331/models.rb', line 7434

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



7434
7435
7436
# File 'lib/v20210331/models.rb', line 7434

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



7441
7442
7443
7444
# File 'lib/v20210331/models.rb', line 7441

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