Package com.microsoft.graph.models
Class UnifiedApprovalStage
java.lang.Object
com.microsoft.graph.models.UnifiedApprovalStage
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UnifiedApprovalStage
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnifiedApprovalStagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the approvalStageTimeOutInDays property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the escalationApprovers property value.Gets the escalationTimeInMinutes property value.The deserialization information for the current modelGets the isApproverJustificationRequired property value.Gets the isEscalationEnabled property value.Gets the @odata.type property value.Gets the primaryApprovers property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the approvalStageTimeOutInDays property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetEscalationApprovers(List<SubjectSet> value) Sets the escalationApprovers property value.voidSets the escalationTimeInMinutes property value.voidSets the isApproverJustificationRequired property value.voidsetIsEscalationEnabled(Boolean value) Sets the isEscalationEnabled property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPrimaryApprovers(List<SubjectSet> value) Sets the primaryApprovers property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
UnifiedApprovalStage
public UnifiedApprovalStage()Instantiates a newUnifiedApprovalStageand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UnifiedApprovalStage 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
UnifiedApprovalStage
-
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. -
getApprovalStageTimeOutInDays
Gets the approvalStageTimeOutInDays property value. The number of days that a request can be pending a response before it is automatically denied.- Returns:
- a
Integer
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getEscalationApprovers
Gets the escalationApprovers property value. The escalation approvers for this stage when the primary approvers don't respond.- Returns:
- a
List<SubjectSet>
-
getEscalationTimeInMinutes
Gets the escalationTimeInMinutes property value. The time a request can be pending a response from a primary approver before it can be escalated to the escalation approvers.- Returns:
- a
Integer
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getIsApproverJustificationRequired
Gets the isApproverJustificationRequired property value. Indicates whether the approver must provide justification for their reponse.- Returns:
- a
Boolean
-
getIsEscalationEnabled
Gets the isEscalationEnabled property value. Indicates whether escalation if enabled.- Returns:
- a
Boolean
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPrimaryApprovers
Gets the primaryApprovers property value. The primary approvers of this stage.- Returns:
- a
List<SubjectSet>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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.
-
setApprovalStageTimeOutInDays
Sets the approvalStageTimeOutInDays 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 approvalStageTimeOutInDays 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.
-
setEscalationApprovers
Sets the escalationApprovers property value. The escalation approvers for this stage when the primary approvers don't respond.- Parameters:
value- Value to set for the escalationApprovers property.
-
setEscalationTimeInMinutes
Sets the escalationTimeInMinutes property value. The time a request can be pending a response from a primary approver before it can be escalated to the escalation approvers.- Parameters:
value- Value to set for the escalationTimeInMinutes property.
-
setIsApproverJustificationRequired
Sets the isApproverJustificationRequired property value. Indicates whether the approver must provide justification for their reponse.- Parameters:
value- Value to set for the isApproverJustificationRequired property.
-
setIsEscalationEnabled
Sets the isEscalationEnabled property value. Indicates whether escalation if enabled.- Parameters:
value- Value to set for the isEscalationEnabled property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPrimaryApprovers
Sets the primaryApprovers property value. The primary approvers of this stage.- Parameters:
value- Value to set for the primaryApprovers property.
-