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

technology.semi.weaviate.client.v1.batch.model.BatchDeleteResponse Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// Generated by delombok at Tue Dec 20 18:59:22 UTC 2022
package technology.semi.weaviate.client.v1.batch.model;

import com.google.gson.annotations.SerializedName;
import technology.semi.weaviate.client.v1.filters.WhereFilter;

public class BatchDeleteResponse {
    private Match match;
    private String output;
    private Boolean dryRun;
    private Results results;


    public static class Match {
        @SerializedName("class")
        private String className;
        @SerializedName("where")
        private WhereFilter whereFilter;

        @java.lang.SuppressWarnings("all")
        public String getClassName() {
            return this.className;
        }

        @java.lang.SuppressWarnings("all")
        public WhereFilter getWhereFilter() {
            return this.whereFilter;
        }

        @java.lang.SuppressWarnings("all")
        public void setClassName(final String className) {
            this.className = className;
        }

        @java.lang.SuppressWarnings("all")
        public void setWhereFilter(final WhereFilter whereFilter) {
            this.whereFilter = whereFilter;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BatchDeleteResponse.Match(className=" + this.getClassName() + ", whereFilter=" + this.getWhereFilter() + ")";
        }
    }


    public static class Results {
        private Long matches;
        private Long limit;
        private Long successful;
        private Long failed;
        private ResultObject[] objects;

        @java.lang.SuppressWarnings("all")
        public Long getMatches() {
            return this.matches;
        }

        @java.lang.SuppressWarnings("all")
        public Long getLimit() {
            return this.limit;
        }

        @java.lang.SuppressWarnings("all")
        public Long getSuccessful() {
            return this.successful;
        }

        @java.lang.SuppressWarnings("all")
        public Long getFailed() {
            return this.failed;
        }

        @java.lang.SuppressWarnings("all")
        public ResultObject[] getObjects() {
            return this.objects;
        }

        @java.lang.SuppressWarnings("all")
        public void setMatches(final Long matches) {
            this.matches = matches;
        }

        @java.lang.SuppressWarnings("all")
        public void setLimit(final Long limit) {
            this.limit = limit;
        }

        @java.lang.SuppressWarnings("all")
        public void setSuccessful(final Long successful) {
            this.successful = successful;
        }

        @java.lang.SuppressWarnings("all")
        public void setFailed(final Long failed) {
            this.failed = failed;
        }

        @java.lang.SuppressWarnings("all")
        public void setObjects(final ResultObject[] objects) {
            this.objects = objects;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BatchDeleteResponse.Results(matches=" + this.getMatches() + ", limit=" + this.getLimit() + ", successful=" + this.getSuccessful() + ", failed=" + this.getFailed() + ", objects=" + java.util.Arrays.deepToString(this.getObjects()) + ")";
        }
    }


    public static class ResultObject {
        private String id;
        private String status;
        private Errors errors;

        @java.lang.SuppressWarnings("all")
        public String getId() {
            return this.id;
        }

        @java.lang.SuppressWarnings("all")
        public String getStatus() {
            return this.status;
        }

        @java.lang.SuppressWarnings("all")
        public Errors getErrors() {
            return this.errors;
        }

        @java.lang.SuppressWarnings("all")
        public void setId(final String id) {
            this.id = id;
        }

        @java.lang.SuppressWarnings("all")
        public void setStatus(final String status) {
            this.status = status;
        }

        @java.lang.SuppressWarnings("all")
        public void setErrors(final Errors errors) {
            this.errors = errors;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BatchDeleteResponse.ResultObject(id=" + this.getId() + ", status=" + this.getStatus() + ", errors=" + this.getErrors() + ")";
        }
    }


    public static class Errors {
        private Error[] error;

        @java.lang.SuppressWarnings("all")
        public Error[] getError() {
            return this.error;
        }

        @java.lang.SuppressWarnings("all")
        public void setError(final Error[] error) {
            this.error = error;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BatchDeleteResponse.Errors(error=" + java.util.Arrays.deepToString(this.getError()) + ")";
        }
    }


    public static class Error {
        private String message;

        @java.lang.SuppressWarnings("all")
        public String getMessage() {
            return this.message;
        }

        @java.lang.SuppressWarnings("all")
        public void setMessage(final String message) {
            this.message = message;
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BatchDeleteResponse.Error(message=" + this.getMessage() + ")";
        }
    }

    @java.lang.SuppressWarnings("all")
    public Match getMatch() {
        return this.match;
    }

    @java.lang.SuppressWarnings("all")
    public String getOutput() {
        return this.output;
    }

    @java.lang.SuppressWarnings("all")
    public Boolean getDryRun() {
        return this.dryRun;
    }

    @java.lang.SuppressWarnings("all")
    public Results getResults() {
        return this.results;
    }

    @java.lang.SuppressWarnings("all")
    public void setMatch(final Match match) {
        this.match = match;
    }

    @java.lang.SuppressWarnings("all")
    public void setOutput(final String output) {
        this.output = output;
    }

    @java.lang.SuppressWarnings("all")
    public void setDryRun(final Boolean dryRun) {
        this.dryRun = dryRun;
    }

    @java.lang.SuppressWarnings("all")
    public void setResults(final Results results) {
        this.results = results;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "BatchDeleteResponse(match=" + this.getMatch() + ", output=" + this.getOutput() + ", dryRun=" + this.getDryRun() + ", results=" + this.getResults() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy