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

A class which implements the Pack instance. More...

#include <FreesoundAPI.h>

Public Member Functions

 FSPack ()
 Default constructor, creates an empty Pack object. More...
 
 FSPack (var pack)
 Constructor from the response of a pack instance request. More...
 
String getID ()
 Gets the identifier of the pack. More...
 

Public Attributes

String id
 The unique identifier of this pack.
 
URL url
 The URI for this pack on the Freesound website.
 
String description
 The URI for this pack on the Freesound website.
 
String created
 The date when the pack was created.
 
String name
 The name user gave to the pack.
 
String username
 Username of the creator of the pack.
 
int numSounds
 The number of sounds in the pack.
 
URL sounds
 The URI for a list of sounds in the pack.
 
int numDownloads
 The number of times this pack has been downloaded.
 

Detailed Description

A class which implements the Pack instance.

Author
Antonio
Date
09/07/2019

Constructor & Destructor Documentation

◆ FSPack() [1/2]

FSPack::FSPack ( )

Default constructor, creates an empty Pack object.

Author
Antonio
Date
09/07/2019

◆ FSPack() [2/2]

FSPack::FSPack ( var  pack)

Constructor from the response of a pack instance request.

Author
Antonio
Date
09/07/2019
Parameters
packThe response of a pack instance request.

Member Function Documentation

◆ getID()

String FSPack::getID ( )

Gets the identifier of the pack.

Author
Antonio
Date
09/07/2019
Returns
The unique identifier of this pack.

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