java.lang.Object
com.microsoft.graph.models.identitygovernance.WorkflowBase
com.microsoft.graph.models.identitygovernance.Workflow
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Workflow extends WorkflowBase implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • Workflow

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

    • createFromDiscriminatorValue

      @Nonnull public static Workflow 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 Workflow
    • getDeletedDateTime

      @Nullable public OffsetDateTime getDeletedDateTime()
      Gets the deletedDateTime property value. When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Returns:
      a OffsetDateTime
    • getExecutionScope

      @Nullable public List<UserProcessingResult> getExecutionScope()
      Gets the executionScope property value. The unique identifier of the Microsoft Entra identity that last modified the workflow object.
      Returns:
      a List<UserProcessingResult>
    • 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 WorkflowBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getId

      @Nullable public String getId()
      Gets the id property value. Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
      Returns:
      a String
    • getNextScheduleRunDateTime

      @Nullable public OffsetDateTime getNextScheduleRunDateTime()
      Gets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
      Returns:
      a OffsetDateTime
    • getRuns

      @Nullable public List<Run> getRuns()
      Gets the runs property value. Workflow runs.
      Returns:
      a List<Run>
    • getTaskReports

      @Nullable public List<TaskReport> getTaskReports()
      Gets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object.
      Returns:
      a List<TaskReport>
    • getUserProcessingResults

      @Nullable public List<UserProcessingResult> getUserProcessingResults()
      Gets the userProcessingResults property value. Per-user workflow execution results.
      Returns:
      a List<UserProcessingResult>
    • getVersion

      @Nullable public Integer getVersion()
      Gets the version property value. The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Returns:
      a Integer
    • getVersions

      @Nullable public List<WorkflowVersion> getVersions()
      Gets the versions property value. The workflow versions that are available.
      Returns:
      a List<WorkflowVersion>
    • 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 WorkflowBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeletedDateTime

      public void setDeletedDateTime(@Nullable OffsetDateTime value)
      Sets the deletedDateTime property value. When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the deletedDateTime property.
    • setExecutionScope

      public void setExecutionScope(@Nullable List<UserProcessingResult> value)
      Sets the executionScope property value. The unique identifier of the Microsoft Entra identity that last modified the workflow object.
      Parameters:
      value - Value to set for the executionScope property.
    • setId

      public void setId(@Nullable String value)
      Sets the id property value. Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
      Parameters:
      value - Value to set for the id property.
    • setNextScheduleRunDateTime

      public void setNextScheduleRunDateTime(@Nullable OffsetDateTime value)
      Sets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
      Parameters:
      value - Value to set for the nextScheduleRunDateTime property.
    • setRuns

      public void setRuns(@Nullable List<Run> value)
      Sets the runs property value. Workflow runs.
      Parameters:
      value - Value to set for the runs property.
    • setTaskReports

      public void setTaskReports(@Nullable List<TaskReport> value)
      Sets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object.
      Parameters:
      value - Value to set for the taskReports property.
    • setUserProcessingResults

      public void setUserProcessingResults(@Nullable List<UserProcessingResult> value)
      Sets the userProcessingResults property value. Per-user workflow execution results.
      Parameters:
      value - Value to set for the userProcessingResults property.
    • setVersion

      public void setVersion(@Nullable Integer value)
      Sets the version property value. The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the version property.
    • setVersions

      public void setVersions(@Nullable List<WorkflowVersion> value)
      Sets the versions property value. The workflow versions that are available.
      Parameters:
      value - Value to set for the versions property.