com.jakewharton.trakt.enumerations.package-info 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!
/**
* All Trakt-defined enumerations which are used both in request responses
* as well as building remote requests.
*
* Serialization of these enumerations is handled by overriding the
* toString()
method. Additionally, all enumerations must implement
* the {@link com.jakewharton.trakt.TraktEnumeration} interface in order to
* be properly serialized.
*
* Deserialization of an enumerable value requires registration with the
* GSON builder in the
* {@link com.jakewharton.trakt.TraktApiService#getGsonBuilder()} method.
* An appropriate method of deserialization should be handled by a static
* method defined within the type, by convention,
* fromString(String)
.
*/
package com.jakewharton.trakt.enumerations;