ListGrantsQueryParams

public final class ListGrantsQueryParams implements IQueryParams

Class representation of the query parameters for listing grants.

Constructors

Link copied to clipboard
public ListGrantsQueryParams ListGrantsQueryParams(Integer limit, Integer offset, String sortBy, String orderBy, Integer since, Integer before, String email, String grantStatus, String ip, AuthProvider provider)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final Integer before

Scope grants to a specific point in time by Unix timestamp.

Link copied to clipboard
private final String email

Filtering your query based on grant email address (if applicable)

Link copied to clipboard
private final String grantStatus

Filtering your query based on grant email status (if applicable)

Link copied to clipboard
private final String ip

Filtering your query based on grant IP address

Link copied to clipboard
private final Integer limit

The maximum number of objects to return. This field defaults to 10. The maximum allowed value is 200.

Link copied to clipboard
private final Integer offset

Offset grant results by this number.

Link copied to clipboard
private final String orderBy

Specify ascending or descending order.

Link copied to clipboard
private final AuthProvider provider

Filtering your query based on OAuth provider

Link copied to clipboard
private final Integer since

Scope grants from a specific point in time by Unix timestamp.

Link copied to clipboard
private final String sortBy

Sort entries by field name

Functions

Link copied to clipboard

Convert the query parameters to a json-formatted map.

Link copied to clipboard
public final Integer getBefore()

Scope grants to a specific point in time by Unix timestamp.

Link copied to clipboard
public final String getEmail()

Filtering your query based on grant email address (if applicable)

Link copied to clipboard
public final String getGrantStatus()

Filtering your query based on grant email status (if applicable)

Link copied to clipboard
public final String getIp()

Filtering your query based on grant IP address

Link copied to clipboard
public final Integer getLimit()

The maximum number of objects to return. This field defaults to 10. The maximum allowed value is 200.

Link copied to clipboard
public final Integer getOffset()

Offset grant results by this number.

Link copied to clipboard
public final String getOrderBy()

Specify ascending or descending order.

Link copied to clipboard
public final AuthProvider getProvider()

Filtering your query based on OAuth provider

Link copied to clipboard
public final Integer getSince()

Scope grants from a specific point in time by Unix timestamp.

Link copied to clipboard
public final String getSortBy()

Sort entries by field name