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
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 Details
-
WatchEvent
public WatchEvent()No args constructor for use in serialization -
WatchEvent
- Parameters:
type-object-
-
-
Method Details
-
getObject
- Returns:
- The object
-
setObject
- Parameters:
object- The object
-
getType
the type of watch event; may be ADDED- Returns:
- The type
-
setType
the type of watch event; may be ADDED- Parameters:
type- The type
-
getAdditionalProperties
-
setAdditionalProperty
-