com.google.maps.clients.ApiErrorResponseJson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapsengine-api-java-wrapper Show documentation
Show all versions of mapsengine-api-java-wrapper Show documentation
Provides some extra sugar for the machine-generated Java library for Google Maps Engine. https://developers.google.com/api-client-library/java/apis/mapsengine/v1
package com.google.maps.clients;
import com.google.api.client.util.Key;
import java.util.List;
/**
* An error response as returned by the API. Used for serialisation via
* {@link com.google.api.client.json.JsonFactory}.
*/
public class ApiErrorResponseJson {
@Key public ApiErrorCollectionJson error;
/** The top-level error message, code and list of individual errors. */
public static class ApiErrorCollectionJson {
@Key public List errors;
@Key public int code;
@Key public String message;
/** The individual errors. */
public static class ApiErrorJson {
@Key public String domain;
@Key public String reason;
@Key public String message;
}
}
}