All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.kender.MCutils.players.Server.Players Maven / Gradle / Ivy


package net.kender.MCutils.players.Server;

import java.util.LinkedHashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "online",
    "max"
})

public class Players {

    @JsonProperty("online")
    private Integer online;
    @JsonProperty("max")
    private Integer max;
    @JsonIgnore
    private Map additionalProperties = new LinkedHashMap();

    @JsonProperty("online")
    public Integer getOnline() {
        return online;
    }

    @JsonProperty("online")
    public void setOnline(Integer online) {
        this.online = online;
    }

    @JsonProperty("max")
    public Integer getMax() {
        return max;
    }

    @JsonProperty("max")
    public void setMax(Integer max) {
        this.max = max;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy