Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1Event
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1Event
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1Event extends Object
Event is a report of an event somewhere in the cluster.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIONstatic StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_COUNTstatic StringJSON_PROPERTY_EVENT_TIMEstatic StringJSON_PROPERTY_FIRST_TIMESTAMPstatic StringJSON_PROPERTY_INVOLVED_OBJECTstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_LAST_TIMESTAMPstatic StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_RELATEDstatic StringJSON_PROPERTY_REPORTING_COMPONENTstatic StringJSON_PROPERTY_REPORTING_INSTANCEstatic StringJSON_PROPERTY_SERIESstatic StringJSON_PROPERTY_SOURCEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1Event()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_ACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNT
public static final String JSON_PROPERTY_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_TIME
public static final String JSON_PROPERTY_EVENT_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIRST_TIMESTAMP
public static final String JSON_PROPERTY_FIRST_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVOLVED_OBJECT
public static final String JSON_PROPERTY_INVOLVED_OBJECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_TIMESTAMP
public static final String JSON_PROPERTY_LAST_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATED
public static final String JSON_PROPERTY_RELATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPORTING_COMPONENT
public static final String JSON_PROPERTY_REPORTING_COMPONENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPORTING_INSTANCE
public static final String JSON_PROPERTY_REPORTING_INSTANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERIES
public static final String JSON_PROPERTY_SERIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
action
public IoK8sApiCoreV1Event action(String action)
-
getAction
@Nullable public String getAction()
What action was taken/failed regarding to the Regarding object.- Returns:
- action
-
setAction
public void setAction(String action)
-
apiVersion
public IoK8sApiCoreV1Event apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
count
public IoK8sApiCoreV1Event count(Integer count)
-
getCount
@Nullable public Integer getCount()
The number of times this event has occurred.- Returns:
- count
-
setCount
public void setCount(Integer count)
-
eventTime
public IoK8sApiCoreV1Event eventTime(OffsetDateTime eventTime)
-
getEventTime
@Nullable public OffsetDateTime getEventTime()
MicroTime is version of Time with microsecond level precision.- Returns:
- eventTime
-
setEventTime
public void setEventTime(OffsetDateTime eventTime)
-
firstTimestamp
public IoK8sApiCoreV1Event firstTimestamp(OffsetDateTime firstTimestamp)
-
getFirstTimestamp
@Nullable public OffsetDateTime getFirstTimestamp()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- firstTimestamp
-
setFirstTimestamp
public void setFirstTimestamp(OffsetDateTime firstTimestamp)
-
involvedObject
public IoK8sApiCoreV1Event involvedObject(IoK8sApiCoreV1ObjectReference involvedObject)
-
getInvolvedObject
public IoK8sApiCoreV1ObjectReference getInvolvedObject()
Get involvedObject- Returns:
- involvedObject
-
setInvolvedObject
public void setInvolvedObject(IoK8sApiCoreV1ObjectReference involvedObject)
-
kind
public IoK8sApiCoreV1Event kind(String kind)
-
getKind
@Nullable public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(String kind)
-
lastTimestamp
public IoK8sApiCoreV1Event lastTimestamp(OffsetDateTime lastTimestamp)
-
getLastTimestamp
@Nullable public OffsetDateTime getLastTimestamp()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- lastTimestamp
-
setLastTimestamp
public void setLastTimestamp(OffsetDateTime lastTimestamp)
-
message
public IoK8sApiCoreV1Event message(String message)
-
getMessage
@Nullable public String getMessage()
A human-readable description of the status of this operation.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
metadata
public IoK8sApiCoreV1Event metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
reason
public IoK8sApiCoreV1Event reason(String reason)
-
getReason
@Nullable public String getReason()
This should be a short, machine understandable string that gives the reason for the transition into the object's current status.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
related
public IoK8sApiCoreV1Event related(IoK8sApiCoreV1ObjectReference related)
-
getRelated
@Nullable public IoK8sApiCoreV1ObjectReference getRelated()
Get related- Returns:
- related
-
setRelated
public void setRelated(IoK8sApiCoreV1ObjectReference related)
-
reportingComponent
public IoK8sApiCoreV1Event reportingComponent(String reportingComponent)
-
getReportingComponent
@Nullable public String getReportingComponent()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.- Returns:
- reportingComponent
-
setReportingComponent
public void setReportingComponent(String reportingComponent)
-
reportingInstance
public IoK8sApiCoreV1Event reportingInstance(String reportingInstance)
-
getReportingInstance
@Nullable public String getReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`.- Returns:
- reportingInstance
-
setReportingInstance
public void setReportingInstance(String reportingInstance)
-
series
public IoK8sApiCoreV1Event series(IoK8sApiCoreV1EventSeries series)
-
getSeries
@Nullable public IoK8sApiCoreV1EventSeries getSeries()
Get series- Returns:
- series
-
setSeries
public void setSeries(IoK8sApiCoreV1EventSeries series)
-
source
public IoK8sApiCoreV1Event source(IoK8sApiCoreV1EventSource source)
-
getSource
@Nullable public IoK8sApiCoreV1EventSource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(IoK8sApiCoreV1EventSource source)
-
type
public IoK8sApiCoreV1Event type(String type)
-
getType
@Nullable public String getType()
Type of this event (Normal, Warning), new types could be added in the future- Returns:
- type
-
setType
public void setType(String type)
-
-