Class DelegatedAdminRelationshipRequest

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

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

    • action

      @SerializedName(value="action", alternate="Action") @Expose @Nullable public DelegatedAdminRelationshipRequestAction action
      The Action. The action to be performed on the delegated admin relationship. The possible values are: lockForApproval, approve, terminate, unknownFutureValue, reject. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reject. For a partner to finalize a relationship in the created status, set the action to lockForApproval. For a partner to terminate a relationship in the active status, set the action to terminate. For an indirect reseller to approve a relationship created by an indirect provider in the approvalPending status, set the action to approve. For an indirect reseller to reject a relationship created by an indirect provider in the approvalPending status, set the action to reject.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The date and time in ISO 8601 format and in UTC time when the relationship request was created. Read-only.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time. The date and time in ISO 8601 format and UTC time when this relationship request was last modified. Read-only.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public DelegatedAdminRelationshipRequestStatus status
      The Status. The status of the request. Read-only. The possible values are: created, pending, succeeded, failed, unknownFutureValue.
  • Constructor Details

    • DelegatedAdminRelationshipRequest

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