Package cc.carm.lib.githubreleases4j
Class GithubUser
- java.lang.Object
-
- cc.carm.lib.githubreleases4j.GithubUser
-
public class GithubUser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.String
getAvatarURL()
protected @NotNull org.json.JSONObject
getContents()
@NotNull java.lang.String
getEventsURL()
@NotNull java.lang.String
getEventsURL(java.lang.String privacy)
@NotNull java.lang.String
getFollowersURL()
@NotNull java.lang.String
getFollowingURL()
@NotNull java.lang.String
getFollowingURL(@NotNull java.lang.String otherUsername)
@NotNull java.lang.String
getGistsURL()
@NotNull java.lang.String
getGistsURL(int gistID)
@Nullable java.lang.String
getGravatarID()
int
getID()
@NotNull java.lang.String
getLoginID()
@NotNull java.lang.String
getNodeID()
@NotNull java.lang.String
getOrganizationsURL()
@NotNull java.lang.String
getProfileURL()
@NotNull java.lang.String
getReceivedEventsURL()
@NotNull java.lang.String
getReposURL()
@NotNull java.lang.String
getStarredURL()
@NotNull java.lang.String
getStarredURL(@NotNull java.lang.String owner, @NotNull java.lang.String repo)
@NotNull java.lang.String
getSubscriptionsURL()
@NotNull java.lang.String
getType()
@NotNull java.lang.String
getURL()
boolean
isSiteAdmin()
protected static GithubUser
of(@NotNull org.json.JSONObject contents)
java.lang.String
toString()
-
-
-
Method Detail
-
of
protected static GithubUser of(@NotNull @NotNull org.json.JSONObject contents)
-
getContents
@NotNull protected @NotNull org.json.JSONObject getContents()
-
getID
public int getID()
-
getLoginID
@NotNull public @NotNull java.lang.String getLoginID()
-
getNodeID
@NotNull public @NotNull java.lang.String getNodeID()
-
getAvatarURL
@Nullable public @Nullable java.lang.String getAvatarURL()
-
getGravatarID
@Nullable public @Nullable java.lang.String getGravatarID()
-
getURL
@NotNull public @NotNull java.lang.String getURL()
-
getProfileURL
@NotNull public @NotNull java.lang.String getProfileURL()
-
getFollowersURL
@NotNull public @NotNull java.lang.String getFollowersURL()
-
getFollowingURL
@NotNull public @NotNull java.lang.String getFollowingURL()
-
getFollowingURL
@NotNull public @NotNull java.lang.String getFollowingURL(@NotNull @NotNull java.lang.String otherUsername)
-
getGistsURL
@NotNull public @NotNull java.lang.String getGistsURL()
-
getGistsURL
@NotNull public @NotNull java.lang.String getGistsURL(int gistID)
-
getStarredURL
@NotNull public @NotNull java.lang.String getStarredURL()
-
getStarredURL
@NotNull public @NotNull java.lang.String getStarredURL(@NotNull @NotNull java.lang.String owner, @NotNull @NotNull java.lang.String repo)
-
getSubscriptionsURL
@NotNull public @NotNull java.lang.String getSubscriptionsURL()
-
getOrganizationsURL
@NotNull public @NotNull java.lang.String getOrganizationsURL()
-
getReposURL
@NotNull public @NotNull java.lang.String getReposURL()
-
getEventsURL
@NotNull public @NotNull java.lang.String getEventsURL()
-
getEventsURL
@NotNull public @NotNull java.lang.String getEventsURL(java.lang.String privacy)
-
getReceivedEventsURL
@NotNull public @NotNull java.lang.String getReceivedEventsURL()
-
getType
@NotNull public @NotNull java.lang.String getType()
-
isSiteAdmin
public boolean isSiteAdmin()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-