Package io.fabric8.kubernetes.api.model
Class WatchEvent
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.WatchEvent
-
- All Implemented Interfaces:
KubernetesResource,Serializable
public class WatchEvent extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WatchEvent()No args constructor for use in serializationWatchEvent(KubernetesResource object, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()KubernetesResourcegetObject()StringgetType()the type of watch event; may be ADDEDvoidsetAdditionalProperty(String name, Object value)voidsetObject(KubernetesResource object)voidsetType(String type)the type of watch event; may be ADDED
-
-
-
Constructor Detail
-
WatchEvent
public WatchEvent()
No args constructor for use in serialization
-
WatchEvent
public WatchEvent(KubernetesResource object, String type)
- Parameters:
type-object-
-
-
Method Detail
-
getObject
public KubernetesResource getObject()
- Returns:
- The object
-
setObject
public void setObject(KubernetesResource object)
- Parameters:
object- The object
-
getType
public String getType()
the type of watch event; may be ADDED- Returns:
- The type
-
setType
public void setType(String type)
the type of watch event; may be ADDED- Parameters:
type- The type
-
-