Class: TencentCloud::Tke::V20180525::Label

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

Overview

k8s中标签,一般以数组的方式存在

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ Label

Returns a new instance of Label.



13498
13499
13500
13501
# File 'lib/v20180525/models.rb', line 13498

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    map表中的Name

  • Value:

    map表中的Value



13496
13497
13498
# File 'lib/v20180525/models.rb', line 13496

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    map表中的Name

  • Value:

    map表中的Value



13496
13497
13498
# File 'lib/v20180525/models.rb', line 13496

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



13503
13504
13505
13506
# File 'lib/v20180525/models.rb', line 13503

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