Class: TencentCloud::Monitor::V20180724::Label

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



10915
10916
10917
10918
# File 'lib/v20180724/models.rb', line 10915

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    map表中的Name

  • Value:

    map表中的Value



10913
10914
10915
# File 'lib/v20180724/models.rb', line 10913

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    map表中的Name

  • Value:

    map表中的Value



10913
10914
10915
# File 'lib/v20180724/models.rb', line 10913

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



10920
10921
10922
10923
# File 'lib/v20180724/models.rb', line 10920

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