Class: TencentCloud::Cdwpg::V20201230::Tag

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



1112
1113
1114
1115
# File 'lib/v20201230/models.rb', line 1112

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



1110
1111
1112
# File 'lib/v20201230/models.rb', line 1110

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



1110
1111
1112
# File 'lib/v20201230/models.rb', line 1110

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1117
1118
1119
1120
# File 'lib/v20201230/models.rb', line 1117

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