Skip to content

Commit

Permalink
Add email
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwsteenbergen committed Feb 18, 2024
1 parent d7acb31 commit 361baef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ApiLibs/NotionRest/ReturnClassesProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,20 @@ public void Set(string input)
}
}

public class EmailProperty : NotionProperty, INotionProperty<string>
{

[JsonProperty("email")]
public string Email { get; set; }

public string Get() => Email;

public void Set(string input)
{
Email = input;
}
}

[JsonConverter(typeof(DatePropertyConverter))]
public class DateProperty : NotionProperty
{
Expand Down

0 comments on commit 361baef

Please sign in to comment.