public class Subscription extends Object implements Serializable
| Constructor and Description |
|---|
Subscription() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionCallback |
getCallback() |
long |
getExpirationTime()
Get the value of expirationTime
|
String |
getId()
Get the value of id
|
String |
getSourceUrl()
Get the value of sourceUrl
|
String |
getVerifyToken()
Get the value of verifyToken
|
boolean |
isUnsubscribed()
Get the value of unsubscribed
|
boolean |
isValidated()
Get the value of validated
|
void |
setCallback(SubscriptionCallback callback) |
void |
setExpirationTime(long newexpirationTime)
Set the value of expirationTime
|
void |
setId(String newid)
Set the value of id
|
void |
setSourceUrl(String newsourceUrl)
Set the value of sourceUrl
|
void |
setUnsubscribed(boolean newunsubscribed)
Set the value of unsubscribed
|
void |
setValidated(boolean newvalidated)
Set the value of validated
|
void |
setVerifyToken(String newverifyToken)
Set the value of verifyToken
|
public void setExpirationTime(long newexpirationTime)
newexpirationTime - new value of expirationTimepublic long getExpirationTime()
public void setId(String newid)
newid - new value of idpublic String getId()
public void setSourceUrl(String newsourceUrl)
newsourceUrl - new value of sourceUrlpublic String getSourceUrl()
public void setUnsubscribed(boolean newunsubscribed)
newunsubscribed - new value of unsubscribedpublic boolean isUnsubscribed()
public void setValidated(boolean newvalidated)
newvalidated - new value of validatedpublic boolean isValidated()
public void setVerifyToken(String newverifyToken)
newverifyToken - new value of verifyTokenpublic String getVerifyToken()
public SubscriptionCallback getCallback()
public void setCallback(SubscriptionCallback callback)
callback - the callback to setCopyright © 2016. All rights reserved.