Class: TencentCloud::Tke::V20180525::Event
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::Event
- Defined in:
- lib/v20180525/models.rb
Overview
服务事件
Instance Attribute Summary collapse
- #Count ⇒ Object
- #FirstTimestamp ⇒ Object
- #LastTimestamp ⇒ Object
- #Message ⇒ Object
- #PodName ⇒ Object
- #Reason ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(podname = nil, reason = nil, type = nil, count = nil, firsttimestamp = nil, lasttimestamp = nil, message = nil) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(podname = nil, reason = nil, type = nil, count = nil, firsttimestamp = nil, lasttimestamp = nil, message = nil) ⇒ Event
Returns a new instance of Event.
11759 11760 11761 11762 11763 11764 11765 11766 11767 |
# File 'lib/v20180525/models.rb', line 11759 def initialize(podname=nil, reason=nil, type=nil, count=nil, =nil, =nil, =nil) @PodName = podname @Reason = reason @Type = type @Count = count @FirstTimestamp = @LastTimestamp = @Message = end |
Instance Attribute Details
#Count ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def Count @Count end |
#FirstTimestamp ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def FirstTimestamp @FirstTimestamp end |
#LastTimestamp ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def LastTimestamp @LastTimestamp end |
#Message ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def Message @Message end |
#PodName ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def PodName @PodName end |
#Reason ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def Reason @Reason end |
#Type ⇒ Object
11757 11758 11759 |
# File 'lib/v20180525/models.rb', line 11757 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11769 11770 11771 11772 11773 11774 11775 11776 11777 |
# File 'lib/v20180525/models.rb', line 11769 def deserialize(params) @PodName = params['PodName'] @Reason = params['Reason'] @Type = params['Type'] @Count = params['Count'] @FirstTimestamp = params['FirstTimestamp'] @LastTimestamp = params['LastTimestamp'] @Message = params['Message'] end |