Constructor
func NewDashboardMetaBuilder() *DashboardMetaBuilder
Methods
Build
Builds the object.
func (builder *DashboardMetaBuilder) Build() (DashboardMeta, error)
AnnotationsPermissions
func (builder *DashboardMetaBuilder) AnnotationsPermissions(annotationsPermissions cog.Builder[dashboard.AnnotationPermission]) *DashboardMetaBuilder
CanAdmin
func (builder *DashboardMetaBuilder) CanAdmin(canAdmin bool) *DashboardMetaBuilder
CanDelete
func (builder *DashboardMetaBuilder) CanDelete(canDelete bool) *DashboardMetaBuilder
CanEdit
func (builder *DashboardMetaBuilder) CanEdit(canEdit bool) *DashboardMetaBuilder
CanSave
func (builder *DashboardMetaBuilder) CanSave(canSave bool) *DashboardMetaBuilder
CanStar
func (builder *DashboardMetaBuilder) CanStar(canStar bool) *DashboardMetaBuilder
Created
func (builder *DashboardMetaBuilder) Created(created time.Time) *DashboardMetaBuilder
CreatedBy
func (builder *DashboardMetaBuilder) CreatedBy(createdBy string) *DashboardMetaBuilder
Expires
func (builder *DashboardMetaBuilder) Expires(expires time.Time) *DashboardMetaBuilder
FolderId
Deprecated: use FolderUID instead
func (builder *DashboardMetaBuilder) FolderId(folderId int64) *DashboardMetaBuilder
FolderTitle
func (builder *DashboardMetaBuilder) FolderTitle(folderTitle string) *DashboardMetaBuilder
FolderUid
func (builder *DashboardMetaBuilder) FolderUid(folderUid string) *DashboardMetaBuilder
FolderUrl
func (builder *DashboardMetaBuilder) FolderUrl(folderUrl string) *DashboardMetaBuilder
HasAcl
func (builder *DashboardMetaBuilder) HasAcl(hasAcl bool) *DashboardMetaBuilder
IsFolder
func (builder *DashboardMetaBuilder) IsFolder(isFolder bool) *DashboardMetaBuilder
IsSnapshot
func (builder *DashboardMetaBuilder) IsSnapshot(isSnapshot bool) *DashboardMetaBuilder
IsStarred
func (builder *DashboardMetaBuilder) IsStarred(isStarred bool) *DashboardMetaBuilder
Provisioned
func (builder *DashboardMetaBuilder) Provisioned(provisioned bool) *DashboardMetaBuilder
ProvisionedExternalId
func (builder *DashboardMetaBuilder) ProvisionedExternalId(provisionedExternalId string) *DashboardMetaBuilder
PublicDashboardEnabled
func (builder *DashboardMetaBuilder) PublicDashboardEnabled(publicDashboardEnabled bool) *DashboardMetaBuilder
Slug
func (builder *DashboardMetaBuilder) Slug(slug string) *DashboardMetaBuilder
Type
func (builder *DashboardMetaBuilder) Type(typeArg string) *DashboardMetaBuilder
Updated
func (builder *DashboardMetaBuilder) Updated(updated time.Time) *DashboardMetaBuilder
UpdatedBy
func (builder *DashboardMetaBuilder) UpdatedBy(updatedBy string) *DashboardMetaBuilder
Url
func (builder *DashboardMetaBuilder) Url(url string) *DashboardMetaBuilder
Version
func (builder *DashboardMetaBuilder) Version(version int64) *DashboardMetaBuilder
See also