Class: TencentCloud::Tke::V20180525::ClusterLevelChangeRecord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterLevelChangeRecord
- Defined in:
- lib/v20180525/models.rb
Overview
集群等级变配记录
Instance Attribute Summary collapse
- #ClusterID ⇒ Object
- #CreatedAt ⇒ Object
- #EndedAt ⇒ Object
- #ID ⇒ Object
- #Message ⇒ Object
- #NewLevel ⇒ Object
- #OldLevel ⇒ Object
- #StartedAt ⇒ Object
- #Status ⇒ Object
- #TriggerType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, clusterid = nil, status = nil, message = nil, oldlevel = nil, newlevel = nil, triggertype = nil, createdat = nil, startedat = nil, endedat = nil) ⇒ ClusterLevelChangeRecord
constructor
A new instance of ClusterLevelChangeRecord.
Constructor Details
#initialize(id = nil, clusterid = nil, status = nil, message = nil, oldlevel = nil, newlevel = nil, triggertype = nil, createdat = nil, startedat = nil, endedat = nil) ⇒ ClusterLevelChangeRecord
Returns a new instance of ClusterLevelChangeRecord.
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'lib/v20180525/models.rb', line 1432 def initialize(id=nil, clusterid=nil, status=nil, =nil, oldlevel=nil, newlevel=nil, triggertype=nil, createdat=nil, startedat=nil, endedat=nil) @ID = id @ClusterID = clusterid @Status = status @Message = @OldLevel = oldlevel @NewLevel = newlevel @TriggerType = triggertype @CreatedAt = createdat @StartedAt = startedat @EndedAt = endedat end |
Instance Attribute Details
#ClusterID ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def ClusterID @ClusterID end |
#CreatedAt ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def CreatedAt @CreatedAt end |
#EndedAt ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def EndedAt @EndedAt end |
#ID ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def ID @ID end |
#Message ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def Message @Message end |
#NewLevel ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def NewLevel @NewLevel end |
#OldLevel ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def OldLevel @OldLevel end |
#StartedAt ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def StartedAt @StartedAt end |
#Status ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def Status @Status end |
#TriggerType ⇒ Object
1430 1431 1432 |
# File 'lib/v20180525/models.rb', line 1430 def TriggerType @TriggerType end |
Instance Method Details
#deserialize(params) ⇒ Object
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 |
# File 'lib/v20180525/models.rb', line 1445 def deserialize(params) @ID = params['ID'] @ClusterID = params['ClusterID'] @Status = params['Status'] @Message = params['Message'] @OldLevel = params['OldLevel'] @NewLevel = params['NewLevel'] @TriggerType = params['TriggerType'] @CreatedAt = params['CreatedAt'] @StartedAt = params['StartedAt'] @EndedAt = params['EndedAt'] end |