Class: TencentCloud::Tke::V20180525::Event

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

服务事件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(podname = nil, reason = nil, type = nil, count = nil, firsttimestamp = nil, lasttimestamp = nil, message = nil) ⇒ Event



12602
12603
12604
12605
12606
12607
12608
12609
12610
# File 'lib/v20180525/models.rb', line 12602

def initialize(podname=nil, reason=nil, type=nil, count=nil, firsttimestamp=nil, lasttimestamp=nil, message=nil)
  @PodName = podname
  @Reason = reason
  @Type = type
  @Count = count
  @FirstTimestamp = firsttimestamp
  @LastTimestamp = lasttimestamp
  @Message = message
end

Instance Attribute Details

#CountObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def Count
  @Count
end

#FirstTimestampObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def FirstTimestamp
  @FirstTimestamp
end

#LastTimestampObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def LastTimestamp
  @LastTimestamp
end

#MessageObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def Message
  @Message
end

#PodNameObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def PodName
  @PodName
end

#ReasonObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def Reason
  @Reason
end

#TypeObject



12600
12601
12602
# File 'lib/v20180525/models.rb', line 12600

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



12612
12613
12614
12615
12616
12617
12618
12619
12620
# File 'lib/v20180525/models.rb', line 12612

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