io.github.lc.oss.commons.identity.model.ApiResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of identity Show documentation
Show all versions of identity Show documentation
The default client implementation of the io.github.locke-chappel.oss.commons:api.identity interface
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;
}
}