com.github.kaisle.data.ReplayResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DotA2-Wrapper Show documentation
Show all versions of DotA2-Wrapper Show documentation
A wrapper for the DotA2 WebAPI written in Java.
package com.github.kaisle.data;
/**
* Created by Anders Borum on 03-06-2015.
*/
public class ReplayResponse {
private String replaySalt;
private boolean available;
private String cluster;
private String match_id;
public ReplayResponse(String replaySalt, boolean available) {
this.replaySalt = replaySalt;
this.available = available;
}
public ReplayResponse(String replaySalt, boolean available, String cluster,
String match_id) {
super();
this.replaySalt = replaySalt;
this.available = available;
this.cluster = cluster;
this.match_id = match_id;
}
public String getCluster() {
return cluster;
}
public void setCluster(String cluster) {
this.cluster = cluster;
}
public String getMatch_id() {
return match_id;
}
public void setMatch_id(String match_id) {
this.match_id = match_id;
}
public String getReplaySalt() {
return replaySalt;
}
public void setReplaySalt(String replaySalt) {
this.replaySalt = replaySalt;
}
public boolean isAvailable() {
return available;
}
public void setAvailable(boolean available) {
this.available = available;
}
@Override
public String toString() {
return "ReplayResponse{" +
"replaySalt='" + replaySalt + '\'' +
", available=" + available +
", cluster='" + cluster + '\'' +
", match_id='" + match_id + '\'' +
'}';
}
}