freesound-juce
A JUCE client for accessing the Freesound API
Public Member Functions | Public Attributes | List of all members
FSUser Class Reference

A class which represents a Freesound user and its information. More...

#include <FreesoundAPI.h>

Public Member Functions

 FSUser ()
 Default constructor, creates an empy User object. More...
 
 FSUser (var user)
 Constructor from the response of a user instance request. More...
 

Public Attributes

URL profile
 The URL of the user profile in Freesound.
 
String username
 The username.
 
String about
 The ‘about’ text of users’ profile (if indicated)
 
URL homepage
 The URI of users’ homepage outside Freesound (if indicated)
 
var avatar
 Dictionary including the URIs for the avatar of the user. The avatar is presented in three sizes Small, Medium and Large, which correspond to the three fields in the dictionary. If user has no avatar, this field is null.
 
String dateJoined
 The date when the user joined Freesound.
 
int numSounds
 Number of sounds uploaded by the user.
 
URL sounds
 The URI for a list of sounds by the user.
 
int numPacks
 The number of packs by the user.
 
URL packs
 The URI for a list of packs by the user.
 
int numPosts
 The number of forum posts by the user.
 
int numComments
 The number of comments that user made in other users’ sounds.
 
URL bookmarks
 The URI for a list of bookmark categories by the user.
 

Detailed Description

A class which represents a Freesound user and its information.

Author
Antonio
Date
09/07/2019

Constructor & Destructor Documentation

◆ FSUser() [1/2]

FSUser::FSUser ( )

Default constructor, creates an empy User object.

Author
Antonio
Date
09/07/2019

◆ FSUser() [2/2]

FSUser::FSUser ( var  user)

Constructor from the response of a user instance request.

Author
Antonio
Date
09/07/2019
Parameters
userThe response of a user instance request.

The documentation for this class was generated from the following files: