
com.uwetrottmann.trakt5.entities.SyncShow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trakt-java Show documentation
Show all versions of trakt-java Show documentation
trakt-java is a retrofit2 based wrapper around the trakt API v2.
package com.uwetrottmann.trakt5.entities;
import com.uwetrottmann.trakt5.enums.Rating;
import org.threeten.bp.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
public class SyncShow {
public ShowIds ids;
public List seasons;
public OffsetDateTime collected_at;
public OffsetDateTime watched_at;
public OffsetDateTime rated_at;
public Rating rating;
public SyncShow id(ShowIds id) {
this.ids = id;
return this;
}
public SyncShow seasons(List seasons) {
this.seasons = seasons;
return this;
}
public SyncShow seasons(SyncSeason season) {
ArrayList list = new ArrayList<>(1);
list.add(season);
return seasons(list);
}
public SyncShow collectedAt(OffsetDateTime collectedAt) {
this.collected_at = collectedAt;
return this;
}
public SyncShow watchedAt(OffsetDateTime watchedAt) {
this.watched_at = watchedAt;
return this;
}
public SyncShow ratedAt(OffsetDateTime ratedAt) {
this.rated_at = ratedAt;
return this;
}
public SyncShow rating(Rating rating) {
this.rating = rating;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy