public class ApplicationInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about an application.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationId
The application ID.
|
private java.lang.String |
applicationName
The application name.
|
private java.util.Date |
createTime
The time at which the application was created.
|
private java.lang.Boolean |
linkedToGitHub
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
Constructor and Description |
---|
ApplicationInfo() |
Modifier and Type | Method and Description |
---|---|
ApplicationInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The application ID.
|
java.lang.String |
getApplicationName()
The application name.
|
java.util.Date |
getCreateTime()
The time at which the application was created.
|
java.lang.Boolean |
getLinkedToGitHub()
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
int |
hashCode() |
java.lang.Boolean |
isLinkedToGitHub()
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
void |
setApplicationId(java.lang.String applicationId)
The application ID.
|
void |
setApplicationName(java.lang.String applicationName)
The application name.
|
void |
setCreateTime(java.util.Date createTime)
The time at which the application was created.
|
void |
setLinkedToGitHub(java.lang.Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ApplicationInfo |
withApplicationId(java.lang.String applicationId)
The application ID.
|
ApplicationInfo |
withApplicationName(java.lang.String applicationName)
The application name.
|
ApplicationInfo |
withCreateTime(java.util.Date createTime)
The time at which the application was created.
|
ApplicationInfo |
withLinkedToGitHub(java.lang.Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
private java.lang.String applicationId
The application ID.
private java.lang.String applicationName
The application name.
private java.util.Date createTime
The time at which the application was created.
private java.lang.Boolean linkedToGitHub
True if the user has authenticated with GitHub for the specified application; otherwise, false.
public void setApplicationId(java.lang.String applicationId)
The application ID.
applicationId
- The application ID.public java.lang.String getApplicationId()
The application ID.
public ApplicationInfo withApplicationId(java.lang.String applicationId)
The application ID.
applicationId
- The application ID.public void setApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public java.lang.String getApplicationName()
The application name.
public ApplicationInfo withApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public void setCreateTime(java.util.Date createTime)
The time at which the application was created.
createTime
- The time at which the application was created.public java.util.Date getCreateTime()
The time at which the application was created.
public ApplicationInfo withCreateTime(java.util.Date createTime)
The time at which the application was created.
createTime
- The time at which the application was created.public void setLinkedToGitHub(java.lang.Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified application; otherwise, false.
linkedToGitHub
- True if the user has authenticated with GitHub for the specified
application; otherwise, false.public java.lang.Boolean getLinkedToGitHub()
True if the user has authenticated with GitHub for the specified application; otherwise, false.
public ApplicationInfo withLinkedToGitHub(java.lang.Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified application; otherwise, false.
linkedToGitHub
- True if the user has authenticated with GitHub for the specified
application; otherwise, false.public java.lang.Boolean isLinkedToGitHub()
True if the user has authenticated with GitHub for the specified application; otherwise, false.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ApplicationInfo clone()
clone
in class java.lang.Object