Class AccessPackageApprovalStage

java.lang.Object
com.microsoft.graph.models.AccessPackageApprovalStage
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
AccessPackageDynamicApprovalStage

@Generated("com.microsoft.kiota") public class AccessPackageApprovalStage extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • AccessPackageApprovalStage

      public AccessPackageApprovalStage()
      Instantiates a new AccessPackageApprovalStage and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AccessPackageApprovalStage 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 AccessPackageApprovalStage
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getDurationBeforeAutomaticDenial

      @Nullable public com.microsoft.kiota.PeriodAndDuration getDurationBeforeAutomaticDenial()
      Gets the durationBeforeAutomaticDenial property value. The number of days that a request can be pending a response before it is automatically denied.
      Returns:
      a PeriodAndDuration
    • getDurationBeforeEscalation

      @Nullable public com.microsoft.kiota.PeriodAndDuration getDurationBeforeEscalation()
      Gets the durationBeforeEscalation property value. If escalation is required, the time a request can be pending a response from a primary approver.
      Returns:
      a PeriodAndDuration
    • getEscalationApprovers

      @Nullable public List<SubjectSet> getEscalationApprovers()
      Gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests.
      Returns:
      a List<SubjectSet>
    • getFallbackEscalationApprovers

      @Nullable public List<SubjectSet> getFallbackEscalationApprovers()
      Gets the fallbackEscalationApprovers property value. The subjects, typically users, who are the fallback escalation approvers.
      Returns:
      a List<SubjectSet>
    • getFallbackPrimaryApprovers

      @Nullable public List<SubjectSet> getFallbackPrimaryApprovers()
      Gets the fallbackPrimaryApprovers property value. The subjects, typically users, who are the fallback primary approvers.
      Returns:
      a List<SubjectSet>
    • 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
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsApproverJustificationRequired

      @Nullable public Boolean getIsApproverJustificationRequired()
      Gets the isApproverJustificationRequired property value. Indicates whether the approver is required to provide a justification for approving a request.
      Returns:
      a Boolean
    • getIsEscalationEnabled

      @Nullable public Boolean getIsEscalationEnabled()
      Gets the isEscalationEnabled property value. If true, then one or more escalationApprovers are configured in this approval stage.
      Returns:
      a Boolean
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPrimaryApprovers

      @Nullable public List<SubjectSet> getPrimaryApprovers()
      Gets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors.
      Returns:
      a List<SubjectSet>
    • 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
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setDurationBeforeAutomaticDenial

      public void setDurationBeforeAutomaticDenial(@Nullable com.microsoft.kiota.PeriodAndDuration value)
      Sets the durationBeforeAutomaticDenial property value. The number of days that a request can be pending a response before it is automatically denied.
      Parameters:
      value - Value to set for the durationBeforeAutomaticDenial property.
    • setDurationBeforeEscalation

      public void setDurationBeforeEscalation(@Nullable com.microsoft.kiota.PeriodAndDuration value)
      Sets the durationBeforeEscalation property value. If escalation is required, the time a request can be pending a response from a primary approver.
      Parameters:
      value - Value to set for the durationBeforeEscalation property.
    • setEscalationApprovers

      public void setEscalationApprovers(@Nullable List<SubjectSet> value)
      Sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests.
      Parameters:
      value - Value to set for the escalationApprovers property.
    • setFallbackEscalationApprovers

      public void setFallbackEscalationApprovers(@Nullable List<SubjectSet> value)
      Sets the fallbackEscalationApprovers property value. The subjects, typically users, who are the fallback escalation approvers.
      Parameters:
      value - Value to set for the fallbackEscalationApprovers property.
    • setFallbackPrimaryApprovers

      public void setFallbackPrimaryApprovers(@Nullable List<SubjectSet> value)
      Sets the fallbackPrimaryApprovers property value. The subjects, typically users, who are the fallback primary approvers.
      Parameters:
      value - Value to set for the fallbackPrimaryApprovers property.
    • setIsApproverJustificationRequired

      public void setIsApproverJustificationRequired(@Nullable Boolean value)
      Sets the isApproverJustificationRequired property value. Indicates whether the approver is required to provide a justification for approving a request.
      Parameters:
      value - Value to set for the isApproverJustificationRequired property.
    • setIsEscalationEnabled

      public void setIsEscalationEnabled(@Nullable Boolean value)
      Sets the isEscalationEnabled property value. If true, then one or more escalationApprovers are configured in this approval stage.
      Parameters:
      value - Value to set for the isEscalationEnabled property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPrimaryApprovers

      public void setPrimaryApprovers(@Nullable List<SubjectSet> value)
      Sets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors.
      Parameters:
      value - Value to set for the primaryApprovers property.