com.uwetrottmann.tmdb2.enumerations.SortBy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tmdb-java Show documentation
Show all versions of tmdb-java Show documentation
tmdb-java is a retrofit2 based wrapper around the themoviedb.org API v3.
The newest version!
package com.uwetrottmann.tmdb2.enumerations;
public enum SortBy {
POPULARITY_ASC("popularity.asc"),
POPULARITY_DESC("popularity.desc"),
RELEASE_DATE_ASC("release_date.asc"),
RELEASE_DATE_DESC("release_date.desc"),
REVENUE_ASC("revenue.asc"),
REVENUE_DESC("revenue.desc"),
PRIMARY_RELEASE_DATE_ASC("primary_release_date.asc"),
PRIMARY_RELEASE_DATE_DESC("primary_release_date.desc"),
ORIGINAL_TITLE_ASC("original_title.asc"),
ORIGINAL_TITLE_DESC("original_title.desc"),
VOTE_AVERAGE_ASC("vote_average.asc"),
VOTE_AVERAGE_DESC("vote_average.desc"),
VOTE_COUNT_ASC("vote_count.asc"),
VOTE_COUNT_DESC("vote_count.desc");
private final String value;
SortBy(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}