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.
18643 18644 18645 18646 18647 |
# File 'lib/v20180525/models.rb', line 18643 def initialize(key=nil, operator=nil, effect=nil) @Key = key @Operator = operator @Effect = effect end |
Instance Attribute Details
#Effect ⇒ Object
18641 18642 18643 |
# File 'lib/v20180525/models.rb', line 18641 def Effect @Effect end |
#Key ⇒ Object
18641 18642 18643 |
# File 'lib/v20180525/models.rb', line 18641 def Key @Key end |
#Operator ⇒ Object
18641 18642 18643 |
# File 'lib/v20180525/models.rb', line 18641 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
18649 18650 18651 18652 18653 |
# File 'lib/v20180525/models.rb', line 18649 def deserialize(params) @Key = params['Key'] @Operator = params['Operator'] @Effect = params['Effect'] end |