Skip to content

Commit f6de4f9

Browse files
committed
fix: Adds Date property for AriUpdateData
Adds the `Date` property to the `AriUpdateData` model, allowing a single date to be specified alongside the existing `FromDate`. This provides more flexibility when updating Availability, Restrictions, and Inventory (ARI) data.
1 parent 3767ef6 commit f6de4f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/GuestLineSDK/Ari/AriUpdate.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ public class AriUpdateData : Model<AriUpdateData>
106106
[JsonPropertyName("ctd"), JsonConverter(typeof(BooleanCharacterJsonConverter))]
107107
public bool ClosedToDeparture { get; set; }
108108

109+
/// <summary>
110+
/// Date in YYYY-MM-DD format.
111+
/// </summary>
112+
[JsonPropertyName("date"), JsonConverter(typeof(DateOnlyJsonConverter))]
113+
public DateTime? Date { get; set; }
114+
109115
/// <summary>
110116
/// Date in YYYY-MM-DD format.
111117
/// </summary>

0 commit comments

Comments
 (0)