Class UserProfile

java.lang.Object
com.amilesend.discogs.model.Resource<Long, UserProfile>
com.amilesend.discogs.model.identity.type.UserProfile
Direct Known Subclasses:
EditUserProfileResponse, GetUserProfileResponse

public class UserProfile extends Resource<Long, UserProfile>
Describes a user profile.
See Also:
  • Method Details

    • builder

      public static UserProfile.UserProfileBuilder<?,?> builder()
    • getProfile

      public String getProfile()
      User profile description.
    • getWantListUrl

      public String getWantListUrl()
      The URL to the user's want list.
    • getRank

      public Integer getRank()
      The user's contributor rank stat.
    • getNumPending

      public Integer getNumPending()
      The number of pending transactions.
    • getNumForSale

      public Integer getNumForSale()
      The number of items for sale.
    • getHomePage

      public String getHomePage()
      URL for the user's home page.
    • getLocation

      public String getLocation()
      Description of the user's location.
    • getCollectionFoldersUrl

      public String getCollectionFoldersUrl()
      URL for the user's collection folders.
    • getUsername

      public String getUsername()
      The username .
    • getEmail

      public String getEmail()
      The email if the user profile matches the authenticated user.
    • getCollectionFieldsUrl

      public String getCollectionFieldsUrl()
      URL for the user's collection fields.
    • getReleasesContributed

      public Integer getReleasesContributed()
      The number of contributed releases.
    • getRegistered

      public LocalDateTime getRegistered()
      The user's registration timestamp.
    • getRatingAvg

      public Double getRatingAvg()
      The overage rating.
    • getNumCollection

      public Integer getNumCollection()
      The number of collections if the user profile matches the authenticated user.
    • getName

      public String getName()
      The user's name.
    • getNumWantList

      public Integer getNumWantList()
      The number of items in the user's want list if the user profile matches the authenticated user.
    • getInventoryUrl

      public String getInventoryUrl()
      URL for the user's inventory.
    • getAvatarUrl

      public String getAvatarUrl()
      URL for the user's avatar image.
    • getBannerUrl

      public String getBannerUrl()
      URL for the user's banner image.
    • getUri

      public String getUri()
      URL for the user's profile.
    • getBuyerRating

      public Double getBuyerRating()
      The user's buyer rating.
    • getBuyerRatingStars

      public Integer getBuyerRatingStars()
      The user's star rating.
    • getBuyerNumRatings

      public Integer getBuyerNumRatings()
      The number of total buyer ratings.
    • getSellerRating

      public Double getSellerRating()
      The user's seller rating.
    • getSellerRatingStars

      public Integer getSellerRatingStars()
      The user's seller star rating.
    • getSellerNumRatings

      public Integer getSellerNumRatings()
      The number of total seller ratings.
    • getCurrAbbr

      public String getCurrAbbr()
      The user's configured currency type (e.g., "USD" or "EUR").
    • toString

      public String toString()
      Overrides:
      toString in class Resource<Long, UserProfile>