Package com.microsoft.graph.models
Class AccessPackageAssignmentRequestCallbackData
java.lang.Object
com.microsoft.graph.models.CustomExtensionData
com.microsoft.graph.models.AccessPackageAssignmentRequestCallbackData
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessPackageAssignmentRequestCallbackData
extends CustomExtensionData
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.CustomExtensionData
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAccessPackageAssignmentRequestCallbackData
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the customExtensionStageInstanceDetail property value.Gets the customExtensionStageInstanceId property value.The deserialization information for the current modelgetStage()
Gets the stage property value.getState()
Gets the state property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the customExtensionStageInstanceDetail property value.void
Sets the customExtensionStageInstanceId property value.void
Sets the stage property value.void
Sets the state property value.Methods inherited from class com.microsoft.graph.models.CustomExtensionData
getAdditionalData, getBackingStore, getOdataType, setAdditionalData, setBackingStore, setOdataType
-
Constructor Details
-
AccessPackageAssignmentRequestCallbackData
public AccessPackageAssignmentRequestCallbackData()Instantiates a newAccessPackageAssignmentRequestCallbackData
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessPackageAssignmentRequestCallbackData 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
AccessPackageAssignmentRequestCallbackData
-
getCustomExtensionStageInstanceDetail
Gets the customExtensionStageInstanceDetail property value. Details for the callback.- Returns:
- a
String
-
getCustomExtensionStageInstanceId
Gets the customExtensionStageInstanceId property value. Unique identifier of the callout to the custom extension.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classCustomExtensionData
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getStage
Gets the stage property value. Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.- Returns:
- a
AccessPackageCustomExtensionStage
-
getState
Gets the state property value. Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classCustomExtensionData
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setCustomExtensionStageInstanceDetail
Sets the customExtensionStageInstanceDetail property value. Details for the callback.- Parameters:
value
- Value to set for the customExtensionStageInstanceDetail property.
-
setCustomExtensionStageInstanceId
Sets the customExtensionStageInstanceId property value. Unique identifier of the callout to the custom extension.- Parameters:
value
- Value to set for the customExtensionStageInstanceId property.
-
setStage
Sets the stage property value. Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.- Parameters:
value
- Value to set for the stage property.
-
setState
Sets the state property value. Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.- Parameters:
value
- Value to set for the state property.
-