Package me.memerator.api.object
Class UserIntegrations
java.lang.Object
me.memerator.api.object.UserIntegrations
public class UserIntegrations extends Object
-
Constructor Summary
Constructors Constructor Description UserIntegrations(org.json.JSONObject items) -
Method Summary
Modifier and Type Method Description List<Object>getAppleIntegrations()List<Object>getDiscordIntegrations()List<Object>getGoogleIntegrations()List<Object>getMinecraftIntegrations()booleanhasAppleIntegrations()booleanhasDiscordIntegrations()booleanhasGoogleIntegrations()booleanhasMinecraftIntegrations()
-
Constructor Details
-
UserIntegrations
public UserIntegrations(org.json.JSONObject items)
-
-
Method Details
-
hasDiscordIntegrations
public boolean hasDiscordIntegrations()- Returns:
- whether this user has any Discord integrations
-
getDiscordIntegrations
- Returns:
- this user's Discord integrations, empty list if none
-
hasGoogleIntegrations
public boolean hasGoogleIntegrations()- Returns:
- whether this user has any Google integrations
-
getGoogleIntegrations
- Returns:
- this user's Google integrations, empty list if none
-
hasAppleIntegrations
public boolean hasAppleIntegrations()- Returns:
- whether this user has any Apple integrations
-
getAppleIntegrations
- Returns:
- this user's Discord integrations, empty list if none
-
hasMinecraftIntegrations
public boolean hasMinecraftIntegrations()- Returns:
- whether this user has any Discord integrations
-
getMinecraftIntegrations
- Returns:
- this user's Discord integrations, empty list if none
-