package com.github.ssindelar.ps2parser.data.character;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("com.googlecode.jsonschema2pojo")
@JsonPropertyOrder({ "percentagetonext", "currentpoints" })
public class ApiCerts {

	@JsonProperty("percentagetonext")
	private String percentagetonext;
	@JsonProperty("currentpoints")
	private String currentpoints;
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("percentagetonext")
	public String getPercentagetonext() {
		return percentagetonext;
	}

	@JsonProperty("percentagetonext")
	public void setPercentagetonext(String percentagetonext) {
		this.percentagetonext = percentagetonext;
	}

	@JsonProperty("currentpoints")
	public String getCurrentpoints() {
		return currentpoints;
	}

	@JsonProperty("currentpoints")
	public void setCurrentpoints(String currentpoints) {
		this.currentpoints = currentpoints;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public boolean equals(Object other) {
		return EqualsBuilder.reflectionEquals(this, other);
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperties(String name, Object value) {
		this.additionalProperties.put(name, value);
	}

}
