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

com.axibase.tsd.model.data.command.BatchResponse Maven / Gradle / Ivy

Go to download

The ATSD Client for Java enables Java developers to easily read and write statistics and metadata from Axibase Time-Series Database. Build reporting, analytics, and alerting solutions with minimal effort.

There is a newer version: 1.1.0
Show newest version
package com.axibase.tsd.model.data.command;

import javax.ws.rs.core.Response.StatusType;

import com.axibase.tsd.model.system.ServerError;

public class BatchResponse {

    private final StatusType statusType;
    private ServerError serverError;
    private SendCommandResult result;

    public BatchResponse(StatusType statusType) {
        this.statusType = statusType;
    }

    public StatusType getStatusType() {
        return statusType;
    }

    public ServerError getServerError() {
        return serverError;
    }

    public void setServerError(ServerError serverError) {
        this.serverError = serverError;
    }

    public SendCommandResult getResult() {
        return result;
    }

    public void setResult(SendCommandResult result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "BatchResponse {statusType=" + statusType + ", serverError=" + serverError + ", result=" + result + "}";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy