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.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AppConsentRequest
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AppConsentRequestcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appDisplayName property value.getAppId()Gets the appId property value.The deserialization information for the current modelGets the pendingScopes property value.Gets the userConsentRequests property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppDisplayName(String value) Sets the appDisplayName property value.voidSets the appId property value.voidSets the pendingScopes property value.voidSets the userConsentRequests property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AppConsentRequest
public AppConsentRequest()Instantiates a newAppConsentRequestand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AppConsentRequest createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
AppConsentRequest
-
getAppDisplayName
Gets the appDisplayName property value. The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.- Returns:
- a
String
-
getAppId
Gets the appId property value. The identifier of the application. Required. Supports $filter (eq only) and $orderby.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPendingScopes
Gets the pendingScopes property value. A list of pending scopes waiting for approval. Required.- Returns:
- a
List<AppConsentRequestScope>
-
getUserConsentRequests
Gets the userConsentRequests property value. A list of pending user consent requests. Supports $filter (eq).- Returns:
- a
List<UserConsentRequest>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppDisplayName
Sets the appDisplayName property value. The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.- Parameters:
value- Value to set for the appDisplayName property.
-
setAppId
Sets the appId property value. The identifier of the application. Required. Supports $filter (eq only) and $orderby.- Parameters:
value- Value to set for the appId property.
-
setPendingScopes
Sets the pendingScopes property value. A list of pending scopes waiting for approval. Required.- Parameters:
value- Value to set for the pendingScopes property.
-
setUserConsentRequests
Sets the userConsentRequests property value. A list of pending user consent requests. Supports $filter (eq).- Parameters:
value- Value to set for the userConsentRequests property.
-