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

dev.mayuna.cobalt.api.objects.ServerInfo Maven / Gradle / Ivy

package dev.mayuna.cobalt.api.objects;

import dev.mayuna.cobalt.api.CobaltApiResponse;
import lombok.Getter;

/**
 * Represents the server information. Documentation
 */
@Getter
public final class ServerInfo extends CobaltApiResponse {

    private String version;
    private String commit;
    private String branch;
    private String name;
    private String url;
    private int cors;
    private String startTime;

    @Override
    public String toString() {
        return "ServerInfo{" +
                "version='" + version + '\'' +
                ", commit='" + commit + '\'' +
                ", branch='" + branch + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", cors=" + cors +
                ", startTime='" + startTime + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy