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
  • Constructor Details

  • 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

      @Nullable public String getCustomExtensionStageInstanceDetail()
      Gets the customExtensionStageInstanceDetail property value. Details for the callback.
      Returns:
      a String
    • getCustomExtensionStageInstanceId

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class CustomExtensionData
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getStage

      @Nullable public AccessPackageCustomExtensionStage 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class CustomExtensionData
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCustomExtensionStageInstanceDetail

      public void setCustomExtensionStageInstanceDetail(@Nullable String value)
      Sets the customExtensionStageInstanceDetail property value. Details for the callback.
      Parameters:
      value - Value to set for the customExtensionStageInstanceDetail property.
    • setCustomExtensionStageInstanceId

      public void setCustomExtensionStageInstanceId(@Nullable String value)
      Sets the customExtensionStageInstanceId property value. Unique identifier of the callout to the custom extension.
      Parameters:
      value - Value to set for the customExtensionStageInstanceId property.
    • setStage

      public void setStage(@Nullable AccessPackageCustomExtensionStage value)
      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

      public void setState(@Nullable String value)
      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.