Class Operation

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Operation
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
OnenoteOperation

public class Operation extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Operation.
  • Field Details

    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The start time of the operation.
    • lastActionDateTime

      @SerializedName(value="lastActionDateTime", alternate="LastActionDateTime") @Expose @Nullable public OffsetDateTime lastActionDateTime
      The Last Action Date Time. The time of the last action of the operation.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public OperationStatus status
      The Status. The current status of the operation: notStarted, running, completed, failed
  • Constructor Details

    • Operation

      public Operation()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to