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.Object
Status 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 V1Status
apiVersion(java.lang.String apiVersion)
V1Status
code(java.lang.Integer code)
V1Status
details(V1StatusDetails details)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.java.lang.Integer
getCode()
Suggested HTTP return code for this status, 0 if not set.V1StatusDetails
getDetails()
Extended data associated with the reason.java.lang.String
getKind()
Kind is a string value representing the REST resource this object represents.java.lang.String
getMessage()
A human-readable description of the status of this operation.io.kubernetes.client.models.V1ListMeta
getMetadata()
Standard list metadata.java.lang.String
getReason()
A machine-readable description of why this operation is in the \"Failure\" status.java.lang.String
getStatus()
Status of the operation.int
hashCode()
V1Status
kind(java.lang.String kind)
V1Status
message(java.lang.String message)
V1Status
metadata(io.kubernetes.client.models.V1ListMeta metadata)
V1Status
reason(java.lang.String reason)
void
setApiVersion(java.lang.String apiVersion)
void
setCode(java.lang.Integer code)
void
setDetails(V1StatusDetails details)
void
setKind(java.lang.String kind)
void
setMessage(java.lang.String message)
void
setMetadata(io.kubernetes.client.models.V1ListMeta metadata)
void
setReason(java.lang.String reason)
void
setStatus(java.lang.String status)
V1Status
status(java.lang.String status)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-