Class AppConsentRequest

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

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

    • appDisplayName

      @SerializedName(value="appDisplayName", alternate="AppDisplayName") @Expose @Nullable public String appDisplayName
      The App Display Name. The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.
    • appId

      @SerializedName(value="appId", alternate="AppId") @Expose @Nullable public String appId
      The App Id. The identifier of the application. Required. Supports $filter (eq only) and $orderby.
    • pendingScopes

      @SerializedName(value="pendingScopes", alternate="PendingScopes") @Expose @Nullable public List<AppConsentRequestScope> pendingScopes
      The Pending Scopes. A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required.
    • userConsentRequests

      @SerializedName(value="userConsentRequests", alternate="UserConsentRequests") @Expose @Nullable public UserConsentRequestCollectionPage userConsentRequests
      The User Consent Requests. A list of pending user consent requests.
  • Constructor Details

    • AppConsentRequest

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