java.lang.Object
dev.katsute.mal4j.query.LimitOffsetQuery<AnimeRankingQuery,AnimeRanking>
dev.katsute.mal4j.query.FieldQuery<AnimeRankingQuery,AnimeRanking>
dev.katsute.mal4j.query.AnimeRankingQuery
- All Implemented Interfaces:
NSFW<AnimeRankingQuery>
public abstract class AnimeRankingQuery
extends FieldQuery<AnimeRankingQuery,AnimeRanking>
implements NSFW<AnimeRankingQuery>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/anime_ranking_get
Represents an Anime ranking query.
Represents an Anime ranking query.
- Since:
- 1.0.0
- Version:
- 2.9.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AnimeRankingQuery
Sets query to also return NSFW results.final AnimeRankingQuery
includeNSFW
(boolean nsfw) Sets if the query will return NSFW results.Methods inherited from class dev.katsute.mal4j.query.FieldQuery
invertFields, invertFields, withAllFields, withField, withFields, withFields, withNoFields
Methods inherited from class dev.katsute.mal4j.query.LimitOffsetQuery
search, searchAll, withLimit, withOffset
-
Constructor Details
-
AnimeRankingQuery
Creates an Anime ranking query.
Do not use this constructor, useMyAnimeList.getAnimeRanking(AnimeRankingType)
instead.- Parameters:
rankingType
- ranking type- Since:
- 1.0.0
- See Also:
-
-
Method Details
-
includeNSFW
Description copied from interface:NSFW
Sets query to also return NSFW results.- Specified by:
includeNSFW
in interfaceNSFW<AnimeRankingQuery>
- Returns:
- query
- See Also:
-
includeNSFW
Description copied from interface:NSFW
Sets if the query will return NSFW results.- Specified by:
includeNSFW
in interfaceNSFW<AnimeRankingQuery>
- Parameters:
nsfw
- nsfw- Returns:
- query
- See Also:
-