Class Subscription
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.service.api.notification.Subscription
-
- All Implemented Interfaces:
java.io.Serializable
public class Subscription extends com.flower.docs.domain.common.IdentifiableElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description SubscriptionKeys
keys
-
Constructor Summary
Constructors Constructor Description Subscription()
Subscription(java.lang.String endpoint, java.lang.Long expirationTime, SubscriptionKeys keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getEndpoint()
java.lang.Long
getExpirationTime()
SubscriptionKeys
getKeys()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
keys
public SubscriptionKeys keys
-
-
Constructor Detail
-
Subscription
public Subscription(java.lang.String endpoint, java.lang.Long expirationTime, SubscriptionKeys keys)
-
Subscription
public Subscription()
-
-
Method Detail
-
getEndpoint
public java.lang.String getEndpoint()
-
getExpirationTime
public java.lang.Long getExpirationTime()
-
getKeys
public SubscriptionKeys getKeys()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-