Package notion.api.v1.endpoint
Interface CommentsSupport
-
- All Implemented Interfaces:
-
notion.api.v1.endpoint.EndpointsSupport
public interface CommentsSupport implements EndpointsSupport
-
-
Method Summary
Modifier and Type Method Description Comment
createComment(PageParent parent, List<PageProperty.RichText> richText)
Comment
createComment(String discussionId, List<PageProperty.RichText> richText)
Comment
createComment(CreateCommentRequest comment)
Comments
retrieveComments(String blockId, Integer pageSize)
Comments
retrieveComments(String blockId, String startCursor, Integer pageSize)
Comments
retrieveComments(RetrieveCommentsRequest request)
abstract NotionHttpClient
getHttpClient()
abstract NotionJsonSerializer
getJsonSerializer()
abstract NotionLogger
getLogger()
abstract String
getBaseUrl()
-
-
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()
-
-
-
-