Skip to content

Commit 0f766b7

Browse files
committed
refractor utils+models into more representative packages
1 parent c764e4e commit 0f766b7

File tree

114 files changed

+1857
-1855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1857
-1855
lines changed

docs/allclasses-frame.html

Lines changed: 63 additions & 64 deletions
Large diffs are not rendered by default.

docs/allclasses-noframe.html

Lines changed: 63 additions & 64 deletions
Large diffs are not rendered by default.

docs/com/adamratzman/spotify/endpoints/client/ClientFollowingAPI.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Feb 21 10:02:32 EST 2019 -->
5+
<!-- Generated by javadoc (1.8.0_211) on Fri May 03 18:09:59 EDT 2019 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
77
<title>ClientFollowingAPI</title>
8-
<meta name="date" content="2019-02-21">
8+
<meta name="date" content="2019-05-03">
99
<meta name="keywords" content="com.adamratzman.spotify.endpoints.client.ClientFollowingAPI class">
1010
<meta name="keywords" content="isFollowingUser()">
1111
<meta name="keywords" content="isFollowingPlaylist()">
@@ -203,7 +203,7 @@ <h3>Method Summary</h3>
203203
</td>
204204
</tr>
205205
<tr id="i5" class="rowColor">
206-
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.Artist,com.adamratzman.spotify.utils.CursorBasedPagingObject&gt;</code></td>
206+
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.Artist,com.adamratzman.spotify.models.CursorBasedPagingObject&gt;</code></td>
207207
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/adamratzman/spotify/endpoints/client/ClientFollowingAPI.html#getFollowedArtists-limit-after-">getFollowedArtists</a></span>(java.lang.Integer&nbsp;limit,
208208
java.lang.String&nbsp;after)</code>
209209
<div class="block">Get the current user’s followed artists.</div>
@@ -279,11 +279,11 @@ <h3>Methods inherited from class&nbsp;com.adamratzman.spotify.endpoints.public.<
279279
<code><a href="../../../../../com/adamratzman/spotify/endpoints/public/FollowingAPI.html#areFollowingPlaylist-playlistOwner-playlist-users-">areFollowingPlaylist</a>, <a href="../../../../../com/adamratzman/spotify/endpoints/public/FollowingAPI.html#isFollowingPlaylist-playlistOwner-playlist-user-">isFollowingPlaylist</a></code></li>
280280
</ul>
281281
<ul class="blockList">
282-
<li class="blockList"><a name="methods.inherited.from.class.com.adamratzman.spotify.utils.SpotifyEndpoint">
282+
<li class="blockList"><a name="methods.inherited.from.class.com.adamratzman.spotify.http.SpotifyEndpoint">
283283
<!-- -->
284284
</a>
285-
<h3>Methods inherited from class&nbsp;com.adamratzman.spotify.utils.<a href="../../../../../com/adamratzman/spotify/utils/SpotifyEndpoint.html" title="class in com.adamratzman.spotify.utils">SpotifyEndpoint</a></h3>
286-
<code><a href="../../../../../com/adamratzman/spotify/utils/SpotifyEndpoint.html#getApi--">getApi</a></code></li>
285+
<h3>Methods inherited from class&nbsp;com.adamratzman.spotify.http.<a href="../../../../../com/adamratzman/spotify/http/SpotifyEndpoint.html" title="class in com.adamratzman.spotify.http">SpotifyEndpoint</a></h3>
286+
<code><a href="../../../../../com/adamratzman/spotify/http/SpotifyEndpoint.html#getApi--">getApi</a></code></li>
287287
</ul>
288288
</li>
289289
</ul>
@@ -407,13 +407,13 @@ <h4>isFollowingArtists</h4>
407407
<ul class="blockList">
408408
<li class="blockList">
409409
<h4>getFollowedArtists</h4>
410-
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.Artist,com.adamratzman.spotify.utils.CursorBasedPagingObject&gt;&nbsp;getFollowedArtists(java.lang.Integer&nbsp;limit,
411-
java.lang.String&nbsp;after)</pre>
410+
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.Artist,com.adamratzman.spotify.models.CursorBasedPagingObject&gt;&nbsp;getFollowedArtists(java.lang.Integer&nbsp;limit,
411+
java.lang.String&nbsp;after)</pre>
412412
<div class="block"><p><p>Get the current user’s followed artists.</p></p></div>
413413
<dl>
414414
<dt><span class="returnLabel">Returns:</span></dt>
415-
<dd><a href="../../../../../com/adamratzman/spotify/utils/CursorBasedPagingObject.html" title="class in com.adamratzman.spotify.utils"><code>class CursorBasedPagingObject</code></a> (<a href="https://github.com/adamint/spotify-web-api-kotlin/blob/master/README.md#the-benefits-of-linkedresults-pagingobjects-and-cursor-based-paging-objects">Information about them</a>
416-
with full <a href="../../../../../com/adamratzman/spotify/utils/Artist.html" title="class in com.adamratzman.spotify.utils"><code>class Artist</code></a> objects</dd>
415+
<dd><a href="../../../../../com/adamratzman/spotify/models/CursorBasedPagingObject.html" title="class in com.adamratzman.spotify.models"><code>class CursorBasedPagingObject</code></a> (<a href="https://github.com/adamint/spotify-web-api-kotlin/blob/master/README.md#the-benefits-of-linkedresults-pagingobjects-and-cursor-based-paging-objects">Information about them</a>
416+
with full <a href="../../../../../com/adamratzman/spotify/models/Artist.html" title="class in com.adamratzman.spotify.models"><code>class Artist</code></a> objects</dd>
417417
</dl>
418418
</li>
419419
</ul>

docs/com/adamratzman/spotify/endpoints/client/ClientLibraryAPI.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Feb 21 10:02:32 EST 2019 -->
5+
<!-- Generated by javadoc (1.8.0_211) on Fri May 03 18:09:59 EDT 2019 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
77
<title>ClientLibraryAPI</title>
8-
<meta name="date" content="2019-02-21">
8+
<meta name="date" content="2019-05-03">
99
<meta name="keywords" content="com.adamratzman.spotify.endpoints.client.ClientLibraryAPI class">
1010
<meta name="keywords" content="getSavedTracks()">
1111
<meta name="keywords" content="getSavedAlbums()">
@@ -184,18 +184,18 @@ <h3>Method Summary</h3>
184184
</td>
185185
</tr>
186186
<tr id="i4" class="altColor">
187-
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.SavedAlbum,com.adamratzman.spotify.utils.PagingObject&gt;</code></td>
187+
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.SavedAlbum,com.adamratzman.spotify.models.PagingObject&gt;</code></td>
188188
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/adamratzman/spotify/endpoints/client/ClientLibraryAPI.html#getSavedAlbums-limit-offset-market-">getSavedAlbums</a></span>(java.lang.Integer&nbsp;limit,
189189
java.lang.Integer&nbsp;offset,
190-
<a href="../../../../../com/adamratzman/spotify/utils/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</code>
190+
<a href="../../../../../com/adamratzman/spotify/models/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</code>
191191
<div class="block">Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.</div>
192192
</td>
193193
</tr>
194194
<tr id="i5" class="rowColor">
195-
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.SavedTrack,com.adamratzman.spotify.utils.PagingObject&gt;</code></td>
195+
<td class="colFirst"><code><a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.SavedTrack,com.adamratzman.spotify.models.PagingObject&gt;</code></td>
196196
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/adamratzman/spotify/endpoints/client/ClientLibraryAPI.html#getSavedTracks-limit-offset-market-">getSavedTracks</a></span>(java.lang.Integer&nbsp;limit,
197197
java.lang.Integer&nbsp;offset,
198-
<a href="../../../../../com/adamratzman/spotify/utils/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</code>
198+
<a href="../../../../../com/adamratzman/spotify/models/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</code>
199199
<div class="block">Get a list of the songs saved in the current Spotify user’s ‘Your Music’ library.</div>
200200
</td>
201201
</tr>
@@ -215,11 +215,11 @@ <h3>Method Summary</h3>
215215
</tr>
216216
</table>
217217
<ul class="blockList">
218-
<li class="blockList"><a name="methods.inherited.from.class.com.adamratzman.spotify.utils.SpotifyEndpoint">
218+
<li class="blockList"><a name="methods.inherited.from.class.com.adamratzman.spotify.http.SpotifyEndpoint">
219219
<!-- -->
220220
</a>
221-
<h3>Methods inherited from class&nbsp;com.adamratzman.spotify.utils.<a href="../../../../../com/adamratzman/spotify/utils/SpotifyEndpoint.html" title="class in com.adamratzman.spotify.utils">SpotifyEndpoint</a></h3>
222-
<code><a href="../../../../../com/adamratzman/spotify/utils/SpotifyEndpoint.html#getApi--">getApi</a></code></li>
221+
<h3>Methods inherited from class&nbsp;com.adamratzman.spotify.http.<a href="../../../../../com/adamratzman/spotify/http/SpotifyEndpoint.html" title="class in com.adamratzman.spotify.http">SpotifyEndpoint</a></h3>
222+
<code><a href="../../../../../com/adamratzman/spotify/http/SpotifyEndpoint.html#getApi--">getApi</a></code></li>
223223
</ul>
224224
</li>
225225
</ul>
@@ -259,9 +259,9 @@ <h3>Method Detail</h3>
259259
<ul class="blockList">
260260
<li class="blockList">
261261
<h4>getSavedTracks</h4>
262-
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.SavedTrack,com.adamratzman.spotify.utils.PagingObject&gt;&nbsp;getSavedTracks(java.lang.Integer&nbsp;limit,
263-
java.lang.Integer&nbsp;offset,
264-
<a href="../../../../../com/adamratzman/spotify/utils/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</pre>
262+
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.SavedTrack,com.adamratzman.spotify.models.PagingObject&gt;&nbsp;getSavedTracks(java.lang.Integer&nbsp;limit,
263+
java.lang.Integer&nbsp;offset,
264+
<a href="../../../../../com/adamratzman/spotify/models/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</pre>
265265
<div class="block"><p><p>Get a list of the songs saved in the current Spotify user’s ‘Your Music’ library.</p></p></div>
266266
<dl>
267267
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -270,7 +270,7 @@ <h4>getSavedTracks</h4>
270270
<dd><code>market</code> - Provide this parameter if you want the list of returned items to be relevant to a particular country.
271271
If omitted, the returned items will be relevant to all countries.</dd>
272272
<dt><span class="returnLabel">Returns:</span></dt>
273-
<dd>Paging Object of <a href="../../../../../com/adamratzman/spotify/utils/SavedTrack.html" title="class in com.adamratzman.spotify.utils"><code>class SavedTrack</code></a> ordered by position in library</dd>
273+
<dd>Paging Object of <a href="../../../../../com/adamratzman/spotify/models/SavedTrack.html" title="class in com.adamratzman.spotify.models"><code>class SavedTrack</code></a> ordered by position in library</dd>
274274
</dl>
275275
</li>
276276
</ul>
@@ -280,9 +280,9 @@ <h4>getSavedTracks</h4>
280280
<ul class="blockList">
281281
<li class="blockList">
282282
<h4>getSavedAlbums</h4>
283-
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.utils.SavedAlbum,com.adamratzman.spotify.utils.PagingObject&gt;&nbsp;getSavedAlbums(java.lang.Integer&nbsp;limit,
284-
java.lang.Integer&nbsp;offset,
285-
<a href="../../../../../com/adamratzman/spotify/utils/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</pre>
283+
<pre>public&nbsp;<a href="../../../../../com/adamratzman/spotify/main/SpotifyRestActionPaging.html" title="type parameter in SpotifyRestActionPaging">SpotifyRestActionPaging</a>&lt;com.adamratzman.spotify.models.SavedAlbum,com.adamratzman.spotify.models.PagingObject&gt;&nbsp;getSavedAlbums(java.lang.Integer&nbsp;limit,
284+
java.lang.Integer&nbsp;offset,
285+
<a href="../../../../../com/adamratzman/spotify/models/Market.html" title="type parameter in Market">Market</a>&nbsp;market)</pre>
286286
<div class="block"><p><p>Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.</p></p></div>
287287
<dl>
288288
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -291,7 +291,7 @@ <h4>getSavedAlbums</h4>
291291
<dd><code>market</code> - Provide this parameter if you want the list of returned items to be relevant to a particular country.
292292
If omitted, the returned items will be relevant to all countries.</dd>
293293
<dt><span class="returnLabel">Returns:</span></dt>
294-
<dd>Paging Object of <a href="../../../../../com/adamratzman/spotify/utils/SavedAlbum.html" title="class in com.adamratzman.spotify.utils"><code>class SavedAlbum</code></a> ordered by position in library</dd>
294+
<dd>Paging Object of <a href="../../../../../com/adamratzman/spotify/models/SavedAlbum.html" title="class in com.adamratzman.spotify.models"><code>class SavedAlbum</code></a> ordered by position in library</dd>
295295
</dl>
296296
</li>
297297
</ul>

docs/com/adamratzman/spotify/endpoints/client/ClientPersonalizationAPI.TimeRange.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Feb 21 10:02:32 EST 2019 -->
5+
<!-- Generated by javadoc (1.8.0_211) on Fri May 03 18:09:59 EDT 2019 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
77
<title>ClientPersonalizationAPI.TimeRange</title>
8-
<meta name="date" content="2019-02-21">
8+
<meta name="date" content="2019-05-03">
99
<meta name="keywords" content="com.adamratzman.spotify.endpoints.client.ClientPersonalizationAPI.TimeRange class">
1010
<meta name="keywords" content="toString()">
1111
<meta name="keywords" content="getId()">

0 commit comments

Comments
 (0)