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.
1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 |
# File 'lib/v20180525/models.rb', line 1526 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
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def ClusterID @ClusterID end |
#CreatedAt ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def CreatedAt @CreatedAt end |
#EndedAt ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def EndedAt @EndedAt end |
#ID ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def ID @ID end |
#Message ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def Message @Message end |
#NewLevel ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def NewLevel @NewLevel end |
#OldLevel ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def OldLevel @OldLevel end |
#StartedAt ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def StartedAt @StartedAt end |
#Status ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def Status @Status end |
#TriggerType ⇒ Object
1524 1525 1526 |
# File 'lib/v20180525/models.rb', line 1524 def TriggerType @TriggerType end |
Instance Method Details
#deserialize(params) ⇒ Object
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/v20180525/models.rb', line 1539 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 |