Class ODataTop
java.lang.Object
com.atlassian.crowd.directory.query.ODataTop
- All Implemented Interfaces:
MicrosoftGraphQueryParam
Represents a $top query parameter used by Microsoft Graph. Used to set the the amount of results to return.
See: http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part2-url-conventions/odata-v4.0-errata03-os-part2-url-conventions-complete.html
-
Field Details
-
MS_GRAPH_MAX_PAGE_SIZE
public static final int MS_GRAPH_MAX_PAGE_SIZEMaximum page size allowed by the Microsoft Graph API, see https://developer.microsoft.com/en-us/graph/docs/concepts/paging- See Also:
-
QUERY_PARAM_NAME
- See Also:
-
FULL_PAGE
-
SINGLE_RESULT
-
-
Constructor Details
-
ODataTop
public ODataTop(int value)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceMicrosoftGraphQueryParam
- Returns:
- the name of the query parameter
-
asRawValue
- Specified by:
asRawValue
in interfaceMicrosoftGraphQueryParam
- Returns:
- the raw value of the underlying query parameter, which must be encoded before being used
-
equals
-
forSize
-
hashCode
public int hashCode()
-