Class TaskProcessingResult

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

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

    • TaskProcessingResult

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

    • createFromDiscriminatorValue

      @Nonnull public static TaskProcessingResult 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 TaskProcessingResult
    • getCompletedDateTime

      @Nullable public OffsetDateTime getCompletedDateTime()
      Gets the completedDateTime property value. The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Returns:
      a OffsetDateTime
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Returns:
      a OffsetDateTime
    • getFailureReason

      @Nullable public String getFailureReason()
      Gets the failureReason property value. Describes why the taskProcessingResult has failed.
      Returns:
      a String
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getProcessingStatus

      @Nullable public LifecycleWorkflowProcessingStatus getProcessingStatus()
      Gets the processingStatus property value. The processingStatus property
      Returns:
      a LifecycleWorkflowProcessingStatus
    • getStartedDateTime

      @Nullable public OffsetDateTime getStartedDateTime()
      Gets the startedDateTime property value. The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Returns:
      a OffsetDateTime
    • getSubject

      @Nullable public User getSubject()
      Gets the subject property value. The subject property
      Returns:
      a User
    • getTask

      @Nullable public Task getTask()
      Gets the task property value. The task property
      Returns:
      a Task
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCompletedDateTime

      public void setCompletedDateTime(@Nullable OffsetDateTime value)
      Sets the completedDateTime property value. The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the completedDateTime property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setFailureReason

      public void setFailureReason(@Nullable String value)
      Sets the failureReason property value. Describes why the taskProcessingResult has failed.
      Parameters:
      value - Value to set for the failureReason property.
    • setProcessingStatus

      public void setProcessingStatus(@Nullable LifecycleWorkflowProcessingStatus value)
      Sets the processingStatus property value. The processingStatus property
      Parameters:
      value - Value to set for the processingStatus property.
    • setStartedDateTime

      public void setStartedDateTime(@Nullable OffsetDateTime value)
      Sets the startedDateTime property value. The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
      Parameters:
      value - Value to set for the startedDateTime property.
    • setSubject

      public void setSubject(@Nullable User value)
      Sets the subject property value. The subject property
      Parameters:
      value - Value to set for the subject property.
    • setTask

      public void setTask(@Nullable Task value)
      Sets the task property value. The task property
      Parameters:
      value - Value to set for the task property.