Class V1WatchEvent

java.lang.Object
io.kubernetes.client.openapi.models.V1WatchEvent

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1WatchEvent extends Object
Event represents a single event to a watched resource.
  • Field Details

  • Constructor Details

    • V1WatchEvent

      public V1WatchEvent()
  • Method Details

    • _object

      public V1WatchEvent _object(Object _object)
    • getObject

      public Object getObject()
      Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.
      Returns:
      _object
    • setObject

      public void setObject(Object _object)
    • type

      public V1WatchEvent type(String type)
    • getType

      public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(String type)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object