Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package scratch;
- import java.util.*;
- import com.google.gson.annotations.*;
- public class Json {
- @SerializedName("blocks")
- @Expose
- private List<block> blocks = new ArrayList<>();
- @SerializedName("active_workers")
- @Expose
- private Integer activeWorkers;
- @SerializedName("round_started")
- @Expose
- private String roundStarted;
- @SerializedName("luck_30")
- @Expose
- private String luck30;
- @SerializedName("shares_cdf")
- @Expose
- private String sharesCdf;
- @SerializedName("luck_b50")
- @Expose
- private String luckB50;
- @SerializedName("luck_b10")
- @Expose
- private String luckB10;
- @SerializedName("active_stratum")
- @Expose
- private Integer activeStratum;
- @SerializedName("ghashes_ps")
- @Expose
- private String ghashesPs;
- @SerializedName("shares")
- @Expose
- private Integer shares;
- @SerializedName("round_duration")
- @Expose
- private String roundDuration;
- @SerializedName("score")
- @Expose
- private String score;
- @SerializedName("luck_b250")
- @Expose
- private String luckB250;
- @SerializedName("luck_7")
- @Expose
- private String luck7;
- @SerializedName("luck_1")
- @Expose
- private String luck1;
- public void currentRound(String blocks, Integer activeWorkers, String roundStarted, String luck30,
- String sharesCdf, String luckB50, String luckB10, Integer activeStratum, String ghashesPs,
- Integer shares, String roundDuration, String score, String luckB250, String luck7, String luck1) {
- this.blocks = blocks;
- this.activeWorkers = activeWorkers;
- this.roundStarted = roundStarted;
- this.luck30 = luck30;
- this.sharesCdf = sharesCdf;
- this.luckB50 = luckB50;
- this.luckB10 = luckB10;
- this.activeStratum = activeStratum;
- this.ghashesPs = ghashesPs;
- this.shares = shares;
- this.roundDuration = roundDuration;
- this.score = score;
- this.luckB250 = luckB250;
- this.luck7 = luck7;
- this.luck1 = luck1;
- }
- public Integer getActiveWorkers() {
- return activeWorkers;
- }
- public String getRoundStarted() {
- return roundStarted;
- }
- public String getLuck30() {
- return luck30;
- }
- public String getSharesCdf() {
- return sharesCdf;
- }
- public String getLuckB50() {
- return luckB50;
- }
- public String getLuckB10() {
- return luckB10;
- }
- public Integer getActiveStratum() {
- return activeStratum;
- }
- public String getGhashesPs() {
- return ghashesPs;
- }
- public Integer getShares() {
- return shares;
- }
- public String getRoundDuration() {
- return roundDuration;
- }
- public String getScore() {
- return score;
- }
- public String getLuckB250() {
- return luckB250;
- }
- public String getLuck7() {
- return luck7;
- }
- public String getLuck1() {
- return luck1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement