Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe App Display Name.The App Id.The Pending Scopes.The User Consent Requests. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
appDisplayName
@SerializedName(value="appDisplayName", alternate="AppDisplayName") @Expose @Nullable public String appDisplayNameThe App Display Name. The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. -
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> pendingScopesThe 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 userConsentRequestsThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-