// Path: SeriesGuideMovies/src/com/jakewharton/trakt/entities/Response.java
// 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;
//     }
// }


import com.google.myjson.GsonBuilder;
import com.google.myjson.JsonElement;
import com.google.myjson.JsonObject;
import com.google.myjson.JsonParseException;
import com.google.myjson.reflect.TypeToken;
import com.jakewharton.apibuilder.ApiBuilder;
import com.jakewharton.apibuilder.ApiException;
import com.jakewharton.trakt.entities.Response;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
        this.postParameter(POST_APP_VERSION, service.getAppVersion());
        this.postParameter(POST_APP_DATE, service.getAppDate());
    }

    /**
     * <p>Execute the remote API method and return the JSON object result.<p>
     *
     * <p>This method can be overridden to select a specific subset of the JSON
     * object. The overriding implementation should still call 'super.execute()'
     * and then perform the filtering from there.</p>
     *
     * @return JSON object instance.
     */
    protected final JsonElement execute() {
        String url = this.buildUrl();
        while (url.endsWith("/")) {
            url = url.substring(0, url.length() - 1);
        }

        try {
            switch (this.method) {
                case Get:
                    return this.service.get(url);
                case Post:
                    return this.service.post(url, this.postBody.toString());
                default:
                    throw new IllegalArgumentException("Unknown HttpMethod type " + this.method.toString());
            }
        } catch (ApiException ae) {
            try {
// Path: SeriesGuideMovies/src/com/jakewharton/trakt/entities/Response.java
// 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;
//     }
// }


// Path: SeriesGuideMovies/src/com/jakewharton/trakt/TraktApiBuilder.java
import com.google.myjson.GsonBuilder;
import com.google.myjson.JsonElement;
import com.google.myjson.JsonObject;
import com.google.myjson.JsonParseException;
import com.google.myjson.reflect.TypeToken;
import com.jakewharton.apibuilder.ApiBuilder;
import com.jakewharton.apibuilder.ApiException;
import com.jakewharton.trakt.entities.Response;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

        this.postParameter(POST_APP_VERSION, service.getAppVersion());
        this.postParameter(POST_APP_DATE, service.getAppDate());
    }

    /**
     * <p>Execute the remote API method and return the JSON object result.<p>
     *
     * <p>This method can be overridden to select a specific subset of the JSON
     * object. The overriding implementation should still call 'super.execute()'
     * and then perform the filtering from there.</p>
     *
     * @return JSON object instance.
     */
    protected final JsonElement execute() {
        String url = this.buildUrl();
        while (url.endsWith("/")) {
            url = url.substring(0, url.length() - 1);
        }

        try {
            switch (this.method) {
                case Get:
                    return this.service.get(url);
                case Post:
                    return this.service.post(url, this.postBody.toString());
                default:
                    throw new IllegalArgumentException("Unknown HttpMethod type " + this.method.toString());
            }
        } catch (ApiException ae) {
            try {
                Response response = this.service.unmarshall(new TypeToken<Response>() {}, ae.getMessage());