Class PublicError

java.lang.Object
com.microsoft.graph.models.PublicError
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class PublicError extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Public Error.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • code

      @SerializedName(value="code", alternate="Code") @Expose @Nullable public String code
      The Code. Represents the error code.
    • details

      @SerializedName(value="details", alternate="Details") @Expose @Nullable public List<PublicErrorDetail> details
      The Details. Details of the error.
    • innerError

      @SerializedName(value="innerError", alternate="InnerError") @Expose @Nullable public PublicInnerError innerError
      The Inner Error. Details of the inner error.
    • message

      @SerializedName(value="message", alternate="Message") @Expose @Nullable public String message
      The Message. A non-localized message for the developer.
    • target

      @SerializedName(value="target", alternate="Target") @Expose @Nullable public String target
      The Target. The target of the error.
  • Constructor Details

    • PublicError

      public PublicError()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to