Package com.microsoft.graph.models
Class ApprovalSettings
java.lang.Object
com.microsoft.graph.models.ApprovalSettings
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ApprovalSettings
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Approval Settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Approval Mode.The Approval Stages.The Is Approval Required.The Is Approval Required For Extension.The Is Requestor Justification Required.the OData type of the object as returned by the service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
approvalMode
@SerializedName(value="approvalMode", alternate="ApprovalMode") @Expose @Nullable public String approvalModeThe Approval Mode. One of SingleStage, Serial, Parallel, NoApproval (default). NoApproval is used when isApprovalRequired is false. -
approvalStages
@SerializedName(value="approvalStages", alternate="ApprovalStages") @Expose @Nullable public List<UnifiedApprovalStage> approvalStagesThe Approval Stages. If approval is required, the one or two elements of this collection define each of the stages of approval. An empty array if no approval is required. -
isApprovalRequired
@SerializedName(value="isApprovalRequired", alternate="IsApprovalRequired") @Expose @Nullable public Boolean isApprovalRequiredThe Is Approval Required. Indicates whether approval is required for requests in this policy. -
isApprovalRequiredForExtension
@SerializedName(value="isApprovalRequiredForExtension", alternate="IsApprovalRequiredForExtension") @Expose @Nullable public Boolean isApprovalRequiredForExtensionThe Is Approval Required For Extension. Indicates whether approval is required for a user to extend their assignment. -
isRequestorJustificationRequired
@SerializedName(value="isRequestorJustificationRequired", alternate="IsRequestorJustificationRequired") @Expose @Nullable public Boolean isRequestorJustificationRequiredThe Is Requestor Justification Required. Indicates whether the requestor is required to supply a justification in their request.
-
-
Constructor Details
-
ApprovalSettings
public ApprovalSettings()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-