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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • approvalMode

      @SerializedName(value="approvalMode", alternate="ApprovalMode") @Expose @Nullable public String approvalMode
      The 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> approvalStages
      The 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 isApprovalRequired
      The Is Approval Required. Indicates whether approval is required for requests in this policy.
    • isApprovalRequiredForExtension

      @SerializedName(value="isApprovalRequiredForExtension", alternate="IsApprovalRequiredForExtension") @Expose @Nullable public Boolean isApprovalRequiredForExtension
      The 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 isRequestorJustificationRequired
      The 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 interface com.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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to