Class V1StatusDetails
java.lang.Object
io.kubernetes.client.openapi.models.V1StatusDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1StatusDetails
extends Object
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCausesItem
(V1StatusCause causesItem) causes
(List<V1StatusCause> causes) boolean
static V1StatusDetails
Create an instance of V1StatusDetails given an JSON stringThe Causes array includes more details associated with the StatusReason failure.getGroup()
The group attribute of the resource associated with the status StatusReason.getKind()
The kind attribute of the resource associated with the status StatusReason.getName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).If specified, the time in seconds before the operation should be retried.getUid()
UID of the resource.int
hashCode()
retryAfterSeconds
(Integer retryAfterSeconds) void
setCauses
(List<V1StatusCause> causes) void
void
void
void
setRetryAfterSeconds
(Integer retryAfterSeconds) void
toJson()
Convert an instance of V1StatusDetails to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CAUSES
- See Also:
-
SERIALIZED_NAME_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RETRY_AFTER_SECONDS
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1StatusDetails
public V1StatusDetails()
-
-
Method Details
-
causes
-
addCausesItem
-
getCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.- Returns:
- causes
-
setCauses
-
group
-
getGroup
The group attribute of the resource associated with the status StatusReason.- Returns:
- group
-
setGroup
-
kind
-
getKind
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
-
name
-
getName
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).- Returns:
- name
-
setName
-
retryAfterSeconds
-
getRetryAfterSeconds
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.- Returns:
- retryAfterSeconds
-
setRetryAfterSeconds
-
uid
-
getUid
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids- Returns:
- uid
-
setUid
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1StatusDetails
-
fromJson
Create an instance of V1StatusDetails given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1StatusDetails
- Throws:
IOException
- if the JSON string is invalid with respect to V1StatusDetails
-
toJson
Convert an instance of V1StatusDetails to an JSON string- Returns:
- JSON string
-