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

com.google.maps.clients.ApiErrorResponseJson Maven / Gradle / Ivy

Go to download

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

There is a newer version: 0.2
Show newest version
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;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy