Class: TencentCloud::Emr::V20190103::Toleration
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::Toleration
- Defined in:
- lib/v20190103/models.rb
Overview
Tolerations
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil, operator = nil, effect = nil, tolerationseconds = nil) ⇒ Toleration
constructor
A new instance of Toleration.
Constructor Details
#initialize(key = nil, value = nil, operator = nil, effect = nil, tolerationseconds = nil) ⇒ Toleration
Returns a new instance of Toleration.
14482 14483 14484 14485 14486 14487 14488 |
# File 'lib/v20190103/models.rb', line 14482 def initialize(key=nil, value=nil, operator=nil, effect=nil, tolerationseconds=nil) @Key = key @Value = value @Operator = operator @Effect = effect @TolerationSeconds = tolerationseconds end |
Instance Attribute Details
#Effect ⇒ Object
14480 14481 14482 |
# File 'lib/v20190103/models.rb', line 14480 def Effect @Effect end |
#Key ⇒ Object
14480 14481 14482 |
# File 'lib/v20190103/models.rb', line 14480 def Key @Key end |
#Operator ⇒ Object
14480 14481 14482 |
# File 'lib/v20190103/models.rb', line 14480 def Operator @Operator end |
#TolerationSeconds ⇒ Object
14480 14481 14482 |
# File 'lib/v20190103/models.rb', line 14480 def TolerationSeconds @TolerationSeconds end |
#Value ⇒ Object
14480 14481 14482 |
# File 'lib/v20190103/models.rb', line 14480 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
14490 14491 14492 14493 14494 14495 14496 |
# File 'lib/v20190103/models.rb', line 14490 def deserialize(params) @Key = params['Key'] @Value = params['Value'] @Operator = params['Operator'] @Effect = params['Effect'] @TolerationSeconds = params['TolerationSeconds'] end |