Class UserConsentRequest

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

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

    • reason

      @SerializedName(value="reason", alternate="Reason") @Expose @Nullable public String reason
      The Reason. The user's justification for requiring access to the app. Supports $filter (eq only) and $orderby.
    • approval

      @SerializedName(value="approval", alternate="Approval") @Expose @Nullable public Approval approval
      The Approval. Approval decisions associated with a request.
  • Constructor Details

    • UserConsentRequest

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