java.lang.Object
dev.katsute.mal4j.query.LimitOffsetQuery<UserMangaListQuery,MangaListStatus>
dev.katsute.mal4j.query.FieldQuery<UserMangaListQuery,MangaListStatus>
dev.katsute.mal4j.query.UserMangaListQuery
- All Implemented Interfaces:
NSFW<UserMangaListQuery>
public abstract class UserMangaListQuery
extends FieldQuery<UserMangaListQuery,MangaListStatus>
implements NSFW<UserMangaListQuery>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_mangalist_get
Represents a user Manga list query.
Represents a user Manga list query.
- Since:
- 1.0.0
- Version:
- 2.9.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal UserMangaListQuery
Sets query to also return NSFW results.final UserMangaListQuery
includeNSFW
(boolean nsfw) Sets if the query will return NSFW results.final UserMangaListQuery
Sets the sorting option.final UserMangaListQuery
Sets the sorting option.final UserMangaListQuery
withStatus
(MangaStatus status) Sets the status filter.final UserMangaListQuery
withStatus
(String status) Sets the status filter.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
-
UserMangaListQuery
Creates a user Manga search query.
Do not use this constructor, useMyAnimeList.getUserMangaListing()
orMyAnimeList.getUserMangaListing(String)
instead.- Parameters:
username
- username- Since:
- 1.0.0
- See Also:
-
-
Method Details
-
sortBy
Sets the sorting option.- Parameters:
sort
- sort- Returns:
- list query
- Since:
- 1.0.0
- See Also:
-
sortBy
Sets the sorting option.
It is recommended to usesortBy(MangaSort)
instead of this method. This method should only be used if the sort is missing fromMangaSort
.- Parameters:
sort
- raw sort- Returns:
- list query
- Since:
- 2.9.0
- See Also:
-
withStatus
Sets the status filter.- Parameters:
status
- status- Returns:
- list query
- Since:
- 1.0.0
- See Also:
-
withStatus
Sets the status filter.
It is recommended to usewithStatus(MangaStatus)
rather than this method. This method should only be used if the status is missing fromMangaStatus
.- Parameters:
status
- raw status- Returns:
- list query
- Since:
- 2.9.0
- See Also:
-
includeNSFW
Description copied from interface:NSFW
Sets query to also return NSFW results.- Specified by:
includeNSFW
in interfaceNSFW<UserMangaListQuery>
- Returns:
- query
- See Also:
-
includeNSFW
Description copied from interface:NSFW
Sets if the query will return NSFW results.- Specified by:
includeNSFW
in interfaceNSFW<UserMangaListQuery>
- Parameters:
nsfw
- nsfw- Returns:
- query
- See Also:
-