Module Mal4J
Package dev.katsute.mal4j.query
Class ListUpdate<T extends ListUpdate<T,R,S>,R extends ListStatus<?>,S extends FieldEnum>
java.lang.Object
dev.katsute.mal4j.query.ListUpdate<T,R,S>
- Type Parameters:
T
- thisR
- responseS
- status type
- Direct Known Subclasses:
AnimeListUpdate
,MangaListUpdate
public abstract class ListUpdate<T extends ListUpdate<T,R,S>,R extends ListStatus<?>,S extends FieldEnum>
extends Object
Represents a list update.
- Since:
- 1.0.0
- Version:
- 2.9.0
- Author:
- Katsute
-
Method Summary
Modifier and TypeMethodDescriptionfinal T
Sets the comments.final T
finishDate
(Date date) Sets the finish date.final T
Sets the priority.final T
Sets the priority.final T
score
(int score) Sets the score.final T
Sets the start date.final T
Sets the status.final T
Sets the status.final T
Sets the tags.abstract R
update()
Updates the list on MyAnimeList
-
Method Details
-
status
Sets the status.- Parameters:
status
- status- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
status
Sets the status.
It is recommended to usestatus(FieldEnum)
rather than this method. This method should only be used if the status is missing fromAnimeStatus
orMangaStatus
.- Parameters:
status
- raw status- Returns:
- list status
- Since:
- 2.9.0
- See Also:
-
score
Sets the score.- Parameters:
score
- score- Returns:
- list update
- Since:
- 1.0.0
-
startDate
Sets the start date.- Parameters:
date
- date- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
finishDate
Sets the finish date.- Parameters:
date
- date- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
priority
Sets the priority.- Parameters:
priority
- priority- Returns:
- list update
- Since:
- 1.0.0
- See Also:
-
priority
Sets the priority.
It is recommended to usepriority(Priority)
rather than this method. This method should only be used if the priority is missing fromPriority
.- Parameters:
priority
- raw priority- Returns:
- list update
- Since:
- 2.9.0
- See Also:
-
tags
Sets the tags.- Parameters:
tags
- tags- Returns:
- list update
- Since:
- 1.0.0
-
comments
Sets the comments.- Parameters:
comments
- comments- Returns:
- list update
- Since:
- 1.0.0
-
update
Updates the list on MyAnimeList- Returns:
- list
- Since:
- 1.0.0
-