We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shibaleo/mcpist'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
// Code generated by ogen, DO NOT EDIT.
package api
import (
"github.com/go-faster/jx"
)
// Ref: #/components/schemas/AlertRule
type AlertRule struct {
ID OptInt `json:"id"`
UID OptString `json:"uid"`
OrgID OptInt `json:"orgID"`
FolderUID OptString `json:"folderUID"`
RuleGroup OptString `json:"ruleGroup"`
Title OptString `json:"title"`
Condition OptString `json:"condition"`
Data []jx.Raw `json:"data"`
NoDataState OptString `json:"noDataState"`
ExecErrState OptString `json:"execErrState"`
For OptString `json:"for"`
Annotations jx.Raw `json:"annotations"`
Labels jx.Raw `json:"labels"`
Updated OptString `json:"updated"`
Provenance OptString `json:"provenance"`
}
// GetID returns the value of ID.
func (s *AlertRule) GetID() OptInt {
return s.ID
}
// GetUID returns the value of UID.
func (s *AlertRule) GetUID() OptString {
return s.UID
}
// GetOrgID returns the value of OrgID.
func (s *AlertRule) GetOrgID() OptInt {
return s.OrgID
}
// GetFolderUID returns the value of FolderUID.
func (s *AlertRule) GetFolderUID() OptString {
return s.FolderUID
}
// GetRuleGroup returns the value of RuleGroup.
func (s *AlertRule) GetRuleGroup() OptString {
return s.RuleGroup
}
// GetTitle returns the value of Title.
func (s *AlertRule) GetTitle() OptString {
return s.Title
}
// GetCondition returns the value of Condition.
func (s *AlertRule) GetCondition() OptString {
return s.Condition
}
// GetData returns the value of Data.
func (s *AlertRule) GetData() []jx.Raw {
return s.Data
}
// GetNoDataState returns the value of NoDataState.
func (s *AlertRule) GetNoDataState() OptString {
return s.NoDataState
}
// GetExecErrState returns the value of ExecErrState.
func (s *AlertRule) GetExecErrState() OptString {
return s.ExecErrState
}
// GetFor returns the value of For.
func (s *AlertRule) GetFor() OptString {
return s.For
}
// GetAnnotations returns the value of Annotations.
func (s *AlertRule) GetAnnotations() jx.Raw {
return s.Annotations
}
// GetLabels returns the value of Labels.
func (s *AlertRule) GetLabels() jx.Raw {
return s.Labels
}
// GetUpdated returns the value of Updated.
func (s *AlertRule) GetUpdated() OptString {
return s.Updated
}
// GetProvenance returns the value of Provenance.
func (s *AlertRule) GetProvenance() OptString {
return s.Provenance
}
// SetID sets the value of ID.
func (s *AlertRule) SetID(val OptInt) {
s.ID = val
}
// SetUID sets the value of UID.
func (s *AlertRule) SetUID(val OptString) {
s.UID = val
}
// SetOrgID sets the value of OrgID.
func (s *AlertRule) SetOrgID(val OptInt) {
s.OrgID = val
}
// SetFolderUID sets the value of FolderUID.
func (s *AlertRule) SetFolderUID(val OptString) {
s.FolderUID = val
}
// SetRuleGroup sets the value of RuleGroup.
func (s *AlertRule) SetRuleGroup(val OptString) {
s.RuleGroup = val
}
// SetTitle sets the value of Title.
func (s *AlertRule) SetTitle(val OptString) {
s.Title = val
}
// SetCondition sets the value of Condition.
func (s *AlertRule) SetCondition(val OptString) {
s.Condition = val
}
// SetData sets the value of Data.
func (s *AlertRule) SetData(val []jx.Raw) {
s.Data = val
}
// SetNoDataState sets the value of NoDataState.
func (s *AlertRule) SetNoDataState(val OptString) {
s.NoDataState = val
}
// SetExecErrState sets the value of ExecErrState.
func (s *AlertRule) SetExecErrState(val OptString) {
s.ExecErrState = val
}
// SetFor sets the value of For.
func (s *AlertRule) SetFor(val OptString) {
s.For = val
}
// SetAnnotations sets the value of Annotations.
func (s *AlertRule) SetAnnotations(val jx.Raw) {
s.Annotations = val
}
// SetLabels sets the value of Labels.
func (s *AlertRule) SetLabels(val jx.Raw) {
s.Labels = val
}
// SetUpdated sets the value of Updated.
func (s *AlertRule) SetUpdated(val OptString) {
s.Updated = val
}
// SetProvenance sets the value of Provenance.
func (s *AlertRule) SetProvenance(val OptString) {
s.Provenance = val
}
// Ref: #/components/schemas/Annotation
type Annotation struct {
ID OptInt `json:"id"`
AlertId OptInt `json:"alertId"`
AlertName OptString `json:"alertName"`
DashboardId OptInt `json:"dashboardId"`
DashboardUID OptString `json:"dashboardUID"`
PanelId OptInt `json:"panelId"`
UserId OptInt `json:"userId"`
NewState OptString `json:"newState"`
PrevState OptString `json:"prevState"`
Created OptInt64 `json:"created"`
Updated OptInt64 `json:"updated"`
Time OptInt64 `json:"time"`
TimeEnd OptInt64 `json:"timeEnd"`
Text OptString `json:"text"`
Tags []string `json:"tags"`
}
// GetID returns the value of ID.
func (s *Annotation) GetID() OptInt {
return s.ID
}
// GetAlertId returns the value of AlertId.
func (s *Annotation) GetAlertId() OptInt {
return s.AlertId
}
// GetAlertName returns the value of AlertName.
func (s *Annotation) GetAlertName() OptString {
return s.AlertName
}
// GetDashboardId returns the value of DashboardId.
func (s *Annotation) GetDashboardId() OptInt {
return s.DashboardId
}
// GetDashboardUID returns the value of DashboardUID.
func (s *Annotation) GetDashboardUID() OptString {
return s.DashboardUID
}
// GetPanelId returns the value of PanelId.
func (s *Annotation) GetPanelId() OptInt {
return s.PanelId
}
// GetUserId returns the value of UserId.
func (s *Annotation) GetUserId() OptInt {
return s.UserId
}
// GetNewState returns the value of NewState.
func (s *Annotation) GetNewState() OptString {
return s.NewState
}
// GetPrevState returns the value of PrevState.
func (s *Annotation) GetPrevState() OptString {
return s.PrevState
}
// GetCreated returns the value of Created.
func (s *Annotation) GetCreated() OptInt64 {
return s.Created
}
// GetUpdated returns the value of Updated.
func (s *Annotation) GetUpdated() OptInt64 {
return s.Updated
}
// GetTime returns the value of Time.
func (s *Annotation) GetTime() OptInt64 {
return s.Time
}
// GetTimeEnd returns the value of TimeEnd.
func (s *Annotation) GetTimeEnd() OptInt64 {
return s.TimeEnd
}
// GetText returns the value of Text.
func (s *Annotation) GetText() OptString {
return s.Text
}
// GetTags returns the value of Tags.
func (s *Annotation) GetTags() []string {
return s.Tags
}
// SetID sets the value of ID.
func (s *Annotation) SetID(val OptInt) {
s.ID = val
}
// SetAlertId sets the value of AlertId.
func (s *Annotation) SetAlertId(val OptInt) {
s.AlertId = val
}
// SetAlertName sets the value of AlertName.
func (s *Annotation) SetAlertName(val OptString) {
s.AlertName = val
}
// SetDashboardId sets the value of DashboardId.
func (s *Annotation) SetDashboardId(val OptInt) {
s.DashboardId = val
}
// SetDashboardUID sets the value of DashboardUID.
func (s *Annotation) SetDashboardUID(val OptString) {
s.DashboardUID = val
}
// SetPanelId sets the value of PanelId.
func (s *Annotation) SetPanelId(val OptInt) {
s.PanelId = val
}
// SetUserId sets the value of UserId.
func (s *Annotation) SetUserId(val OptInt) {
s.UserId = val
}
// SetNewState sets the value of NewState.
func (s *Annotation) SetNewState(val OptString) {
s.NewState = val
}
// SetPrevState sets the value of PrevState.
func (s *Annotation) SetPrevState(val OptString) {
s.PrevState = val
}
// SetCreated sets the value of Created.
func (s *Annotation) SetCreated(val OptInt64) {
s.Created = val
}
// SetUpdated sets the value of Updated.
func (s *Annotation) SetUpdated(val OptInt64) {
s.Updated = val
}
// SetTime sets the value of Time.
func (s *Annotation) SetTime(val OptInt64) {
s.Time = val
}
// SetTimeEnd sets the value of TimeEnd.
func (s *Annotation) SetTimeEnd(val OptInt64) {
s.TimeEnd = val
}
// SetText sets the value of Text.
func (s *Annotation) SetText(val OptString) {
s.Text = val
}
// SetTags sets the value of Tags.
func (s *Annotation) SetTags(val []string) {
s.Tags = val
}
type BasicAuth struct {
Username string
Password string
Roles []string
}
// GetUsername returns the value of Username.
func (s *BasicAuth) GetUsername() string {
return s.Username
}
// GetPassword returns the value of Password.
func (s *BasicAuth) GetPassword() string {
return s.Password
}
// GetRoles returns the value of Roles.
func (s *BasicAuth) GetRoles() []string {
return s.Roles
}
// SetUsername sets the value of Username.
func (s *BasicAuth) SetUsername(val string) {
s.Username = val
}
// SetPassword sets the value of Password.
func (s *BasicAuth) SetPassword(val string) {
s.Password = val
}
// SetRoles sets the value of Roles.
func (s *BasicAuth) SetRoles(val []string) {
s.Roles = val
}
type BearerAuth struct {
Token string
Roles []string
}
// GetToken returns the value of Token.
func (s *BearerAuth) GetToken() string {
return s.Token
}
// GetRoles returns the value of Roles.
func (s *BearerAuth) GetRoles() []string {
return s.Roles
}
// SetToken sets the value of Token.
func (s *BearerAuth) SetToken(val string) {
s.Token = val
}
// SetRoles sets the value of Roles.
func (s *BearerAuth) SetRoles(val []string) {
s.Roles = val
}
// Ref: #/components/schemas/ContactPoint
type ContactPoint struct {
UID OptString `json:"uid"`
Name OptString `json:"name"`
Type OptString `json:"type"`
Settings jx.Raw `json:"settings"`
DisableResolveMessage OptBool `json:"disableResolveMessage"`
Provenance OptString `json:"provenance"`
}
// GetUID returns the value of UID.
func (s *ContactPoint) GetUID() OptString {
return s.UID
}
// GetName returns the value of Name.
func (s *ContactPoint) GetName() OptString {
return s.Name
}
// GetType returns the value of Type.
func (s *ContactPoint) GetType() OptString {
return s.Type
}
// GetSettings returns the value of Settings.
func (s *ContactPoint) GetSettings() jx.Raw {
return s.Settings
}
// GetDisableResolveMessage returns the value of DisableResolveMessage.
func (s *ContactPoint) GetDisableResolveMessage() OptBool {
return s.DisableResolveMessage
}
// GetProvenance returns the value of Provenance.
func (s *ContactPoint) GetProvenance() OptString {
return s.Provenance
}
// SetUID sets the value of UID.
func (s *ContactPoint) SetUID(val OptString) {
s.UID = val
}
// SetName sets the value of Name.
func (s *ContactPoint) SetName(val OptString) {
s.Name = val
}
// SetType sets the value of Type.
func (s *ContactPoint) SetType(val OptString) {
s.Type = val
}
// SetSettings sets the value of Settings.
func (s *ContactPoint) SetSettings(val jx.Raw) {
s.Settings = val
}
// SetDisableResolveMessage sets the value of DisableResolveMessage.
func (s *ContactPoint) SetDisableResolveMessage(val OptBool) {
s.DisableResolveMessage = val
}
// SetProvenance sets the value of Provenance.
func (s *ContactPoint) SetProvenance(val OptString) {
s.Provenance = val
}
// Ref: #/components/schemas/CreateAlertRuleRequest
type CreateAlertRuleRequest struct {
Title string `json:"title"`
RuleGroup string `json:"ruleGroup"`
FolderUID string `json:"folderUID"`
Condition string `json:"condition"`
Data []jx.Raw `json:"data"`
NoDataState OptString `json:"noDataState"`
ExecErrState OptString `json:"execErrState"`
For OptString `json:"for"`
Annotations jx.Raw `json:"annotations"`
Labels jx.Raw `json:"labels"`
}
// GetTitle returns the value of Title.
func (s *CreateAlertRuleRequest) GetTitle() string {
return s.Title
}
// GetRuleGroup returns the value of RuleGroup.
func (s *CreateAlertRuleRequest) GetRuleGroup() string {
return s.RuleGroup
}
// GetFolderUID returns the value of FolderUID.
func (s *CreateAlertRuleRequest) GetFolderUID() string {
return s.FolderUID
}
// GetCondition returns the value of Condition.
func (s *CreateAlertRuleRequest) GetCondition() string {
return s.Condition
}
// GetData returns the value of Data.
func (s *CreateAlertRuleRequest) GetData() []jx.Raw {
return s.Data
}
// GetNoDataState returns the value of NoDataState.
func (s *CreateAlertRuleRequest) GetNoDataState() OptString {
return s.NoDataState
}
// GetExecErrState returns the value of ExecErrState.
func (s *CreateAlertRuleRequest) GetExecErrState() OptString {
return s.ExecErrState
}
// GetFor returns the value of For.
func (s *CreateAlertRuleRequest) GetFor() OptString {
return s.For
}
// GetAnnotations returns the value of Annotations.
func (s *CreateAlertRuleRequest) GetAnnotations() jx.Raw {
return s.Annotations
}
// GetLabels returns the value of Labels.
func (s *CreateAlertRuleRequest) GetLabels() jx.Raw {
return s.Labels
}
// SetTitle sets the value of Title.
func (s *CreateAlertRuleRequest) SetTitle(val string) {
s.Title = val
}
// SetRuleGroup sets the value of RuleGroup.
func (s *CreateAlertRuleRequest) SetRuleGroup(val string) {
s.RuleGroup = val
}
// SetFolderUID sets the value of FolderUID.
func (s *CreateAlertRuleRequest) SetFolderUID(val string) {
s.FolderUID = val
}
// SetCondition sets the value of Condition.
func (s *CreateAlertRuleRequest) SetCondition(val string) {
s.Condition = val
}
// SetData sets the value of Data.
func (s *CreateAlertRuleRequest) SetData(val []jx.Raw) {
s.Data = val
}
// SetNoDataState sets the value of NoDataState.
func (s *CreateAlertRuleRequest) SetNoDataState(val OptString) {
s.NoDataState = val
}
// SetExecErrState sets the value of ExecErrState.
func (s *CreateAlertRuleRequest) SetExecErrState(val OptString) {
s.ExecErrState = val
}
// SetFor sets the value of For.
func (s *CreateAlertRuleRequest) SetFor(val OptString) {
s.For = val
}
// SetAnnotations sets the value of Annotations.
func (s *CreateAlertRuleRequest) SetAnnotations(val jx.Raw) {
s.Annotations = val
}
// SetLabels sets the value of Labels.
func (s *CreateAlertRuleRequest) SetLabels(val jx.Raw) {
s.Labels = val
}
// Ref: #/components/schemas/CreateAnnotationRequest
type CreateAnnotationRequest struct {
DashboardUID OptString `json:"dashboardUID"`
PanelId OptInt `json:"panelId"`
Time OptInt64 `json:"time"`
TimeEnd OptInt64 `json:"timeEnd"`
Text string `json:"text"`
Tags []string `json:"tags"`
}
// GetDashboardUID returns the value of DashboardUID.
func (s *CreateAnnotationRequest) GetDashboardUID() OptString {
return s.DashboardUID
}
// GetPanelId returns the value of PanelId.
func (s *CreateAnnotationRequest) GetPanelId() OptInt {
return s.PanelId
}
// GetTime returns the value of Time.
func (s *CreateAnnotationRequest) GetTime() OptInt64 {
return s.Time
}
// GetTimeEnd returns the value of TimeEnd.
func (s *CreateAnnotationRequest) GetTimeEnd() OptInt64 {
return s.TimeEnd
}
// GetText returns the value of Text.
func (s *CreateAnnotationRequest) GetText() string {
return s.Text
}
// GetTags returns the value of Tags.
func (s *CreateAnnotationRequest) GetTags() []string {
return s.Tags
}
// SetDashboardUID sets the value of DashboardUID.
func (s *CreateAnnotationRequest) SetDashboardUID(val OptString) {
s.DashboardUID = val
}
// SetPanelId sets the value of PanelId.
func (s *CreateAnnotationRequest) SetPanelId(val OptInt) {
s.PanelId = val
}
// SetTime sets the value of Time.
func (s *CreateAnnotationRequest) SetTime(val OptInt64) {
s.Time = val
}
// SetTimeEnd sets the value of TimeEnd.
func (s *CreateAnnotationRequest) SetTimeEnd(val OptInt64) {
s.TimeEnd = val
}
// SetText sets the value of Text.
func (s *CreateAnnotationRequest) SetText(val string) {
s.Text = val
}
// SetTags sets the value of Tags.
func (s *CreateAnnotationRequest) SetTags(val []string) {
s.Tags = val
}
// Ref: #/components/schemas/CreateAnnotationResponse
type CreateAnnotationResponse struct {
ID OptInt `json:"id"`
Message OptString `json:"message"`
}
// GetID returns the value of ID.
func (s *CreateAnnotationResponse) GetID() OptInt {
return s.ID
}
// GetMessage returns the value of Message.
func (s *CreateAnnotationResponse) GetMessage() OptString {
return s.Message
}
// SetID sets the value of ID.
func (s *CreateAnnotationResponse) SetID(val OptInt) {
s.ID = val
}
// SetMessage sets the value of Message.
func (s *CreateAnnotationResponse) SetMessage(val OptString) {
s.Message = val
}
// Ref: #/components/schemas/CreateContactPointRequest
type CreateContactPointRequest struct {
Name string `json:"name"`
Type string `json:"type"`
Settings jx.Raw `json:"settings"`
DisableResolveMessage OptBool `json:"disableResolveMessage"`
}
// GetName returns the value of Name.
func (s *CreateContactPointRequest) GetName() string {
return s.Name
}
// GetType returns the value of Type.
func (s *CreateContactPointRequest) GetType() string {
return s.Type
}
// GetSettings returns the value of Settings.
func (s *CreateContactPointRequest) GetSettings() jx.Raw {
return s.Settings
}
// GetDisableResolveMessage returns the value of DisableResolveMessage.
func (s *CreateContactPointRequest) GetDisableResolveMessage() OptBool {
return s.DisableResolveMessage
}
// SetName sets the value of Name.
func (s *CreateContactPointRequest) SetName(val string) {
s.Name = val
}
// SetType sets the value of Type.
func (s *CreateContactPointRequest) SetType(val string) {
s.Type = val
}
// SetSettings sets the value of Settings.
func (s *CreateContactPointRequest) SetSettings(val jx.Raw) {
s.Settings = val
}
// SetDisableResolveMessage sets the value of DisableResolveMessage.
func (s *CreateContactPointRequest) SetDisableResolveMessage(val OptBool) {
s.DisableResolveMessage = val
}
// Ref: #/components/schemas/CreateFolderRequest
type CreateFolderRequest struct {
UID OptString `json:"uid"`
Title string `json:"title"`
ParentUid OptString `json:"parentUid"`
}
// GetUID returns the value of UID.
func (s *CreateFolderRequest) GetUID() OptString {
return s.UID
}
// GetTitle returns the value of Title.
func (s *CreateFolderRequest) GetTitle() string {
return s.Title
}
// GetParentUid returns the value of ParentUid.
func (s *CreateFolderRequest) GetParentUid() OptString {
return s.ParentUid
}
// SetUID sets the value of UID.
func (s *CreateFolderRequest) SetUID(val OptString) {
s.UID = val
}
// SetTitle sets the value of Title.
func (s *CreateFolderRequest) SetTitle(val string) {
s.Title = val
}
// SetParentUid sets the value of ParentUid.
func (s *CreateFolderRequest) SetParentUid(val OptString) {
s.ParentUid = val
}
// Ref: #/components/schemas/DashboardFullWithMeta
type DashboardFullWithMeta struct {
Meta OptDashboardMeta `json:"meta"`
Dashboard jx.Raw `json:"dashboard"`
}
// GetMeta returns the value of Meta.
func (s *DashboardFullWithMeta) GetMeta() OptDashboardMeta {
return s.Meta
}
// GetDashboard returns the value of Dashboard.
func (s *DashboardFullWithMeta) GetDashboard() jx.Raw {
return s.Dashboard
}
// SetMeta sets the value of Meta.
func (s *DashboardFullWithMeta) SetMeta(val OptDashboardMeta) {
s.Meta = val
}
// SetDashboard sets the value of Dashboard.
func (s *DashboardFullWithMeta) SetDashboard(val jx.Raw) {
s.Dashboard = val
}
// Ref: #/components/schemas/DashboardMeta
type DashboardMeta struct {
Type OptString `json:"type"`
CanSave OptBool `json:"canSave"`
CanEdit OptBool `json:"canEdit"`
CanAdmin OptBool `json:"canAdmin"`
CanStar OptBool `json:"canStar"`
CanDelete OptBool `json:"canDelete"`
Slug OptString `json:"slug"`
URL OptString `json:"url"`
Expires OptString `json:"expires"`
Created OptString `json:"created"`
Updated OptString `json:"updated"`
UpdatedBy OptString `json:"updatedBy"`
CreatedBy OptString `json:"createdBy"`
Version OptInt `json:"version"`
HasAcl OptBool `json:"hasAcl"`
IsFolder OptBool `json:"isFolder"`
FolderId OptInt `json:"folderId"`
FolderUid OptString `json:"folderUid"`
FolderTitle OptString `json:"folderTitle"`
FolderUrl OptString `json:"folderUrl"`
Provisioned OptBool `json:"provisioned"`
ProvisionedExternalId OptString `json:"provisionedExternalId"`
}
// GetType returns the value of Type.
func (s *DashboardMeta) GetType() OptString {
return s.Type
}
// GetCanSave returns the value of CanSave.
func (s *DashboardMeta) GetCanSave() OptBool {
return s.CanSave
}
// GetCanEdit returns the value of CanEdit.
func (s *DashboardMeta) GetCanEdit() OptBool {
return s.CanEdit
}
// GetCanAdmin returns the value of CanAdmin.
func (s *DashboardMeta) GetCanAdmin() OptBool {
return s.CanAdmin
}
// GetCanStar returns the value of CanStar.
func (s *DashboardMeta) GetCanStar() OptBool {
return s.CanStar
}
// GetCanDelete returns the value of CanDelete.
func (s *DashboardMeta) GetCanDelete() OptBool {
return s.CanDelete
}
// GetSlug returns the value of Slug.
func (s *DashboardMeta) GetSlug() OptString {
return s.Slug
}
// GetURL returns the value of URL.
func (s *DashboardMeta) GetURL() OptString {
return s.URL
}
// GetExpires returns the value of Expires.
func (s *DashboardMeta) GetExpires() OptString {
return s.Expires
}
// GetCreated returns the value of Created.
func (s *DashboardMeta) GetCreated() OptString {
return s.Created
}
// GetUpdated returns the value of Updated.
func (s *DashboardMeta) GetUpdated() OptString {
return s.Updated
}
// GetUpdatedBy returns the value of UpdatedBy.
func (s *DashboardMeta) GetUpdatedBy() OptString {
return s.UpdatedBy
}
// GetCreatedBy returns the value of CreatedBy.
func (s *DashboardMeta) GetCreatedBy() OptString {
return s.CreatedBy
}
// GetVersion returns the value of Version.
func (s *DashboardMeta) GetVersion() OptInt {
return s.Version
}
// GetHasAcl returns the value of HasAcl.
func (s *DashboardMeta) GetHasAcl() OptBool {
return s.HasAcl
}
// GetIsFolder returns the value of IsFolder.
func (s *DashboardMeta) GetIsFolder() OptBool {
return s.IsFolder
}
// GetFolderId returns the value of FolderId.
func (s *DashboardMeta) GetFolderId() OptInt {
return s.FolderId
}
// GetFolderUid returns the value of FolderUid.
func (s *DashboardMeta) GetFolderUid() OptString {
return s.FolderUid
}
// GetFolderTitle returns the value of FolderTitle.
func (s *DashboardMeta) GetFolderTitle() OptString {
return s.FolderTitle
}
// GetFolderUrl returns the value of FolderUrl.
func (s *DashboardMeta) GetFolderUrl() OptString {
return s.FolderUrl
}
// GetProvisioned returns the value of Provisioned.
func (s *DashboardMeta) GetProvisioned() OptBool {
return s.Provisioned
}
// GetProvisionedExternalId returns the value of ProvisionedExternalId.
func (s *DashboardMeta) GetProvisionedExternalId() OptString {
return s.ProvisionedExternalId
}
// SetType sets the value of Type.
func (s *DashboardMeta) SetType(val OptString) {
s.Type = val
}
// SetCanSave sets the value of CanSave.
func (s *DashboardMeta) SetCanSave(val OptBool) {
s.CanSave = val
}
// SetCanEdit sets the value of CanEdit.
func (s *DashboardMeta) SetCanEdit(val OptBool) {
s.CanEdit = val
}
// SetCanAdmin sets the value of CanAdmin.
func (s *DashboardMeta) SetCanAdmin(val OptBool) {
s.CanAdmin = val
}
// SetCanStar sets the value of CanStar.
func (s *DashboardMeta) SetCanStar(val OptBool) {
s.CanStar = val
}
// SetCanDelete sets the value of CanDelete.
func (s *DashboardMeta) SetCanDelete(val OptBool) {
s.CanDelete = val
}
// SetSlug sets the value of Slug.
func (s *DashboardMeta) SetSlug(val OptString) {
s.Slug = val
}
// SetURL sets the value of URL.
func (s *DashboardMeta) SetURL(val OptString) {
s.URL = val
}
// SetExpires sets the value of Expires.
func (s *DashboardMeta) SetExpires(val OptString) {
s.Expires = val
}
// SetCreated sets the value of Created.
func (s *DashboardMeta) SetCreated(val OptString) {
s.Created = val
}
// SetUpdated sets the value of Updated.
func (s *DashboardMeta) SetUpdated(val OptString) {
s.Updated = val
}
// SetUpdatedBy sets the value of UpdatedBy.
func (s *DashboardMeta) SetUpdatedBy(val OptString) {
s.UpdatedBy = val
}
// SetCreatedBy sets the value of CreatedBy.
func (s *DashboardMeta) SetCreatedBy(val OptString) {
s.CreatedBy = val
}
// SetVersion sets the value of Version.
func (s *DashboardMeta) SetVersion(val OptInt) {
s.Version = val
}
// SetHasAcl sets the value of HasAcl.
func (s *DashboardMeta) SetHasAcl(val OptBool) {
s.HasAcl = val
}
// SetIsFolder sets the value of IsFolder.
func (s *DashboardMeta) SetIsFolder(val OptBool) {
s.IsFolder = val
}
// SetFolderId sets the value of FolderId.
func (s *DashboardMeta) SetFolderId(val OptInt) {
s.FolderId = val
}
// SetFolderUid sets the value of FolderUid.
func (s *DashboardMeta) SetFolderUid(val OptString) {
s.FolderUid = val
}
// SetFolderTitle sets the value of FolderTitle.
func (s *DashboardMeta) SetFolderTitle(val OptString) {
s.FolderTitle = val
}
// SetFolderUrl sets the value of FolderUrl.
func (s *DashboardMeta) SetFolderUrl(val OptString) {
s.FolderUrl = val
}
// SetProvisioned sets the value of Provisioned.
func (s *DashboardMeta) SetProvisioned(val OptBool) {
s.Provisioned = val
}
// SetProvisionedExternalId sets the value of ProvisionedExternalId.
func (s *DashboardMeta) SetProvisionedExternalId(val OptString) {
s.ProvisionedExternalId = val
}
// Ref: #/components/schemas/Datasource
type Datasource struct {
ID OptInt `json:"id"`
UID OptString `json:"uid"`
OrgId OptInt `json:"orgId"`
Name OptString `json:"name"`
Type OptString `json:"type"`
TypeName OptString `json:"typeName"`
TypeLogoUrl OptString `json:"typeLogoUrl"`
Access OptString `json:"access"`
URL OptString `json:"url"`
User OptString `json:"user"`
Database OptString `json:"database"`
BasicAuth OptBool `json:"basicAuth"`
IsDefault OptBool `json:"isDefault"`
ReadOnly OptBool `json:"readOnly"`
}
// GetID returns the value of ID.
func (s *Datasource) GetID() OptInt {
return s.ID
}
// GetUID returns the value of UID.
func (s *Datasource) GetUID() OptString {
return s.UID
}
// GetOrgId returns the value of OrgId.
func (s *Datasource) GetOrgId() OptInt {
return s.OrgId
}
// GetName returns the value of Name.
func (s *Datasource) GetName() OptString {
return s.Name
}
// GetType returns the value of Type.
func (s *Datasource) GetType() OptString {
return s.Type
}
// GetTypeName returns the value of TypeName.
func (s *Datasource) GetTypeName() OptString {
return s.TypeName
}
// GetTypeLogoUrl returns the value of TypeLogoUrl.
func (s *Datasource) GetTypeLogoUrl() OptString {
return s.TypeLogoUrl
}
// GetAccess returns the value of Access.
func (s *Datasource) GetAccess() OptString {
return s.Access
}
// GetURL returns the value of URL.
func (s *Datasource) GetURL() OptString {
return s.URL
}
// GetUser returns the value of User.
func (s *Datasource) GetUser() OptString {
return s.User
}
// GetDatabase returns the value of Database.
func (s *Datasource) GetDatabase() OptString {
return s.Database
}
// GetBasicAuth returns the value of BasicAuth.
func (s *Datasource) GetBasicAuth() OptBool {
return s.BasicAuth
}
// GetIsDefault returns the value of IsDefault.
func (s *Datasource) GetIsDefault() OptBool {
return s.IsDefault
}
// GetReadOnly returns the value of ReadOnly.
func (s *Datasource) GetReadOnly() OptBool {
return s.ReadOnly
}
// SetID sets the value of ID.
func (s *Datasource) SetID(val OptInt) {
s.ID = val
}
// SetUID sets the value of UID.
func (s *Datasource) SetUID(val OptString) {
s.UID = val
}
// SetOrgId sets the value of OrgId.
func (s *Datasource) SetOrgId(val OptInt) {
s.OrgId = val
}
// SetName sets the value of Name.
func (s *Datasource) SetName(val OptString) {
s.Name = val
}
// SetType sets the value of Type.
func (s *Datasource) SetType(val OptString) {
s.Type = val
}
// SetTypeName sets the value of TypeName.
func (s *Datasource) SetTypeName(val OptString) {
s.TypeName = val
}
// SetTypeLogoUrl sets the value of TypeLogoUrl.
func (s *Datasource) SetTypeLogoUrl(val OptString) {
s.TypeLogoUrl = val
}
// SetAccess sets the value of Access.
func (s *Datasource) SetAccess(val OptString) {
s.Access = val
}
// SetURL sets the value of URL.
func (s *Datasource) SetURL(val OptString) {
s.URL = val
}
// SetUser sets the value of User.
func (s *Datasource) SetUser(val OptString) {
s.User = val
}
// SetDatabase sets the value of Database.
func (s *Datasource) SetDatabase(val OptString) {
s.Database = val
}
// SetBasicAuth sets the value of BasicAuth.
func (s *Datasource) SetBasicAuth(val OptBool) {
s.BasicAuth = val
}
// SetIsDefault sets the value of IsDefault.
func (s *Datasource) SetIsDefault(val OptBool) {
s.IsDefault = val
}
// SetReadOnly sets the value of ReadOnly.
func (s *Datasource) SetReadOnly(val OptBool) {
s.ReadOnly = val
}
// Ref: #/components/schemas/DeleteAnnotationResponse
type DeleteAnnotationResponse struct {
Message OptString `json:"message"`
}
// GetMessage returns the value of Message.
func (s *DeleteAnnotationResponse) GetMessage() OptString {
return s.Message
}
// SetMessage sets the value of Message.
func (s *DeleteAnnotationResponse) SetMessage(val OptString) {
s.Message = val
}
// DeleteContactPointNoContent is response for DeleteContactPoint operation.
type DeleteContactPointNoContent struct{}
// Ref: #/components/schemas/DeleteDashboardResponse
type DeleteDashboardResponse struct {
Title OptString `json:"title"`
Message OptString `json:"message"`
ID OptInt `json:"id"`
}
// GetTitle returns the value of Title.
func (s *DeleteDashboardResponse) GetTitle() OptString {
return s.Title
}
// GetMessage returns the value of Message.
func (s *DeleteDashboardResponse) GetMessage() OptString {
return s.Message
}
// GetID returns the value of ID.
func (s *DeleteDashboardResponse) GetID() OptInt {
return s.ID
}
// SetTitle sets the value of Title.
func (s *DeleteDashboardResponse) SetTitle(val OptString) {
s.Title = val
}
// SetMessage sets the value of Message.
func (s *DeleteDashboardResponse) SetMessage(val OptString) {
s.Message = val
}
// SetID sets the value of ID.
func (s *DeleteDashboardResponse) SetID(val OptInt) {
s.ID = val
}
// Ref: #/components/schemas/DeleteFolderResponse
type DeleteFolderResponse struct {
Title OptString `json:"title"`
Message OptString `json:"message"`
ID OptInt `json:"id"`
}
// GetTitle returns the value of Title.
func (s *DeleteFolderResponse) GetTitle() OptString {
return s.Title
}
// GetMessage returns the value of Message.
func (s *DeleteFolderResponse) GetMessage() OptString {
return s.Message
}
// GetID returns the value of ID.
func (s *DeleteFolderResponse) GetID() OptInt {
return s.ID
}
// SetTitle sets the value of Title.
func (s *DeleteFolderResponse) SetTitle(val OptString) {
s.Title = val
}
// SetMessage sets the value of Message.
func (s *DeleteFolderResponse) SetMessage(val OptString) {
s.Message = val
}
// SetID sets the value of ID.
func (s *DeleteFolderResponse) SetID(val OptInt) {
s.ID = val
}
// Ref: #/components/schemas/DsQueryRequest
type DsQueryRequest struct {
From OptString `json:"from"`
To OptString `json:"to"`
Queries []jx.Raw `json:"queries"`
}
// GetFrom returns the value of From.
func (s *DsQueryRequest) GetFrom() OptString {
return s.From
}
// GetTo returns the value of To.
func (s *DsQueryRequest) GetTo() OptString {
return s.To
}
// GetQueries returns the value of Queries.
func (s *DsQueryRequest) GetQueries() []jx.Raw {
return s.Queries
}
// SetFrom sets the value of From.
func (s *DsQueryRequest) SetFrom(val OptString) {
s.From = val
}
// SetTo sets the value of To.
func (s *DsQueryRequest) SetTo(val OptString) {
s.To = val
}
// SetQueries sets the value of Queries.
func (s *DsQueryRequest) SetQueries(val []jx.Raw) {
s.Queries = val
}
// Ref: #/components/schemas/Folder
type Folder struct {
ID OptInt `json:"id"`
UID OptString `json:"uid"`
Title OptString `json:"title"`
URL OptString `json:"url"`
HasAcl OptBool `json:"hasAcl"`
CanSave OptBool `json:"canSave"`
CanEdit OptBool `json:"canEdit"`
CanAdmin OptBool `json:"canAdmin"`
CanDelete OptBool `json:"canDelete"`
CreatedBy OptString `json:"createdBy"`
Created OptString `json:"created"`
UpdatedBy OptString `json:"updatedBy"`
Updated OptString `json:"updated"`
Version OptInt `json:"version"`
ParentUid OptString `json:"parentUid"`
}
// GetID returns the value of ID.
func (s *Folder) GetID() OptInt {
return s.ID
}
// GetUID returns the value of UID.
func (s *Folder) GetUID() OptString {
return s.UID
}
// GetTitle returns the value of Title.
func (s *Folder) GetTitle() OptString {
return s.Title
}
// GetURL returns the value of URL.
func (s *Folder) GetURL() OptString {
return s.URL
}
// GetHasAcl returns the value of HasAcl.
func (s *Folder) GetHasAcl() OptBool {
return s.HasAcl
}
// GetCanSave returns the value of CanSave.
func (s *Folder) GetCanSave() OptBool {
return s.CanSave
}
// GetCanEdit returns the value of CanEdit.
func (s *Folder) GetCanEdit() OptBool {
return s.CanEdit
}
// GetCanAdmin returns the value of CanAdmin.
func (s *Folder) GetCanAdmin() OptBool {
return s.CanAdmin
}
// GetCanDelete returns the value of CanDelete.
func (s *Folder) GetCanDelete() OptBool {
return s.CanDelete
}
// GetCreatedBy returns the value of CreatedBy.
func (s *Folder) GetCreatedBy() OptString {
return s.CreatedBy
}
// GetCreated returns the value of Created.
func (s *Folder) GetCreated() OptString {
return s.Created
}
// GetUpdatedBy returns the value of UpdatedBy.
func (s *Folder) GetUpdatedBy() OptString {
return s.UpdatedBy
}
// GetUpdated returns the value of Updated.
func (s *Folder) GetUpdated() OptString {
return s.Updated
}
// GetVersion returns the value of Version.
func (s *Folder) GetVersion() OptInt {
return s.Version
}
// GetParentUid returns the value of ParentUid.
func (s *Folder) GetParentUid() OptString {
return s.ParentUid
}
// SetID sets the value of ID.
func (s *Folder) SetID(val OptInt) {
s.ID = val
}
// SetUID sets the value of UID.
func (s *Folder) SetUID(val OptString) {
s.UID = val
}
// SetTitle sets the value of Title.
func (s *Folder) SetTitle(val OptString) {
s.Title = val
}
// SetURL sets the value of URL.
func (s *Folder) SetURL(val OptString) {
s.URL = val
}
// SetHasAcl sets the value of HasAcl.
func (s *Folder) SetHasAcl(val OptBool) {
s.HasAcl = val
}
// SetCanSave sets the value of CanSave.
func (s *Folder) SetCanSave(val OptBool) {
s.CanSave = val
}
// SetCanEdit sets the value of CanEdit.
func (s *Folder) SetCanEdit(val OptBool) {
s.CanEdit = val
}
// SetCanAdmin sets the value of CanAdmin.
func (s *Folder) SetCanAdmin(val OptBool) {
s.CanAdmin = val
}
// SetCanDelete sets the value of CanDelete.
func (s *Folder) SetCanDelete(val OptBool) {
s.CanDelete = val
}
// SetCreatedBy sets the value of CreatedBy.
func (s *Folder) SetCreatedBy(val OptString) {
s.CreatedBy = val
}
// SetCreated sets the value of Created.
func (s *Folder) SetCreated(val OptString) {
s.Created = val
}
// SetUpdatedBy sets the value of UpdatedBy.
func (s *Folder) SetUpdatedBy(val OptString) {
s.UpdatedBy = val
}
// SetUpdated sets the value of Updated.
func (s *Folder) SetUpdated(val OptString) {
s.Updated = val
}
// SetVersion sets the value of Version.
func (s *Folder) SetVersion(val OptInt) {
s.Version = val
}
// SetParentUid sets the value of ParentUid.
func (s *Folder) SetParentUid(val OptString) {
s.ParentUid = val
}
// Ref: #/components/schemas/NotificationPolicy
type NotificationPolicy struct {
Receiver OptString `json:"receiver"`
GroupBy []string `json:"group_by"`
Routes []jx.Raw `json:"routes"`
GroupWait OptString `json:"group_wait"`
GroupInterval OptString `json:"group_interval"`
RepeatInterval OptString `json:"repeat_interval"`
Provenance OptString `json:"provenance"`
}
// GetReceiver returns the value of Receiver.
func (s *NotificationPolicy) GetReceiver() OptString {
return s.Receiver
}
// GetGroupBy returns the value of GroupBy.
func (s *NotificationPolicy) GetGroupBy() []string {
return s.GroupBy
}
// GetRoutes returns the value of Routes.
func (s *NotificationPolicy) GetRoutes() []jx.Raw {
return s.Routes
}
// GetGroupWait returns the value of GroupWait.
func (s *NotificationPolicy) GetGroupWait() OptString {
return s.GroupWait
}
// GetGroupInterval returns the value of GroupInterval.
func (s *NotificationPolicy) GetGroupInterval() OptString {
return s.GroupInterval
}
// GetRepeatInterval returns the value of RepeatInterval.
func (s *NotificationPolicy) GetRepeatInterval() OptString {
return s.RepeatInterval
}
// GetProvenance returns the value of Provenance.
func (s *NotificationPolicy) GetProvenance() OptString {
return s.Provenance
}
// SetReceiver sets the value of Receiver.
func (s *NotificationPolicy) SetReceiver(val OptString) {
s.Receiver = val
}
// SetGroupBy sets the value of GroupBy.
func (s *NotificationPolicy) SetGroupBy(val []string) {
s.GroupBy = val
}
// SetRoutes sets the value of Routes.
func (s *NotificationPolicy) SetRoutes(val []jx.Raw) {
s.Routes = val
}
// SetGroupWait sets the value of GroupWait.
func (s *NotificationPolicy) SetGroupWait(val OptString) {
s.GroupWait = val
}
// SetGroupInterval sets the value of GroupInterval.
func (s *NotificationPolicy) SetGroupInterval(val OptString) {
s.GroupInterval = val
}
// SetRepeatInterval sets the value of RepeatInterval.
func (s *NotificationPolicy) SetRepeatInterval(val OptString) {
s.RepeatInterval = val
}
// SetProvenance sets the value of Provenance.
func (s *NotificationPolicy) SetProvenance(val OptString) {
s.Provenance = val
}
// NewOptBool returns new OptBool with value set to v.
func NewOptBool(v bool) OptBool {
return OptBool{
Value: v,
Set: true,
}
}
// OptBool is optional bool.
type OptBool struct {
Value bool
Set bool
}
// IsSet returns true if OptBool was set.
func (o OptBool) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptBool) Reset() {
var v bool
o.Value = v
o.Set = false
}
// SetTo sets value to v.
func (o *OptBool) SetTo(v bool) {
o.Set = true
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptBool) Get() (v bool, ok bool) {
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptBool) Or(d bool) bool {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptDashboardMeta returns new OptDashboardMeta with value set to v.
func NewOptDashboardMeta(v DashboardMeta) OptDashboardMeta {
return OptDashboardMeta{
Value: v,
Set: true,
}
}
// OptDashboardMeta is optional DashboardMeta.
type OptDashboardMeta struct {
Value DashboardMeta
Set bool
}
// IsSet returns true if OptDashboardMeta was set.
func (o OptDashboardMeta) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptDashboardMeta) Reset() {
var v DashboardMeta
o.Value = v
o.Set = false
}
// SetTo sets value to v.
func (o *OptDashboardMeta) SetTo(v DashboardMeta) {
o.Set = true
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptDashboardMeta) Get() (v DashboardMeta, ok bool) {
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptDashboardMeta) Or(d DashboardMeta) DashboardMeta {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptInt returns new OptInt with value set to v.
func NewOptInt(v int) OptInt {
return OptInt{
Value: v,
Set: true,
}
}
// OptInt is optional int.
type OptInt struct {
Value int
Set bool
}
// IsSet returns true if OptInt was set.
func (o OptInt) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptInt) Reset() {
var v int
o.Value = v
o.Set = false
}
// SetTo sets value to v.
func (o *OptInt) SetTo(v int) {
o.Set = true
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptInt) Get() (v int, ok bool) {
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptInt) Or(d int) int {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptInt64 returns new OptInt64 with value set to v.
func NewOptInt64(v int64) OptInt64 {
return OptInt64{
Value: v,
Set: true,
}
}
// OptInt64 is optional int64.
type OptInt64 struct {
Value int64
Set bool
}
// IsSet returns true if OptInt64 was set.
func (o OptInt64) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptInt64) Reset() {
var v int64
o.Value = v
o.Set = false
}
// SetTo sets value to v.
func (o *OptInt64) SetTo(v int64) {
o.Set = true
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptInt64) Get() (v int64, ok bool) {
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptInt64) Or(d int64) int64 {
if v, ok := o.Get(); ok {
return v
}
return d
}
// NewOptString returns new OptString with value set to v.
func NewOptString(v string) OptString {
return OptString{
Value: v,
Set: true,
}
}
// OptString is optional string.
type OptString struct {
Value string
Set bool
}
// IsSet returns true if OptString was set.
func (o OptString) IsSet() bool { return o.Set }
// Reset unsets value.
func (o *OptString) Reset() {
var v string
o.Value = v
o.Set = false
}
// SetTo sets value to v.
func (o *OptString) SetTo(v string) {
o.Set = true
o.Value = v
}
// Get returns value and boolean that denotes whether value was set.
func (o OptString) Get() (v string, ok bool) {
if !o.Set {
return v, false
}
return o.Value, true
}
// Or returns value if set, or given parameter if does not.
func (o OptString) Or(d string) string {
if v, ok := o.Get(); ok {
return v
}
return d
}
// Ref: #/components/schemas/SaveDashboardRequest
type SaveDashboardRequest struct {
Dashboard jx.Raw `json:"dashboard"`
FolderId OptInt `json:"folderId"`
FolderUid OptString `json:"folderUid"`
Message OptString `json:"message"`
Overwrite OptBool `json:"overwrite"`
}
// GetDashboard returns the value of Dashboard.
func (s *SaveDashboardRequest) GetDashboard() jx.Raw {
return s.Dashboard
}
// GetFolderId returns the value of FolderId.
func (s *SaveDashboardRequest) GetFolderId() OptInt {
return s.FolderId
}
// GetFolderUid returns the value of FolderUid.
func (s *SaveDashboardRequest) GetFolderUid() OptString {
return s.FolderUid
}
// GetMessage returns the value of Message.
func (s *SaveDashboardRequest) GetMessage() OptString {
return s.Message
}
// GetOverwrite returns the value of Overwrite.
func (s *SaveDashboardRequest) GetOverwrite() OptBool {
return s.Overwrite
}
// SetDashboard sets the value of Dashboard.
func (s *SaveDashboardRequest) SetDashboard(val jx.Raw) {
s.Dashboard = val
}
// SetFolderId sets the value of FolderId.
func (s *SaveDashboardRequest) SetFolderId(val OptInt) {
s.FolderId = val
}
// SetFolderUid sets the value of FolderUid.
func (s *SaveDashboardRequest) SetFolderUid(val OptString) {
s.FolderUid = val
}
// SetMessage sets the value of Message.
func (s *SaveDashboardRequest) SetMessage(val OptString) {
s.Message = val
}
// SetOverwrite sets the value of Overwrite.
func (s *SaveDashboardRequest) SetOverwrite(val OptBool) {
s.Overwrite = val
}
// Ref: #/components/schemas/SaveDashboardResponse
type SaveDashboardResponse struct {
ID OptInt `json:"id"`
UID OptString `json:"uid"`
URL OptString `json:"url"`
Status OptString `json:"status"`
Version OptInt `json:"version"`
Slug OptString `json:"slug"`
}
// GetID returns the value of ID.
func (s *SaveDashboardResponse) GetID() OptInt {
return s.ID
}
// GetUID returns the value of UID.
func (s *SaveDashboardResponse) GetUID() OptString {
return s.UID
}
// GetURL returns the value of URL.
func (s *SaveDashboardResponse) GetURL() OptString {
return s.URL
}
// GetStatus returns the value of Status.
func (s *SaveDashboardResponse) GetStatus() OptString {
return s.Status
}
// GetVersion returns the value of Version.
func (s *SaveDashboardResponse) GetVersion() OptInt {
return s.Version
}
// GetSlug returns the value of Slug.
func (s *SaveDashboardResponse) GetSlug() OptString {
return s.Slug
}
// SetID sets the value of ID.
func (s *SaveDashboardResponse) SetID(val OptInt) {
s.ID = val
}
// SetUID sets the value of UID.
func (s *SaveDashboardResponse) SetUID(val OptString) {
s.UID = val
}
// SetURL sets the value of URL.
func (s *SaveDashboardResponse) SetURL(val OptString) {
s.URL = val
}
// SetStatus sets the value of Status.
func (s *SaveDashboardResponse) SetStatus(val OptString) {
s.Status = val
}
// SetVersion sets the value of Version.
func (s *SaveDashboardResponse) SetVersion(val OptInt) {
s.Version = val
}
// SetSlug sets the value of Slug.
func (s *SaveDashboardResponse) SetSlug(val OptString) {
s.Slug = val
}
// Ref: #/components/schemas/SearchResult
type SearchResult struct {
ID OptInt `json:"id"`
UID OptString `json:"uid"`
Title OptString `json:"title"`
URI OptString `json:"uri"`
URL OptString `json:"url"`
Slug OptString `json:"slug"`
Type OptString `json:"type"`
Tags []string `json:"tags"`
IsStarred OptBool `json:"isStarred"`
FolderUid OptString `json:"folderUid"`
FolderTitle OptString `json:"folderTitle"`
FolderUrl OptString `json:"folderUrl"`
}
// GetID returns the value of ID.
func (s *SearchResult) GetID() OptInt {
return s.ID
}
// GetUID returns the value of UID.
func (s *SearchResult) GetUID() OptString {
return s.UID
}
// GetTitle returns the value of Title.
func (s *SearchResult) GetTitle() OptString {
return s.Title
}
// GetURI returns the value of URI.
func (s *SearchResult) GetURI() OptString {
return s.URI
}
// GetURL returns the value of URL.
func (s *SearchResult) GetURL() OptString {
return s.URL
}
// GetSlug returns the value of Slug.
func (s *SearchResult) GetSlug() OptString {
return s.Slug
}
// GetType returns the value of Type.
func (s *SearchResult) GetType() OptString {
return s.Type
}
// GetTags returns the value of Tags.
func (s *SearchResult) GetTags() []string {
return s.Tags
}
// GetIsStarred returns the value of IsStarred.
func (s *SearchResult) GetIsStarred() OptBool {
return s.IsStarred
}
// GetFolderUid returns the value of FolderUid.
func (s *SearchResult) GetFolderUid() OptString {
return s.FolderUid
}
// GetFolderTitle returns the value of FolderTitle.
func (s *SearchResult) GetFolderTitle() OptString {
return s.FolderTitle
}
// GetFolderUrl returns the value of FolderUrl.
func (s *SearchResult) GetFolderUrl() OptString {
return s.FolderUrl
}
// SetID sets the value of ID.
func (s *SearchResult) SetID(val OptInt) {
s.ID = val
}
// SetUID sets the value of UID.
func (s *SearchResult) SetUID(val OptString) {
s.UID = val
}
// SetTitle sets the value of Title.
func (s *SearchResult) SetTitle(val OptString) {
s.Title = val
}
// SetURI sets the value of URI.
func (s *SearchResult) SetURI(val OptString) {
s.URI = val
}
// SetURL sets the value of URL.
func (s *SearchResult) SetURL(val OptString) {
s.URL = val
}
// SetSlug sets the value of Slug.
func (s *SearchResult) SetSlug(val OptString) {
s.Slug = val
}
// SetType sets the value of Type.
func (s *SearchResult) SetType(val OptString) {
s.Type = val
}
// SetTags sets the value of Tags.
func (s *SearchResult) SetTags(val []string) {
s.Tags = val
}
// SetIsStarred sets the value of IsStarred.
func (s *SearchResult) SetIsStarred(val OptBool) {
s.IsStarred = val
}
// SetFolderUid sets the value of FolderUid.
func (s *SearchResult) SetFolderUid(val OptString) {
s.FolderUid = val
}
// SetFolderTitle sets the value of FolderTitle.
func (s *SearchResult) SetFolderTitle(val OptString) {
s.FolderTitle = val
}
// SetFolderUrl sets the value of FolderUrl.
func (s *SearchResult) SetFolderUrl(val OptString) {
s.FolderUrl = val
}
// Ref: #/components/schemas/UpdateContactPointRequest
type UpdateContactPointRequest struct {
Name string `json:"name"`
Type string `json:"type"`
Settings jx.Raw `json:"settings"`
DisableResolveMessage OptBool `json:"disableResolveMessage"`
}
// GetName returns the value of Name.
func (s *UpdateContactPointRequest) GetName() string {
return s.Name
}
// GetType returns the value of Type.
func (s *UpdateContactPointRequest) GetType() string {
return s.Type
}
// GetSettings returns the value of Settings.
func (s *UpdateContactPointRequest) GetSettings() jx.Raw {
return s.Settings
}
// GetDisableResolveMessage returns the value of DisableResolveMessage.
func (s *UpdateContactPointRequest) GetDisableResolveMessage() OptBool {
return s.DisableResolveMessage
}
// SetName sets the value of Name.
func (s *UpdateContactPointRequest) SetName(val string) {
s.Name = val
}
// SetType sets the value of Type.
func (s *UpdateContactPointRequest) SetType(val string) {
s.Type = val
}
// SetSettings sets the value of Settings.
func (s *UpdateContactPointRequest) SetSettings(val jx.Raw) {
s.Settings = val
}
// SetDisableResolveMessage sets the value of DisableResolveMessage.
func (s *UpdateContactPointRequest) SetDisableResolveMessage(val OptBool) {
s.DisableResolveMessage = val
}