From e6c42fd08239aa64c02bc9f8c37aff62b3b7930c Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Fri, 28 Jun 2024 09:52:39 +0300 Subject: [PATCH] Remove `DataRedactionStatus` enum because of serialization issues --- src/FaluSdk/Core/DataRedaction.cs | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/FaluSdk/Core/DataRedaction.cs b/src/FaluSdk/Core/DataRedaction.cs index aeb160c9..c3d11c19 100644 --- a/src/FaluSdk/Core/DataRedaction.cs +++ b/src/FaluSdk/Core/DataRedaction.cs @@ -8,7 +8,7 @@ public class DataRedaction /// /// Indicates whether the object and its related objects have been redacted or not. /// - public DataRedactionStatus Status { get; set; } + public string? Status { get; set; } /// /// Time at which the redaction was requested. @@ -22,20 +22,3 @@ public class DataRedaction /// public DateTimeOffset? Completed { get; set; } } - -/// -/// Represents the status of a redaction. -/// -public enum DataRedactionStatus -{ - /// - /// The object and its related objects have been redacted. - /// - Redacted, - - /// - /// The object has been redacted, and its related objects are in the process of being redacted. - /// This process may take up to a week. - /// - Processing, -}