Class: TencentCloud::Tke::V20180525::Tag

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

Overview

标签绑定的资源类型,当前支持类型:"cluster"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Tag.



20395
20396
20397
20398
# File 'lib/v20180525/models.rb', line 20395

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

Instance Attribute Details

#KeyObject

Parameters:

  • 标签键

  • 标签值



20393
20394
20395
# File 'lib/v20180525/models.rb', line 20393

def Key
  @Key
end

#ValueObject

Parameters:

  • 标签键

  • 标签值



20393
20394
20395
# File 'lib/v20180525/models.rb', line 20393

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



20400
20401
20402
20403
# File 'lib/v20180525/models.rb', line 20400

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