Skip to content

LibraryPanelBuilder🔗

Constructor🔗

new LibraryPanelBuilder()

Methods🔗

build🔗

Builds the object.

build()

description🔗

Panel description

description(string $description)

folderUid🔗

Folder UID

folderUid(string $folderUid)

meta🔗

Object storage metadata

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Librarypanel\LibraryElementDTOMeta> $meta

meta(\Grafana\Foundation\Cog\Builder $meta)

model🔗

TODO: should be the same panel schema defined in dashboard

Typescript: Omit;

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Librarypanel\LibrarypanelLibraryPanelModel> $model

model(\Grafana\Foundation\Cog\Builder $model)

name🔗

Panel name (also saved in the model)

name(string $name)

schemaVersion🔗

Dashboard version when this was saved (zero if unknown)

schemaVersion(int $schemaVersion)

type🔗

The panel type (from inside the model)

type(string $type)

uid🔗

Library element UID

uid(string $uid)

version🔗

panel version, incremented each time the dashboard is updated.

version(int $version)

See also🔗