Class | MusicBrainz::Model::Collection |
In: |
lib/rbrainz/model/collection.rb
|
Parent: | Object |
A Collection is a list of models.
A collection object may only store an extract of the complete data available on the server. This is especially the case if the limit or offset filter was used in the query. The collection object makes the total number of elements on the server and the current offset available with the count respective the offset parameter.
count | [RW] | Returns the total number of elements for that collection on the server. |
offset | [RW] | Returns the position at which this collection starts. Used for paging through more than one page of results. |
Create a new collection object.
The count and offset parameters should be set according to the values returned by the server.