com.lukaspradel.steamapi.data.json.getplayerbans.Player Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of steam-web-api Show documentation
Show all versions of steam-web-api Show documentation
A library to provide access to the data available from Valve's Steam API
package com.lukaspradel.steamapi.data.json.getplayerbans;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"CommunityBanned",
"DaysSinceLastBan",
"EconomyBan",
"NumberOfVACBans",
"SteamId",
"VACBanned"
})
public class Player {
/**
*
*/
@JsonProperty("CommunityBanned")
private Boolean CommunityBanned;
/**
*
*/
@JsonProperty("DaysSinceLastBan")
private Integer DaysSinceLastBan;
/**
*
*/
@JsonProperty("EconomyBan")
private String EconomyBan;
/**
*
*/
@JsonProperty("NumberOfVACBans")
private Integer NumberOfVACBans;
/**
*
*/
@JsonProperty("SteamId")
private String SteamId;
/**
*
*/
@JsonProperty("VACBanned")
private Boolean VACBanned;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
*
* @return
* The CommunityBanned
*/
@JsonProperty("CommunityBanned")
public Boolean getCommunityBanned() {
return CommunityBanned;
}
/**
*
* @param CommunityBanned
* The CommunityBanned
*/
@JsonProperty("CommunityBanned")
public void setCommunityBanned(Boolean CommunityBanned) {
this.CommunityBanned = CommunityBanned;
}
public Player withCommunityBanned(Boolean CommunityBanned) {
this.CommunityBanned = CommunityBanned;
return this;
}
/**
*
* @return
* The DaysSinceLastBan
*/
@JsonProperty("DaysSinceLastBan")
public Integer getDaysSinceLastBan() {
return DaysSinceLastBan;
}
/**
*
* @param DaysSinceLastBan
* The DaysSinceLastBan
*/
@JsonProperty("DaysSinceLastBan")
public void setDaysSinceLastBan(Integer DaysSinceLastBan) {
this.DaysSinceLastBan = DaysSinceLastBan;
}
public Player withDaysSinceLastBan(Integer DaysSinceLastBan) {
this.DaysSinceLastBan = DaysSinceLastBan;
return this;
}
/**
*
* @return
* The EconomyBan
*/
@JsonProperty("EconomyBan")
public String getEconomyBan() {
return EconomyBan;
}
/**
*
* @param EconomyBan
* The EconomyBan
*/
@JsonProperty("EconomyBan")
public void setEconomyBan(String EconomyBan) {
this.EconomyBan = EconomyBan;
}
public Player withEconomyBan(String EconomyBan) {
this.EconomyBan = EconomyBan;
return this;
}
/**
*
* @return
* The NumberOfVACBans
*/
@JsonProperty("NumberOfVACBans")
public Integer getNumberOfVACBans() {
return NumberOfVACBans;
}
/**
*
* @param NumberOfVACBans
* The NumberOfVACBans
*/
@JsonProperty("NumberOfVACBans")
public void setNumberOfVACBans(Integer NumberOfVACBans) {
this.NumberOfVACBans = NumberOfVACBans;
}
public Player withNumberOfVACBans(Integer NumberOfVACBans) {
this.NumberOfVACBans = NumberOfVACBans;
return this;
}
/**
*
* @return
* The SteamId
*/
@JsonProperty("SteamId")
public String getSteamId() {
return SteamId;
}
/**
*
* @param SteamId
* The SteamId
*/
@JsonProperty("SteamId")
public void setSteamId(String SteamId) {
this.SteamId = SteamId;
}
public Player withSteamId(String SteamId) {
this.SteamId = SteamId;
return this;
}
/**
*
* @return
* The VACBanned
*/
@JsonProperty("VACBanned")
public Boolean getVACBanned() {
return VACBanned;
}
/**
*
* @param VACBanned
* The VACBanned
*/
@JsonProperty("VACBanned")
public void setVACBanned(Boolean VACBanned) {
this.VACBanned = VACBanned;
}
public Player withVACBanned(Boolean VACBanned) {
this.VACBanned = VACBanned;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public Player withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(CommunityBanned).append(DaysSinceLastBan).append(EconomyBan).append(NumberOfVACBans).append(SteamId).append(VACBanned).append(additionalProperties).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Player) == false) {
return false;
}
Player rhs = ((Player) other);
return new EqualsBuilder().append(CommunityBanned, rhs.CommunityBanned).append(DaysSinceLastBan, rhs.DaysSinceLastBan).append(EconomyBan, rhs.EconomyBan).append(NumberOfVACBans, rhs.NumberOfVACBans).append(SteamId, rhs.SteamId).append(VACBanned, rhs.VACBanned).append(additionalProperties, rhs.additionalProperties).isEquals();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy