io.serialized.client.projection.ProjectionsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialized-client Show documentation
Show all versions of serialized-client Show documentation
Java Client for Serialized APIs
package io.serialized.client.projection;
import java.util.List;
import static java.util.Collections.emptyList;
import static java.util.Collections.unmodifiableList;
public class ProjectionsResponse {
private List> projections;
private boolean hasMore;
public ProjectionsResponse() {
}
public ProjectionsResponse(List> projections) {
this.projections = projections;
}
public ProjectionsResponse(List> projections, boolean hasMore) {
this.projections = projections;
this.hasMore = hasMore;
}
public List> projections() {
return projections == null ? emptyList() : unmodifiableList(projections);
}
public boolean hasMore() {
return hasMore;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy