Repository: seratch/notion-sdk-jvm (kotlin)

Issue:
How to retrieve value when property is rollup?
First of all thanks for creating this client, helping me a lot.

I would need to retrieve the value of some rollup properties, but not sure how to do it.

This is how I am accessing value for other properties type:
`List<Page> database = client.queryDatabase(new QueryDatabaseRequest(DatabaseList.REPERTOIRE_DATABASE)).getResults();
String title = database.get(0).getProperties().get("Order").getTitle().get(0).getPlainText()`

I don't seem to find a way to access to the rollup values using the same path:
`Rollup musicRollup = database.get(0).getProperties().get("Music Rollup").getRollup()`

The Rollup class contains only the 3 key related to the rollup itself but not the content of the rollup.

Is there another way I should access the rollup values?

Thank you for your help!

Pull request description:
This pull request fixes #30

Patch:
diff --git a/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt b/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
index 26cdbc7..ae989bb 100644
--- a/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
+++ b/core/src/main/kotlin/notion/api/v1/model/pages/PageProperty.kt
@@ -99,6 +99,7 @@ constructor(
   constructor(
       val type: String,
       val number: Number? = null,
+      val array: List<PageProperty>? = null,
       val function: String? = null,
   )
 }


Test patch:
diff --git a/core/src/test/kotlin/tests/model/PagesTest.kt b/core/src/test/kotlin/tests/model/PagesTest.kt
index bc5a8a2..c74bd66 100644
--- a/core/src/test/kotlin/tests/model/PagesTest.kt
+++ b/core/src/test/kotlin/tests/model/PagesTest.kt
@@ -81,6 +81,37 @@ class PagesTest {
     "Done": {
       "id": "467a58f9-dccf-4cfb-a203-a995731da577",
       "checkbox": true
+    },
+    "Rollup Array": {
+      "id": "467a58f9-dccf-4cfb-a203-a995731da577",
+      "rollup": {
+        "type": "array",
+        "array": [
+          {
+            "type": "title",
+            "title": [
+              {
+                "type": "text",
+                "text": {
+                  "content": "Gamba intermezzo",
+                  "link": null
+                },
+                "annotations": {
+                  "bold": false,
+                  "italic": false,
+                  "strikethrough": false,
+                  "underline": false,
+                  "code": false,
+                  "color": "default"
+                },
+                "plain_text": "Gamba intermezzo",
+                "href": null
+              }
+            ]
+          }
+        ],
+        "function": "show_original"
+      }
     }
   }
 }