Class TcdWebApiPerson
java.lang.Object
io.github.thecsdev.tcdcommons.util.io.http.TcdWebApiPerson
Similar to Fabric loader's
Person
, but with extra features.-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
Represents the "contact information" of a givenTcdWebApiPerson
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal @Nullable URL
Returns theURL
of the "avatar image" or "profile picture" assigned to the person.ReturnsTcdWebApiPerson.TcdContactInformation
containing the person's contact information such as links.final com.google.gson.JsonObject
getJson()
Returns theJsonObject
for this object.final String
getName()
Returns the person's name.
-
Constructor Details
-
TcdWebApiPerson
- Throws:
IOException
-
-
Method Details
-
getJson
public final com.google.gson.JsonObject getJson()Returns theJsonObject
for this object. -
getName
Returns the person's name. -
getAvatarUrl
Returns theURL
of the "avatar image" or "profile picture" assigned to the person. -
getContact
ReturnsTcdWebApiPerson.TcdContactInformation
containing the person's contact information such as links.
-