java.lang.Object
dev.katsute.mal4j.query.ListUpdate<MangaListUpdate,MangaListStatus,MangaStatus>
dev.katsute.mal4j.query.MangaListUpdate
public abstract class MangaListUpdate
extends ListUpdate<MangaListUpdate,MangaListStatus,MangaStatus>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_my_list_status_put
Represents a Manga list update.
Represents a Manga list update.
- Since:
- 1.0.0
- Version:
- 2.9.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal MangaListUpdate
chaptersRead
(int chaptersRead) Sets the chapters read.final MangaListUpdate
rereading
(boolean rereading) Sets the rereading status.final MangaListUpdate
rereadValue
(RereadValue rereadValue) Sets the reread value.final MangaListUpdate
rereadValue
(Integer rereadValue) Sets the reread value.final MangaListUpdate
timesReread
(int timesReread) Sets the times reread.final MangaListUpdate
volumesRead
(int volumesRead) Sets the volumes read.
-
Constructor Details
-
MangaListUpdate
public MangaListUpdate(long id) Creates a Manga list update.
This constructor should not be used, useMyAnimeList.updateMangaListing(long)
instead.- Parameters:
id
- Manga id- Since:
- 1.0.0
- See Also:
-
-
Method Details
-
rereading
Sets the rereading status.- Parameters:
rereading
- rereading- Returns:
- list update
- Since:
- 1.0.0
-
volumesRead
Sets the volumes read.- Parameters:
volumesRead
- volumes read- Returns:
- list update
- Since:
- 1.0.0
-
chaptersRead
Sets the chapters read.- Parameters:
chaptersRead
- chapters read- Returns:
- list update
- Since:
- 1.0.0
-
timesReread
Sets the times reread.- Parameters:
timesReread
- times reread- Returns:
- list update
- Since:
- 1.0.0
-
rereadValue
Sets the reread value.- Parameters:
rereadValue
- reread value- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
rereadValue
Sets the reread value.
It is recommended to userereadValue(RereadValue)
rather than this method. This method should only be used if the reread value is missing fromRereadValue
.- Parameters:
rereadValue
- reread value- Returns:
- list update
- Since:
- 2.9.0
- See Also:
-