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

com.auth0.json.mgmt.grants.GrantsPageDeserializer Maven / Gradle / Ivy

There is a newer version: 2.12.0
Show newest version
package com.auth0.json.mgmt.grants;

import com.auth0.json.mgmt.PageDeserializer;

import java.util.List;

/**
 * Parses a given paged response into their {@link GrantsPage} representation.
 * 

* This class is thread-safe. * * @see PageDeserializer * @see com.auth0.client.mgmt.GrantsEntity */ @SuppressWarnings({"unused", "WeakerAccess"}) class GrantsPageDeserializer extends PageDeserializer { GrantsPageDeserializer() { super(Grant.class, "grants"); } @Override protected GrantsPage createPage(List items) { return new GrantsPage(items); } @Override protected GrantsPage createPage(Integer start, Integer length, Integer total, Integer limit, List items) { return new GrantsPage(start, length, total, limit, items); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy