com.github.gpluscb.ggjava.entity.object.response.objects.StandingConnectionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gg-java Show documentation
Show all versions of gg-java Show documentation
Java wrapper for the smash.gg GraphQL API
The newest version!
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 StandingConnectionResponse extends AbstractGGResponseObject {
private final PageInfoResponse pageInfo;
private final ListResponse nodes;
public StandingConnectionResponse() {
super(EntityType.STANDING_CONNECTION);
pageInfo = null;
nodes = null;
}
public StandingConnectionResponse(PageInfoResponse pageInfo, ListResponse nodes) {
super(EntityType.STANDING_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