@Generated(value="org.jsonschema2pojo") public class Event extends Object implements HasMetadata
Constructor and Description |
---|
Event()
No args constructor for use in serialization
|
Event(String action,
String apiVersion,
Integer count,
MicroTime eventTime,
String firstTimestamp,
ObjectReference involvedObject,
String kind,
String lastTimestamp,
String message,
ObjectMeta metadata,
String reason,
ObjectReference related,
String reportingComponent,
String reportingInstance,
EventSeries series,
EventSource source,
String type) |
public Event()
public Event(String action, String apiVersion, Integer count, MicroTime eventTime, String firstTimestamp, ObjectReference involvedObject, String kind, String lastTimestamp, String message, ObjectMeta metadata, String reason, ObjectReference related, String reportingComponent, String reportingInstance, EventSeries series, EventSource source, String type)
reason
- metadata
- involvedObject
- reportingInstance
- kind
- count
- source
- message
- type
- reportingComponent
- firstTimestamp
- apiVersion
- related
- lastTimestamp
- series
- eventTime
- action
- public String getAction()
public void setAction(String action)
action
- The actionpublic String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
setApiVersion
in interface HasMetadata
apiVersion
- The apiVersionpublic Integer getCount()
public void setCount(Integer count)
count
- The countpublic MicroTime getEventTime()
public void setEventTime(MicroTime eventTime)
eventTime
- The eventTimepublic String getFirstTimestamp()
public void setFirstTimestamp(String firstTimestamp)
firstTimestamp
- The firstTimestamppublic ObjectReference getInvolvedObject()
public void setInvolvedObject(ObjectReference involvedObject)
involvedObject
- The involvedObjectpublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic String getLastTimestamp()
public void setLastTimestamp(String lastTimestamp)
lastTimestamp
- The lastTimestamppublic String getMessage()
public void setMessage(String message)
message
- The messagepublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic String getReason()
public void setReason(String reason)
reason
- The reasonpublic ObjectReference getRelated()
public void setRelated(ObjectReference related)
related
- The relatedpublic String getReportingComponent()
public void setReportingComponent(String reportingComponent)
reportingComponent
- The reportingComponentpublic String getReportingInstance()
public void setReportingInstance(String reportingInstance)
reportingInstance
- The reportingInstancepublic EventSeries getSeries()
public void setSeries(EventSeries series)
series
- The seriespublic EventSource getSource()
public void setSource(EventSource source)
source
- The sourcepublic String getType()
public void setType(String type)
type
- The typeCopyright © 2011–2018 Red Hat. All rights reserved.