From 9fad59b356b0e90db43b87ce873a7743d8438afc Mon Sep 17 00:00:00 2001 From: Zac Turner Date: Thu, 9 Jan 2025 12:28:51 +1100 Subject: [PATCH] ON-45970 # Added `isArchived` to Forms --- CHANGELOG.md | 4 ++++ OneBlink.SDK/models/Form.cs | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e625b3b..05caecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ### Added +- `isArchived` to Forms + +### Added + - `styles` to `FormsAppEnvironment` ## [10.0.0] - 2024-12-11 diff --git a/OneBlink.SDK/models/Form.cs b/OneBlink.SDK/models/Form.cs index 05f173a..c136f2e 100644 --- a/OneBlink.SDK/models/Form.cs +++ b/OneBlink.SDK/models/Form.cs @@ -43,7 +43,8 @@ public Form( Guid? pointAddressEnvironmentId = null, bool? allowGeoscapeAddresses = null, FormEnableSubmission enableSubmission = null, - bool? disableAutosave = null + bool? disableAutosave = null, + bool? isArchived = null ) { if (id.HasValue) @@ -155,6 +156,7 @@ public Form( this.allowGeoscapeAddresses = allowGeoscapeAddresses ?? null; this.enableSubmission = enableSubmission; this.disableAutosave = disableAutosave; + this.isArchived = isArchived; } public long id { @@ -308,5 +310,10 @@ public bool? disableAutosave { get; set; } + public bool? isArchived + { + get; set; + } + } } \ No newline at end of file