Class: TencentCloud::Monitor::V20180724::Toleration
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::Toleration
- Defined in:
- lib/v20180724/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.
15238 15239 15240 15241 15242 |
# File 'lib/v20180724/models.rb', line 15238 def initialize(key=nil, operator=nil, effect=nil) @Key = key @Operator = operator @Effect = effect end |
Instance Attribute Details
#Effect ⇒ Object
15236 15237 15238 |
# File 'lib/v20180724/models.rb', line 15236 def Effect @Effect end |
#Key ⇒ Object
15236 15237 15238 |
# File 'lib/v20180724/models.rb', line 15236 def Key @Key end |
#Operator ⇒ Object
15236 15237 15238 |
# File 'lib/v20180724/models.rb', line 15236 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
15244 15245 15246 15247 15248 |
# File 'lib/v20180724/models.rb', line 15244 def deserialize(params) @Key = params['Key'] @Operator = params['Operator'] @Effect = params['Effect'] end |