Class: TencentCloud::Tke::V20180525::Toleration
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::Toleration
- Defined in:
- lib/v20180525/models.rb
Overview
kubernetes Taint
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, operator = nil, effect = nil) ⇒ Toleration
constructor
A new instance of Toleration.
Constructor Details
#initialize(key = nil, operator = nil, effect = nil) ⇒ Toleration
Returns a new instance of Toleration.
20154 20155 20156 20157 20158 |
# File 'lib/v20180525/models.rb', line 20154 def initialize(key=nil, operator=nil, effect=nil) @Key = key @Operator = operator @Effect = effect end |
Instance Attribute Details
#Effect ⇒ Object
20152 20153 20154 |
# File 'lib/v20180525/models.rb', line 20152 def Effect @Effect end |
#Key ⇒ Object
20152 20153 20154 |
# File 'lib/v20180525/models.rb', line 20152 def Key @Key end |
#Operator ⇒ Object
20152 20153 20154 |
# File 'lib/v20180525/models.rb', line 20152 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
20160 20161 20162 20163 20164 |
# File 'lib/v20180525/models.rb', line 20160 def deserialize(params) @Key = params['Key'] @Operator = params['Operator'] @Effect = params['Effect'] end |