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

com.jakewharton.trakt.entities.RatingResponse Maven / Gradle / Ivy

Go to download

A Java wrapper around the Trakt RESTful API and a simple DSL for easy interaction.

The newest version!
package com.jakewharton.trakt.entities;

import com.jakewharton.trakt.TraktEntity;
import com.jakewharton.trakt.enumerations.Rating;
import com.jakewharton.trakt.enumerations.RatingType;

public class RatingResponse extends Response implements TraktEntity {
    private static final long serialVersionUID = 8424378149600617021L;

    public RatingType type;
    public Rating rating;
    public Ratings ratings;
    public Boolean facebook;
    public Boolean twitter;
    public Boolean tumblr;

    /** @deprecated Use {@link #type} */
    @Deprecated
    public RatingType getType() {
        return this.type;
    }
    /** @deprecated Use {@link #rating} */
    @Deprecated
    public Rating getRating() {
        return this.rating;
    }
    /** @deprecated Use {@link #ratings} */
    @Deprecated
    public Ratings getRatings() {
        return this.ratings;
    }
    /** @deprecated Use {@link #facebook} */
    @Deprecated
    public Boolean getFacebook() {
        return this.facebook;
    }
    /** @deprecated Use {@link #twitter} */
    @Deprecated
    public Boolean getTwitter() {
        return this.twitter;
    }
    /** @deprecated Use {@link #tumblr} */
    @Deprecated
    public Boolean getTumblr() {
        return this.tumblr;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy