java.lang.Object
com.patreonshout.patreon.endpoints.objects.User

public class User
extends java.lang.Object
Java Object containing the data we get from OAuth requests to Patreon that we use to turn into a JSON string
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  User.Data
    Java Object containing all the data we get from Patreon's OAuth
    class  User.Links
    Provides the application with a toString() of User.Links that hold the urls of first, prev, next, and last pages if they exist
  • Field Summary

    Fields
    Modifier and Type Field Description
    @NotNull User.Data data
    the Data object that is defined in this class and holds the data returned from the OAuth
    @NotNull User.Links links
    the Links object that is defined in this class and holds the link to itself from the OAuth
  • Constructor Summary

    Constructors
    Constructor Description
    User()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      @NotNull public @NotNull User.Data data
      the Data object that is defined in this class and holds the data returned from the OAuth
  • Constructor Details

    • User

      public User()