Package com.dropbox.core.v2.sharing
Class InsufficientPlan
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.InsufficientPlan
 
- 
 public class InsufficientPlan extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description InsufficientPlan(java.lang.String message)NoneInsufficientPlan(java.lang.String message, java.lang.String upsellUrl)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetMessage()A message to tell the user to upgrade in order to support expected action.java.lang.StringgetUpsellUrl()A URL to send the user to in order to obtain the account type they need, e.g.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
InsufficientPlanpublic InsufficientPlan(java.lang.String message, java.lang.String upsellUrl)- Parameters:
- message- A message to tell the user to upgrade in order to support expected action. Must not be- null.
- upsellUrl- A URL to send the user to in order to obtain the account type they need, e.g. upgrading. Absent if there is no action the user can take to upgrade.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
InsufficientPlanpublic InsufficientPlan(java.lang.String message) NoneThe default values for unset fields will be used. - Parameters:
- message- A message to tell the user to upgrade in order to support expected action. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getMessagepublic java.lang.String getMessage() A message to tell the user to upgrade in order to support expected action.- Returns:
- value for this field, never null.
 
 - 
getUpsellUrlpublic java.lang.String getUpsellUrl() A URL to send the user to in order to obtain the account type they need, e.g. upgrading. Absent if there is no action the user can take to upgrade.- Returns:
- value for this field, or nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-