Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Access Package.The Assignment.The Completed Date Time.The Created Date Time.The Requestor.The Request Type.The Schedule.The State.The Status. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
completedDateTime
@SerializedName(value="completedDateTime", alternate="CompletedDateTime") @Expose @Nullable public OffsetDateTime completedDateTimeThe 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 createdDateTimeThe 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 requestTypeThe Request Type. The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd, 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 scheduleThe 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 stateThe 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
The Status. More information on the request processing status. Read-only. -
accessPackage
@SerializedName(value="accessPackage", alternate="AccessPackage") @Expose @Nullable public AccessPackage accessPackageThe 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 assignmentThe 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 requestorThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-