Class GraphErrorResponse

java.lang.Object
com.microsoft.graph.http.GraphErrorResponse
All Implemented Interfaces:
IJsonBackedObject

public class GraphErrorResponse extends Object implements IJsonBackedObject
Represents the error response body returned by the service
  • Field Details

    • error

      @SerializedName("error") @Expose @Nullable public GraphError error
      The error returned by the response
    • rawObject

      @Expose(serialize=false, deserialize=false) @Nullable public com.google.gson.JsonObject rawObject
      The raw representation of this class when deserialized
  • Constructor Details

    • GraphErrorResponse

      public GraphErrorResponse()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface IJsonBackedObject
      Parameters:
      serializer - the serializer for sub class deserialization
      json - the JSON that this object was derived from
    • additionalDataManager

      @Nullable public final AdditionalDataManager additionalDataManager()
      Description copied from interface: IJsonBackedObject
      Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call
      Specified by:
      additionalDataManager in interface IJsonBackedObject
      Returns:
      the AddtionalDataManager