Package kubevirt.io
Class V1Status
- java.lang.Object
-
- kubevirt.io.V1Status
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1Status extends java.lang.ObjectStatus is a return value for calls that don't return other objects.
-
-
Constructor Summary
Constructors Constructor Description V1Status()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1StatusapiVersion(java.lang.String apiVersion)V1Statuscode(java.lang.Integer code)V1Statusdetails(V1StatusDetails details)booleanequals(java.lang.Object o)java.lang.StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.java.lang.IntegergetCode()Suggested HTTP return code for this status, 0 if not set.V1StatusDetailsgetDetails()Extended data associated with the reason.java.lang.StringgetKind()Kind is a string value representing the REST resource this object represents.java.lang.StringgetMessage()A human-readable description of the status of this operation.io.kubernetes.client.models.V1ListMetagetMetadata()Standard list metadata.java.lang.StringgetReason()A machine-readable description of why this operation is in the \"Failure\" status.java.lang.StringgetStatus()Status of the operation.inthashCode()V1Statuskind(java.lang.String kind)V1Statusmessage(java.lang.String message)V1Statusmetadata(io.kubernetes.client.models.V1ListMeta metadata)V1Statusreason(java.lang.String reason)voidsetApiVersion(java.lang.String apiVersion)voidsetCode(java.lang.Integer code)voidsetDetails(V1StatusDetails details)voidsetKind(java.lang.String kind)voidsetMessage(java.lang.String message)voidsetMetadata(io.kubernetes.client.models.V1ListMeta metadata)voidsetReason(java.lang.String reason)voidsetStatus(java.lang.String status)V1Statusstatus(java.lang.String status)java.lang.StringtoString()
-
-
-
Method Detail
-
apiVersion
public V1Status apiVersion(java.lang.String apiVersion)
-
getApiVersion
public java.lang.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/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
-
code
public V1Status code(java.lang.Integer code)
-
getCode
public java.lang.Integer getCode()
Suggested HTTP return code for this status, 0 if not set.- Returns:
- code
-
setCode
public void setCode(java.lang.Integer code)
-
details
public V1Status details(V1StatusDetails details)
-
getDetails
public V1StatusDetails getDetails()
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.- Returns:
- details
-
setDetails
public void setDetails(V1StatusDetails details)
-
kind
public V1Status kind(java.lang.String kind)
-
getKind
public java.lang.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/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(java.lang.String kind)
-
message
public V1Status message(java.lang.String message)
-
getMessage
public java.lang.String getMessage()
A human-readable description of the status of this operation.- Returns:
- message
-
setMessage
public void setMessage(java.lang.String message)
-
metadata
public V1Status metadata(io.kubernetes.client.models.V1ListMeta metadata)
-
getMetadata
public io.kubernetes.client.models.V1ListMeta getMetadata()
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds- Returns:
- metadata
-
setMetadata
public void setMetadata(io.kubernetes.client.models.V1ListMeta metadata)
-
reason
public V1Status reason(java.lang.String reason)
-
getReason
public java.lang.String getReason()
A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.- Returns:
- reason
-
setReason
public void setReason(java.lang.String reason)
-
status
public V1Status status(java.lang.String status)
-
getStatus
public java.lang.String getStatus()
Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status- Returns:
- status
-
setStatus
public void setStatus(java.lang.String status)
-
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
-
-