Class RichLongRunningOperation

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class RichLongRunningOperation extends LongRunningOperation implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Rich Long Running Operation.
  • Field Details

    • error

      @SerializedName(value="error", alternate="Error") @Expose @Nullable public PublicError error
      The Error. Error that caused the operation to fail.
    • percentageComplete

      @SerializedName(value="percentageComplete", alternate="PercentageComplete") @Expose @Nullable public Integer percentageComplete
      The Percentage Complete. A value between 0 and 100 that indicates the progress of the operation.
    • resourceId

      @SerializedName(value="resourceId", alternate="ResourceId") @Expose @Nullable public String resourceId
      The Resource Id. The unique identifier for the result.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public String type
      The Type. The type of the operation.
  • Constructor Details

    • RichLongRunningOperation

      public RichLongRunningOperation()
  • Method Details

    • 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
      Overrides:
      setRawObject in class LongRunningOperation
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to