Class: TencentCloud::Rum::V20210622::Tag

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

Overview

标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ Tag

Returns a new instance of Tag.



4398
4399
4400
4401
# File 'lib/v20210622/models.rb', line 4398

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签key

  • Value:

    标签value



4396
4397
4398
# File 'lib/v20210622/models.rb', line 4396

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签key

  • Value:

    标签value



4396
4397
4398
# File 'lib/v20210622/models.rb', line 4396

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4403
4404
4405
4406
# File 'lib/v20210622/models.rb', line 4403

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end