Package net.stickycode.kuuty.model.v18
Class IoK8sApiEventsV1beta1Event
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiEventsV1beta1Event
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiEventsV1beta1Event extends Object
Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIONstatic StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_DEPRECATED_COUNTstatic StringJSON_PROPERTY_DEPRECATED_FIRST_TIMESTAMPstatic StringJSON_PROPERTY_DEPRECATED_LAST_TIMESTAMPstatic StringJSON_PROPERTY_DEPRECATED_SOURCEstatic StringJSON_PROPERTY_EVENT_TIMEstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_NOTEstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_REGARDINGstatic StringJSON_PROPERTY_RELATEDstatic StringJSON_PROPERTY_REPORTING_CONTROLLERstatic StringJSON_PROPERTY_REPORTING_INSTANCEstatic StringJSON_PROPERTY_SERIESstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description IoK8sApiEventsV1beta1Event()
-
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_DEPRECATED_COUNT
public static final String JSON_PROPERTY_DEPRECATED_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEPRECATED_FIRST_TIMESTAMP
public static final String JSON_PROPERTY_DEPRECATED_FIRST_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEPRECATED_LAST_TIMESTAMP
public static final String JSON_PROPERTY_DEPRECATED_LAST_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEPRECATED_SOURCE
public static final String JSON_PROPERTY_DEPRECATED_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_TIME
public static final String JSON_PROPERTY_EVENT_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTE
public static final String JSON_PROPERTY_NOTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REGARDING
public static final String JSON_PROPERTY_REGARDING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATED
public static final String JSON_PROPERTY_RELATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPORTING_CONTROLLER
public static final String JSON_PROPERTY_REPORTING_CONTROLLER
- 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_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
action
public IoK8sApiEventsV1beta1Event 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 IoK8sApiEventsV1beta1Event 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)
-
deprecatedCount
public IoK8sApiEventsV1beta1Event deprecatedCount(Integer deprecatedCount)
-
getDeprecatedCount
@Nullable public Integer getDeprecatedCount()
Deprecated field assuring backward compatibility with core.v1 Event type- Returns:
- deprecatedCount
-
setDeprecatedCount
public void setDeprecatedCount(Integer deprecatedCount)
-
deprecatedFirstTimestamp
public IoK8sApiEventsV1beta1Event deprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp)
-
getDeprecatedFirstTimestamp
@Nullable public OffsetDateTime getDeprecatedFirstTimestamp()
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:
- deprecatedFirstTimestamp
-
setDeprecatedFirstTimestamp
public void setDeprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp)
-
deprecatedLastTimestamp
public IoK8sApiEventsV1beta1Event deprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp)
-
getDeprecatedLastTimestamp
@Nullable public OffsetDateTime getDeprecatedLastTimestamp()
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:
- deprecatedLastTimestamp
-
setDeprecatedLastTimestamp
public void setDeprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp)
-
deprecatedSource
public IoK8sApiEventsV1beta1Event deprecatedSource(IoK8sApiCoreV1EventSource deprecatedSource)
-
getDeprecatedSource
@Nullable public IoK8sApiCoreV1EventSource getDeprecatedSource()
Get deprecatedSource- Returns:
- deprecatedSource
-
setDeprecatedSource
public void setDeprecatedSource(IoK8sApiCoreV1EventSource deprecatedSource)
-
eventTime
public IoK8sApiEventsV1beta1Event eventTime(OffsetDateTime eventTime)
-
getEventTime
public OffsetDateTime getEventTime()
MicroTime is version of Time with microsecond level precision.- Returns:
- eventTime
-
setEventTime
public void setEventTime(OffsetDateTime eventTime)
-
kind
public IoK8sApiEventsV1beta1Event 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)
-
metadata
public IoK8sApiEventsV1beta1Event metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
note
public IoK8sApiEventsV1beta1Event note(String note)
-
getNote
@Nullable public String getNote()
Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.- Returns:
- note
-
setNote
public void setNote(String note)
-
reason
public IoK8sApiEventsV1beta1Event reason(String reason)
-
getReason
@Nullable public String getReason()
Why the action was taken.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
regarding
public IoK8sApiEventsV1beta1Event regarding(IoK8sApiCoreV1ObjectReference regarding)
-
getRegarding
@Nullable public IoK8sApiCoreV1ObjectReference getRegarding()
Get regarding- Returns:
- regarding
-
setRegarding
public void setRegarding(IoK8sApiCoreV1ObjectReference regarding)
-
related
public IoK8sApiEventsV1beta1Event related(IoK8sApiCoreV1ObjectReference related)
-
getRelated
@Nullable public IoK8sApiCoreV1ObjectReference getRelated()
Get related- Returns:
- related
-
setRelated
public void setRelated(IoK8sApiCoreV1ObjectReference related)
-
reportingController
public IoK8sApiEventsV1beta1Event reportingController(String reportingController)
-
getReportingController
@Nullable public String getReportingController()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.- Returns:
- reportingController
-
setReportingController
public void setReportingController(String reportingController)
-
reportingInstance
public IoK8sApiEventsV1beta1Event 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 IoK8sApiEventsV1beta1Event series(IoK8sApiEventsV1beta1EventSeries series)
-
getSeries
@Nullable public IoK8sApiEventsV1beta1EventSeries getSeries()
Get series- Returns:
- series
-
setSeries
public void setSeries(IoK8sApiEventsV1beta1EventSeries series)
-
type
public IoK8sApiEventsV1beta1Event 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)
-
-