public class ApplicationInfo extends Object implements Serializable, Cloneable
Information about an application.
Constructor and Description |
---|
ApplicationInfo() |
Modifier and Type | Method and Description |
---|---|
ApplicationInfo |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The application ID.
|
String |
getApplicationName()
The application name.
|
Date |
getCreateTime()
The time that the application was created.
|
Boolean |
getLinkedToGitHub()
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
int |
hashCode() |
Boolean |
isLinkedToGitHub()
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
void |
setApplicationId(String applicationId)
The application ID.
|
void |
setApplicationName(String applicationName)
The application name.
|
void |
setCreateTime(Date createTime)
The time that the application was created.
|
void |
setLinkedToGitHub(Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ApplicationInfo |
withApplicationId(String applicationId)
The application ID.
|
ApplicationInfo |
withApplicationName(String applicationName)
The application name.
|
ApplicationInfo |
withCreateTime(Date createTime)
The time that the application was created.
|
ApplicationInfo |
withLinkedToGitHub(Boolean linkedToGitHub)
True if the user has authenticated with GitHub for the specified
application; otherwise, false.
|
public void setApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public String getApplicationId()
The application ID.
public ApplicationInfo withApplicationId(String applicationId)
The application ID.
applicationId
- The application ID.public void setApplicationName(String applicationName)
The application name.
applicationName
- The application name.public String getApplicationName()
The application name.
public ApplicationInfo withApplicationName(String applicationName)
The application name.
applicationName
- The application name.public void setCreateTime(Date createTime)
The time that the application was created.
createTime
- The time that the application was created.public Date getCreateTime()
The time that the application was created.
public ApplicationInfo withCreateTime(Date createTime)
The time that the application was created.
createTime
- The time that the application was created.public void setLinkedToGitHub(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 Boolean getLinkedToGitHub()
True if the user has authenticated with GitHub for the specified application; otherwise, false.
public ApplicationInfo withLinkedToGitHub(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 Boolean isLinkedToGitHub()
True if the user has authenticated with GitHub for the specified application; otherwise, false.
public String toString()
toString
in class Object
Object.toString()
public ApplicationInfo clone()
Copyright © 2015. All rights reserved.