-
- All Implemented Interfaces:
-
notion.api.v1.endpoint.EndpointsSupport
public interface CommentsSupport implements EndpointsSupport
-
-
Method Summary
Modifier and Type Method Description CommentcreateComment(PageParent parent, List<PageProperty.RichText> richText)CommentcreateComment(String discussionId, List<PageProperty.RichText> richText)CommentcreateComment(CreateCommentRequest comment)CommentsretrieveComments(String blockId, Integer pageSize)CommentsretrieveComments(String blockId, String startCursor, Integer pageSize)CommentsretrieveComments(RetrieveCommentsRequest request)abstract NotionHttpClientgetHttpClient()abstract NotionJsonSerializergetJsonSerializer()abstract NotionLoggergetLogger()abstract StringgetBaseUrl()abstract StringgetToken()-
-
Method Detail
-
createComment
Comment createComment(PageParent parent, List<PageProperty.RichText> richText)
-
createComment
Comment createComment(String discussionId, List<PageProperty.RichText> richText)
-
createComment
Comment createComment(CreateCommentRequest comment)
-
retrieveComments
Comments retrieveComments(String blockId, Integer pageSize)
-
retrieveComments
Comments retrieveComments(String blockId, String startCursor, Integer pageSize)
-
retrieveComments
Comments retrieveComments(RetrieveCommentsRequest request)
-
getHttpClient
abstract NotionHttpClient getHttpClient()
-
getJsonSerializer
abstract NotionJsonSerializer getJsonSerializer()
-
getLogger
abstract NotionLogger getLogger()
-
getBaseUrl
abstract String getBaseUrl()
-
-
-
-