Class: TencentCloud::Csip::V20221121::Tags

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

Overview

主机标签信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Tags.



12309
12310
12311
12312
# File 'lib/v20221121/models.rb', line 12309

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

Instance Attribute Details

#TagKeyObject

Parameters:

  • TagKey:

    主机标签key

  • TagValue:

    主机标签value



12307
12308
12309
# File 'lib/v20221121/models.rb', line 12307

def TagKey
  @TagKey
end

#TagValueObject

Parameters:

  • TagKey:

    主机标签key

  • TagValue:

    主机标签value



12307
12308
12309
# File 'lib/v20221121/models.rb', line 12307

def TagValue
  @TagValue
end

Instance Method Details

#deserialize(params) ⇒ Object



12314
12315
12316
12317
# File 'lib/v20221121/models.rb', line 12314

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