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
  • Constructor Details

    • DataPolicyOperation

      public DataPolicyOperation()
      Instantiates a new DataPolicyOperation 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

      @Nullable public OffsetDateTime 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getProgress

      @Nullable public Double getProgress()
      Gets the progress property value. Specifies the progress of an operation.
      Returns:
      a Double
    • getStatus

      @Nullable public DataPolicyOperationStatus getStatus()
      Gets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue.
      Returns:
      a DataPolicyOperationStatus
    • getStorageLocation

      @Nullable public String getStorageLocation()
      Gets the storageLocation property value. The URL location to where data is being exported for export requests.
      Returns:
      a String
    • getSubmittedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public String 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
      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. 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

      public void setProgress(@Nullable Double value)
      Sets the progress property value. Specifies the progress of an operation.
      Parameters:
      value - Value to set for the progress property.
    • setStatus

      public void setStatus(@Nullable DataPolicyOperationStatus value)
      Sets the status property value. Possible values are: notStarted, running, complete, failed, unknownFutureValue.
      Parameters:
      value - Value to set for the status property.
    • setStorageLocation

      public void setStorageLocation(@Nullable String value)
      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

      public void setSubmittedDateTime(@Nullable OffsetDateTime value)
      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

      public void setUserId(@Nullable String value)
      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.