java.lang.Object
dev.katsute.mal4j.query.ListUpdate<AnimeListUpdate,AnimeListStatus,AnimeStatus>
dev.katsute.mal4j.query.AnimeListUpdate
public abstract class AnimeListUpdate
extends ListUpdate<AnimeListUpdate,AnimeListStatus,AnimeStatus>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_my_list_status_put
Represents an Anime list update.
Represents an Anime list update.
- Since:
- 1.0.0
- Version:
- 2.9.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AnimeListUpdate
episodesWatched
(int watchedEpisodes) Sets the episodes watched.final AnimeListUpdate
rewatching
(boolean rewatching) Sets the rewatching status.final AnimeListUpdate
rewatchValue
(RewatchValue rewatchValue) Sets the rewatch value.final AnimeListUpdate
rewatchValue
(Integer rewatchValue) Sets the rewatch value.final AnimeListUpdate
timesRewatched
(int timesRewatched) Sets the times rewatched.
-
Constructor Details
-
AnimeListUpdate
public AnimeListUpdate(long id) Creates an Anime list update.
Do not use this constructor, useMyAnimeList.updateAnimeListing(long)
instead.- Parameters:
id
- Anime id- Since:
- 1.0.0
- See Also:
-
-
Method Details
-
rewatching
Sets the rewatching status.- Parameters:
rewatching
- rewatching- Returns:
- list update
- Since:
- 1.0.0
-
episodesWatched
Sets the episodes watched.- Parameters:
watchedEpisodes
- watched episodes- Returns:
- list update
- Since:
- 1.0.0
-
timesRewatched
Sets the times rewatched.- Parameters:
timesRewatched
- times rewatched- Returns:
- list updateB
- Since:
- 1.0.0
-
rewatchValue
Sets the rewatch value.- Parameters:
rewatchValue
- rewatch value- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
rewatchValue
Sets the rewatch value.
It is recommended to userewatchValue(RewatchValue)
rather than this method. This method should only be used if the rewatch value is missing fromRewatchValue
.- Parameters:
rewatchValue
- raw rewatch value- Returns:
- list update
- Since:
- 2.9.0
- See Also:
-