com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamBanStatus Maven / Gradle / Ivy
/*
* Copyright (c) 2022 Asynchronous Game Query Library
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ibasco.agql.protocols.valve.steam.webapi.pojos;
import com.google.gson.annotations.SerializedName;
/**
* Created by raffy on 10/27/2016.
*
* @author Rafael Luis Ibasco
*/
public class SteamBanStatus {
@SerializedName("SteamId")
private String steamId;
@SerializedName("CommunityBanned")
private boolean communityBanned;
@SerializedName("VACBanned")
private boolean vacBanned;
@SerializedName("NumberOfVACBans")
private int totalVacBansOnRecord;
@SerializedName("DaysSinceLastBan")
private int totalDaysSinceLastBan;
@SerializedName("NumberOfGameBans")
private int totalGameBans;
@SerializedName("EconomyBan")
private String economyBan;
/**
* getSteamIdAsLong.
*
* @return a long
*/
public long getSteamIdAsLong() {
return Long.valueOf(steamId);
}
/**
* Getter for the field steamId
.
*
* @return a {@link java.lang.String} object
*/
public String getSteamId() {
return steamId;
}
/**
* Setter for the field steamId
.
*
* @param steamId
* a {@link java.lang.String} object
*/
public void setSteamId(String steamId) {
this.steamId = steamId;
}
/**
* isCommunityBanned.
*
* @return a boolean
*/
public boolean isCommunityBanned() {
return communityBanned;
}
/**
* Setter for the field communityBanned
.
*
* @param communityBanned
* a boolean
*/
public void setCommunityBanned(boolean communityBanned) {
this.communityBanned = communityBanned;
}
/**
* isVacBanned.
*
* @return a boolean
*/
public boolean isVacBanned() {
return vacBanned;
}
/**
* Setter for the field vacBanned
.
*
* @param vacBanned
* a boolean
*/
public void setVacBanned(boolean vacBanned) {
this.vacBanned = vacBanned;
}
/**
* Getter for the field totalVacBansOnRecord
.
*
* @return a int
*/
public int getTotalVacBansOnRecord() {
return totalVacBansOnRecord;
}
/**
* Setter for the field totalVacBansOnRecord
.
*
* @param totalVacBansOnRecord
* a int
*/
public void setTotalVacBansOnRecord(int totalVacBansOnRecord) {
this.totalVacBansOnRecord = totalVacBansOnRecord;
}
/**
* Getter for the field totalDaysSinceLastBan
.
*
* @return a int
*/
public int getTotalDaysSinceLastBan() {
return totalDaysSinceLastBan;
}
/**
* Setter for the field totalDaysSinceLastBan
.
*
* @param totalDaysSinceLastBan
* a int
*/
public void setTotalDaysSinceLastBan(int totalDaysSinceLastBan) {
this.totalDaysSinceLastBan = totalDaysSinceLastBan;
}
/**
* Getter for the field totalGameBans
.
*
* @return a int
*/
public int getTotalGameBans() {
return totalGameBans;
}
/**
* Setter for the field totalGameBans
.
*
* @param totalGameBans
* a int
*/
public void setTotalGameBans(int totalGameBans) {
this.totalGameBans = totalGameBans;
}
/**
* Getter for the field economyBan
.
*
* @return a {@link java.lang.String} object
*/
public String getEconomyBan() {
return economyBan;
}
/**
* Setter for the field economyBan
.
*
* @param economyBan
* a {@link java.lang.String} object
*/
public void setEconomyBan(String economyBan) {
this.economyBan = economyBan;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy