Skip to content

Commit 2eff99e

Browse files
committed
Make number and date nullable
1 parent 69c7f74 commit 2eff99e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Src/Notion.Client/Models/PropertyValue/DatePropertyValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class DatePropertyValue : PropertyValue
1414
/// Date
1515
/// </summary>
1616
[JsonProperty("date")]
17-
public Date Date { get; set; }
17+
public Date? Date { get; set; }
1818
}
1919

2020
/// <summary>

Src/Notion.Client/Models/PropertyValue/RollupPropertyValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class RollupValue
2929
/// Number rollup property values contain a number
3030
/// </summary>
3131
[JsonProperty("number")]
32-
public double Number { get; set; }
32+
public double? Number { get; set; }
3333

3434
/// <summary>
3535
/// Date rollup property values contain a date property value.

0 commit comments

Comments
 (0)