com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamPlayerRecentPlayed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agql-steam-webapi Show documentation
Show all versions of agql-steam-webapi Show documentation
An implementation for the Steam Web API Interfaces
/*
* 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;
/**
* Represents a player's recently played game
*
* @author Rafael Luis Ibasco
*/
public class SteamPlayerRecentPlayed {
@SerializedName("appid")
private int appId;
private String name;
@SerializedName("playtime_2weeks")
private int totalPlaytimeIn2Weeks;
@SerializedName("playtime_forever")
private int totalPlaytime;
@SerializedName("img_icon_url")
private String imgIconUrl;
@SerializedName("img_logo_url")
private String imgLogoUrl;
/**
* 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 name
.
*
* @return a {@link java.lang.String} object
*/
public String getName() {
return name;
}
/**
* Setter for the field name
.
*
* @param name
* a {@link java.lang.String} object
*/
public void setName(String name) {
this.name = name;
}
/**
* Getter for the field totalPlaytimeIn2Weeks
.
*
* @return a int
*/
public int getTotalPlaytimeIn2Weeks() {
return totalPlaytimeIn2Weeks;
}
/**
* Setter for the field totalPlaytimeIn2Weeks
.
*
* @param totalPlaytimeIn2Weeks
* a int
*/
public void setTotalPlaytimeIn2Weeks(int totalPlaytimeIn2Weeks) {
this.totalPlaytimeIn2Weeks = totalPlaytimeIn2Weeks;
}
/**
* Getter for the field totalPlaytime
.
*
* @return a int
*/
public int getTotalPlaytime() {
return totalPlaytime;
}
/**
* Setter for the field totalPlaytime
.
*
* @param totalPlaytime
* a int
*/
public void setTotalPlaytime(int totalPlaytime) {
this.totalPlaytime = totalPlaytime;
}
/**
* Getter for the field imgIconUrl
.
*
* @return a {@link java.lang.String} object
*/
public String getImgIconUrl() {
return imgIconUrl;
}
/**
* Setter for the field imgIconUrl
.
*
* @param imgIconUrl
* a {@link java.lang.String} object
*/
public void setImgIconUrl(String imgIconUrl) {
this.imgIconUrl = imgIconUrl;
}
/**
* Getter for the field imgLogoUrl
.
*
* @return a {@link java.lang.String} object
*/
public String getImgLogoUrl() {
return imgLogoUrl;
}
/**
* Setter for the field imgLogoUrl
.
*
* @param imgLogoUrl
* a {@link java.lang.String} object
*/
public void setImgLogoUrl(String imgLogoUrl) {
this.imgLogoUrl = imgLogoUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy