Class V1WatchEvent

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WatchEvent

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1WatchEvent extends Object
Event represents a single event to a watched resource.
  • Field Details

  • Constructor Details

    • V1WatchEvent

      public V1WatchEvent(Object object, String type)
  • Method Details

    • 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:
      the object property value
    • setObject

      public void setObject(Object object)
      Set the object property value
    • object

      public V1WatchEvent object(Object object)
      Set object in a chainable fashion.
      Returns:
      The same instance of V1WatchEvent for chaining.
    • getType

      public String getType()
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
    • type

      public V1WatchEvent type(String type)
      Set type in a chainable fashion.
      Returns:
      The same instance of V1WatchEvent for chaining.
    • 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