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

com.github.gpluscb.ggjava.entity.object.response.objects.LeagueConnectionResponse Maven / Gradle / Ivy

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 LeagueConnectionResponse extends AbstractGGResponseObject {
	private final PageInfoResponse pageInfo;
	private final ListResponse nodes;

	public LeagueConnectionResponse() {
		super(EntityType.LEAGUE_CONNECTION);

		pageInfo = null;
		nodes = null;
	}

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