Class CaseOperation

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.CaseOperation
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
EdiscoveryAddToReviewSetOperation, EdiscoveryEstimateOperation, EdiscoveryExportOperation, EdiscoveryHoldOperation, EdiscoveryIndexOperation, EdiscoveryPurgeDataOperation, EdiscoverySearchExportOperation, EdiscoveryTagOperation

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

    • CaseOperation

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

    • createFromDiscriminatorValue

      @Nonnull public static CaseOperation 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 CaseOperation
    • getAction

      @Nullable public CaseAction getAction()
      Gets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult.
      Returns:
      a CaseAction
    • getCompletedDateTime

      @Nullable public OffsetDateTime getCompletedDateTime()
      Gets the completedDateTime property value. The date and time the operation was completed.
      Returns:
      a OffsetDateTime
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. The user that created the operation.
      Returns:
      a IdentitySet
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time the operation was created.
      Returns:
      a OffsetDateTime
    • 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>>
    • getPercentProgress

      @Nullable public Integer getPercentProgress()
      Gets the percentProgress property value. The progress of the operation.
      Returns:
      a Integer
    • getResultInfo

      @Nullable public ResultInfo getResultInfo()
      Gets the resultInfo property value. Contains success and failure-specific result information.
      Returns:
      a ResultInfo
    • getStatus

      @Nullable public CaseOperationStatus getStatus()
      Gets the status property value. The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed.
      Returns:
      a CaseOperationStatus
    • 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
    • setAction

      public void setAction(@Nullable CaseAction value)
      Sets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult.
      Parameters:
      value - Value to set for the action property.
    • setCompletedDateTime

      public void setCompletedDateTime(@Nullable OffsetDateTime value)
      Sets the completedDateTime property value. The date and time the operation was completed.
      Parameters:
      value - Value to set for the completedDateTime property.
    • setCreatedBy

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. The user that created the operation.
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time the operation was created.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setPercentProgress

      public void setPercentProgress(@Nullable Integer value)
      Sets the percentProgress property value. The progress of the operation.
      Parameters:
      value - Value to set for the percentProgress property.
    • setResultInfo

      public void setResultInfo(@Nullable ResultInfo value)
      Sets the resultInfo property value. Contains success and failure-specific result information.
      Parameters:
      value - Value to set for the resultInfo property.
    • setStatus

      public void setStatus(@Nullable CaseOperationStatus value)
      Sets the status property value. The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed.
      Parameters:
      value - Value to set for the status property.