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

io.github.lc.oss.commons.identity.model.ApiResponse Maven / Gradle / Ivy

Go to download

The default client implementation of the io.github.locke-chappel.oss.commons:api.identity interface

There is a newer version: 1.0.17
Show newest version
package io.github.lc.oss.commons.identity.model;

import java.util.Collection;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.github.lc.oss.commons.api.identity.ApiObject;
import io.github.lc.oss.commons.api.identity.Messages;

@JsonInclude(Include.NON_EMPTY)
public class ApiResponse implements io.github.lc.oss.commons.api.identity.ApiResponse {
    private T body;
    private Collection messages;

    @Override
    public T getBody() {
        return this.body;
    }

    public void setBody(T body) {
        this.body = body;
    }

    @Override
    public Collection getMessages() {
        return this.messages;
    }

    public void setMessages(Collection messages) {
        this.messages = messages;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy