Class: TencentCloud::Gse::V20191112::Tag

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191112/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.



5351
5352
5353
5354
# File 'lib/v20191112/models.rb', line 5351

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键,最大长度127字节

  • Value:

    标签值,最大长度255字节



5349
5350
5351
# File 'lib/v20191112/models.rb', line 5349

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签键,最大长度127字节

  • Value:

    标签值,最大长度255字节



5349
5350
5351
# File 'lib/v20191112/models.rb', line 5349

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



5356
5357
5358
5359
# File 'lib/v20191112/models.rb', line 5356

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