Package de.coho04.githubapi.entities
Klasse GHTeam
java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.bases.ClassBase
de.coho04.githubapi.entities.GHTeam
- Alle implementierten Schnittstellen:
HttpRequestInterface,JSONHelper
This class represents a GitHub Team.
It provides methods for fetching data about the team such as its name, slug, description, privacy, notification setting, permission, members URL, repositories URL, creation date, update date, members count, repos count, and parent team.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.coho04.githubapi.interfaces.JSONHelper
JSONHelper.JSONToObject<T> -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGHTeam(org.json.JSONObject jsonObject) Constructs a new GHTeam instance with the provided JSON object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the members count of the team.Returns the description of the team.intReturns the members count of the team.Returns the members URL of the team.getName()Returns the name of the team.Returns the notification setting of the team.Returns the parent team of the team.Returns the permission of the team.Returns the privacy of the team.intReturns the repos count of the team.Returns the repositories URL of the team.getSlug()Returns the slug of the team.static GHTeamgetTeamByName(Github github, String name, GHOrganisation organisation) Returns a GHTeam instance by team name.Returns the repos count of the team.Von Klasse geerbte Methoden de.coho04.githubapi.bases.ClassBase
getEventsUrl, getHtmlUrl, getId, getNodeId, getUrl, toJSONObjectVon Klasse geerbte Methoden de.coho04.githubapi.bases.GHBase
fetchArrayData, fetchArrayData, fetchPaginatedData, fetchPaginatedData, fetchPaginatedData, getBaseUrlVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.HttpRequestInterface
extractNextPageUrl, sendDeleteRequest, sendDeleteRequestWithResponseCode, sendGetRequest, sendGetRequestWithLinkHeader, sendGetRequestWithResponseCode, sendPatchRequest, sendPostRequest, sendPutRequestVon Schnittstelle geerbte Methoden de.coho04.githubapi.interfaces.JSONHelper
getArrayOrNull, getBooleanOrNull, getIntOrNull, getJSONArrayToStringList, getJSONObjectOrNull, getLocalDateOrNull, getLongOrNull, getStringOrNull
-
Konstruktordetails
-
GHTeam
public GHTeam(org.json.JSONObject jsonObject) Constructs a new GHTeam instance with the provided JSON object.- Parameter:
jsonObject- the JSON object containing the team data
-
-
Methodendetails
-
getTeamByName
Returns a GHTeam instance by team name.- Parameter:
github- the GitHub instancename- the team nameorganisation- the GHOrganisation instance- Gibt zurück:
- the GHTeam instance
-
getDescription
Returns the description of the team.- Gibt zurück:
- the description of the team
-
getMembersUrl
Returns the members URL of the team.- Gibt zurück:
- the members URL of the team
-
getName
Returns the name of the team.- Gibt zurück:
- the name of the team
-
getNotificationSetting
Returns the notification setting of the team.- Gibt zurück:
- the notification setting of the team
-
getParent
Returns the parent team of the team.- Gibt zurück:
- the parent team of the team
-
getPermission
Returns the permission of the team.- Gibt zurück:
- the permission of the team
-
getPrivacy
Returns the privacy of the team.- Gibt zurück:
- the privacy of the team
-
getRepositoriesUrl
Returns the repositories URL of the team.- Gibt zurück:
- the repositories URL of the team
-
getSlug
Returns the slug of the team.- Gibt zurück:
- the slug of the team
-
getCreatedAt
Returns the members count of the team.- Gibt zurück:
- the members count of the team
-
getUpdatedAt
Returns the repos count of the team.- Gibt zurück:
- the repos count of the team
-
getMembersCount
public int getMembersCount()Returns the members count of the team.- Gibt zurück:
- the members count of the team
-
getReposCount
public int getReposCount()Returns the repos count of the team.- Gibt zurück:
- the repos count of the team
-