-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding graphs API & improving look of links
- Loading branch information
Showing
5 changed files
with
109 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package io.itch.api.responses; | ||
|
||
import io.itch.models.GraphPoint; | ||
|
||
import java.util.List; | ||
|
||
public class GraphsResponse { | ||
|
||
private List<GraphPoint> purchases; | ||
private List<GraphPoint> views; | ||
private List<GraphPoint> downloads; | ||
|
||
public List<GraphPoint> getPurchases() { | ||
return purchases; | ||
} | ||
|
||
public void setPurchases(List<GraphPoint> purchases) { | ||
this.purchases = purchases; | ||
} | ||
|
||
public List<GraphPoint> getViews() { | ||
return views; | ||
} | ||
|
||
public void setViews(List<GraphPoint> views) { | ||
this.views = views; | ||
} | ||
|
||
public List<GraphPoint> getDownloads() { | ||
return downloads; | ||
} | ||
|
||
public void setDownloads(List<GraphPoint> downloads) { | ||
this.downloads = downloads; | ||
} | ||
|
||
} |
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,25 @@ | ||
package io.itch.models; | ||
|
||
|
||
public class GraphPoint { | ||
|
||
private String date; | ||
private Integer count; | ||
|
||
public String getDate() { | ||
return date; | ||
} | ||
|
||
public void setDate(String date) { | ||
this.date = date; | ||
} | ||
|
||
public Integer getCount() { | ||
return count; | ||
} | ||
|
||
public void setCount(Integer count) { | ||
this.count = count; | ||
} | ||
|
||
} |