java.lang.Object
dev.katsute.mal4j.anime.AnimeListStatus
- All Implemented Interfaces:
AnimeRetrievable
,Editable<AnimeListUpdate>
,ListStatus<AnimeStatus>
public abstract class AnimeListStatus
extends Object
implements ListStatus<AnimeStatus>, AnimeRetrievable, Editable<AnimeListUpdate>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_my_list_status_put
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_animelist_get
Represents a user's Anime list status.
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/users_user_id_animelist_get
Represents a user's Anime list status.
- Since:
- 1.0.0
- Version:
- 2.12.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract AnimeListUpdate
edit()
Creates an Anime list update object.abstract Integer
Returns the raw rewatch value.abstract RewatchValue
Returns the rewatch value.abstract Integer
Returns the total times rewatched.abstract Integer
Returns the total amount of watched episodes.abstract Boolean
Returns if the user is rewatching.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.katsute.mal4j.anime.property.AnimeRetrievable
getAnime
Methods inherited from interface dev.katsute.mal4j.property.ListStatus
getComments, getFinishDate, getPriority, getRawPriority, getRawStatus, getScore, getStartDate, getStatus, getTags, getUpdatedAt, getUpdatedAtEpochMillis
-
Constructor Details
-
AnimeListStatus
public AnimeListStatus()
-
-
Method Details
-
getWatchedEpisodes
Returns the total amount of watched episodes.- Returns:
- total watched episodes
- Since:
- 1.0.0
-
isRewatching
Returns if the user is rewatching.- Returns:
- rewatching
- Since:
- 1.0.0
-
getTimesRewatched
Returns the total times rewatched.- Returns:
- times rewatched
- Since:
- 1.0.0
-
getRewatchValue
Returns the rewatch value.- Returns:
- rewatch value
- Since:
- 1.0.0
- See Also:
-
getRawRewatchValue
Returns the raw rewatch value.
It is recommended to usegetRewatchValue()
andRewatchValue.value()
rather than this method. This method should only be used if the rewatch value is missing fromRewatchValue
.- Returns:
- raw rewatch value
- Since:
- 2.9.0
- See Also:
-
edit
Creates an Anime list update object. Used to change the Anime list status.- Specified by:
edit
in interfaceEditable<AnimeListUpdate>
- Returns:
- list updater
- Since:
- 1.0.0
- See Also:
-