Class: TencentCloud::Cfg::V20210820::TagWithCreate

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

用于传入创建、编辑标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tagkey = nil, tagvalue = nil) ⇒ TagWithCreate

Returns a new instance of TagWithCreate.



1458
1459
1460
1461
# File 'lib/v20210820/models.rb', line 1458

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



1456
1457
1458
# File 'lib/v20210820/models.rb', line 1456

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    标签键

  • TagValue:

    标签值



1456
1457
1458
# File 'lib/v20210820/models.rb', line 1456

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1463
1464
1465
1466
# File 'lib/v20210820/models.rb', line 1463

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