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

com.uwetrottmann.trakt5.entities.ShowIds Maven / Gradle / Ivy

There is a newer version: 6.16.0
Show newest version
package com.uwetrottmann.trakt5.entities;

public class ShowIds extends BaseIds {

    public String slug;
    public Integer tvdb;
    public Integer tvrage;

    public static ShowIds trakt(int trakt) {
        ShowIds ids = new ShowIds();
        ids.trakt = trakt;
        return ids;
    }

    public static ShowIds imdb(String imdb) {
        ShowIds ids = new ShowIds();
        ids.imdb = imdb;
        return ids;
    }

    public static ShowIds tmdb(int tmdb) {
        ShowIds ids = new ShowIds();
        ids.tmdb = tmdb;
        return ids;
    }

    public static ShowIds slug(String slug) {
        ShowIds ids = new ShowIds();
        ids.slug = slug;
        return ids;
    }

    public static ShowIds tvdb(int tvdb) {
        ShowIds ids = new ShowIds();
        ids.tvdb = tvdb;
        return ids;
    }

    public static ShowIds tvrage(int tvrage) {
        ShowIds ids = new ShowIds();
        ids.tvrage = tvrage;
        return ids;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy