Class AccessPackageAssignmentRequest

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

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

    • completedDateTime

      @SerializedName(value="completedDateTime", alternate="CompletedDateTime") @Expose @Nullable public OffsetDateTime completedDateTime
      The Completed Date Time. The date of the end of processing, either successful or failure, of a request. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter.
    • requestType

      @SerializedName(value="requestType", alternate="RequestType") @Expose @Nullable public AccessPackageRequestType requestType
      The Request Type. The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
    • schedule

      @SerializedName(value="schedule", alternate="Schedule") @Expose @Nullable public EntitlementManagementSchedule schedule
      The Schedule. The range of dates that access is to be assigned to the requestor. This property cannot be changed once set.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public AccessPackageRequestState state
      The State. The state of the request. The possible values are: submitted, pendingApproval, delivering, delivered, deliveryFailed, denied, scheduled, canceled, partiallyDelivered, unknownFutureValue. Read-only. Supports $filter (eq).
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public String status
      The Status. More information on the request processing status. Read-only.
    • accessPackage

      @SerializedName(value="accessPackage", alternate="AccessPackage") @Expose @Nullable public AccessPackage accessPackage
      The Access Package. The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand.
    • assignment

      @SerializedName(value="assignment", alternate="Assignment") @Expose @Nullable public AccessPackageAssignment assignment
      The Assignment. For a requestType of userAdd or adminAdd, this is an access package assignment requested to be created. For a requestType of userRemove, adminRemove or systemRemove, this has the id property of an existing assignment to be removed. Supports $expand.
    • requestor

      @SerializedName(value="requestor", alternate="Requestor") @Expose @Nullable public AccessPackageSubject requestor
      The Requestor. The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand.
  • Constructor Details

    • AccessPackageAssignmentRequest

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