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.



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

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



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

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



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

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1121
1122
1123
1124
# File 'lib/v20201230/models.rb', line 1121

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