
com.github.gpluscb.ggjava.entity.object.response.objects.PhaseGroupConnectionResponse Maven / Gradle / Ivy
package com.github.gpluscb.ggjava.entity.object.response.objects;
import com.github.gpluscb.ggjava.entity.EntityType;
import com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject;
import com.github.gpluscb.ggjava.entity.object.response.ListResponse;
public class PhaseGroupConnectionResponse extends AbstractGGResponseObject {
private final PageInfoResponse pageInfo;
private final ListResponse nodes;
public PhaseGroupConnectionResponse() {
super(EntityType.PHASE_GROUP_CONNECTION);
pageInfo = null;
nodes = null;
}
public PhaseGroupConnectionResponse(PageInfoResponse pageInfo, ListResponse nodes) {
super(EntityType.PHASE_GROUP_CONNECTION, true);
this.pageInfo = pageInfo;
this.nodes = nodes;
}
public PageInfoResponse getPageInfo() {
checkProvided();
return pageInfo;
}
public ListResponse getNodes() {
checkProvided();
return nodes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy