All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.uwetrottmann.tmdb2.entities.WatchProviders Maven / Gradle / Ivy

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy