Class: TencentCloud::Tke::V20220501::Taint
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Taint
- Defined in:
- lib/v20220501/models.rb
Overview
kubernetes Taint
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil, effect = nil) ⇒ Taint
constructor
A new instance of Taint.
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
#Effect ⇒ Object
2443 2444 2445 |
# File 'lib/v20220501/models.rb', line 2443 def Effect @Effect end |
#Key ⇒ Object
2443 2444 2445 |
# File 'lib/v20220501/models.rb', line 2443 def Key @Key end |
#Value ⇒ Object
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 |