com.jakewharton.trakt.entities.Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trakt-java Show documentation
Show all versions of trakt-java Show documentation
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;
public class Response implements TraktEntity {
private static final long serialVersionUID = 5921890886906816035L;
public String status; //TODO: enum
public String message;
public String error;
public int wait;
/** @deprecated Use {@link #status} */
@Deprecated
public String getStatus() {
return this.status;
}
/** @deprecated Use {@link #message} */
@Deprecated
public String getMessage() {
return this.message;
}
/** @deprecated Use {@link #error} */
@Deprecated
public String getError() {
return this.error;
}
}