Package notion.api.v1.model.blocks
Class ImageBlock.Element
-
- All Implemented Interfaces:
public class ImageBlock.Element
-
-
Field Summary
Fields Modifier and Type Field Description private final String
type
private final ExternalFileDetails
external
private final FileDetails
file
private final List<PageProperty.RichText>
caption
-
Constructor Summary
Constructors Constructor Description ImageBlock.Element(String type, ExternalFileDetails external, FileDetails file, List<PageProperty.RichText> caption)
ImageBlock.Element(String type, ExternalFileDetails external, FileDetails file)
ImageBlock.Element(String type, ExternalFileDetails external)
ImageBlock.Element(String type)
ImageBlock.Element()
-
Method Summary
Modifier and Type Method Description final String
getType()
final ExternalFileDetails
getExternal()
final FileDetails
getFile()
final List<PageProperty.RichText>
getCaption()
-
-
Constructor Detail
-
ImageBlock.Element
ImageBlock.Element(String type, ExternalFileDetails external, FileDetails file, List<PageProperty.RichText> caption)
-
ImageBlock.Element
ImageBlock.Element(String type, ExternalFileDetails external, FileDetails file)
-
ImageBlock.Element
ImageBlock.Element(String type, ExternalFileDetails external)
-
ImageBlock.Element
ImageBlock.Element(String type)
-
ImageBlock.Element
ImageBlock.Element()
-
-
Method Detail
-
getExternal
final ExternalFileDetails getExternal()
-
getFile
final FileDetails getFile()
-
getCaption
final List<PageProperty.RichText> getCaption()
-
-
-
-