Package com.dropbox.core.v2.team
Class ApiApp
java.lang.Object
com.dropbox.core.v2.team.ApiApp
Information on linked third party applications.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAppId()The application unique id.The application name.booleanWhether the linked application uses a dedicated folder.The time this application was linked.The application publisher name.The publisher's URL.inthashCode()static ApiApp.BuildernewBuilder(String appId, String appName, boolean isAppFolder) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
appId
-
appName
-
publisher
-
publisherUrl
-
linked
-
isAppFolder
protected final boolean isAppFolder
-
-
Constructor Details
-
ApiApp
public ApiApp(@Nonnull String appId, @Nonnull String appName, boolean isAppFolder, @Nullable String publisher, @Nullable String publisherUrl, @Nullable Date linked) Information on linked third party applications.Use
newBuilder(java.lang.String,java.lang.String,boolean)to create instances of this class without specifying values for all optional fields.- Parameters:
appId- The application unique id. Must not benull.appName- The application name. Must not benull.isAppFolder- Whether the linked application uses a dedicated folder.publisher- The application publisher name.publisherUrl- The publisher's URL.linked- The time this application was linked.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
ApiApp
Information on linked third party applications.The default values for unset fields will be used.
- Parameters:
appId- The application unique id. Must not benull.appName- The application name. Must not benull.isAppFolder- Whether the linked application uses a dedicated folder.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getAppId
The application unique id.- Returns:
- value for this field, never
null.
-
getAppName
The application name.- Returns:
- value for this field, never
null.
-
getIsAppFolder
public boolean getIsAppFolder()Whether the linked application uses a dedicated folder.- Returns:
- value for this field.
-
getPublisher
The application publisher name.- Returns:
- value for this field, or
nullif not present.
-
getPublisherUrl
The publisher's URL.- Returns:
- value for this field, or
nullif not present.
-
getLinked
The time this application was linked.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Parameters:
appId- The application unique id. Must not benull.appName- The application name. Must not benull.isAppFolder- Whether the linked application uses a dedicated folder.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-