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