forked from daneren2005/Subsonic
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
app/src/main/java/github/daneren2005/dsub/domain/Scrobble.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package github.daneren2005.dsub.domain; | ||
|
||
public class Scrobble { | ||
private final String serverKey; | ||
private final String serverId; | ||
private final long time; | ||
private final boolean isSubmission; | ||
|
||
public Scrobble(String serverKey, String serverId, long time, boolean isSubmission) { | ||
this.serverKey = serverKey; | ||
this.serverId = serverId; | ||
this.time = time; | ||
this.isSubmission = isSubmission; | ||
} | ||
|
||
|
||
public String getServerKey() { | ||
return serverKey; | ||
} | ||
|
||
public String getServerId() { | ||
return serverId; | ||
} | ||
|
||
public long getTime() { | ||
return time; | ||
} | ||
|
||
public boolean isSubmission() { | ||
return isSubmission; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters