Package com.microsoft.graph.models
Class DataPolicyOperation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DataPolicyOperation
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DataPolicyOperation
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 DataPolicyOperation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the completedDateTime property value.The deserialization information for the current modelGets the progress property value.Gets the status property value.Gets the storageLocation property value.Gets the submittedDateTime property value.Gets the userId property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the completedDateTime property value.void
setProgress
(Double value) Sets the progress property value.void
Sets the status property value.void
setStorageLocation
(String value) Sets the storageLocation property value.void
Sets the submittedDateTime property value.void
Sets the userId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DataPolicyOperation
public DataPolicyOperation()Instantiates a newDataPolicyOperation
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DataPolicyOperation 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
DataPolicyOperation
-
getCompletedDateTime
Gets the completedDateTime property value. Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes.- 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>>
-
getProgress
Gets the progress property value. Specifies the progress of an operation.- Returns:
- a
Double
-
getStatus
Gets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue.- Returns:
- a
DataPolicyOperationStatus
-
getStorageLocation
Gets the storageLocation property value. The URL location to where data is being exported for export requests.- Returns:
- a
String
-
getSubmittedDateTime
Gets the submittedDateTime property value. Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z- Returns:
- a
OffsetDateTime
-
getUserId
Gets the userId property value. The id for the user on whom the operation is performed.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCompletedDateTime
Sets the completedDateTime property value. Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes.- Parameters:
value
- Value to set for the completedDateTime property.
-
setProgress
Sets the progress property value. Specifies the progress of an operation.- Parameters:
value
- Value to set for the progress property.
-
setStatus
Sets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-
setStorageLocation
Sets the storageLocation property value. The URL location to where data is being exported for export requests.- Parameters:
value
- Value to set for the storageLocation property.
-
setSubmittedDateTime
Sets the submittedDateTime property value. Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z- Parameters:
value
- Value to set for the submittedDateTime property.
-
setUserId
Sets the userId property value. The id for the user on whom the operation is performed.- Parameters:
value
- Value to set for the userId property.
-