Package notion.api.v1.model.comments
Class Comments
-
- All Implemented Interfaces:
-
notion.api.v1.model.common.Pagination
,notion.api.v1.model.common.WithObjectType
public final class Comments implements WithObjectType, Pagination
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectType
objectType
private final List<Comment>
results
private final String
nextCursor
private final Boolean
hasMore
private final String
type
private final Object
comment
-
Constructor Summary
Constructors Constructor Description Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore, String type, Object comment)
Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore, String type)
Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore)
Comments(ObjectType objectType, List<Comment> results, String nextCursor)
Comments(ObjectType objectType, List<Comment> results)
Comments(List<Comment> results)
-
Method Summary
Modifier and Type Method Description ObjectType
getObjectType()
final List<Comment>
getResults()
String
getNextCursor()
Boolean
getHasMore()
final String
getType()
final Object
getComment()
-
-
Constructor Detail
-
Comments
Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore, String type, Object comment)
-
Comments
Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore, String type)
-
Comments
Comments(ObjectType objectType, List<Comment> results, String nextCursor, Boolean hasMore)
-
Comments
Comments(ObjectType objectType, List<Comment> results, String nextCursor)
-
Comments
Comments(ObjectType objectType, List<Comment> results)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getResults
final List<Comment> getResults()
-
getNextCursor
String getNextCursor()
-
getHasMore
Boolean getHasMore()
-
getComment
final Object getComment()
-
-
-
-