Class PlatformsRequest

    • Constructor Detail

      • PlatformsRequest

        public PlatformsRequest()
    • Method Detail

      • sortByName

        public PlatformsRequest sortByName()
        Sorts the results alphanumerically by the platform name.
        Returns:
        this PlatformsRequest builder
      • sortByReleaseYear

        public PlatformsRequest sortByReleaseYear()
        Sorts the results by the year the platform was released.
        Returns:
        this PlatformsRequest builder
      • sortDirection

        public PlatformsRequest sortDirection​(SortDirection direction)
        Sets the direction (ascending or descending) of the sorting.
        Parameters:
        direction - the sort direction
        Returns:
        this PlatformsRequest builder