|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.PremiumInfo
public class PremiumInfo
This structure is used to provide information about a user's Premium account.
Constructor Summary | |
---|---|
PremiumInfo()
|
|
PremiumInfo(long currentTime,
boolean premium,
boolean premiumRecurring,
boolean premiumExtendable,
boolean premiumPending,
boolean premiumCancellationPending,
boolean canPurchaseUploadAllowance)
|
|
PremiumInfo(PremiumInfo other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(PremiumInfo other)
|
PremiumInfo |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(PremiumInfo that)
|
long |
getCurrentTime()
|
long |
getPremiumExpirationDate()
|
java.lang.String |
getSponsoredGroupName()
|
SponsoredGroupRole |
getSponsoredGroupRole()
|
int |
hashCode()
|
boolean |
isCanPurchaseUploadAllowance()
|
boolean |
isPremium()
|
boolean |
isPremiumCancellationPending()
|
boolean |
isPremiumExtendable()
|
boolean |
isPremiumPending()
|
boolean |
isPremiumRecurring()
|
boolean |
isPremiumUpgradable()
|
boolean |
isSetCanPurchaseUploadAllowance()
Returns true if field canPurchaseUploadAllowance is set (has been asigned a value) and false otherwise |
boolean |
isSetCurrentTime()
Returns true if field currentTime is set (has been asigned a value) and false otherwise |
boolean |
isSetPremium()
Returns true if field premium is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumCancellationPending()
Returns true if field premiumCancellationPending is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumExpirationDate()
Returns true if field premiumExpirationDate is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumExtendable()
Returns true if field premiumExtendable is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumPending()
Returns true if field premiumPending is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumRecurring()
Returns true if field premiumRecurring is set (has been asigned a value) and false otherwise |
boolean |
isSetPremiumUpgradable()
Returns true if field premiumUpgradable is set (has been asigned a value) and false otherwise |
boolean |
isSetSponsoredGroupName()
Returns true if field sponsoredGroupName is set (has been asigned a value) and false otherwise |
boolean |
isSetSponsoredGroupRole()
Returns true if field sponsoredGroupRole is set (has been asigned a value) and false otherwise |
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setCanPurchaseUploadAllowance(boolean canPurchaseUploadAllowance)
|
void |
setCanPurchaseUploadAllowanceIsSet(boolean value)
|
void |
setCurrentTime(long currentTime)
|
void |
setCurrentTimeIsSet(boolean value)
|
void |
setPremium(boolean premium)
|
void |
setPremiumCancellationPending(boolean premiumCancellationPending)
|
void |
setPremiumCancellationPendingIsSet(boolean value)
|
void |
setPremiumExpirationDate(long premiumExpirationDate)
|
void |
setPremiumExpirationDateIsSet(boolean value)
|
void |
setPremiumExtendable(boolean premiumExtendable)
|
void |
setPremiumExtendableIsSet(boolean value)
|
void |
setPremiumIsSet(boolean value)
|
void |
setPremiumPending(boolean premiumPending)
|
void |
setPremiumPendingIsSet(boolean value)
|
void |
setPremiumRecurring(boolean premiumRecurring)
|
void |
setPremiumRecurringIsSet(boolean value)
|
void |
setPremiumUpgradable(boolean premiumUpgradable)
|
void |
setPremiumUpgradableIsSet(boolean value)
|
void |
setSponsoredGroupName(java.lang.String sponsoredGroupName)
|
void |
setSponsoredGroupNameIsSet(boolean value)
|
void |
setSponsoredGroupRole(SponsoredGroupRole sponsoredGroupRole)
|
void |
setSponsoredGroupRoleIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetCanPurchaseUploadAllowance()
|
void |
unsetCurrentTime()
|
void |
unsetPremium()
|
void |
unsetPremiumCancellationPending()
|
void |
unsetPremiumExpirationDate()
|
void |
unsetPremiumExtendable()
|
void |
unsetPremiumPending()
|
void |
unsetPremiumRecurring()
|
void |
unsetPremiumUpgradable()
|
void |
unsetSponsoredGroupName()
|
void |
unsetSponsoredGroupRole()
|
void |
validate()
|
void |
write(com.evernote.thrift.protocol.TProtocol oprot)
Writes the object to the given protocol. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PremiumInfo()
public PremiumInfo(long currentTime, boolean premium, boolean premiumRecurring, boolean premiumExtendable, boolean premiumPending, boolean premiumCancellationPending, boolean canPurchaseUploadAllowance)
public PremiumInfo(PremiumInfo other)
Method Detail |
---|
public PremiumInfo deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<PremiumInfo>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<PremiumInfo>
public long getCurrentTime()
public void setCurrentTime(long currentTime)
public void unsetCurrentTime()
public boolean isSetCurrentTime()
public void setCurrentTimeIsSet(boolean value)
public boolean isPremium()
public void setPremium(boolean premium)
public void unsetPremium()
public boolean isSetPremium()
public void setPremiumIsSet(boolean value)
public boolean isPremiumRecurring()
public void setPremiumRecurring(boolean premiumRecurring)
public void unsetPremiumRecurring()
public boolean isSetPremiumRecurring()
public void setPremiumRecurringIsSet(boolean value)
public long getPremiumExpirationDate()
public void setPremiumExpirationDate(long premiumExpirationDate)
public void unsetPremiumExpirationDate()
public boolean isSetPremiumExpirationDate()
public void setPremiumExpirationDateIsSet(boolean value)
public boolean isPremiumExtendable()
public void setPremiumExtendable(boolean premiumExtendable)
public void unsetPremiumExtendable()
public boolean isSetPremiumExtendable()
public void setPremiumExtendableIsSet(boolean value)
public boolean isPremiumPending()
public void setPremiumPending(boolean premiumPending)
public void unsetPremiumPending()
public boolean isSetPremiumPending()
public void setPremiumPendingIsSet(boolean value)
public boolean isPremiumCancellationPending()
public void setPremiumCancellationPending(boolean premiumCancellationPending)
public void unsetPremiumCancellationPending()
public boolean isSetPremiumCancellationPending()
public void setPremiumCancellationPendingIsSet(boolean value)
public boolean isCanPurchaseUploadAllowance()
public void setCanPurchaseUploadAllowance(boolean canPurchaseUploadAllowance)
public void unsetCanPurchaseUploadAllowance()
public boolean isSetCanPurchaseUploadAllowance()
public void setCanPurchaseUploadAllowanceIsSet(boolean value)
public java.lang.String getSponsoredGroupName()
public void setSponsoredGroupName(java.lang.String sponsoredGroupName)
public void unsetSponsoredGroupName()
public boolean isSetSponsoredGroupName()
public void setSponsoredGroupNameIsSet(boolean value)
public SponsoredGroupRole getSponsoredGroupRole()
SponsoredGroupRole
public void setSponsoredGroupRole(SponsoredGroupRole sponsoredGroupRole)
SponsoredGroupRole
public void unsetSponsoredGroupRole()
public boolean isSetSponsoredGroupRole()
public void setSponsoredGroupRoleIsSet(boolean value)
public boolean isPremiumUpgradable()
public void setPremiumUpgradable(boolean premiumUpgradable)
public void unsetPremiumUpgradable()
public boolean isSetPremiumUpgradable()
public void setPremiumUpgradableIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(PremiumInfo that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(PremiumInfo other)
compareTo
in interface java.lang.Comparable<PremiumInfo>
public void read(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<PremiumInfo>
iprot
- Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write
in interface com.evernote.thrift.TBase<PremiumInfo>
oprot
- Output protocol
com.evernote.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |