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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CaseOperation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the action property value.Gets the completedDateTime property value.Gets the createdBy property value.Gets the createdDateTime property value.The deserialization information for the current modelGets the percentProgress property value.Gets the resultInfo property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAction
(CaseAction value) Sets the action property value.void
Sets the completedDateTime property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setPercentProgress
(Integer value) Sets the percentProgress property value.void
setResultInfo
(ResultInfo value) Sets the resultInfo property value.void
setStatus
(CaseOperationStatus value) Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
CaseOperation
public CaseOperation()Instantiates a newCaseOperation
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
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
Gets the completedDateTime property value. The date and time the operation was completed.- Returns:
- a
OffsetDateTime
-
getCreatedBy
Gets the createdBy property value. The user that created the operation.- Returns:
- a
IdentitySet
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPercentProgress
Gets the percentProgress property value. The progress of the operation.- Returns:
- a
Integer
-
getResultInfo
Gets the resultInfo property value. Contains success and failure-specific result information.- Returns:
- a
ResultInfo
-
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 -
setAction
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
Sets the completedDateTime property value. The date and time the operation was completed.- Parameters:
value
- Value to set for the completedDateTime property.
-
setCreatedBy
Sets the createdBy property value. The user that created the operation.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time the operation was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setPercentProgress
Sets the percentProgress property value. The progress of the operation.- Parameters:
value
- Value to set for the percentProgress property.
-
setResultInfo
Sets the resultInfo property value. Contains success and failure-specific result information.- Parameters:
value
- Value to set for the resultInfo property.
-
setStatus
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.
-