java.lang.Object
dev.katsute.mal4j.manga.MangaListStatus
- All Implemented Interfaces:
MangaRetrievable
,Editable<MangaListUpdate>
,ListStatus<MangaStatus>
public abstract class MangaListStatus
extends Object
implements ListStatus<MangaStatus>, MangaRetrievable, Editable<MangaListUpdate>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/manga_manga_id_my_list_status_put
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_mangalist_get
Represents a user's Manga list status.
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_mangalist_get
Represents a user's Manga list status.
- Since:
- 1.0.0
- Version:
- 2.12.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MangaListUpdate
edit()
Creates a Manga list update object.abstract Integer
Returns the total amount of chapters read.abstract Integer
Returns the raw reread value.abstract RereadValue
Returns the reread value.abstract Integer
Returns the total times reread.abstract Integer
Returns the total amount of volumes read.abstract Boolean
Returns if the user is rereading.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.katsute.mal4j.property.ListStatus
getComments, getFinishDate, getPriority, getRawPriority, getRawStatus, getScore, getStartDate, getStatus, getTags, getUpdatedAt, getUpdatedAtEpochMillis
Methods inherited from interface dev.katsute.mal4j.manga.property.MangaRetrievable
getManga
-
Constructor Details
-
MangaListStatus
public MangaListStatus()
-
-
Method Details
-
getVolumesRead
Returns the total amount of volumes read.- Returns:
- total volumes read
- Since:
- 1.0.0
-
getChaptersRead
Returns the total amount of chapters read.- Returns:
- total chapters read
- Since:
- 1.0.0
-
isRereading
Returns if the user is rereading.- Returns:
- rereading
- Since:
- 1.0.0
-
getTimesReread
Returns the total times reread.- Returns:
- times reread
- Since:
- 1.0.0
-
getRereadValue
Returns the reread value.- Returns:
- reread value
- Since:
- 1.0.0
- See Also:
-
getRawRereadValue
Returns the raw reread value.
It is recommended to usegetRereadValue()
andRereadValue.value()
rather than this method. This method should only be used if the reread value is missing fromRereadValue
.- Returns:
- raw reread value
- Since:
- 2.9.0
- See Also:
-
edit
Creates a Manga list update object. Used to change the Manga list status.- Specified by:
edit
in interfaceEditable<MangaListUpdate>
- Returns:
- list updater
- Since:
- 1.0.0
- See Also:
-