Class: TencentCloud::Cdwch::V20200915::Tag

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



2036
2037
2038
2039
# File 'lib/v20200915/models.rb', line 2036

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



2034
2035
2036
# File 'lib/v20200915/models.rb', line 2034

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



2034
2035
2036
# File 'lib/v20200915/models.rb', line 2034

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



2041
2042
2043
2044
# File 'lib/v20200915/models.rb', line 2041

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