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.



18563
18564
18565
18566
18567
# File 'lib/v20180525/models.rb', line 18563

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



18561
18562
18563
# File 'lib/v20180525/models.rb', line 18561

def Effect
  @Effect
end

#KeyObject

Parameters:

  • Key:

    Key

  • Value:

    Value

  • Effect:

    Effect



18561
18562
18563
# File 'lib/v20180525/models.rb', line 18561

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Key

  • Value:

    Value

  • Effect:

    Effect



18561
18562
18563
# File 'lib/v20180525/models.rb', line 18561

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



18569
18570
18571
18572
18573
# File 'lib/v20180525/models.rb', line 18569

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