com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconPlayerItemEquipInfo 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;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* SteamEconPlayerItemEquipInfo class.
*
* @author Rafael Luis Ibasco
*/
public class SteamEconPlayerItemEquipInfo {
@SerializedName("class")
private int classId;
private int slot;
/**
* Getter for the field classId
.
*
* @return a int
*/
public int getClassId() {
return classId;
}
/**
* Setter for the field classId
.
*
* @param classId
* a int
*/
public void setClassId(int classId) {
this.classId = classId;
}
/** {@inheritDoc} */
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE)
.append("class", getClass())
.append("slot", getSlot())
.toString();
}
/**
* Getter for the field slot
.
*
* @return a int
*/
public int getSlot() {
return slot;
}
/**
* Setter for the field slot
.
*
* @param slot
* a int
*/
public void setSlot(int slot) {
this.slot = slot;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy