Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 938 Bytes

parent-11.md

File metadata and controls

32 lines (21 loc) · 938 Bytes

Parent 11

The parent page to create the comment on. Required if discussion_id is not provided.

This model accepts additional fields of type Object.

Structure

Parent11

Fields

Name Type Tags Description Getter Setter
PageId UUID Optional The ID of the parent page. UUID getPageId() setPageId(UUID pageId)
AdditionalProperties Map<String, Object> Optional - Object getAdditionalProperty(String key) additionalProperty(String key, Object value)

Example

import com.notion.api.ApiHelper;
import com.notion.api.models.Parent11;
import java.io.IOException;
import java.util.UUID;

Parent11 parent11 = new Parent11.Builder()
    .pageId(UUID.fromString("00001f2e-0000-0000-0000-000000000000"))
.additionalProperty("exampleAdditionalProperty", ApiHelper.deserialize("{\"key1\":\"val1\",\"key2\":\"val2\"}"))
    .build();