com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconSchemaAttribute 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;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* SteamEconSchemaAttribute class.
*
* @author Rafael Luis Ibasco
*/
public class SteamEconSchemaAttribute {
private String name;
@SerializedName("defindex")
private int defIndex;
@SerializedName("attribute_class")
private String attributeClass;
@SerializedName("description_string")
private String descriptionString;
@SerializedName("description_format")
private String descriptionFormat;
@SerializedName("effect_type")
private String effectType;
@SerializedName("hidden")
private boolean hidden;
@SerializedName("stored_as_integer")
private boolean storedAsInteger;
@SerializedName("minvalue")
private double minValue;
@SerializedName("maxvalue")
private double maxValue;
/**
* 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 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 attributeClass
.
*
* @return a {@link java.lang.String} object
*/
public String getAttributeClass() {
return attributeClass;
}
/**
* Setter for the field attributeClass
.
*
* @param attributeClass
* a {@link java.lang.String} object
*/
public void setAttributeClass(String attributeClass) {
this.attributeClass = attributeClass;
}
/**
* Getter for the field descriptionString
.
*
* @return a {@link java.lang.String} object
*/
public String getDescriptionString() {
return descriptionString;
}
/**
* Setter for the field descriptionString
.
*
* @param descriptionString
* a {@link java.lang.String} object
*/
public void setDescriptionString(String descriptionString) {
this.descriptionString = descriptionString;
}
/**
* Getter for the field descriptionFormat
.
*
* @return a {@link java.lang.String} object
*/
public String getDescriptionFormat() {
return descriptionFormat;
}
/**
* Setter for the field descriptionFormat
.
*
* @param descriptionFormat
* a {@link java.lang.String} object
*/
public void setDescriptionFormat(String descriptionFormat) {
this.descriptionFormat = descriptionFormat;
}
/**
* Getter for the field effectType
.
*
* @return a {@link java.lang.String} object
*/
public String getEffectType() {
return effectType;
}
/**
* Setter for the field effectType
.
*
* @param effectType
* a {@link java.lang.String} object
*/
public void setEffectType(String effectType) {
this.effectType = effectType;
}
/**
* isHidden.
*
* @return a boolean
*/
public boolean isHidden() {
return hidden;
}
/**
* Setter for the field hidden
.
*
* @param hidden
* a boolean
*/
public void setHidden(boolean hidden) {
this.hidden = hidden;
}
/**
* isStoredAsInteger.
*
* @return a boolean
*/
public boolean isStoredAsInteger() {
return storedAsInteger;
}
/**
* Setter for the field storedAsInteger
.
*
* @param storedAsInteger
* a boolean
*/
public void setStoredAsInteger(boolean storedAsInteger) {
this.storedAsInteger = storedAsInteger;
}
/**
* Getter for the field minValue
.
*
* @return a double
*/
public double getMinValue() {
return minValue;
}
/**
* Setter for the field minValue
.
*
* @param minValue
* a double
*/
public void setMinValue(double minValue) {
this.minValue = minValue;
}
/**
* Getter for the field maxValue
.
*
* @return a double
*/
public double getMaxValue() {
return maxValue;
}
/**
* Setter for the field maxValue
.
*
* @param maxValue
* a double
*/
public void setMaxValue(double maxValue) {
this.maxValue = maxValue;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy