com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamGameServer 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;
/**
* Created by raffy on 10/26/2016.
*
* @author Rafael Luis Ibasco
*/
public class SteamGameServer {
private String addr;
private int gmxindex;
private int appId;
private String gameDir;
private int region;
private boolean secure;
private boolean lan;
private int gameport;
private int specport;
/**
* Getter for the field addr
.
*
* @return a {@link java.lang.String} object
*/
public String getAddr() {
return addr;
}
/**
* Setter for the field addr
.
*
* @param addr
* a {@link java.lang.String} object
*/
public void setAddr(String addr) {
this.addr = addr;
}
/**
* Getter for the field gmxindex
.
*
* @return a int
*/
public int getGmxindex() {
return gmxindex;
}
/**
* Setter for the field gmxindex
.
*
* @param gmxindex
* a int
*/
public void setGmxindex(int gmxindex) {
this.gmxindex = gmxindex;
}
/**
* Getter for the field appId
.
*
* @return a int
*/
public int getAppId() {
return appId;
}
/**
* Setter for the field appId
.
*
* @param appId
* a int
*/
public void setAppId(int appId) {
this.appId = appId;
}
/**
* Getter for the field gameDir
.
*
* @return a {@link java.lang.String} object
*/
public String getGameDir() {
return gameDir;
}
/**
* Setter for the field gameDir
.
*
* @param gameDir
* a {@link java.lang.String} object
*/
public void setGameDir(String gameDir) {
this.gameDir = gameDir;
}
/**
* Getter for the field region
.
*
* @return a int
*/
public int getRegion() {
return region;
}
/**
* Setter for the field region
.
*
* @param region
* a int
*/
public void setRegion(int region) {
this.region = region;
}
/**
* isSecure.
*
* @return a boolean
*/
public boolean isSecure() {
return secure;
}
/**
* Setter for the field secure
.
*
* @param secure
* a boolean
*/
public void setSecure(boolean secure) {
this.secure = secure;
}
/**
* isLan.
*
* @return a boolean
*/
public boolean isLan() {
return lan;
}
/**
* Setter for the field lan
.
*
* @param lan
* a boolean
*/
public void setLan(boolean lan) {
this.lan = lan;
}
/**
* Getter for the field gameport
.
*
* @return a int
*/
public int getGameport() {
return gameport;
}
/**
* Setter for the field gameport
.
*
* @param gameport
* a int
*/
public void setGameport(int gameport) {
this.gameport = gameport;
}
/**
* Getter for the field specport
.
*
* @return a int
*/
public int getSpecport() {
return specport;
}
/**
* Setter for the field specport
.
*
* @param specport
* a int
*/
public void setSpecport(int specport) {
this.specport = specport;
}
}