Package kubevirt.io

Class 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()  
    • Constructor Detail

      • V1Status

        public V1Status()
    • 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)
      • 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
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object