com.uwetrottmann.tmdb2.entities.WatchProviders 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.entities;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Nonnull;
public class WatchProviders {
public Integer id;
/**
* Mapped by ISO 3166-1 two letter country code, e.g. DE and US.
*/
@Nonnull public Map results = new HashMap<>();
public static class CountryInfo {
/**
* Link to this page to display all options and provide deep links to the actual providers (and to support
* TMDB).
*/
public String link;
@Nonnull public java.util.List flatrate = new ArrayList<>();
@Nonnull public java.util.List free = new ArrayList<>();
@Nonnull public java.util.List ads = new ArrayList<>();
@Nonnull public java.util.List buy = new ArrayList<>();
}
public static class WatchProvider {
public Integer display_priority;
public String logo_path;
public Integer provider_id;
public String provider_name;
}
}