Package kubevirt.io
Class V1StatusDetails
- java.lang.Object
-
- kubevirt.io.V1StatusDetails
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1StatusDetails extends java.lang.ObjectStatusDetails 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.
-
-
Constructor Summary
Constructors Constructor Description V1StatusDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1StatusDetailsaddCausesItem(V1StatusCause causesItem)V1StatusDetailscauses(java.util.List<V1StatusCause> causes)booleanequals(java.lang.Object o)java.util.List<V1StatusCause>getCauses()The Causes array includes more details associated with the StatusReason failure.java.lang.StringgetGroup()The group attribute of the resource associated with the status StatusReason.java.lang.StringgetKind()The kind attribute of the resource associated with the status StatusReason.java.lang.StringgetName()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).java.lang.IntegergetRetryAfterSeconds()If specified, the time in seconds before the operation should be retried.java.lang.StringgetUid()UID of the resource.V1StatusDetailsgroup(java.lang.String group)inthashCode()V1StatusDetailskind(java.lang.String kind)V1StatusDetailsname(java.lang.String name)V1StatusDetailsretryAfterSeconds(java.lang.Integer retryAfterSeconds)voidsetCauses(java.util.List<V1StatusCause> causes)voidsetGroup(java.lang.String group)voidsetKind(java.lang.String kind)voidsetName(java.lang.String name)voidsetRetryAfterSeconds(java.lang.Integer retryAfterSeconds)voidsetUid(java.lang.String uid)java.lang.StringtoString()V1StatusDetailsuid(java.lang.String uid)
-
-
-
Method Detail
-
causes
public V1StatusDetails causes(java.util.List<V1StatusCause> causes)
-
addCausesItem
public V1StatusDetails addCausesItem(V1StatusCause causesItem)
-
getCauses
public java.util.List<V1StatusCause> getCauses()
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.- Returns:
- causes
-
setCauses
public void setCauses(java.util.List<V1StatusCause> causes)
-
group
public V1StatusDetails group(java.lang.String group)
-
getGroup
public java.lang.String getGroup()
The group attribute of the resource associated with the status StatusReason.- Returns:
- group
-
setGroup
public void setGroup(java.lang.String group)
-
kind
public V1StatusDetails kind(java.lang.String kind)
-
getKind
public java.lang.String 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/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(java.lang.String kind)
-
name
public V1StatusDetails name(java.lang.String name)
-
getName
public java.lang.String 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
public void setName(java.lang.String name)
-
retryAfterSeconds
public V1StatusDetails retryAfterSeconds(java.lang.Integer retryAfterSeconds)
-
getRetryAfterSeconds
public java.lang.Integer 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
public void setRetryAfterSeconds(java.lang.Integer retryAfterSeconds)
-
uid
public V1StatusDetails uid(java.lang.String uid)
-
getUid
public java.lang.String getUid()
UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids- Returns:
- uid
-
setUid
public void setUid(java.lang.String uid)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-