Package com.dropbox.core.v2.sharing
Class InsufficientPlan
java.lang.Object
com.dropbox.core.v2.sharing.InsufficientPlan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInsufficientPlan(String message) NoneInsufficientPlan(String message, String upsellUrl) -
Method Summary
Modifier and TypeMethodDescriptionbooleanA message to tell the user to upgrade in order to support expected action.A URL to send the user to in order to obtain the account type they need, e.g.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
message
-
upsellUrl
-
-
Constructor Details
-
InsufficientPlan
- Parameters:
message- A message to tell the user to upgrade in order to support expected action. Must not benull.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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
InsufficientPlan
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 benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getMessage
A message to tell the user to upgrade in order to support expected action.- Returns:
- value for this field, never
null.
-
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.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-