Class: TencentCloud::Tke::V20220501::Taint

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



2445
2446
2447
2448
2449
# File 'lib/v20220501/models.rb', line 2445

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

Instance Attribute Details

#EffectObject

Parameters:

  • Key:

    Taint的Key

  • Value:

    Taint的Value

  • Effect:

    Taint的Effect



2443
2444
2445
# File 'lib/v20220501/models.rb', line 2443

def Effect
  @Effect
end

#KeyObject

Parameters:

  • Key:

    Taint的Key

  • Value:

    Taint的Value

  • Effect:

    Taint的Effect



2443
2444
2445
# File 'lib/v20220501/models.rb', line 2443

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Taint的Key

  • Value:

    Taint的Value

  • Effect:

    Taint的Effect



2443
2444
2445
# File 'lib/v20220501/models.rb', line 2443

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2451
2452
2453
2454
2455
# File 'lib/v20220501/models.rb', line 2451

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