Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ public class DatabasesCreateParameters : IDatabasesCreateBodyParameters, IDataba
public FileObject Cover { get; set; }

public bool? IsInline { get; set; }

public string Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ public interface IDatabasesCreateBodyParameters

[JsonProperty("is_inline")]
bool? IsInline { get; set; }

[JsonProperty("description")]
string Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ public class DatabasesUpdateParameters : IDatabasesUpdateBodyParameters
public bool Archived { get; set; }

public bool? IsInline { get; set; }

public string Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ public interface IDatabasesUpdateBodyParameters

[JsonProperty("is_inline")]
bool? IsInline { get; set; }

[JsonProperty("description")]
string Description { get; set; }
}
}
3 changes: 3 additions & 0 deletions Src/Notion.Client/Models/Database/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ public class Database : IObject, IObjectModificationData

[JsonProperty("is_inline")]
public bool IsInline { get; set; }

[JsonProperty("description")]
public string Description { get; set; }
}
}