com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconPlayerItemAttribute 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;
/**
* SteamEconPlayerItemAttribute class.
*
* @author Rafael Luis Ibasco
*/
public class SteamEconPlayerItemAttribute {
@SerializedName("defindex")
private int defIndex;
private T value;
@SerializedName("float_value")
private float floatValue;
@SerializedName("account_info")
private SteamEconPlayerAccountInfo accountInfo;
/** {@inheritDoc} */
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE)
.append("defindex", getDefIndex())
.append("value", getValue())
.append("floatValue", getFloatValue())
.append("accountInfo", getAccountInfo())
.toString();
}
/**
* Getter for the field defIndex
.
*
* @return a int
*/
public int getDefIndex() {
return defIndex;
}
/**
* Setter for the field defIndex
.
*
* @param defIndex
* a int
*/
public void setDefIndex(int defIndex) {
this.defIndex = defIndex;
}
/**
* Getter for the field value
.
*
* @return a T object
*/
public T getValue() {
return value;
}
/**
* Setter for the field value
.
*
* @param value
* a T object
*/
public void setValue(T value) {
this.value = value;
}
/**
* Getter for the field floatValue
.
*
* @return a float
*/
public float getFloatValue() {
return floatValue;
}
/**
* Setter for the field floatValue
.
*
* @param floatValue
* a float
*/
public void setFloatValue(float floatValue) {
this.floatValue = floatValue;
}
/**
* Getter for the field accountInfo
.
*
* @return a {@link com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconPlayerAccountInfo} object
*/
public SteamEconPlayerAccountInfo getAccountInfo() {
return accountInfo;
}
/**
* Setter for the field accountInfo
.
*
* @param accountInfo
* a {@link com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconPlayerAccountInfo} object
*/
public void setAccountInfo(SteamEconPlayerAccountInfo accountInfo) {
this.accountInfo = accountInfo;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy