Options
All
  • Public
  • Public/Protected
  • All
Menu

A contents model.

Hierarchy

  • IModel

Index

Properties

Optional chunk

chunk: undefined | number

The chunk of the file upload.

content

content: any

The optional file content.

created

created: string

File creation timestamp.

format

format: FileFormat

The format of the file content.

Notes

Only relevant for type: 'file'

last_modified

last_modified: string

Last modified timestamp.

mimetype

mimetype: string

Specify the mime-type of file contents.

Notes

Only non-null when content is present and type is "file".

name

name: string

Name of the contents file.

Notes

Equivalent to the last part of the path field.

path

path: string

The full file path.

Notes

It will not start with /, and it will be /-delimited.

Optional size

size: undefined | number

The size of then file in bytes.

type

The type of file.

writable

writable: boolean

Whether the requester has permission to edit the file.

Generated using TypeDoc