Class: TencentCloud::Apigateway::V20180808::K8sLabel

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

Overview

k8s Label

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of K8sLabel.



6905
6906
6907
6908
# File 'lib/v20180808/models.rb', line 6905

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    Label的Key

  • Value:

    Label的Value



6903
6904
6905
# File 'lib/v20180808/models.rb', line 6903

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Label的Key

  • Value:

    Label的Value



6903
6904
6905
# File 'lib/v20180808/models.rb', line 6903

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6910
6911
6912
6913
# File 'lib/v20180808/models.rb', line 6910

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