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.



3247
3248
3249
3250
# File 'lib/v20200915/models.rb', line 3247

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



3245
3246
3247
# File 'lib/v20200915/models.rb', line 3245

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签的键

  • TagValue:

    标签的值



3245
3246
3247
# File 'lib/v20200915/models.rb', line 3245

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



3252
3253
3254
3255
# File 'lib/v20200915/models.rb', line 3252

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