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

com.github.gpluscb.ggjava.entity.object.response.objects.TeamConnectionResponse 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;
import com.github.gpluscb.ggjava.entity.object.response.interfaces.TeamResponse;

public class TeamConnectionResponse extends AbstractGGResponseObject {
	private final PageInfoResponse pageInfo;
	private final ListResponse nodes;

	public TeamConnectionResponse() {
		super(EntityType.TEAM_CONNECTION);

		pageInfo = null;
		nodes = null;
	}

	public TeamConnectionResponse(PageInfoResponse pageInfo, ListResponse nodes) {
		super(EntityType.TEAM_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