Class Request

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Request
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
UnifiedRoleAssignmentScheduleRequest, UnifiedRoleEligibilityScheduleRequest, UserConsentRequest

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

    • approvalId

      @SerializedName(value="approvalId", alternate="ApprovalId") @Expose @Nullable public String approvalId
      The Approval Id. The identifier of the approval of the request.
    • completedDateTime

      @SerializedName(value="completedDateTime", alternate="CompletedDateTime") @Expose @Nullable public OffsetDateTime completedDateTime
      The Completed Date Time. The request completion date time.
    • createdBy

      @SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdBy
      The Created By. The principal that created the request.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The request creation date time.
    • customData

      @SerializedName(value="customData", alternate="CustomData") @Expose @Nullable public String customData
      The Custom Data. Free text field to define any custom data for the request. Not used.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public String status
      The Status. The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.
  • Constructor Details

    • Request

      public Request()
  • 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