Class: TencentCloud::Tke::V20180525::Taint

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

Overview

kubernetes Taint

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, effect = nil) ⇒ Taint

Returns a new instance of Taint.



20021
20022
20023
20024
20025
# File 'lib/v20180525/models.rb', line 20021

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

Instance Attribute Details

#EffectObject

Parameters:

  • Key:

    Key

  • Value:

    Value

  • Effect:

    Effect



20019
20020
20021
# File 'lib/v20180525/models.rb', line 20019

def Effect
  @Effect
end

#KeyObject

Parameters:

  • Key:

    Key

  • Value:

    Value

  • Effect:

    Effect



20019
20020
20021
# File 'lib/v20180525/models.rb', line 20019

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Key

  • Value:

    Value

  • Effect:

    Effect



20019
20020
20021
# File 'lib/v20180525/models.rb', line 20019

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



20027
20028
20029
20030
20031
# File 'lib/v20180525/models.rb', line 20027

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