Skip to content

LibraryElementDTOMeta🔗

Definition🔗

type LibraryElementDTOMeta struct {
    FolderName string `json:"folderName"`
    FolderUid string `json:"folderUid"`
    ConnectedDashboards int64 `json:"connectedDashboards"`
    Created time.Time `json:"created"`
    Updated time.Time `json:"updated"`
    CreatedBy librarypanel.LibraryElementDTOMetaUser `json:"createdBy"`
    UpdatedBy librarypanel.LibraryElementDTOMetaUser `json:"updatedBy"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode LibraryElementDTOMeta from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (libraryElementDTOMeta *LibraryElementDTOMeta) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two LibraryElementDTOMeta objects.

func (libraryElementDTOMeta *LibraryElementDTOMeta) Equals(other LibraryElementDTOMeta) bool

Validate🔗

Validate checks all the validation constraints that may be defined on LibraryElementDTOMeta fields for violations and returns them.

func (libraryElementDTOMeta *LibraryElementDTOMeta) Validate() error

See also🔗