@Generated(value="org.jsonschema2pojo") public class Event extends Object implements HasMetadata
Modifier and Type | Class and Description |
---|---|
static class |
Event.ApiVersion |
Constructor and Description |
---|
Event()
No args constructor for use in serialization
|
Event(Event.ApiVersion apiVersion,
Integer count,
String firstTimestamp,
ObjectReference involvedObject,
String kind,
String lastTimestamp,
String message,
ObjectMeta metadata,
String reason,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Event.ApiVersion |
getApiVersion()
(Required)
|
Integer |
getCount()
the number of times this event has occurred
|
String |
getFirstTimestamp()
the time at which the event was first recorded
|
ObjectReference |
getInvolvedObject() |
String |
getKind()
(Required)
|
String |
getLastTimestamp()
the time at which the most recent occurrence of this event was recorded
|
String |
getMessage()
human-readable description of the status of this operation
|
ObjectMeta |
getMetadata() |
String |
getReason()
short
|
EventSource |
getSource() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(Event.ApiVersion apiVersion)
(Required)
|
void |
setCount(Integer count)
the number of times this event has occurred
|
void |
setFirstTimestamp(String firstTimestamp)
the time at which the event was first recorded
|
void |
setInvolvedObject(ObjectReference involvedObject) |
void |
setKind(String kind)
(Required)
|
void |
setLastTimestamp(String lastTimestamp)
the time at which the most recent occurrence of this event was recorded
|
void |
setMessage(String message)
human-readable description of the status of this operation
|
void |
setMetadata(ObjectMeta metadata) |
void |
setReason(String reason)
short
|
void |
setSource(EventSource source) |
public Event()
public Event(Event.ApiVersion apiVersion, Integer count, String firstTimestamp, ObjectReference involvedObject, String kind, String lastTimestamp, String message, ObjectMeta metadata, String reason, EventSource source)
firstTimestamp
- reason
- metadata
- apiVersion
- involvedObject
- lastTimestamp
- kind
- count
- source
- message
- public Event.ApiVersion getApiVersion()
public void setApiVersion(Event.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic Integer getCount()
public void setCount(Integer count)
count
- The countpublic 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 EventSource getSource()
public void setSource(EventSource source)
source
- The sourceCopyright © 2011–2015 Red Hat. All rights reserved.