public class

Notifications

extends Model
java.lang.Object
   ↳ java.util.Observable
     ↳ fm.audiobox.core.models.Model
       ↳ fm.audiobox.core.models.Notifications

Class Overview

Returns a paginated collection of user's Notifications.

Optional request parameters:

page
Number of the page. Default, non-changeable limit is 30 notifications per page.

Summary

Public Constructors
Notifications()
Public Methods
List<Notification> getNotifications()
Gets notifications on this page (see getPage()).
long getPage()
Gets the umber of the page.
static String getPath()
Gets the generic remote resource collection path.
long getTotal()
Gets total notification numbers.
[Expand]
Inherited Methods
From class fm.audiobox.core.models.Model
From class java.util.Observable
From class java.lang.Object

Public Constructors

public Notifications ()

Public Methods

public List<Notification> getNotifications ()

Gets notifications on this page (see getPage()).

Returns
  • the notifications

public long getPage ()

Gets the umber of the page. Default, non-changeable limit is 30 notifications per page.

Returns
  • the actual page

public static String getPath ()

Gets the generic remote resource collection path.

Returns
  • the path

public long getTotal ()

Gets total notification numbers.

Returns
  • the total notification numbers