public class ApiApp
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiApp.Builder
Builder for
ApiApp . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
appId |
protected java.lang.String |
appName |
protected boolean |
isAppFolder |
protected java.util.Date |
linked |
protected java.lang.String |
publisher |
protected java.lang.String |
publisherUrl |
Constructor and Description |
---|
ApiApp(java.lang.String appId,
java.lang.String appName,
boolean isAppFolder)
Information on linked third party applications.
|
ApiApp(java.lang.String appId,
java.lang.String appName,
boolean isAppFolder,
java.lang.String publisher,
java.lang.String publisherUrl,
java.util.Date linked)
Information on linked third party applications.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppId()
The application unique id.
|
java.lang.String |
getAppName()
The application name.
|
boolean |
getIsAppFolder()
Whether the linked application uses a dedicated folder.
|
java.util.Date |
getLinked()
The time this application was linked.
|
java.lang.String |
getPublisher()
The application publisher name.
|
java.lang.String |
getPublisherUrl()
The publisher's URL.
|
int |
hashCode() |
static ApiApp.Builder |
newBuilder(java.lang.String appId,
java.lang.String appName,
boolean isAppFolder)
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String appId
protected final java.lang.String appName
protected final java.lang.String publisher
protected final java.lang.String publisherUrl
protected final java.util.Date linked
protected final boolean isAppFolder
public ApiApp(java.lang.String appId, java.lang.String appName, boolean isAppFolder, java.lang.String publisher, java.lang.String publisherUrl, java.util.Date linked)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
appId
- The application unique id. Must not be null
.appName
- The application name. Must not be null
.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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ApiApp(java.lang.String appId, java.lang.String appName, boolean isAppFolder)
The default values for unset fields will be used.
appId
- The application unique id. Must not be null
.appName
- The application name. Must not be null
.isAppFolder
- Whether the linked application uses a dedicated
folder.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getAppId()
null
.public java.lang.String getAppName()
null
.public boolean getIsAppFolder()
public java.lang.String getPublisher()
null
if not present.public java.lang.String getPublisherUrl()
null
if not present.public java.util.Date getLinked()
null
if not present.public static ApiApp.Builder newBuilder(java.lang.String appId, java.lang.String appName, boolean isAppFolder)
appId
- The application unique id. Must not be null
.appName
- The application name. Must not be null
.isAppFolder
- Whether the linked application uses a dedicated
folder.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.