Documentation ¶
Index ¶
- func Bool(v bool) *bool
- func GetBool(v *bool) (bool, bool)
- func GetIntOk(v *int) (int, bool)
- func GetJsonNumberOk(v *json.Number) (json.Number, bool)
- func GetStringOk(v *string) (string, bool)
- func Int(v int) *int
- func JsonNumber(v json.Number) *json.Number
- func String(v string) *string
- type Alert
- func (a *Alert) GetCreator() int
- func (a *Alert) GetCreatorOk() (int, bool)
- func (a *Alert) GetId() int
- func (a *Alert) GetIdOk() (int, bool)
- func (a *Alert) GetMessage() string
- func (a *Alert) GetMessageOk() (string, bool)
- func (a *Alert) GetName() string
- func (a *Alert) GetNameOk() (string, bool)
- func (a *Alert) GetNotifyNoData() bool
- func (a *Alert) GetNotifyNoDataOk() (bool, bool)
- func (a *Alert) GetQuery() string
- func (a *Alert) GetQueryOk() (string, bool)
- func (a *Alert) GetSilenced() bool
- func (a *Alert) GetSilencedOk() (bool, bool)
- func (a *Alert) GetState() string
- func (a *Alert) GetStateOk() (string, bool)
- func (a *Alert) HasCreator() bool
- func (a *Alert) HasId() bool
- func (a *Alert) HasMessage() bool
- func (a *Alert) HasName() bool
- func (a *Alert) HasNotifyNoData() bool
- func (a *Alert) HasQuery() bool
- func (a *Alert) HasSilenced() bool
- func (a *Alert) HasState() bool
- func (a *Alert) SetCreator(v int)
- func (a *Alert) SetId(v int)
- func (a *Alert) SetMessage(v string)
- func (a *Alert) SetName(v string)
- func (a *Alert) SetNotifyNoData(v bool)
- func (a *Alert) SetQuery(v string)
- func (a *Alert) SetSilenced(v bool)
- func (a *Alert) SetState(v string)
- type AlertGraphWidget
- func (a *AlertGraphWidget) GetAddTimeframe() bool
- func (a *AlertGraphWidget) GetAddTimeframeOk() (bool, bool)
- func (a *AlertGraphWidget) GetAlertId() int
- func (a *AlertGraphWidget) GetAlertIdOk() (int, bool)
- func (a *AlertGraphWidget) GetHeight() int
- func (a *AlertGraphWidget) GetHeightOk() (int, bool)
- func (a *AlertGraphWidget) GetTimeframe() string
- func (a *AlertGraphWidget) GetTimeframeOk() (string, bool)
- func (a *AlertGraphWidget) GetTitle() bool
- func (a *AlertGraphWidget) GetTitleAlign() string
- func (a *AlertGraphWidget) GetTitleAlignOk() (string, bool)
- func (a *AlertGraphWidget) GetTitleOk() (bool, bool)
- func (a *AlertGraphWidget) GetTitleSize() int
- func (a *AlertGraphWidget) GetTitleSizeOk() (int, bool)
- func (a *AlertGraphWidget) GetTitleText() string
- func (a *AlertGraphWidget) GetTitleTextOk() (string, bool)
- func (a *AlertGraphWidget) GetType() string
- func (a *AlertGraphWidget) GetTypeOk() (string, bool)
- func (a *AlertGraphWidget) GetVizType() string
- func (a *AlertGraphWidget) GetVizTypeOk() (string, bool)
- func (a *AlertGraphWidget) GetWidth() int
- func (a *AlertGraphWidget) GetWidthOk() (int, bool)
- func (a *AlertGraphWidget) GetX() int
- func (a *AlertGraphWidget) GetXOk() (int, bool)
- func (a *AlertGraphWidget) GetY() int
- func (a *AlertGraphWidget) GetYOk() (int, bool)
- func (a *AlertGraphWidget) HasAddTimeframe() bool
- func (a *AlertGraphWidget) HasAlertId() bool
- func (a *AlertGraphWidget) HasHeight() bool
- func (a *AlertGraphWidget) HasTimeframe() bool
- func (a *AlertGraphWidget) HasTitle() bool
- func (a *AlertGraphWidget) HasTitleAlign() bool
- func (a *AlertGraphWidget) HasTitleSize() bool
- func (a *AlertGraphWidget) HasTitleText() bool
- func (a *AlertGraphWidget) HasType() bool
- func (a *AlertGraphWidget) HasVizType() bool
- func (a *AlertGraphWidget) HasWidth() bool
- func (a *AlertGraphWidget) HasX() bool
- func (a *AlertGraphWidget) HasY() bool
- func (a *AlertGraphWidget) SetAddTimeframe(v bool)
- func (a *AlertGraphWidget) SetAlertId(v int)
- func (a *AlertGraphWidget) SetHeight(v int)
- func (a *AlertGraphWidget) SetTimeframe(v string)
- func (a *AlertGraphWidget) SetTitle(v bool)
- func (a *AlertGraphWidget) SetTitleAlign(v string)
- func (a *AlertGraphWidget) SetTitleSize(v int)
- func (a *AlertGraphWidget) SetTitleText(v string)
- func (a *AlertGraphWidget) SetType(v string)
- func (a *AlertGraphWidget) SetVizType(v string)
- func (a *AlertGraphWidget) SetWidth(v int)
- func (a *AlertGraphWidget) SetX(v int)
- func (a *AlertGraphWidget) SetY(v int)
- type AlertValueWidget
- func (a *AlertValueWidget) GetAddTimeframe() bool
- func (a *AlertValueWidget) GetAddTimeframeOk() (bool, bool)
- func (a *AlertValueWidget) GetAlertId() int
- func (a *AlertValueWidget) GetAlertIdOk() (int, bool)
- func (a *AlertValueWidget) GetHeight() int
- func (a *AlertValueWidget) GetHeightOk() (int, bool)
- func (a *AlertValueWidget) GetPrecision() int
- func (a *AlertValueWidget) GetPrecisionOk() (int, bool)
- func (a *AlertValueWidget) GetTextAlign() string
- func (a *AlertValueWidget) GetTextAlignOk() (string, bool)
- func (a *AlertValueWidget) GetTextSize() string
- func (a *AlertValueWidget) GetTextSizeOk() (string, bool)
- func (a *AlertValueWidget) GetTimeframe() string
- func (a *AlertValueWidget) GetTimeframeOk() (string, bool)
- func (a *AlertValueWidget) GetTitle() bool
- func (a *AlertValueWidget) GetTitleAlign() string
- func (a *AlertValueWidget) GetTitleAlignOk() (string, bool)
- func (a *AlertValueWidget) GetTitleOk() (bool, bool)
- func (a *AlertValueWidget) GetTitleSize() int
- func (a *AlertValueWidget) GetTitleSizeOk() (int, bool)
- func (a *AlertValueWidget) GetTitleText() string
- func (a *AlertValueWidget) GetTitleTextOk() (string, bool)
- func (a *AlertValueWidget) GetType() string
- func (a *AlertValueWidget) GetTypeOk() (string, bool)
- func (a *AlertValueWidget) GetUnit() string
- func (a *AlertValueWidget) GetUnitOk() (string, bool)
- func (a *AlertValueWidget) GetWidth() int
- func (a *AlertValueWidget) GetWidthOk() (int, bool)
- func (a *AlertValueWidget) GetX() int
- func (a *AlertValueWidget) GetXOk() (int, bool)
- func (a *AlertValueWidget) GetY() int
- func (a *AlertValueWidget) GetYOk() (int, bool)
- func (a *AlertValueWidget) HasAddTimeframe() bool
- func (a *AlertValueWidget) HasAlertId() bool
- func (a *AlertValueWidget) HasHeight() bool
- func (a *AlertValueWidget) HasPrecision() bool
- func (a *AlertValueWidget) HasTextAlign() bool
- func (a *AlertValueWidget) HasTextSize() bool
- func (a *AlertValueWidget) HasTimeframe() bool
- func (a *AlertValueWidget) HasTitle() bool
- func (a *AlertValueWidget) HasTitleAlign() bool
- func (a *AlertValueWidget) HasTitleSize() bool
- func (a *AlertValueWidget) HasTitleText() bool
- func (a *AlertValueWidget) HasType() bool
- func (a *AlertValueWidget) HasUnit() bool
- func (a *AlertValueWidget) HasWidth() bool
- func (a *AlertValueWidget) HasX() bool
- func (a *AlertValueWidget) HasY() bool
- func (a *AlertValueWidget) SetAddTimeframe(v bool)
- func (a *AlertValueWidget) SetAlertId(v int)
- func (a *AlertValueWidget) SetHeight(v int)
- func (a *AlertValueWidget) SetPrecision(v int)
- func (a *AlertValueWidget) SetTextAlign(v string)
- func (a *AlertValueWidget) SetTextSize(v string)
- func (a *AlertValueWidget) SetTimeframe(v string)
- func (a *AlertValueWidget) SetTitle(v bool)
- func (a *AlertValueWidget) SetTitleAlign(v string)
- func (a *AlertValueWidget) SetTitleSize(v int)
- func (a *AlertValueWidget) SetTitleText(v string)
- func (a *AlertValueWidget) SetType(v string)
- func (a *AlertValueWidget) SetUnit(v string)
- func (a *AlertValueWidget) SetWidth(v int)
- func (a *AlertValueWidget) SetX(v int)
- func (a *AlertValueWidget) SetY(v int)
- type ChangeWidget
- func (c *ChangeWidget) GetAggregator() string
- func (c *ChangeWidget) GetAggregatorOk() (string, bool)
- func (c *ChangeWidget) GetHeight() int
- func (c *ChangeWidget) GetHeightOk() (int, bool)
- func (c *ChangeWidget) GetTileDef() TileDef
- func (c *ChangeWidget) GetTileDefOk() (TileDef, bool)
- func (c *ChangeWidget) GetTitle() bool
- func (c *ChangeWidget) GetTitleAlign() string
- func (c *ChangeWidget) GetTitleAlignOk() (string, bool)
- func (c *ChangeWidget) GetTitleOk() (bool, bool)
- func (c *ChangeWidget) GetTitleSize() int
- func (c *ChangeWidget) GetTitleSizeOk() (int, bool)
- func (c *ChangeWidget) GetTitleText() string
- func (c *ChangeWidget) GetTitleTextOk() (string, bool)
- func (c *ChangeWidget) GetWidth() int
- func (c *ChangeWidget) GetWidthOk() (int, bool)
- func (c *ChangeWidget) GetX() int
- func (c *ChangeWidget) GetXOk() (int, bool)
- func (c *ChangeWidget) GetY() int
- func (c *ChangeWidget) GetYOk() (int, bool)
- func (c *ChangeWidget) HasAggregator() bool
- func (c *ChangeWidget) HasHeight() bool
- func (c *ChangeWidget) HasTileDef() bool
- func (c *ChangeWidget) HasTitle() bool
- func (c *ChangeWidget) HasTitleAlign() bool
- func (c *ChangeWidget) HasTitleSize() bool
- func (c *ChangeWidget) HasTitleText() bool
- func (c *ChangeWidget) HasWidth() bool
- func (c *ChangeWidget) HasX() bool
- func (c *ChangeWidget) HasY() bool
- func (c *ChangeWidget) SetAggregator(v string)
- func (c *ChangeWidget) SetHeight(v int)
- func (c *ChangeWidget) SetTileDef(v TileDef)
- func (c *ChangeWidget) SetTitle(v bool)
- func (c *ChangeWidget) SetTitleAlign(v string)
- func (c *ChangeWidget) SetTitleSize(v int)
- func (c *ChangeWidget) SetTitleText(v string)
- func (c *ChangeWidget) SetWidth(v int)
- func (c *ChangeWidget) SetX(v int)
- func (c *ChangeWidget) SetY(v int)
- type ChannelSlackRequest
- func (c *ChannelSlackRequest) GetAccount() string
- func (c *ChannelSlackRequest) GetAccountOk() (string, bool)
- func (c *ChannelSlackRequest) GetChannelName() string
- func (c *ChannelSlackRequest) GetChannelNameOk() (string, bool)
- func (c *ChannelSlackRequest) GetTransferAllUserComments() bool
- func (c *ChannelSlackRequest) GetTransferAllUserCommentsOk() (bool, bool)
- func (c *ChannelSlackRequest) HasAccount() bool
- func (c *ChannelSlackRequest) HasChannelName() bool
- func (c *ChannelSlackRequest) HasTransferAllUserComments() bool
- func (c *ChannelSlackRequest) SetAccount(v string)
- func (c *ChannelSlackRequest) SetChannelName(v string)
- func (c *ChannelSlackRequest) SetTransferAllUserComments(v bool)
- type Check
- func (c *Check) GetCheck() string
- func (c *Check) GetCheckOk() (string, bool)
- func (c *Check) GetHostName() string
- func (c *Check) GetHostNameOk() (string, bool)
- func (c *Check) GetMessage() string
- func (c *Check) GetMessageOk() (string, bool)
- func (c *Check) GetStatus() Status
- func (c *Check) GetStatusOk() (Status, bool)
- func (c *Check) GetTimestamp() string
- func (c *Check) GetTimestampOk() (string, bool)
- func (c *Check) HasCheck() bool
- func (c *Check) HasHostName() bool
- func (c *Check) HasMessage() bool
- func (c *Check) HasStatus() bool
- func (c *Check) HasTimestamp() bool
- func (c *Check) SetCheck(v string)
- func (c *Check) SetHostName(v string)
- func (c *Check) SetMessage(v string)
- func (c *Check) SetStatus(v Status)
- func (c *Check) SetTimestamp(v string)
- type CheckStatusWidget
- func (c *CheckStatusWidget) GetCheck() string
- func (c *CheckStatusWidget) GetCheckOk() (string, bool)
- func (c *CheckStatusWidget) GetGroup() string
- func (c *CheckStatusWidget) GetGroupOk() (string, bool)
- func (c *CheckStatusWidget) GetGrouping() string
- func (c *CheckStatusWidget) GetGroupingOk() (string, bool)
- func (c *CheckStatusWidget) GetHeight() int
- func (c *CheckStatusWidget) GetHeightOk() (int, bool)
- func (c *CheckStatusWidget) GetTags() string
- func (c *CheckStatusWidget) GetTagsOk() (string, bool)
- func (c *CheckStatusWidget) GetTextAlign() string
- func (c *CheckStatusWidget) GetTextAlignOk() (string, bool)
- func (c *CheckStatusWidget) GetTextSize() string
- func (c *CheckStatusWidget) GetTextSizeOk() (string, bool)
- func (c *CheckStatusWidget) GetTimeframe() string
- func (c *CheckStatusWidget) GetTimeframeOk() (string, bool)
- func (c *CheckStatusWidget) GetTitle() bool
- func (c *CheckStatusWidget) GetTitleAlign() string
- func (c *CheckStatusWidget) GetTitleAlignOk() (string, bool)
- func (c *CheckStatusWidget) GetTitleOk() (bool, bool)
- func (c *CheckStatusWidget) GetTitleSize() int
- func (c *CheckStatusWidget) GetTitleSizeOk() (int, bool)
- func (c *CheckStatusWidget) GetTitleText() string
- func (c *CheckStatusWidget) GetTitleTextOk() (string, bool)
- func (c *CheckStatusWidget) GetType() string
- func (c *CheckStatusWidget) GetTypeOk() (string, bool)
- func (c *CheckStatusWidget) GetWidth() int
- func (c *CheckStatusWidget) GetWidthOk() (int, bool)
- func (c *CheckStatusWidget) GetX() int
- func (c *CheckStatusWidget) GetXOk() (int, bool)
- func (c *CheckStatusWidget) GetY() int
- func (c *CheckStatusWidget) GetYOk() (int, bool)
- func (c *CheckStatusWidget) HasCheck() bool
- func (c *CheckStatusWidget) HasGroup() bool
- func (c *CheckStatusWidget) HasGrouping() bool
- func (c *CheckStatusWidget) HasHeight() bool
- func (c *CheckStatusWidget) HasTags() bool
- func (c *CheckStatusWidget) HasTextAlign() bool
- func (c *CheckStatusWidget) HasTextSize() bool
- func (c *CheckStatusWidget) HasTimeframe() bool
- func (c *CheckStatusWidget) HasTitle() bool
- func (c *CheckStatusWidget) HasTitleAlign() bool
- func (c *CheckStatusWidget) HasTitleSize() bool
- func (c *CheckStatusWidget) HasTitleText() bool
- func (c *CheckStatusWidget) HasType() bool
- func (c *CheckStatusWidget) HasWidth() bool
- func (c *CheckStatusWidget) HasX() bool
- func (c *CheckStatusWidget) HasY() bool
- func (c *CheckStatusWidget) SetCheck(v string)
- func (c *CheckStatusWidget) SetGroup(v string)
- func (c *CheckStatusWidget) SetGrouping(v string)
- func (c *CheckStatusWidget) SetHeight(v int)
- func (c *CheckStatusWidget) SetTags(v string)
- func (c *CheckStatusWidget) SetTextAlign(v string)
- func (c *CheckStatusWidget) SetTextSize(v string)
- func (c *CheckStatusWidget) SetTimeframe(v string)
- func (c *CheckStatusWidget) SetTitle(v bool)
- func (c *CheckStatusWidget) SetTitleAlign(v string)
- func (c *CheckStatusWidget) SetTitleSize(v int)
- func (c *CheckStatusWidget) SetTitleText(v string)
- func (c *CheckStatusWidget) SetType(v string)
- func (c *CheckStatusWidget) SetWidth(v int)
- func (c *CheckStatusWidget) SetX(v int)
- func (c *CheckStatusWidget) SetY(v int)
- type Client
- func (client *Client) AddTagsToHost(host, source string, tags []string) error
- func (client *Client) CreateAlert(alert *Alert) (*Alert, error)
- func (client *Client) CreateComment(handle, message string) (*Comment, error)
- func (client *Client) CreateDashboard(dash *Dashboard) (*Dashboard, error)
- func (client *Client) CreateDowntime(downtime *Downtime) (*Downtime, error)
- func (client *Client) CreateIntegrationPD(pdIntegration *IntegrationPDRequest) error
- func (client *Client) CreateIntegrationSlack(slackIntegration *IntegrationSlackRequest) error
- func (client *Client) CreateMonitor(monitor *Monitor) (*Monitor, error)
- func (client *Client) CreateRelatedComment(handle, message string, relid int) (*Comment, error)
- func (client *Client) CreateScreenboard(board *Screenboard) (*Screenboard, error)
- func (self *Client) CreateUser(handle, name *string) (*User, error)
- func (client *Client) DeleteAlert(id int) error
- func (client *Client) DeleteComment(id int) error
- func (client *Client) DeleteDashboard(id int) error
- func (client *Client) DeleteDowntime(id int) error
- func (client *Client) DeleteIntegrationPD() error
- func (client *Client) DeleteIntegrationSlack() error
- func (client *Client) DeleteMonitor(id int) error
- func (client *Client) DeleteScreenboard(id int) error
- func (client *Client) DeleteUser(handle string) error
- func (client *Client) EditComment(id int, handle, message string) error
- func (client *Client) EditMetricMetadata(mn string, mm *MetricMetadata) (*MetricMetadata, error)
- func (client *Client) GetAlert(id int) (*Alert, error)
- func (client *Client) GetAlerts() ([]Alert, error)
- func (c *Client) GetBaseUrl() string
- func (client *Client) GetDashboard(id int) (*Dashboard, error)
- func (client *Client) GetDashboards() ([]DashboardLite, error)
- func (client *Client) GetDowntime(id int) (*Downtime, error)
- func (client *Client) GetDowntimes() ([]Downtime, error)
- func (client *Client) GetEvent(id int) (*Event, error)
- func (client *Client) GetEvents(start, end int, priority, sources, tags string) ([]Event, error)
- func (client *Client) GetHostTags(host, source string) ([]string, error)
- func (client *Client) GetHostTagsBySource(host, source string) (TagMap, error)
- func (client *Client) GetIntegrationPD() (*integrationPD, error)
- func (client *Client) GetIntegrationSlack() (*IntegrationSlackRequest, error)
- func (client *Client) GetMonitor(id int) (*Monitor, error)
- func (client *Client) GetMonitors() ([]Monitor, error)
- func (self *Client) GetMonitorsByName(name string) ([]Monitor, error)
- func (self *Client) GetMonitorsByTags(tags []string) ([]Monitor, error)
- func (client *Client) GetScreenboard(id int) (*Screenboard, error)
- func (client *Client) GetScreenboards() ([]*ScreenboardLite, error)
- func (client *Client) GetTags(source string) (TagMap, error)
- func (client *Client) GetUser(handle string) (user User, err error)
- func (client *Client) GetUsers() (users []User, err error)
- func (client *Client) InviteUsers(emails []string) error
- func (client *Client) MuteAlerts() error
- func (client *Client) MuteHost(host string, action *HostActionMute) (*HostActionResp, error)
- func (client *Client) MuteMonitor(id int) error
- func (client *Client) MuteMonitors() error
- func (client *Client) PostCheck(check Check) error
- func (client *Client) PostEvent(event *Event) (*Event, error)
- func (client *Client) PostMetrics(series []Metric) error
- func (client *Client) QueryMetrics(from, to int64, query string) ([]Series, error)
- func (client *Client) RemoveHostTags(host, source string) error
- func (client *Client) RevokeScreenboard(id int) error
- func (client *Client) SearchHosts(search string) ([]string, error)
- func (client *Client) SearchMetrics(search string) ([]string, error)
- func (c *Client) SetBaseUrl(baseUrl string)
- func (c *Client) SetKeys(apiKey, appKey string)
- func (client *Client) ShareScreenboard(id int, response *ScreenShareResponse) error
- func (client *Client) Snapshot(query string, start, end time.Time, eventQuery string) (string, error)
- func (client *Client) SnapshotGeneric(options map[string]string, start, end time.Time) (string, error)
- func (client *Client) UnmuteAlerts() error
- func (client *Client) UnmuteHost(host string) (*HostActionResp, error)
- func (client *Client) UnmuteMonitor(id int) error
- func (client *Client) UnmuteMonitors() error
- func (client *Client) UpdateAlert(alert *Alert) error
- func (client *Client) UpdateDashboard(dash *Dashboard) error
- func (client *Client) UpdateDowntime(downtime *Downtime) error
- func (client *Client) UpdateHostTags(host, source string, tags []string) error
- func (client *Client) UpdateIntegrationPD(pdIntegration *IntegrationPDRequest) error
- func (client *Client) UpdateIntegrationSlack(slackIntegration *IntegrationSlackRequest) error
- func (client *Client) UpdateMonitor(monitor *Monitor) error
- func (client *Client) UpdateScreenboard(board *Screenboard) error
- func (client *Client) UpdateUser(user User) error
- func (client *Client) Validate() (bool, error)
- func (client *Client) ViewMetricMetadata(mn string) (*MetricMetadata, error)
- type Comment
- func (c *Comment) GetHandle() string
- func (c *Comment) GetHandleOk() (string, bool)
- func (c *Comment) GetId() int
- func (c *Comment) GetIdOk() (int, bool)
- func (c *Comment) GetMessage() string
- func (c *Comment) GetMessageOk() (string, bool)
- func (c *Comment) GetRelatedId() int
- func (c *Comment) GetRelatedIdOk() (int, bool)
- func (c *Comment) GetResource() string
- func (c *Comment) GetResourceOk() (string, bool)
- func (c *Comment) GetUrl() string
- func (c *Comment) GetUrlOk() (string, bool)
- func (c *Comment) HasHandle() bool
- func (c *Comment) HasId() bool
- func (c *Comment) HasMessage() bool
- func (c *Comment) HasRelatedId() bool
- func (c *Comment) HasResource() bool
- func (c *Comment) HasUrl() bool
- func (c *Comment) SetHandle(v string)
- func (c *Comment) SetId(v int)
- func (c *Comment) SetMessage(v string)
- func (c *Comment) SetRelatedId(v int)
- func (c *Comment) SetResource(v string)
- func (c *Comment) SetUrl(v string)
- type ConditionalFormat
- func (c *ConditionalFormat) GetColor() string
- func (c *ConditionalFormat) GetColorOk() (string, bool)
- func (c *ConditionalFormat) GetComparator() string
- func (c *ConditionalFormat) GetComparatorOk() (string, bool)
- func (c *ConditionalFormat) GetInverted() bool
- func (c *ConditionalFormat) GetInvertedOk() (bool, bool)
- func (c *ConditionalFormat) GetValue() int
- func (c *ConditionalFormat) GetValueOk() (int, bool)
- func (c *ConditionalFormat) HasColor() bool
- func (c *ConditionalFormat) HasComparator() bool
- func (c *ConditionalFormat) HasInverted() bool
- func (c *ConditionalFormat) HasValue() bool
- func (c *ConditionalFormat) SetColor(v string)
- func (c *ConditionalFormat) SetComparator(v string)
- func (c *ConditionalFormat) SetInverted(v bool)
- func (c *ConditionalFormat) SetValue(v int)
- type Creator
- func (c *Creator) GetEmail() string
- func (c *Creator) GetEmailOk() (string, bool)
- func (c *Creator) GetHandle() string
- func (c *Creator) GetHandleOk() (string, bool)
- func (c *Creator) GetId() int
- func (c *Creator) GetIdOk() (int, bool)
- func (c *Creator) GetName() string
- func (c *Creator) GetNameOk() (string, bool)
- func (c *Creator) HasEmail() bool
- func (c *Creator) HasHandle() bool
- func (c *Creator) HasId() bool
- func (c *Creator) HasName() bool
- func (c *Creator) SetEmail(v string)
- func (c *Creator) SetHandle(v string)
- func (c *Creator) SetId(v int)
- func (c *Creator) SetName(v string)
- type Dashboard
- func (d *Dashboard) GetDescription() string
- func (d *Dashboard) GetDescriptionOk() (string, bool)
- func (d *Dashboard) GetId() int
- func (d *Dashboard) GetIdOk() (int, bool)
- func (d *Dashboard) GetReadOnly() bool
- func (d *Dashboard) GetReadOnlyOk() (bool, bool)
- func (d *Dashboard) GetTitle() string
- func (d *Dashboard) GetTitleOk() (string, bool)
- func (d *Dashboard) HasDescription() bool
- func (d *Dashboard) HasId() bool
- func (d *Dashboard) HasReadOnly() bool
- func (d *Dashboard) HasTitle() bool
- func (d *Dashboard) SetDescription(v string)
- func (d *Dashboard) SetId(v int)
- func (d *Dashboard) SetReadOnly(v bool)
- func (d *Dashboard) SetTitle(v string)
- type DashboardConditionalFormat
- func (d *DashboardConditionalFormat) GetComparator() string
- func (d *DashboardConditionalFormat) GetComparatorOk() (string, bool)
- func (d *DashboardConditionalFormat) GetCustomBgColor() string
- func (d *DashboardConditionalFormat) GetCustomBgColorOk() (string, bool)
- func (d *DashboardConditionalFormat) GetCustomFgColor() string
- func (d *DashboardConditionalFormat) GetCustomFgColorOk() (string, bool)
- func (d *DashboardConditionalFormat) GetCustomImageUrl() string
- func (d *DashboardConditionalFormat) GetCustomImageUrlOk() (string, bool)
- func (d *DashboardConditionalFormat) GetInverted() bool
- func (d *DashboardConditionalFormat) GetInvertedOk() (bool, bool)
- func (d *DashboardConditionalFormat) GetPalette() string
- func (d *DashboardConditionalFormat) GetPaletteOk() (string, bool)
- func (d *DashboardConditionalFormat) GetValue() json.Number
- func (d *DashboardConditionalFormat) GetValueOk() (json.Number, bool)
- func (d *DashboardConditionalFormat) HasComparator() bool
- func (d *DashboardConditionalFormat) HasCustomBgColor() bool
- func (d *DashboardConditionalFormat) HasCustomFgColor() bool
- func (d *DashboardConditionalFormat) HasCustomImageUrl() bool
- func (d *DashboardConditionalFormat) HasInverted() bool
- func (d *DashboardConditionalFormat) HasPalette() bool
- func (d *DashboardConditionalFormat) HasValue() bool
- func (d *DashboardConditionalFormat) SetComparator(v string)
- func (d *DashboardConditionalFormat) SetCustomBgColor(v string)
- func (d *DashboardConditionalFormat) SetCustomFgColor(v string)
- func (d *DashboardConditionalFormat) SetCustomImageUrl(v string)
- func (d *DashboardConditionalFormat) SetInverted(v bool)
- func (d *DashboardConditionalFormat) SetPalette(v string)
- func (d *DashboardConditionalFormat) SetValue(v json.Number)
- type DashboardLite
- func (d *DashboardLite) GetDescription() string
- func (d *DashboardLite) GetDescriptionOk() (string, bool)
- func (d *DashboardLite) GetId() int
- func (d *DashboardLite) GetIdOk() (int, bool)
- func (d *DashboardLite) GetResource() string
- func (d *DashboardLite) GetResourceOk() (string, bool)
- func (d *DashboardLite) GetTitle() string
- func (d *DashboardLite) GetTitleOk() (string, bool)
- func (d *DashboardLite) HasDescription() bool
- func (d *DashboardLite) HasId() bool
- func (d *DashboardLite) HasResource() bool
- func (d *DashboardLite) HasTitle() bool
- func (d *DashboardLite) SetDescription(v string)
- func (d *DashboardLite) SetId(v int)
- func (d *DashboardLite) SetResource(v string)
- func (d *DashboardLite) SetTitle(v string)
- type DataPoint
- type Downtime
- func (d *Downtime) GetActive() bool
- func (d *Downtime) GetActiveOk() (bool, bool)
- func (d *Downtime) GetCanceled() int
- func (d *Downtime) GetCanceledOk() (int, bool)
- func (d *Downtime) GetDisabled() bool
- func (d *Downtime) GetDisabledOk() (bool, bool)
- func (d *Downtime) GetEnd() int
- func (d *Downtime) GetEndOk() (int, bool)
- func (d *Downtime) GetId() int
- func (d *Downtime) GetIdOk() (int, bool)
- func (d *Downtime) GetMessage() string
- func (d *Downtime) GetMessageOk() (string, bool)
- func (d *Downtime) GetMonitorId() int
- func (d *Downtime) GetMonitorIdOk() (int, bool)
- func (d *Downtime) GetRecurrence() Recurrence
- func (d *Downtime) GetRecurrenceOk() (Recurrence, bool)
- func (d *Downtime) GetStart() int
- func (d *Downtime) GetStartOk() (int, bool)
- func (d *Downtime) HasActive() bool
- func (d *Downtime) HasCanceled() bool
- func (d *Downtime) HasDisabled() bool
- func (d *Downtime) HasEnd() bool
- func (d *Downtime) HasId() bool
- func (d *Downtime) HasMessage() bool
- func (d *Downtime) HasMonitorId() bool
- func (d *Downtime) HasRecurrence() bool
- func (d *Downtime) HasStart() bool
- func (d *Downtime) SetActive(v bool)
- func (d *Downtime) SetCanceled(v int)
- func (d *Downtime) SetDisabled(v bool)
- func (d *Downtime) SetEnd(v int)
- func (d *Downtime) SetId(v int)
- func (d *Downtime) SetMessage(v string)
- func (d *Downtime) SetMonitorId(v int)
- func (d *Downtime) SetRecurrence(v Recurrence)
- func (d *Downtime) SetStart(v int)
- type Event
- func (e *Event) GetAggregation() string
- func (e *Event) GetAggregationOk() (string, bool)
- func (e *Event) GetAlertType() string
- func (e *Event) GetAlertTypeOk() (string, bool)
- func (e *Event) GetEventType() string
- func (e *Event) GetEventTypeOk() (string, bool)
- func (e *Event) GetHost() string
- func (e *Event) GetHostOk() (string, bool)
- func (e *Event) GetId() int
- func (e *Event) GetIdOk() (int, bool)
- func (e *Event) GetPriority() string
- func (e *Event) GetPriorityOk() (string, bool)
- func (e *Event) GetResource() string
- func (e *Event) GetResourceOk() (string, bool)
- func (e *Event) GetSourceType() string
- func (e *Event) GetSourceTypeOk() (string, bool)
- func (e *Event) GetText() string
- func (e *Event) GetTextOk() (string, bool)
- func (e *Event) GetTime() int
- func (e *Event) GetTimeOk() (int, bool)
- func (e *Event) GetTitle() string
- func (e *Event) GetTitleOk() (string, bool)
- func (e *Event) GetUrl() string
- func (e *Event) GetUrlOk() (string, bool)
- func (e *Event) HasAggregation() bool
- func (e *Event) HasAlertType() bool
- func (e *Event) HasEventType() bool
- func (e *Event) HasHost() bool
- func (e *Event) HasId() bool
- func (e *Event) HasPriority() bool
- func (e *Event) HasResource() bool
- func (e *Event) HasSourceType() bool
- func (e *Event) HasText() bool
- func (e *Event) HasTime() bool
- func (e *Event) HasTitle() bool
- func (e *Event) HasUrl() bool
- func (e *Event) SetAggregation(v string)
- func (e *Event) SetAlertType(v string)
- func (e *Event) SetEventType(v string)
- func (e *Event) SetHost(v string)
- func (e *Event) SetId(v int)
- func (e *Event) SetPriority(v string)
- func (e *Event) SetResource(v string)
- func (e *Event) SetSourceType(v string)
- func (e *Event) SetText(v string)
- func (e *Event) SetTime(v int)
- func (e *Event) SetTitle(v string)
- func (e *Event) SetUrl(v string)
- type EventStreamWidget
- func (e *EventStreamWidget) GetEventSize() string
- func (e *EventStreamWidget) GetEventSizeOk() (string, bool)
- func (e *EventStreamWidget) GetHeight() int
- func (e *EventStreamWidget) GetHeightOk() (int, bool)
- func (e *EventStreamWidget) GetQuery() string
- func (e *EventStreamWidget) GetQueryOk() (string, bool)
- func (e *EventStreamWidget) GetTimeframe() string
- func (e *EventStreamWidget) GetTimeframeOk() (string, bool)
- func (e *EventStreamWidget) GetTitle() bool
- func (e *EventStreamWidget) GetTitleAlign() string
- func (e *EventStreamWidget) GetTitleAlignOk() (string, bool)
- func (e *EventStreamWidget) GetTitleOk() (bool, bool)
- func (e *EventStreamWidget) GetTitleSize() TextSize
- func (e *EventStreamWidget) GetTitleSizeOk() (TextSize, bool)
- func (e *EventStreamWidget) GetTitleText() string
- func (e *EventStreamWidget) GetTitleTextOk() (string, bool)
- func (e *EventStreamWidget) GetType() string
- func (e *EventStreamWidget) GetTypeOk() (string, bool)
- func (e *EventStreamWidget) GetWidth() int
- func (e *EventStreamWidget) GetWidthOk() (int, bool)
- func (e *EventStreamWidget) GetX() int
- func (e *EventStreamWidget) GetXOk() (int, bool)
- func (e *EventStreamWidget) GetY() int
- func (e *EventStreamWidget) GetYOk() (int, bool)
- func (e *EventStreamWidget) HasEventSize() bool
- func (e *EventStreamWidget) HasHeight() bool
- func (e *EventStreamWidget) HasQuery() bool
- func (e *EventStreamWidget) HasTimeframe() bool
- func (e *EventStreamWidget) HasTitle() bool
- func (e *EventStreamWidget) HasTitleAlign() bool
- func (e *EventStreamWidget) HasTitleSize() bool
- func (e *EventStreamWidget) HasTitleText() bool
- func (e *EventStreamWidget) HasType() bool
- func (e *EventStreamWidget) HasWidth() bool
- func (e *EventStreamWidget) HasX() bool
- func (e *EventStreamWidget) HasY() bool
- func (e *EventStreamWidget) SetEventSize(v string)
- func (e *EventStreamWidget) SetHeight(v int)
- func (e *EventStreamWidget) SetQuery(v string)
- func (e *EventStreamWidget) SetTimeframe(v string)
- func (e *EventStreamWidget) SetTitle(v bool)
- func (e *EventStreamWidget) SetTitleAlign(v string)
- func (e *EventStreamWidget) SetTitleSize(v TextSize)
- func (e *EventStreamWidget) SetTitleText(v string)
- func (e *EventStreamWidget) SetType(v string)
- func (e *EventStreamWidget) SetWidth(v int)
- func (e *EventStreamWidget) SetX(v int)
- func (e *EventStreamWidget) SetY(v int)
- type EventTimelineWidget
- func (e *EventTimelineWidget) GetHeight() int
- func (e *EventTimelineWidget) GetHeightOk() (int, bool)
- func (e *EventTimelineWidget) GetQuery() string
- func (e *EventTimelineWidget) GetQueryOk() (string, bool)
- func (e *EventTimelineWidget) GetTimeframe() string
- func (e *EventTimelineWidget) GetTimeframeOk() (string, bool)
- func (e *EventTimelineWidget) GetTitle() bool
- func (e *EventTimelineWidget) GetTitleAlign() string
- func (e *EventTimelineWidget) GetTitleAlignOk() (string, bool)
- func (e *EventTimelineWidget) GetTitleOk() (bool, bool)
- func (e *EventTimelineWidget) GetTitleSize() int
- func (e *EventTimelineWidget) GetTitleSizeOk() (int, bool)
- func (e *EventTimelineWidget) GetTitleText() string
- func (e *EventTimelineWidget) GetTitleTextOk() (string, bool)
- func (e *EventTimelineWidget) GetType() string
- func (e *EventTimelineWidget) GetTypeOk() (string, bool)
- func (e *EventTimelineWidget) GetWidth() int
- func (e *EventTimelineWidget) GetWidthOk() (int, bool)
- func (e *EventTimelineWidget) GetX() int
- func (e *EventTimelineWidget) GetXOk() (int, bool)
- func (e *EventTimelineWidget) GetY() int
- func (e *EventTimelineWidget) GetYOk() (int, bool)
- func (e *EventTimelineWidget) HasHeight() bool
- func (e *EventTimelineWidget) HasQuery() bool
- func (e *EventTimelineWidget) HasTimeframe() bool
- func (e *EventTimelineWidget) HasTitle() bool
- func (e *EventTimelineWidget) HasTitleAlign() bool
- func (e *EventTimelineWidget) HasTitleSize() bool
- func (e *EventTimelineWidget) HasTitleText() bool
- func (e *EventTimelineWidget) HasType() bool
- func (e *EventTimelineWidget) HasWidth() bool
- func (e *EventTimelineWidget) HasX() bool
- func (e *EventTimelineWidget) HasY() bool
- func (e *EventTimelineWidget) SetHeight(v int)
- func (e *EventTimelineWidget) SetQuery(v string)
- func (e *EventTimelineWidget) SetTimeframe(v string)
- func (e *EventTimelineWidget) SetTitle(v bool)
- func (e *EventTimelineWidget) SetTitleAlign(v string)
- func (e *EventTimelineWidget) SetTitleSize(v int)
- func (e *EventTimelineWidget) SetTitleText(v string)
- func (e *EventTimelineWidget) SetType(v string)
- func (e *EventTimelineWidget) SetWidth(v int)
- func (e *EventTimelineWidget) SetX(v int)
- func (e *EventTimelineWidget) SetY(v int)
- type FreeTextWidget
- func (f *FreeTextWidget) GetColor() string
- func (f *FreeTextWidget) GetColorOk() (string, bool)
- func (f *FreeTextWidget) GetFontSize() string
- func (f *FreeTextWidget) GetFontSizeOk() (string, bool)
- func (f *FreeTextWidget) GetHeight() int
- func (f *FreeTextWidget) GetHeightOk() (int, bool)
- func (f *FreeTextWidget) GetText() string
- func (f *FreeTextWidget) GetTextAlign() string
- func (f *FreeTextWidget) GetTextAlignOk() (string, bool)
- func (f *FreeTextWidget) GetTextOk() (string, bool)
- func (f *FreeTextWidget) GetType() string
- func (f *FreeTextWidget) GetTypeOk() (string, bool)
- func (f *FreeTextWidget) GetWidth() int
- func (f *FreeTextWidget) GetWidthOk() (int, bool)
- func (f *FreeTextWidget) GetX() int
- func (f *FreeTextWidget) GetXOk() (int, bool)
- func (f *FreeTextWidget) GetY() int
- func (f *FreeTextWidget) GetYOk() (int, bool)
- func (f *FreeTextWidget) HasColor() bool
- func (f *FreeTextWidget) HasFontSize() bool
- func (f *FreeTextWidget) HasHeight() bool
- func (f *FreeTextWidget) HasText() bool
- func (f *FreeTextWidget) HasTextAlign() bool
- func (f *FreeTextWidget) HasType() bool
- func (f *FreeTextWidget) HasWidth() bool
- func (f *FreeTextWidget) HasX() bool
- func (f *FreeTextWidget) HasY() bool
- func (f *FreeTextWidget) SetColor(v string)
- func (f *FreeTextWidget) SetFontSize(v string)
- func (f *FreeTextWidget) SetHeight(v int)
- func (f *FreeTextWidget) SetText(v string)
- func (f *FreeTextWidget) SetTextAlign(v string)
- func (f *FreeTextWidget) SetType(v string)
- func (f *FreeTextWidget) SetWidth(v int)
- func (f *FreeTextWidget) SetX(v int)
- func (f *FreeTextWidget) SetY(v int)
- type Graph
- func (g *Graph) GetDefinition() GraphDefinition
- func (g *Graph) GetDefinitionOk() (GraphDefinition, bool)
- func (g *Graph) GetTitle() string
- func (g *Graph) GetTitleOk() (string, bool)
- func (g *Graph) HasDefinition() bool
- func (g *Graph) HasTitle() bool
- func (g *Graph) SetDefinition(v GraphDefinition)
- func (g *Graph) SetTitle(v string)
- type GraphDefinition
- func (g *GraphDefinition) GetAutoscale() bool
- func (g *GraphDefinition) GetAutoscaleOk() (bool, bool)
- func (g *GraphDefinition) GetCustomUnit() string
- func (g *GraphDefinition) GetCustomUnitOk() (string, bool)
- func (g *GraphDefinition) GetIncludeNoMetricHosts() bool
- func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool)
- func (g *GraphDefinition) GetIncludeUngroupedHosts() bool
- func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool)
- func (g *GraphDefinition) GetPrecision() string
- func (g *GraphDefinition) GetPrecisionOk() (string, bool)
- func (g *GraphDefinition) GetStyle() Style
- func (g *GraphDefinition) GetStyleOk() (Style, bool)
- func (g *GraphDefinition) GetTextAlign() string
- func (g *GraphDefinition) GetTextAlignOk() (string, bool)
- func (g *GraphDefinition) GetViz() string
- func (g *GraphDefinition) GetVizOk() (string, bool)
- func (g *GraphDefinition) HasAutoscale() bool
- func (g *GraphDefinition) HasCustomUnit() bool
- func (g *GraphDefinition) HasIncludeNoMetricHosts() bool
- func (g *GraphDefinition) HasIncludeUngroupedHosts() bool
- func (g *GraphDefinition) HasPrecision() bool
- func (g *GraphDefinition) HasStyle() bool
- func (g *GraphDefinition) HasTextAlign() bool
- func (g *GraphDefinition) HasViz() bool
- func (g *GraphDefinition) SetAutoscale(v bool)
- func (g *GraphDefinition) SetCustomUnit(v string)
- func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool)
- func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool)
- func (g *GraphDefinition) SetPrecision(v string)
- func (g *GraphDefinition) SetStyle(v Style)
- func (g *GraphDefinition) SetTextAlign(v string)
- func (g *GraphDefinition) SetViz(v string)
- type GraphDefinitionMarker
- func (g *GraphDefinitionMarker) GetLabel() string
- func (g *GraphDefinitionMarker) GetLabelOk() (string, bool)
- func (g *GraphDefinitionMarker) GetMax() json.Number
- func (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool)
- func (g *GraphDefinitionMarker) GetMin() json.Number
- func (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool)
- func (g *GraphDefinitionMarker) GetType() string
- func (g *GraphDefinitionMarker) GetTypeOk() (string, bool)
- func (g *GraphDefinitionMarker) GetVal() json.Number
- func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool)
- func (g *GraphDefinitionMarker) GetValue() string
- func (g *GraphDefinitionMarker) GetValueOk() (string, bool)
- func (g *GraphDefinitionMarker) HasLabel() bool
- func (g *GraphDefinitionMarker) HasMax() bool
- func (g *GraphDefinitionMarker) HasMin() bool
- func (g *GraphDefinitionMarker) HasType() bool
- func (g *GraphDefinitionMarker) HasVal() bool
- func (g *GraphDefinitionMarker) HasValue() bool
- func (g *GraphDefinitionMarker) SetLabel(v string)
- func (g *GraphDefinitionMarker) SetMax(v json.Number)
- func (g *GraphDefinitionMarker) SetMin(v json.Number)
- func (g *GraphDefinitionMarker) SetType(v string)
- func (g *GraphDefinitionMarker) SetVal(v json.Number)
- func (g *GraphDefinitionMarker) SetValue(v string)
- type GraphDefinitionRequest
- func (g *GraphDefinitionRequest) GetAggregator() string
- func (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool)
- func (g *GraphDefinitionRequest) GetChangeType() string
- func (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool)
- func (g *GraphDefinitionRequest) GetCompareTo() string
- func (g *GraphDefinitionRequest) GetCompareToOk() (string, bool)
- func (g *GraphDefinitionRequest) GetExtraCol() string
- func (g *GraphDefinitionRequest) GetExtraColOk() (string, bool)
- func (g *GraphDefinitionRequest) GetIncreaseGood() bool
- func (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool)
- func (g *GraphDefinitionRequest) GetOrderBy() string
- func (g *GraphDefinitionRequest) GetOrderByOk() (string, bool)
- func (g *GraphDefinitionRequest) GetOrderDirection() string
- func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool)
- func (g *GraphDefinitionRequest) GetQuery() string
- func (g *GraphDefinitionRequest) GetQueryOk() (string, bool)
- func (g *GraphDefinitionRequest) GetStacked() bool
- func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool)
- func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle
- func (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool)
- func (g *GraphDefinitionRequest) GetType() string
- func (g *GraphDefinitionRequest) GetTypeOk() (string, bool)
- func (g *GraphDefinitionRequest) HasAggregator() bool
- func (g *GraphDefinitionRequest) HasChangeType() bool
- func (g *GraphDefinitionRequest) HasCompareTo() bool
- func (g *GraphDefinitionRequest) HasExtraCol() bool
- func (g *GraphDefinitionRequest) HasIncreaseGood() bool
- func (g *GraphDefinitionRequest) HasOrderBy() bool
- func (g *GraphDefinitionRequest) HasOrderDirection() bool
- func (g *GraphDefinitionRequest) HasQuery() bool
- func (g *GraphDefinitionRequest) HasStacked() bool
- func (g *GraphDefinitionRequest) HasStyle() bool
- func (g *GraphDefinitionRequest) HasType() bool
- func (g *GraphDefinitionRequest) SetAggregator(v string)
- func (g *GraphDefinitionRequest) SetChangeType(v string)
- func (g *GraphDefinitionRequest) SetCompareTo(v string)
- func (g *GraphDefinitionRequest) SetExtraCol(v string)
- func (g *GraphDefinitionRequest) SetIncreaseGood(v bool)
- func (g *GraphDefinitionRequest) SetOrderBy(v string)
- func (g *GraphDefinitionRequest) SetOrderDirection(v string)
- func (g *GraphDefinitionRequest) SetQuery(v string)
- func (g *GraphDefinitionRequest) SetStacked(v bool)
- func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle)
- func (g *GraphDefinitionRequest) SetType(v string)
- type GraphDefinitionRequestStyle
- func (g *GraphDefinitionRequestStyle) GetPalette() string
- func (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool)
- func (g *GraphDefinitionRequestStyle) GetType() string
- func (g *GraphDefinitionRequestStyle) GetTypeOk() (string, bool)
- func (g *GraphDefinitionRequestStyle) GetWidth() string
- func (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool)
- func (g *GraphDefinitionRequestStyle) HasPalette() bool
- func (g *GraphDefinitionRequestStyle) HasType() bool
- func (g *GraphDefinitionRequestStyle) HasWidth() bool
- func (g *GraphDefinitionRequestStyle) SetPalette(v string)
- func (g *GraphDefinitionRequestStyle) SetType(v string)
- func (g *GraphDefinitionRequestStyle) SetWidth(v string)
- type GraphEvent
- type GraphWidget
- func (g *GraphWidget) GetHeight() int
- func (g *GraphWidget) GetHeightOk() (int, bool)
- func (g *GraphWidget) GetLegend() bool
- func (g *GraphWidget) GetLegendOk() (bool, bool)
- func (g *GraphWidget) GetLegendSize() int
- func (g *GraphWidget) GetLegendSizeOk() (int, bool)
- func (g *GraphWidget) GetTileDef() TileDef
- func (g *GraphWidget) GetTileDefOk() (TileDef, bool)
- func (g *GraphWidget) GetTimeframe() string
- func (g *GraphWidget) GetTimeframeOk() (string, bool)
- func (g *GraphWidget) GetTitle() bool
- func (g *GraphWidget) GetTitleAlign() string
- func (g *GraphWidget) GetTitleAlignOk() (string, bool)
- func (g *GraphWidget) GetTitleOk() (bool, bool)
- func (g *GraphWidget) GetTitleSize() int
- func (g *GraphWidget) GetTitleSizeOk() (int, bool)
- func (g *GraphWidget) GetTitleText() string
- func (g *GraphWidget) GetTitleTextOk() (string, bool)
- func (g *GraphWidget) GetType() string
- func (g *GraphWidget) GetTypeOk() (string, bool)
- func (g *GraphWidget) GetWidth() int
- func (g *GraphWidget) GetWidthOk() (int, bool)
- func (g *GraphWidget) GetX() int
- func (g *GraphWidget) GetXOk() (int, bool)
- func (g *GraphWidget) GetY() int
- func (g *GraphWidget) GetYOk() (int, bool)
- func (g *GraphWidget) HasHeight() bool
- func (g *GraphWidget) HasLegend() bool
- func (g *GraphWidget) HasLegendSize() bool
- func (g *GraphWidget) HasTileDef() bool
- func (g *GraphWidget) HasTimeframe() bool
- func (g *GraphWidget) HasTitle() bool
- func (g *GraphWidget) HasTitleAlign() bool
- func (g *GraphWidget) HasTitleSize() bool
- func (g *GraphWidget) HasTitleText() bool
- func (g *GraphWidget) HasType() bool
- func (g *GraphWidget) HasWidth() bool
- func (g *GraphWidget) HasX() bool
- func (g *GraphWidget) HasY() bool
- func (g *GraphWidget) SetHeight(v int)
- func (g *GraphWidget) SetLegend(v bool)
- func (g *GraphWidget) SetLegendSize(v int)
- func (g *GraphWidget) SetTileDef(v TileDef)
- func (g *GraphWidget) SetTimeframe(v string)
- func (g *GraphWidget) SetTitle(v bool)
- func (g *GraphWidget) SetTitleAlign(v string)
- func (g *GraphWidget) SetTitleSize(v int)
- func (g *GraphWidget) SetTitleText(v string)
- func (g *GraphWidget) SetType(v string)
- func (g *GraphWidget) SetWidth(v int)
- func (g *GraphWidget) SetX(v int)
- func (g *GraphWidget) SetY(v int)
- type HostActionMute
- func (h *HostActionMute) GetEndTime() string
- func (h *HostActionMute) GetEndTimeOk() (string, bool)
- func (h *HostActionMute) GetMessage() string
- func (h *HostActionMute) GetMessageOk() (string, bool)
- func (h *HostActionMute) GetOverride() bool
- func (h *HostActionMute) GetOverrideOk() (bool, bool)
- func (h *HostActionMute) HasEndTime() bool
- func (h *HostActionMute) HasMessage() bool
- func (h *HostActionMute) HasOverride() bool
- func (h *HostActionMute) SetEndTime(v string)
- func (h *HostActionMute) SetMessage(v string)
- func (h *HostActionMute) SetOverride(v bool)
- type HostActionResp
- type HostMapWidget
- func (h *HostMapWidget) GetHeight() int
- func (h *HostMapWidget) GetHeightOk() (int, bool)
- func (h *HostMapWidget) GetLegend() bool
- func (h *HostMapWidget) GetLegendOk() (bool, bool)
- func (h *HostMapWidget) GetLegendSize() int
- func (h *HostMapWidget) GetLegendSizeOk() (int, bool)
- func (h *HostMapWidget) GetQuery() string
- func (h *HostMapWidget) GetQueryOk() (string, bool)
- func (h *HostMapWidget) GetTileDef() TileDef
- func (h *HostMapWidget) GetTileDefOk() (TileDef, bool)
- func (h *HostMapWidget) GetTimeframe() string
- func (h *HostMapWidget) GetTimeframeOk() (string, bool)
- func (h *HostMapWidget) GetTitle() bool
- func (h *HostMapWidget) GetTitleAlign() string
- func (h *HostMapWidget) GetTitleAlignOk() (string, bool)
- func (h *HostMapWidget) GetTitleOk() (bool, bool)
- func (h *HostMapWidget) GetTitleSize() int
- func (h *HostMapWidget) GetTitleSizeOk() (int, bool)
- func (h *HostMapWidget) GetTitleText() string
- func (h *HostMapWidget) GetTitleTextOk() (string, bool)
- func (h *HostMapWidget) GetType() string
- func (h *HostMapWidget) GetTypeOk() (string, bool)
- func (h *HostMapWidget) GetWidth() int
- func (h *HostMapWidget) GetWidthOk() (int, bool)
- func (h *HostMapWidget) GetX() int
- func (h *HostMapWidget) GetXOk() (int, bool)
- func (h *HostMapWidget) GetY() int
- func (h *HostMapWidget) GetYOk() (int, bool)
- func (h *HostMapWidget) HasHeight() bool
- func (h *HostMapWidget) HasLegend() bool
- func (h *HostMapWidget) HasLegendSize() bool
- func (h *HostMapWidget) HasQuery() bool
- func (h *HostMapWidget) HasTileDef() bool
- func (h *HostMapWidget) HasTimeframe() bool
- func (h *HostMapWidget) HasTitle() bool
- func (h *HostMapWidget) HasTitleAlign() bool
- func (h *HostMapWidget) HasTitleSize() bool
- func (h *HostMapWidget) HasTitleText() bool
- func (h *HostMapWidget) HasType() bool
- func (h *HostMapWidget) HasWidth() bool
- func (h *HostMapWidget) HasX() bool
- func (h *HostMapWidget) HasY() bool
- func (h *HostMapWidget) SetHeight(v int)
- func (h *HostMapWidget) SetLegend(v bool)
- func (h *HostMapWidget) SetLegendSize(v int)
- func (h *HostMapWidget) SetQuery(v string)
- func (h *HostMapWidget) SetTileDef(v TileDef)
- func (h *HostMapWidget) SetTimeframe(v string)
- func (h *HostMapWidget) SetTitle(v bool)
- func (h *HostMapWidget) SetTitleAlign(v string)
- func (h *HostMapWidget) SetTitleSize(v int)
- func (h *HostMapWidget) SetTitleText(v string)
- func (h *HostMapWidget) SetType(v string)
- func (h *HostMapWidget) SetWidth(v int)
- func (h *HostMapWidget) SetX(v int)
- func (h *HostMapWidget) SetY(v int)
- type IFrameWidget
- func (i *IFrameWidget) GetHeight() int
- func (i *IFrameWidget) GetHeightOk() (int, bool)
- func (i *IFrameWidget) GetTitle() bool
- func (i *IFrameWidget) GetTitleAlign() string
- func (i *IFrameWidget) GetTitleAlignOk() (string, bool)
- func (i *IFrameWidget) GetTitleOk() (bool, bool)
- func (i *IFrameWidget) GetTitleSize() int
- func (i *IFrameWidget) GetTitleSizeOk() (int, bool)
- func (i *IFrameWidget) GetTitleText() string
- func (i *IFrameWidget) GetTitleTextOk() (string, bool)
- func (i *IFrameWidget) GetType() string
- func (i *IFrameWidget) GetTypeOk() (string, bool)
- func (i *IFrameWidget) GetUrl() string
- func (i *IFrameWidget) GetUrlOk() (string, bool)
- func (i *IFrameWidget) GetWidth() int
- func (i *IFrameWidget) GetWidthOk() (int, bool)
- func (i *IFrameWidget) GetX() int
- func (i *IFrameWidget) GetXOk() (int, bool)
- func (i *IFrameWidget) GetY() int
- func (i *IFrameWidget) GetYOk() (int, bool)
- func (i *IFrameWidget) HasHeight() bool
- func (i *IFrameWidget) HasTitle() bool
- func (i *IFrameWidget) HasTitleAlign() bool
- func (i *IFrameWidget) HasTitleSize() bool
- func (i *IFrameWidget) HasTitleText() bool
- func (i *IFrameWidget) HasType() bool
- func (i *IFrameWidget) HasUrl() bool
- func (i *IFrameWidget) HasWidth() bool
- func (i *IFrameWidget) HasX() bool
- func (i *IFrameWidget) HasY() bool
- func (i *IFrameWidget) SetHeight(v int)
- func (i *IFrameWidget) SetTitle(v bool)
- func (i *IFrameWidget) SetTitleAlign(v string)
- func (i *IFrameWidget) SetTitleSize(v int)
- func (i *IFrameWidget) SetTitleText(v string)
- func (i *IFrameWidget) SetType(v string)
- func (i *IFrameWidget) SetUrl(v string)
- func (i *IFrameWidget) SetWidth(v int)
- func (i *IFrameWidget) SetX(v int)
- func (i *IFrameWidget) SetY(v int)
- type ImageWidget
- func (i *ImageWidget) GetHeight() int
- func (i *ImageWidget) GetHeightOk() (int, bool)
- func (i *ImageWidget) GetSizing() string
- func (i *ImageWidget) GetSizingOk() (string, bool)
- func (i *ImageWidget) GetTitle() bool
- func (i *ImageWidget) GetTitleAlign() string
- func (i *ImageWidget) GetTitleAlignOk() (string, bool)
- func (i *ImageWidget) GetTitleOk() (bool, bool)
- func (i *ImageWidget) GetTitleSize() TextSize
- func (i *ImageWidget) GetTitleSizeOk() (TextSize, bool)
- func (i *ImageWidget) GetTitleText() string
- func (i *ImageWidget) GetTitleTextOk() (string, bool)
- func (i *ImageWidget) GetType() string
- func (i *ImageWidget) GetTypeOk() (string, bool)
- func (i *ImageWidget) GetUrl() string
- func (i *ImageWidget) GetUrlOk() (string, bool)
- func (i *ImageWidget) GetWidth() int
- func (i *ImageWidget) GetWidthOk() (int, bool)
- func (i *ImageWidget) GetX() int
- func (i *ImageWidget) GetXOk() (int, bool)
- func (i *ImageWidget) GetY() int
- func (i *ImageWidget) GetYOk() (int, bool)
- func (i *ImageWidget) HasHeight() bool
- func (i *ImageWidget) HasSizing() bool
- func (i *ImageWidget) HasTitle() bool
- func (i *ImageWidget) HasTitleAlign() bool
- func (i *ImageWidget) HasTitleSize() bool
- func (i *ImageWidget) HasTitleText() bool
- func (i *ImageWidget) HasType() bool
- func (i *ImageWidget) HasUrl() bool
- func (i *ImageWidget) HasWidth() bool
- func (i *ImageWidget) HasX() bool
- func (i *ImageWidget) HasY() bool
- func (i *ImageWidget) SetHeight(v int)
- func (i *ImageWidget) SetSizing(v string)
- func (i *ImageWidget) SetTitle(v bool)
- func (i *ImageWidget) SetTitleAlign(v string)
- func (i *ImageWidget) SetTitleSize(v TextSize)
- func (i *ImageWidget) SetTitleText(v string)
- func (i *ImageWidget) SetType(v string)
- func (i *ImageWidget) SetUrl(v string)
- func (i *ImageWidget) SetWidth(v int)
- func (i *ImageWidget) SetX(v int)
- func (i *ImageWidget) SetY(v int)
- type IntegrationPDRequest
- func (i *IntegrationPDRequest) GetAPIToken() string
- func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool)
- func (i *IntegrationPDRequest) GetRunCheck() bool
- func (i *IntegrationPDRequest) GetRunCheckOk() (bool, bool)
- func (i *IntegrationPDRequest) GetSubdomain() string
- func (i *IntegrationPDRequest) GetSubdomainOk() (string, bool)
- func (i *IntegrationPDRequest) HasAPIToken() bool
- func (i *IntegrationPDRequest) HasRunCheck() bool
- func (i *IntegrationPDRequest) HasSubdomain() bool
- func (i *IntegrationPDRequest) SetAPIToken(v string)
- func (i *IntegrationPDRequest) SetRunCheck(v bool)
- func (i *IntegrationPDRequest) SetSubdomain(v string)
- type IntegrationSlackRequest
- type Metric
- func (m *Metric) GetHost() string
- func (m *Metric) GetHostOk() (string, bool)
- func (m *Metric) GetMetric() string
- func (m *Metric) GetMetricOk() (string, bool)
- func (m *Metric) GetType() string
- func (m *Metric) GetTypeOk() (string, bool)
- func (m *Metric) GetUnit() string
- func (m *Metric) GetUnitOk() (string, bool)
- func (m *Metric) HasHost() bool
- func (m *Metric) HasMetric() bool
- func (m *Metric) HasType() bool
- func (m *Metric) HasUnit() bool
- func (m *Metric) SetHost(v string)
- func (m *Metric) SetMetric(v string)
- func (m *Metric) SetType(v string)
- func (m *Metric) SetUnit(v string)
- type MetricMetadata
- func (m *MetricMetadata) GetDescription() string
- func (m *MetricMetadata) GetDescriptionOk() (string, bool)
- func (m *MetricMetadata) GetPerUnit() string
- func (m *MetricMetadata) GetPerUnitOk() (string, bool)
- func (m *MetricMetadata) GetShortName() string
- func (m *MetricMetadata) GetShortNameOk() (string, bool)
- func (m *MetricMetadata) GetStatsdInterval() int
- func (m *MetricMetadata) GetStatsdIntervalOk() (int, bool)
- func (m *MetricMetadata) GetType() string
- func (m *MetricMetadata) GetTypeOk() (string, bool)
- func (m *MetricMetadata) GetUnit() string
- func (m *MetricMetadata) GetUnitOk() (string, bool)
- func (m *MetricMetadata) HasDescription() bool
- func (m *MetricMetadata) HasPerUnit() bool
- func (m *MetricMetadata) HasShortName() bool
- func (m *MetricMetadata) HasStatsdInterval() bool
- func (m *MetricMetadata) HasType() bool
- func (m *MetricMetadata) HasUnit() bool
- func (m *MetricMetadata) SetDescription(v string)
- func (m *MetricMetadata) SetPerUnit(v string)
- func (m *MetricMetadata) SetShortName(v string)
- func (m *MetricMetadata) SetStatsdInterval(v int)
- func (m *MetricMetadata) SetType(v string)
- func (m *MetricMetadata) SetUnit(v string)
- type Monitor
- func (m *Monitor) GetCreator() Creator
- func (m *Monitor) GetCreatorOk() (Creator, bool)
- func (m *Monitor) GetId() int
- func (m *Monitor) GetIdOk() (int, bool)
- func (m *Monitor) GetMessage() string
- func (m *Monitor) GetMessageOk() (string, bool)
- func (m *Monitor) GetName() string
- func (m *Monitor) GetNameOk() (string, bool)
- func (m *Monitor) GetOptions() Options
- func (m *Monitor) GetOptionsOk() (Options, bool)
- func (m *Monitor) GetQuery() string
- func (m *Monitor) GetQueryOk() (string, bool)
- func (m *Monitor) GetType() string
- func (m *Monitor) GetTypeOk() (string, bool)
- func (m *Monitor) HasCreator() bool
- func (m *Monitor) HasId() bool
- func (m *Monitor) HasMessage() bool
- func (m *Monitor) HasName() bool
- func (m *Monitor) HasOptions() bool
- func (m *Monitor) HasQuery() bool
- func (m *Monitor) HasType() bool
- func (m *Monitor) SetCreator(v Creator)
- func (m *Monitor) SetId(v int)
- func (m *Monitor) SetMessage(v string)
- func (m *Monitor) SetName(v string)
- func (m *Monitor) SetOptions(v Options)
- func (m *Monitor) SetQuery(v string)
- func (m *Monitor) SetType(v string)
- type NoDataTimeframe
- type NoteWidget
- func (n *NoteWidget) GetAutoRefresh() bool
- func (n *NoteWidget) GetAutoRefreshOk() (bool, bool)
- func (n *NoteWidget) GetColor() string
- func (n *NoteWidget) GetColorOk() (string, bool)
- func (n *NoteWidget) GetFontSize() int
- func (n *NoteWidget) GetFontSizeOk() (int, bool)
- func (n *NoteWidget) GetHeight() int
- func (n *NoteWidget) GetHeightOk() (int, bool)
- func (n *NoteWidget) GetHtml() string
- func (n *NoteWidget) GetHtmlOk() (string, bool)
- func (n *NoteWidget) GetNote() string
- func (n *NoteWidget) GetNoteOk() (string, bool)
- func (n *NoteWidget) GetRefreshEvery() int
- func (n *NoteWidget) GetRefreshEveryOk() (int, bool)
- func (n *NoteWidget) GetTextAlign() string
- func (n *NoteWidget) GetTextAlignOk() (string, bool)
- func (n *NoteWidget) GetTick() bool
- func (n *NoteWidget) GetTickEdge() string
- func (n *NoteWidget) GetTickEdgeOk() (string, bool)
- func (n *NoteWidget) GetTickOk() (bool, bool)
- func (n *NoteWidget) GetTickPos() string
- func (n *NoteWidget) GetTickPosOk() (string, bool)
- func (n *NoteWidget) GetTitle() bool
- func (n *NoteWidget) GetTitleAlign() string
- func (n *NoteWidget) GetTitleAlignOk() (string, bool)
- func (n *NoteWidget) GetTitleOk() (bool, bool)
- func (n *NoteWidget) GetTitleSize() int
- func (n *NoteWidget) GetTitleSizeOk() (int, bool)
- func (n *NoteWidget) GetTitleText() string
- func (n *NoteWidget) GetTitleTextOk() (string, bool)
- func (n *NoteWidget) GetWidth() int
- func (n *NoteWidget) GetWidthOk() (int, bool)
- func (n *NoteWidget) GetX() int
- func (n *NoteWidget) GetXOk() (int, bool)
- func (n *NoteWidget) GetY() int
- func (n *NoteWidget) GetYOk() (int, bool)
- func (n *NoteWidget) HasAutoRefresh() bool
- func (n *NoteWidget) HasColor() bool
- func (n *NoteWidget) HasFontSize() bool
- func (n *NoteWidget) HasHeight() bool
- func (n *NoteWidget) HasHtml() bool
- func (n *NoteWidget) HasNote() bool
- func (n *NoteWidget) HasRefreshEvery() bool
- func (n *NoteWidget) HasTextAlign() bool
- func (n *NoteWidget) HasTick() bool
- func (n *NoteWidget) HasTickEdge() bool
- func (n *NoteWidget) HasTickPos() bool
- func (n *NoteWidget) HasTitle() bool
- func (n *NoteWidget) HasTitleAlign() bool
- func (n *NoteWidget) HasTitleSize() bool
- func (n *NoteWidget) HasTitleText() bool
- func (n *NoteWidget) HasWidth() bool
- func (n *NoteWidget) HasX() bool
- func (n *NoteWidget) HasY() bool
- func (n *NoteWidget) SetAutoRefresh(v bool)
- func (n *NoteWidget) SetColor(v string)
- func (n *NoteWidget) SetFontSize(v int)
- func (n *NoteWidget) SetHeight(v int)
- func (n *NoteWidget) SetHtml(v string)
- func (n *NoteWidget) SetNote(v string)
- func (n *NoteWidget) SetRefreshEvery(v int)
- func (n *NoteWidget) SetTextAlign(v string)
- func (n *NoteWidget) SetTick(v bool)
- func (n *NoteWidget) SetTickEdge(v string)
- func (n *NoteWidget) SetTickPos(v string)
- func (n *NoteWidget) SetTitle(v bool)
- func (n *NoteWidget) SetTitleAlign(v string)
- func (n *NoteWidget) SetTitleSize(v int)
- func (n *NoteWidget) SetTitleText(v string)
- func (n *NoteWidget) SetWidth(v int)
- func (n *NoteWidget) SetX(v int)
- func (n *NoteWidget) SetY(v int)
- type Options
- func (o *Options) GetEscalationMessage() string
- func (o *Options) GetEscalationMessageOk() (string, bool)
- func (o *Options) GetEvaluationDelay() int
- func (o *Options) GetEvaluationDelayOk() (int, bool)
- func (o *Options) GetIncludeTags() bool
- func (o *Options) GetIncludeTagsOk() (bool, bool)
- func (o *Options) GetLocked() bool
- func (o *Options) GetLockedOk() (bool, bool)
- func (o *Options) GetNewHostDelay() int
- func (o *Options) GetNewHostDelayOk() (int, bool)
- func (o *Options) GetNotifyAudit() bool
- func (o *Options) GetNotifyAuditOk() (bool, bool)
- func (o *Options) GetNotifyNoData() bool
- func (o *Options) GetNotifyNoDataOk() (bool, bool)
- func (o *Options) GetRenotifyInterval() int
- func (o *Options) GetRenotifyIntervalOk() (int, bool)
- func (o *Options) GetRequireFullWindow() bool
- func (o *Options) GetRequireFullWindowOk() (bool, bool)
- func (o *Options) GetThresholds() ThresholdCount
- func (o *Options) GetThresholdsOk() (ThresholdCount, bool)
- func (o *Options) GetTimeoutH() int
- func (o *Options) GetTimeoutHOk() (int, bool)
- func (o *Options) HasEscalationMessage() bool
- func (o *Options) HasEvaluationDelay() bool
- func (o *Options) HasIncludeTags() bool
- func (o *Options) HasLocked() bool
- func (o *Options) HasNewHostDelay() bool
- func (o *Options) HasNotifyAudit() bool
- func (o *Options) HasNotifyNoData() bool
- func (o *Options) HasRenotifyInterval() bool
- func (o *Options) HasRequireFullWindow() bool
- func (o *Options) HasThresholds() bool
- func (o *Options) HasTimeoutH() bool
- func (o *Options) SetEscalationMessage(v string)
- func (o *Options) SetEvaluationDelay(v int)
- func (o *Options) SetIncludeTags(v bool)
- func (o *Options) SetLocked(v bool)
- func (o *Options) SetNewHostDelay(v int)
- func (o *Options) SetNotifyAudit(v bool)
- func (o *Options) SetNotifyNoData(v bool)
- func (o *Options) SetRenotifyInterval(v int)
- func (o *Options) SetRequireFullWindow(v bool)
- func (o *Options) SetThresholds(v ThresholdCount)
- func (o *Options) SetTimeoutH(v int)
- type QueryValueWidget
- func (q *QueryValueWidget) GetAggregator() string
- func (q *QueryValueWidget) GetAggregatorOk() (string, bool)
- func (q *QueryValueWidget) GetCalcFunc() string
- func (q *QueryValueWidget) GetCalcFuncOk() (string, bool)
- func (q *QueryValueWidget) GetHeight() int
- func (q *QueryValueWidget) GetHeightOk() (int, bool)
- func (q *QueryValueWidget) GetIsValidQuery() bool
- func (q *QueryValueWidget) GetIsValidQueryOk() (bool, bool)
- func (q *QueryValueWidget) GetMetric() string
- func (q *QueryValueWidget) GetMetricOk() (string, bool)
- func (q *QueryValueWidget) GetMetricType() string
- func (q *QueryValueWidget) GetMetricTypeOk() (string, bool)
- func (q *QueryValueWidget) GetPrecision() int
- func (q *QueryValueWidget) GetPrecisionOk() (int, bool)
- func (q *QueryValueWidget) GetQuery() string
- func (q *QueryValueWidget) GetQueryOk() (string, bool)
- func (q *QueryValueWidget) GetResultCalcFunc() string
- func (q *QueryValueWidget) GetResultCalcFuncOk() (string, bool)
- func (q *QueryValueWidget) GetTextAlign() string
- func (q *QueryValueWidget) GetTextAlignOk() (string, bool)
- func (q *QueryValueWidget) GetTextSize() TextSize
- func (q *QueryValueWidget) GetTextSizeOk() (TextSize, bool)
- func (q *QueryValueWidget) GetTimeframe() string
- func (q *QueryValueWidget) GetTimeframeAggregator() string
- func (q *QueryValueWidget) GetTimeframeAggregatorOk() (string, bool)
- func (q *QueryValueWidget) GetTimeframeOk() (string, bool)
- func (q *QueryValueWidget) GetTitle() bool
- func (q *QueryValueWidget) GetTitleAlign() string
- func (q *QueryValueWidget) GetTitleAlignOk() (string, bool)
- func (q *QueryValueWidget) GetTitleOk() (bool, bool)
- func (q *QueryValueWidget) GetTitleSize() TextSize
- func (q *QueryValueWidget) GetTitleSizeOk() (TextSize, bool)
- func (q *QueryValueWidget) GetTitleText() string
- func (q *QueryValueWidget) GetTitleTextOk() (string, bool)
- func (q *QueryValueWidget) GetType() string
- func (q *QueryValueWidget) GetTypeOk() (string, bool)
- func (q *QueryValueWidget) GetUnit() string
- func (q *QueryValueWidget) GetUnitOk() (string, bool)
- func (q *QueryValueWidget) GetWidth() int
- func (q *QueryValueWidget) GetWidthOk() (int, bool)
- func (q *QueryValueWidget) GetX() int
- func (q *QueryValueWidget) GetXOk() (int, bool)
- func (q *QueryValueWidget) GetY() int
- func (q *QueryValueWidget) GetYOk() (int, bool)
- func (q *QueryValueWidget) HasAggregator() bool
- func (q *QueryValueWidget) HasCalcFunc() bool
- func (q *QueryValueWidget) HasHeight() bool
- func (q *QueryValueWidget) HasIsValidQuery() bool
- func (q *QueryValueWidget) HasMetric() bool
- func (q *QueryValueWidget) HasMetricType() bool
- func (q *QueryValueWidget) HasPrecision() bool
- func (q *QueryValueWidget) HasQuery() bool
- func (q *QueryValueWidget) HasResultCalcFunc() bool
- func (q *QueryValueWidget) HasTextAlign() bool
- func (q *QueryValueWidget) HasTextSize() bool
- func (q *QueryValueWidget) HasTimeframe() bool
- func (q *QueryValueWidget) HasTimeframeAggregator() bool
- func (q *QueryValueWidget) HasTitle() bool
- func (q *QueryValueWidget) HasTitleAlign() bool
- func (q *QueryValueWidget) HasTitleSize() bool
- func (q *QueryValueWidget) HasTitleText() bool
- func (q *QueryValueWidget) HasType() bool
- func (q *QueryValueWidget) HasUnit() bool
- func (q *QueryValueWidget) HasWidth() bool
- func (q *QueryValueWidget) HasX() bool
- func (q *QueryValueWidget) HasY() bool
- func (q *QueryValueWidget) SetAggregator(v string)
- func (q *QueryValueWidget) SetCalcFunc(v string)
- func (q *QueryValueWidget) SetHeight(v int)
- func (q *QueryValueWidget) SetIsValidQuery(v bool)
- func (q *QueryValueWidget) SetMetric(v string)
- func (q *QueryValueWidget) SetMetricType(v string)
- func (q *QueryValueWidget) SetPrecision(v int)
- func (q *QueryValueWidget) SetQuery(v string)
- func (q *QueryValueWidget) SetResultCalcFunc(v string)
- func (q *QueryValueWidget) SetTextAlign(v string)
- func (q *QueryValueWidget) SetTextSize(v TextSize)
- func (q *QueryValueWidget) SetTimeframe(v string)
- func (q *QueryValueWidget) SetTimeframeAggregator(v string)
- func (q *QueryValueWidget) SetTitle(v bool)
- func (q *QueryValueWidget) SetTitleAlign(v string)
- func (q *QueryValueWidget) SetTitleSize(v TextSize)
- func (q *QueryValueWidget) SetTitleText(v string)
- func (q *QueryValueWidget) SetType(v string)
- func (q *QueryValueWidget) SetUnit(v string)
- func (q *QueryValueWidget) SetWidth(v int)
- func (q *QueryValueWidget) SetX(v int)
- func (q *QueryValueWidget) SetY(v int)
- type Recurrence
- func (r *Recurrence) GetPeriod() int
- func (r *Recurrence) GetPeriodOk() (int, bool)
- func (r *Recurrence) GetType() string
- func (r *Recurrence) GetTypeOk() (string, bool)
- func (r *Recurrence) GetUntilDate() int
- func (r *Recurrence) GetUntilDateOk() (int, bool)
- func (r *Recurrence) GetUntilOccurrences() int
- func (r *Recurrence) GetUntilOccurrencesOk() (int, bool)
- func (r *Recurrence) HasPeriod() bool
- func (r *Recurrence) HasType() bool
- func (r *Recurrence) HasUntilDate() bool
- func (r *Recurrence) HasUntilOccurrences() bool
- func (r *Recurrence) SetPeriod(v int)
- func (r *Recurrence) SetType(v string)
- func (r *Recurrence) SetUntilDate(v int)
- func (r *Recurrence) SetUntilOccurrences(v int)
- type ScreenShareResponse
- type Screenboard
- func (s *Screenboard) GetHeight() string
- func (s *Screenboard) GetHeightOk() (string, bool)
- func (s *Screenboard) GetId() int
- func (s *Screenboard) GetIdOk() (int, bool)
- func (s *Screenboard) GetReadOnly() bool
- func (s *Screenboard) GetReadOnlyOk() (bool, bool)
- func (s *Screenboard) GetShared() bool
- func (s *Screenboard) GetSharedOk() (bool, bool)
- func (s *Screenboard) GetTemplated() bool
- func (s *Screenboard) GetTemplatedOk() (bool, bool)
- func (s *Screenboard) GetTitle() string
- func (s *Screenboard) GetTitleOk() (string, bool)
- func (s *Screenboard) GetWidth() string
- func (s *Screenboard) GetWidthOk() (string, bool)
- func (s *Screenboard) HasHeight() bool
- func (s *Screenboard) HasId() bool
- func (s *Screenboard) HasReadOnly() bool
- func (s *Screenboard) HasShared() bool
- func (s *Screenboard) HasTemplated() bool
- func (s *Screenboard) HasTitle() bool
- func (s *Screenboard) HasWidth() bool
- func (s *Screenboard) SetHeight(v string)
- func (s *Screenboard) SetId(v int)
- func (s *Screenboard) SetReadOnly(v bool)
- func (s *Screenboard) SetShared(v bool)
- func (s *Screenboard) SetTemplated(v bool)
- func (s *Screenboard) SetTitle(v string)
- func (s *Screenboard) SetWidth(v string)
- type ScreenboardLite
- func (s *ScreenboardLite) GetId() int
- func (s *ScreenboardLite) GetIdOk() (int, bool)
- func (s *ScreenboardLite) GetResource() string
- func (s *ScreenboardLite) GetResourceOk() (string, bool)
- func (s *ScreenboardLite) GetTitle() string
- func (s *ScreenboardLite) GetTitleOk() (string, bool)
- func (s *ScreenboardLite) HasId() bool
- func (s *ScreenboardLite) HasResource() bool
- func (s *ScreenboardLite) HasTitle() bool
- func (s *ScreenboardLite) SetId(v int)
- func (s *ScreenboardLite) SetResource(v string)
- func (s *ScreenboardLite) SetTitle(v string)
- type Series
- func (s *Series) GetAggr() string
- func (s *Series) GetAggrOk() (string, bool)
- func (s *Series) GetDisplayName() string
- func (s *Series) GetDisplayNameOk() (string, bool)
- func (s *Series) GetEnd() float64
- func (s *Series) GetEndOk() (float64, bool)
- func (s *Series) GetExpression() string
- func (s *Series) GetExpressionOk() (string, bool)
- func (s *Series) GetInterval() int
- func (s *Series) GetIntervalOk() (int, bool)
- func (s *Series) GetLength() int
- func (s *Series) GetLengthOk() (int, bool)
- func (s *Series) GetMetric() string
- func (s *Series) GetMetricOk() (string, bool)
- func (s *Series) GetScope() string
- func (s *Series) GetScopeOk() (string, bool)
- func (s *Series) GetStart() float64
- func (s *Series) GetStartOk() (float64, bool)
- func (s *Series) GetUnits() UnitPair
- func (s *Series) GetUnitsOk() (UnitPair, bool)
- func (s *Series) HasAggr() bool
- func (s *Series) HasDisplayName() bool
- func (s *Series) HasEnd() bool
- func (s *Series) HasExpression() bool
- func (s *Series) HasInterval() bool
- func (s *Series) HasLength() bool
- func (s *Series) HasMetric() bool
- func (s *Series) HasScope() bool
- func (s *Series) HasStart() bool
- func (s *Series) HasUnits() bool
- func (s *Series) SetAggr(v string)
- func (s *Series) SetDisplayName(v string)
- func (s *Series) SetEnd(v float64)
- func (s *Series) SetExpression(v string)
- func (s *Series) SetInterval(v int)
- func (s *Series) SetLength(v int)
- func (s *Series) SetMetric(v string)
- func (s *Series) SetScope(v string)
- func (s *Series) SetStart(v float64)
- func (s *Series) SetUnits(v UnitPair)
- type ServiceHookSlackRequest
- func (s *ServiceHookSlackRequest) GetAccount() string
- func (s *ServiceHookSlackRequest) GetAccountOk() (string, bool)
- func (s *ServiceHookSlackRequest) GetUrl() string
- func (s *ServiceHookSlackRequest) GetUrlOk() (string, bool)
- func (s *ServiceHookSlackRequest) HasAccount() bool
- func (s *ServiceHookSlackRequest) HasUrl() bool
- func (s *ServiceHookSlackRequest) SetAccount(v string)
- func (s *ServiceHookSlackRequest) SetUrl(v string)
- type ServicePDRequest
- func (s *ServicePDRequest) GetServiceKey() string
- func (s *ServicePDRequest) GetServiceKeyOk() (string, bool)
- func (s *ServicePDRequest) GetServiceName() string
- func (s *ServicePDRequest) GetServiceNameOk() (string, bool)
- func (s *ServicePDRequest) HasServiceKey() bool
- func (s *ServicePDRequest) HasServiceName() bool
- func (s *ServicePDRequest) SetServiceKey(v string)
- func (s *ServicePDRequest) SetServiceName(v string)
- type Status
- type Style
- func (s *Style) GetPalette() string
- func (s *Style) GetPaletteFlip() bool
- func (s *Style) GetPaletteFlipOk() (bool, bool)
- func (s *Style) GetPaletteOk() (string, bool)
- func (s *Style) HasPalette() bool
- func (s *Style) HasPaletteFlip() bool
- func (s *Style) SetPalette(v string)
- func (s *Style) SetPaletteFlip(v bool)
- type TagMap
- type TemplateVariable
- func (t *TemplateVariable) GetDefault() string
- func (t *TemplateVariable) GetDefaultOk() (string, bool)
- func (t *TemplateVariable) GetName() string
- func (t *TemplateVariable) GetNameOk() (string, bool)
- func (t *TemplateVariable) GetPrefix() string
- func (t *TemplateVariable) GetPrefixOk() (string, bool)
- func (t *TemplateVariable) HasDefault() bool
- func (t *TemplateVariable) HasName() bool
- func (t *TemplateVariable) HasPrefix() bool
- func (t *TemplateVariable) SetDefault(v string)
- func (t *TemplateVariable) SetName(v string)
- func (t *TemplateVariable) SetPrefix(v string)
- type TextSize
- type ThresholdCount
- func (t *ThresholdCount) GetCritical() json.Number
- func (t *ThresholdCount) GetCriticalOk() (json.Number, bool)
- func (t *ThresholdCount) GetCriticalRecovery() json.Number
- func (t *ThresholdCount) GetCriticalRecoveryOk() (json.Number, bool)
- func (t *ThresholdCount) GetOk() json.Number
- func (t *ThresholdCount) GetOkOk() (json.Number, bool)
- func (t *ThresholdCount) GetUnknown() json.Number
- func (t *ThresholdCount) GetUnknownOk() (json.Number, bool)
- func (t *ThresholdCount) GetWarning() json.Number
- func (t *ThresholdCount) GetWarningOk() (json.Number, bool)
- func (t *ThresholdCount) GetWarningRecovery() json.Number
- func (t *ThresholdCount) GetWarningRecoveryOk() (json.Number, bool)
- func (t *ThresholdCount) HasCritical() bool
- func (t *ThresholdCount) HasCriticalRecovery() bool
- func (t *ThresholdCount) HasOk() bool
- func (t *ThresholdCount) HasUnknown() bool
- func (t *ThresholdCount) HasWarning() bool
- func (t *ThresholdCount) HasWarningRecovery() bool
- func (t *ThresholdCount) SetCritical(v json.Number)
- func (t *ThresholdCount) SetCriticalRecovery(v json.Number)
- func (t *ThresholdCount) SetOk(v json.Number)
- func (t *ThresholdCount) SetUnknown(v json.Number)
- func (t *ThresholdCount) SetWarning(v json.Number)
- func (t *ThresholdCount) SetWarningRecovery(v json.Number)
- type TileDef
- type TileDefEvent
- type TimeseriesMarker
- func (t *TimeseriesMarker) GetLabel() string
- func (t *TimeseriesMarker) GetLabelOk() (string, bool)
- func (t *TimeseriesMarker) GetType() string
- func (t *TimeseriesMarker) GetTypeOk() (string, bool)
- func (t *TimeseriesMarker) GetValue() string
- func (t *TimeseriesMarker) GetValueOk() (string, bool)
- func (t *TimeseriesMarker) HasLabel() bool
- func (t *TimeseriesMarker) HasType() bool
- func (t *TimeseriesMarker) HasValue() bool
- func (t *TimeseriesMarker) SetLabel(v string)
- func (t *TimeseriesMarker) SetType(v string)
- func (t *TimeseriesMarker) SetValue(v string)
- type TimeseriesRequest
- func (t *TimeseriesRequest) GetQuery() string
- func (t *TimeseriesRequest) GetQueryOk() (string, bool)
- func (t *TimeseriesRequest) GetStyle() TimeseriesRequestStyle
- func (t *TimeseriesRequest) GetStyleOk() (TimeseriesRequestStyle, bool)
- func (t *TimeseriesRequest) GetType() string
- func (t *TimeseriesRequest) GetTypeOk() (string, bool)
- func (t *TimeseriesRequest) HasQuery() bool
- func (t *TimeseriesRequest) HasStyle() bool
- func (t *TimeseriesRequest) HasType() bool
- func (t *TimeseriesRequest) SetQuery(v string)
- func (t *TimeseriesRequest) SetStyle(v TimeseriesRequestStyle)
- func (t *TimeseriesRequest) SetType(v string)
- type TimeseriesRequestStyle
- type TimeseriesWidget
- func (t *TimeseriesWidget) GetHeight() int
- func (t *TimeseriesWidget) GetHeightOk() (int, bool)
- func (t *TimeseriesWidget) GetLegend() bool
- func (t *TimeseriesWidget) GetLegendOk() (bool, bool)
- func (t *TimeseriesWidget) GetTileDef() TileDef
- func (t *TimeseriesWidget) GetTileDefOk() (TileDef, bool)
- func (t *TimeseriesWidget) GetTimeframe() string
- func (t *TimeseriesWidget) GetTimeframeOk() (string, bool)
- func (t *TimeseriesWidget) GetTitle() bool
- func (t *TimeseriesWidget) GetTitleAlign() string
- func (t *TimeseriesWidget) GetTitleAlignOk() (string, bool)
- func (t *TimeseriesWidget) GetTitleOk() (bool, bool)
- func (t *TimeseriesWidget) GetTitleSize() TextSize
- func (t *TimeseriesWidget) GetTitleSizeOk() (TextSize, bool)
- func (t *TimeseriesWidget) GetTitleText() string
- func (t *TimeseriesWidget) GetTitleTextOk() (string, bool)
- func (t *TimeseriesWidget) GetType() string
- func (t *TimeseriesWidget) GetTypeOk() (string, bool)
- func (t *TimeseriesWidget) GetWidth() int
- func (t *TimeseriesWidget) GetWidthOk() (int, bool)
- func (t *TimeseriesWidget) GetX() int
- func (t *TimeseriesWidget) GetXOk() (int, bool)
- func (t *TimeseriesWidget) GetY() int
- func (t *TimeseriesWidget) GetYOk() (int, bool)
- func (t *TimeseriesWidget) HasHeight() bool
- func (t *TimeseriesWidget) HasLegend() bool
- func (t *TimeseriesWidget) HasTileDef() bool
- func (t *TimeseriesWidget) HasTimeframe() bool
- func (t *TimeseriesWidget) HasTitle() bool
- func (t *TimeseriesWidget) HasTitleAlign() bool
- func (t *TimeseriesWidget) HasTitleSize() bool
- func (t *TimeseriesWidget) HasTitleText() bool
- func (t *TimeseriesWidget) HasType() bool
- func (t *TimeseriesWidget) HasWidth() bool
- func (t *TimeseriesWidget) HasX() bool
- func (t *TimeseriesWidget) HasY() bool
- func (t *TimeseriesWidget) SetHeight(v int)
- func (t *TimeseriesWidget) SetLegend(v bool)
- func (t *TimeseriesWidget) SetTileDef(v TileDef)
- func (t *TimeseriesWidget) SetTimeframe(v string)
- func (t *TimeseriesWidget) SetTitle(v bool)
- func (t *TimeseriesWidget) SetTitleAlign(v string)
- func (t *TimeseriesWidget) SetTitleSize(v TextSize)
- func (t *TimeseriesWidget) SetTitleText(v string)
- func (t *TimeseriesWidget) SetType(v string)
- func (t *TimeseriesWidget) SetWidth(v int)
- func (t *TimeseriesWidget) SetX(v int)
- func (t *TimeseriesWidget) SetY(v int)
- type ToplistWidget
- func (t *ToplistWidget) GetHeight() int
- func (t *ToplistWidget) GetHeightOk() (int, bool)
- func (t *ToplistWidget) GetLegend() bool
- func (t *ToplistWidget) GetLegendOk() (bool, bool)
- func (t *ToplistWidget) GetLegendSize() int
- func (t *ToplistWidget) GetLegendSizeOk() (int, bool)
- func (t *ToplistWidget) GetTileDef() TileDef
- func (t *ToplistWidget) GetTileDefOk() (TileDef, bool)
- func (t *ToplistWidget) GetTimeframe() string
- func (t *ToplistWidget) GetTimeframeOk() (string, bool)
- func (t *ToplistWidget) GetTitle() bool
- func (t *ToplistWidget) GetTitleAlign() string
- func (t *ToplistWidget) GetTitleAlignOk() (string, bool)
- func (t *ToplistWidget) GetTitleOk() (bool, bool)
- func (t *ToplistWidget) GetTitleSize() TextSize
- func (t *ToplistWidget) GetTitleSizeOk() (TextSize, bool)
- func (t *ToplistWidget) GetTitleText() string
- func (t *ToplistWidget) GetTitleTextOk() (string, bool)
- func (t *ToplistWidget) GetType() string
- func (t *ToplistWidget) GetTypeOk() (string, bool)
- func (t *ToplistWidget) GetWidth() int
- func (t *ToplistWidget) GetWidthOk() (int, bool)
- func (t *ToplistWidget) GetX() int
- func (t *ToplistWidget) GetXOk() (int, bool)
- func (t *ToplistWidget) GetY() int
- func (t *ToplistWidget) GetYOk() (int, bool)
- func (t *ToplistWidget) HasHeight() bool
- func (t *ToplistWidget) HasLegend() bool
- func (t *ToplistWidget) HasLegendSize() bool
- func (t *ToplistWidget) HasTileDef() bool
- func (t *ToplistWidget) HasTimeframe() bool
- func (t *ToplistWidget) HasTitle() bool
- func (t *ToplistWidget) HasTitleAlign() bool
- func (t *ToplistWidget) HasTitleSize() bool
- func (t *ToplistWidget) HasTitleText() bool
- func (t *ToplistWidget) HasType() bool
- func (t *ToplistWidget) HasWidth() bool
- func (t *ToplistWidget) HasX() bool
- func (t *ToplistWidget) HasY() bool
- func (t *ToplistWidget) SetHeight(v int)
- func (t *ToplistWidget) SetLegend(v bool)
- func (t *ToplistWidget) SetLegendSize(v int)
- func (t *ToplistWidget) SetTileDef(v TileDef)
- func (t *ToplistWidget) SetTimeframe(v string)
- func (t *ToplistWidget) SetTitle(v bool)
- func (t *ToplistWidget) SetTitleAlign(v string)
- func (t *ToplistWidget) SetTitleSize(v TextSize)
- func (t *ToplistWidget) SetTitleText(v string)
- func (t *ToplistWidget) SetType(v string)
- func (t *ToplistWidget) SetWidth(v int)
- func (t *ToplistWidget) SetX(v int)
- func (t *ToplistWidget) SetY(v int)
- type Unit
- type UnitPair
- type User
- func (u *User) GetAccessRole() string
- func (u *User) GetAccessRoleOk() (string, bool)
- func (u *User) GetDisabled() bool
- func (u *User) GetDisabledOk() (bool, bool)
- func (u *User) GetEmail() string
- func (u *User) GetEmailOk() (string, bool)
- func (u *User) GetHandle() string
- func (u *User) GetHandleOk() (string, bool)
- func (u *User) GetIsAdmin() bool
- func (u *User) GetIsAdminOk() (bool, bool)
- func (u *User) GetName() string
- func (u *User) GetNameOk() (string, bool)
- func (u *User) GetRole() string
- func (u *User) GetRoleOk() (string, bool)
- func (u *User) GetVerified() bool
- func (u *User) GetVerifiedOk() (bool, bool)
- func (u *User) HasAccessRole() bool
- func (u *User) HasDisabled() bool
- func (u *User) HasEmail() bool
- func (u *User) HasHandle() bool
- func (u *User) HasIsAdmin() bool
- func (u *User) HasName() bool
- func (u *User) HasRole() bool
- func (u *User) HasVerified() bool
- func (u *User) SetAccessRole(v string)
- func (u *User) SetDisabled(v bool)
- func (u *User) SetEmail(v string)
- func (u *User) SetHandle(v string)
- func (u *User) SetIsAdmin(v bool)
- func (u *User) SetName(v string)
- func (u *User) SetRole(v string)
- func (u *User) SetVerified(v bool)
- type Widget
- func (w *Widget) GetAlertGraphWidget() AlertGraphWidget
- func (w *Widget) GetAlertGraphWidgetOk() (AlertGraphWidget, bool)
- func (w *Widget) GetAlertValueWidget() AlertValueWidget
- func (w *Widget) GetAlertValueWidgetOk() (AlertValueWidget, bool)
- func (w *Widget) GetChangeWidget() ChangeWidget
- func (w *Widget) GetChangeWidgetOk() (ChangeWidget, bool)
- func (w *Widget) GetCheckStatusWidget() CheckStatusWidget
- func (w *Widget) GetCheckStatusWidgetOk() (CheckStatusWidget, bool)
- func (w *Widget) GetDefault() string
- func (w *Widget) GetDefaultOk() (string, bool)
- func (w *Widget) GetEventStreamWidget() EventStreamWidget
- func (w *Widget) GetEventStreamWidgetOk() (EventStreamWidget, bool)
- func (w *Widget) GetEventTimelineWidget() EventTimelineWidget
- func (w *Widget) GetEventTimelineWidgetOk() (EventTimelineWidget, bool)
- func (w *Widget) GetFreeTextWidget() FreeTextWidget
- func (w *Widget) GetFreeTextWidgetOk() (FreeTextWidget, bool)
- func (w *Widget) GetGraphWidget() GraphWidget
- func (w *Widget) GetGraphWidgetOk() (GraphWidget, bool)
- func (w *Widget) GetHostMapWidget() HostMapWidget
- func (w *Widget) GetHostMapWidgetOk() (HostMapWidget, bool)
- func (w *Widget) GetIFrameWidget() IFrameWidget
- func (w *Widget) GetIFrameWidgetOk() (IFrameWidget, bool)
- func (w *Widget) GetImageWidget() ImageWidget
- func (w *Widget) GetImageWidgetOk() (ImageWidget, bool)
- func (w *Widget) GetName() string
- func (w *Widget) GetNameOk() (string, bool)
- func (w *Widget) GetNoteWidget() NoteWidget
- func (w *Widget) GetNoteWidgetOk() (NoteWidget, bool)
- func (w *Widget) GetPrefix() string
- func (w *Widget) GetPrefixOk() (string, bool)
- func (w *Widget) GetQueryValueWidget() QueryValueWidget
- func (w *Widget) GetQueryValueWidgetOk() (QueryValueWidget, bool)
- func (w *Widget) GetTimeseriesWidget() TimeseriesWidget
- func (w *Widget) GetTimeseriesWidgetOk() (TimeseriesWidget, bool)
- func (w *Widget) GetToplistWidget() ToplistWidget
- func (w *Widget) GetToplistWidgetOk() (ToplistWidget, bool)
- func (w *Widget) HasAlertGraphWidget() bool
- func (w *Widget) HasAlertValueWidget() bool
- func (w *Widget) HasChangeWidget() bool
- func (w *Widget) HasCheckStatusWidget() bool
- func (w *Widget) HasDefault() bool
- func (w *Widget) HasEventStreamWidget() bool
- func (w *Widget) HasEventTimelineWidget() bool
- func (w *Widget) HasFreeTextWidget() bool
- func (w *Widget) HasGraphWidget() bool
- func (w *Widget) HasHostMapWidget() bool
- func (w *Widget) HasIFrameWidget() bool
- func (w *Widget) HasImageWidget() bool
- func (w *Widget) HasName() bool
- func (w *Widget) HasNoteWidget() bool
- func (w *Widget) HasPrefix() bool
- func (w *Widget) HasQueryValueWidget() bool
- func (w *Widget) HasTimeseriesWidget() bool
- func (w *Widget) HasToplistWidget() bool
- func (w *Widget) SetAlertGraphWidget(v AlertGraphWidget)
- func (w *Widget) SetAlertValueWidget(v AlertValueWidget)
- func (w *Widget) SetChangeWidget(v ChangeWidget)
- func (w *Widget) SetCheckStatusWidget(v CheckStatusWidget)
- func (w *Widget) SetDefault(v string)
- func (w *Widget) SetEventStreamWidget(v EventStreamWidget)
- func (w *Widget) SetEventTimelineWidget(v EventTimelineWidget)
- func (w *Widget) SetFreeTextWidget(v FreeTextWidget)
- func (w *Widget) SetGraphWidget(v GraphWidget)
- func (w *Widget) SetHostMapWidget(v HostMapWidget)
- func (w *Widget) SetIFrameWidget(v IFrameWidget)
- func (w *Widget) SetImageWidget(v ImageWidget)
- func (w *Widget) SetName(v string)
- func (w *Widget) SetNoteWidget(v NoteWidget)
- func (w *Widget) SetPrefix(v string)
- func (w *Widget) SetQueryValueWidget(v QueryValueWidget)
- func (w *Widget) SetTimeseriesWidget(v TimeseriesWidget)
- func (w *Widget) SetToplistWidget(v ToplistWidget)
- type Yaxis
- func (y *Yaxis) GetMax() float64
- func (y *Yaxis) GetMaxOk() (float64, bool)
- func (y *Yaxis) GetMin() float64
- func (y *Yaxis) GetMinOk() (float64, bool)
- func (y *Yaxis) GetScale() string
- func (y *Yaxis) GetScaleOk() (string, bool)
- func (y *Yaxis) HasMax() bool
- func (y *Yaxis) HasMin() bool
- func (y *Yaxis) HasScale() bool
- func (y *Yaxis) SetMax(v float64)
- func (y *Yaxis) SetMin(v float64)
- func (y *Yaxis) SetScale(v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
func GetBool ¶
GetBool is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func GetIntOk ¶
GetInt is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func GetJsonNumberOk ¶
GetJsonNumber is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func GetStringOk ¶
GetString is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func Int ¶
Int is a helper routine that allocates a new int value to store v and returns a pointer to it.
func JsonNumber ¶
JsonNumber is a helper routine that allocates a new string value to store v and returns a pointer to it.
Types ¶
type Alert ¶
type Alert struct { Id *int `json:"id,omitempty"` Creator *int `json:"creator,omitempty"` Query *string `json:"query,omitempty"` Name *string `json:"name,omitempty"` Message *string `json:"message,omitempty"` Silenced *bool `json:"silenced,omitempty"` NotifyNoData *bool `json:"notify_no_data,omitempty"` State *string `json:"state,omitempty"` }
Alert represents the data of an alert: a query that can fire and send a message to the users.
func (*Alert) GetCreator ¶
GetCreator returns the Creator field if non-nil, zero value otherwise.
func (*Alert) GetCreatorOk ¶
GetOkCreator returns a tuple with the Creator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetMessage ¶
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*Alert) GetMessageOk ¶
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetNameOk ¶
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetNotifyNoData ¶
GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.
func (*Alert) GetNotifyNoDataOk ¶
GetOkNotifyNoData returns a tuple with the NotifyNoData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetQueryOk ¶
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetSilenced ¶
GetSilenced returns the Silenced field if non-nil, zero value otherwise.
func (*Alert) GetSilencedOk ¶
GetOkSilenced returns a tuple with the Silenced field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) GetStateOk ¶
GetOkState returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Alert) HasCreator ¶
HasCreator returns a boolean if a field has been set.
func (*Alert) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Alert) HasNotifyNoData ¶
HasNotifyNoData returns a boolean if a field has been set.
func (*Alert) HasSilenced ¶
HasSilenced returns a boolean if a field has been set.
func (*Alert) SetCreator ¶
SetCreator allocates a new a.Creator and returns the pointer to it.
func (*Alert) SetMessage ¶
SetMessage allocates a new a.Message and returns the pointer to it.
func (*Alert) SetNotifyNoData ¶
SetNotifyNoData allocates a new a.NotifyNoData and returns the pointer to it.
func (*Alert) SetSilenced ¶
SetSilenced allocates a new a.Silenced and returns the pointer to it.
type AlertGraphWidget ¶
type AlertGraphWidget struct { TitleSize *int `json:"title_size,omitempty"` VizType *string `json:"timeseries,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` AlertId *int `json:"alert_id,omitempty"` Timeframe *string `json:"timeframe,omitempty"` Type *string `json:"type,omitempty"` AddTimeframe *bool `json:"add_timeframe,omitempty"` }
func (*AlertGraphWidget) GetAddTimeframe ¶
func (a *AlertGraphWidget) GetAddTimeframe() bool
GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetAddTimeframeOk ¶
func (a *AlertGraphWidget) GetAddTimeframeOk() (bool, bool)
GetOkAddTimeframe returns a tuple with the AddTimeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetAlertId ¶
func (a *AlertGraphWidget) GetAlertId() int
GetAlertId returns the AlertId field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetAlertIdOk ¶
func (a *AlertGraphWidget) GetAlertIdOk() (int, bool)
GetOkAlertId returns a tuple with the AlertId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetHeight ¶
func (a *AlertGraphWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetHeightOk ¶
func (a *AlertGraphWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetTimeframe ¶
func (a *AlertGraphWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTimeframeOk ¶
func (a *AlertGraphWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetTitle ¶
func (a *AlertGraphWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTitleAlign ¶
func (a *AlertGraphWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTitleAlignOk ¶
func (a *AlertGraphWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetTitleOk ¶
func (a *AlertGraphWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetTitleSize ¶
func (a *AlertGraphWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTitleSizeOk ¶
func (a *AlertGraphWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetTitleText ¶
func (a *AlertGraphWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTitleTextOk ¶
func (a *AlertGraphWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetType ¶
func (a *AlertGraphWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetTypeOk ¶
func (a *AlertGraphWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetVizType ¶
func (a *AlertGraphWidget) GetVizType() string
GetVizType returns the VizType field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetVizTypeOk ¶
func (a *AlertGraphWidget) GetVizTypeOk() (string, bool)
GetOkVizType returns a tuple with the VizType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetWidth ¶
func (a *AlertGraphWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetWidthOk ¶
func (a *AlertGraphWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetX ¶
func (a *AlertGraphWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetXOk ¶
func (a *AlertGraphWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) GetY ¶
func (a *AlertGraphWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*AlertGraphWidget) GetYOk ¶
func (a *AlertGraphWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertGraphWidget) HasAddTimeframe ¶
func (a *AlertGraphWidget) HasAddTimeframe() bool
HasAddTimeframe returns a boolean if a field has been set.
func (*AlertGraphWidget) HasAlertId ¶
func (a *AlertGraphWidget) HasAlertId() bool
HasAlertId returns a boolean if a field has been set.
func (*AlertGraphWidget) HasHeight ¶
func (a *AlertGraphWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*AlertGraphWidget) HasTimeframe ¶
func (a *AlertGraphWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*AlertGraphWidget) HasTitle ¶
func (a *AlertGraphWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AlertGraphWidget) HasTitleAlign ¶
func (a *AlertGraphWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*AlertGraphWidget) HasTitleSize ¶
func (a *AlertGraphWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*AlertGraphWidget) HasTitleText ¶
func (a *AlertGraphWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*AlertGraphWidget) HasType ¶
func (a *AlertGraphWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*AlertGraphWidget) HasVizType ¶
func (a *AlertGraphWidget) HasVizType() bool
HasVizType returns a boolean if a field has been set.
func (*AlertGraphWidget) HasWidth ¶
func (a *AlertGraphWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*AlertGraphWidget) HasX ¶
func (a *AlertGraphWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*AlertGraphWidget) HasY ¶
func (a *AlertGraphWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*AlertGraphWidget) SetAddTimeframe ¶
func (a *AlertGraphWidget) SetAddTimeframe(v bool)
SetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.
func (*AlertGraphWidget) SetAlertId ¶
func (a *AlertGraphWidget) SetAlertId(v int)
SetAlertId allocates a new a.AlertId and returns the pointer to it.
func (*AlertGraphWidget) SetHeight ¶
func (a *AlertGraphWidget) SetHeight(v int)
SetHeight allocates a new a.Height and returns the pointer to it.
func (*AlertGraphWidget) SetTimeframe ¶
func (a *AlertGraphWidget) SetTimeframe(v string)
SetTimeframe allocates a new a.Timeframe and returns the pointer to it.
func (*AlertGraphWidget) SetTitle ¶
func (a *AlertGraphWidget) SetTitle(v bool)
SetTitle allocates a new a.Title and returns the pointer to it.
func (*AlertGraphWidget) SetTitleAlign ¶
func (a *AlertGraphWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
func (*AlertGraphWidget) SetTitleSize ¶
func (a *AlertGraphWidget) SetTitleSize(v int)
SetTitleSize allocates a new a.TitleSize and returns the pointer to it.
func (*AlertGraphWidget) SetTitleText ¶
func (a *AlertGraphWidget) SetTitleText(v string)
SetTitleText allocates a new a.TitleText and returns the pointer to it.
func (*AlertGraphWidget) SetType ¶
func (a *AlertGraphWidget) SetType(v string)
SetType allocates a new a.Type and returns the pointer to it.
func (*AlertGraphWidget) SetVizType ¶
func (a *AlertGraphWidget) SetVizType(v string)
SetVizType allocates a new a.VizType and returns the pointer to it.
func (*AlertGraphWidget) SetWidth ¶
func (a *AlertGraphWidget) SetWidth(v int)
SetWidth allocates a new a.Width and returns the pointer to it.
func (*AlertGraphWidget) SetX ¶
func (a *AlertGraphWidget) SetX(v int)
SetX allocates a new a.X and returns the pointer to it.
func (*AlertGraphWidget) SetY ¶
func (a *AlertGraphWidget) SetY(v int)
SetY allocates a new a.Y and returns the pointer to it.
type AlertValueWidget ¶
type AlertValueWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TextAlign *string `json:"text_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Precision *int `json:"precision,omitempty"` AlertId *int `json:"alert_id,omitempty"` Timeframe *string `json:"timeframe,omitempty"` AddTimeframe *bool `json:"add_timeframe,omitempty"` Y *int `json:"y,omitempty"` X *int `json:"x,omitempty"` TextSize *string `json:"text_size,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` Type *string `json:"type,omitempty"` Unit *string `json:"unit,omitempty"` }
func (*AlertValueWidget) GetAddTimeframe ¶
func (a *AlertValueWidget) GetAddTimeframe() bool
GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetAddTimeframeOk ¶
func (a *AlertValueWidget) GetAddTimeframeOk() (bool, bool)
GetOkAddTimeframe returns a tuple with the AddTimeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetAlertId ¶
func (a *AlertValueWidget) GetAlertId() int
GetAlertId returns the AlertId field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetAlertIdOk ¶
func (a *AlertValueWidget) GetAlertIdOk() (int, bool)
GetOkAlertId returns a tuple with the AlertId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetHeight ¶
func (a *AlertValueWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetHeightOk ¶
func (a *AlertValueWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetPrecision ¶
func (a *AlertValueWidget) GetPrecision() int
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetPrecisionOk ¶
func (a *AlertValueWidget) GetPrecisionOk() (int, bool)
GetOkPrecision returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTextAlign ¶
func (a *AlertValueWidget) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTextAlignOk ¶
func (a *AlertValueWidget) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTextSize ¶
func (a *AlertValueWidget) GetTextSize() string
GetTextSize returns the TextSize field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTextSizeOk ¶
func (a *AlertValueWidget) GetTextSizeOk() (string, bool)
GetOkTextSize returns a tuple with the TextSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTimeframe ¶
func (a *AlertValueWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTimeframeOk ¶
func (a *AlertValueWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTitle ¶
func (a *AlertValueWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTitleAlign ¶
func (a *AlertValueWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTitleAlignOk ¶
func (a *AlertValueWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTitleOk ¶
func (a *AlertValueWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTitleSize ¶
func (a *AlertValueWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTitleSizeOk ¶
func (a *AlertValueWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetTitleText ¶
func (a *AlertValueWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTitleTextOk ¶
func (a *AlertValueWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetType ¶
func (a *AlertValueWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetTypeOk ¶
func (a *AlertValueWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetUnit ¶
func (a *AlertValueWidget) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetUnitOk ¶
func (a *AlertValueWidget) GetUnitOk() (string, bool)
GetOkUnit returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetWidth ¶
func (a *AlertValueWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetWidthOk ¶
func (a *AlertValueWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetX ¶
func (a *AlertValueWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetXOk ¶
func (a *AlertValueWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) GetY ¶
func (a *AlertValueWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*AlertValueWidget) GetYOk ¶
func (a *AlertValueWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*AlertValueWidget) HasAddTimeframe ¶
func (a *AlertValueWidget) HasAddTimeframe() bool
HasAddTimeframe returns a boolean if a field has been set.
func (*AlertValueWidget) HasAlertId ¶
func (a *AlertValueWidget) HasAlertId() bool
HasAlertId returns a boolean if a field has been set.
func (*AlertValueWidget) HasHeight ¶
func (a *AlertValueWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*AlertValueWidget) HasPrecision ¶
func (a *AlertValueWidget) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*AlertValueWidget) HasTextAlign ¶
func (a *AlertValueWidget) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*AlertValueWidget) HasTextSize ¶
func (a *AlertValueWidget) HasTextSize() bool
HasTextSize returns a boolean if a field has been set.
func (*AlertValueWidget) HasTimeframe ¶
func (a *AlertValueWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*AlertValueWidget) HasTitle ¶
func (a *AlertValueWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AlertValueWidget) HasTitleAlign ¶
func (a *AlertValueWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*AlertValueWidget) HasTitleSize ¶
func (a *AlertValueWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*AlertValueWidget) HasTitleText ¶
func (a *AlertValueWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*AlertValueWidget) HasType ¶
func (a *AlertValueWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*AlertValueWidget) HasUnit ¶
func (a *AlertValueWidget) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*AlertValueWidget) HasWidth ¶
func (a *AlertValueWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*AlertValueWidget) HasX ¶
func (a *AlertValueWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*AlertValueWidget) HasY ¶
func (a *AlertValueWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*AlertValueWidget) SetAddTimeframe ¶
func (a *AlertValueWidget) SetAddTimeframe(v bool)
SetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.
func (*AlertValueWidget) SetAlertId ¶
func (a *AlertValueWidget) SetAlertId(v int)
SetAlertId allocates a new a.AlertId and returns the pointer to it.
func (*AlertValueWidget) SetHeight ¶
func (a *AlertValueWidget) SetHeight(v int)
SetHeight allocates a new a.Height and returns the pointer to it.
func (*AlertValueWidget) SetPrecision ¶
func (a *AlertValueWidget) SetPrecision(v int)
SetPrecision allocates a new a.Precision and returns the pointer to it.
func (*AlertValueWidget) SetTextAlign ¶
func (a *AlertValueWidget) SetTextAlign(v string)
SetTextAlign allocates a new a.TextAlign and returns the pointer to it.
func (*AlertValueWidget) SetTextSize ¶
func (a *AlertValueWidget) SetTextSize(v string)
SetTextSize allocates a new a.TextSize and returns the pointer to it.
func (*AlertValueWidget) SetTimeframe ¶
func (a *AlertValueWidget) SetTimeframe(v string)
SetTimeframe allocates a new a.Timeframe and returns the pointer to it.
func (*AlertValueWidget) SetTitle ¶
func (a *AlertValueWidget) SetTitle(v bool)
SetTitle allocates a new a.Title and returns the pointer to it.
func (*AlertValueWidget) SetTitleAlign ¶
func (a *AlertValueWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
func (*AlertValueWidget) SetTitleSize ¶
func (a *AlertValueWidget) SetTitleSize(v int)
SetTitleSize allocates a new a.TitleSize and returns the pointer to it.
func (*AlertValueWidget) SetTitleText ¶
func (a *AlertValueWidget) SetTitleText(v string)
SetTitleText allocates a new a.TitleText and returns the pointer to it.
func (*AlertValueWidget) SetType ¶
func (a *AlertValueWidget) SetType(v string)
SetType allocates a new a.Type and returns the pointer to it.
func (*AlertValueWidget) SetUnit ¶
func (a *AlertValueWidget) SetUnit(v string)
SetUnit allocates a new a.Unit and returns the pointer to it.
func (*AlertValueWidget) SetWidth ¶
func (a *AlertValueWidget) SetWidth(v int)
SetWidth allocates a new a.Width and returns the pointer to it.
func (*AlertValueWidget) SetX ¶
func (a *AlertValueWidget) SetX(v int)
SetX allocates a new a.X and returns the pointer to it.
func (*AlertValueWidget) SetY ¶
func (a *AlertValueWidget) SetY(v int)
SetY allocates a new a.Y and returns the pointer to it.
type ChangeWidget ¶
type ChangeWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Aggregator *string `json:"aggregator,omitempty"` TileDef *TileDef `json:"tile_def,omitempty"` }
func (*ChangeWidget) GetAggregator ¶
func (c *ChangeWidget) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*ChangeWidget) GetAggregatorOk ¶
func (c *ChangeWidget) GetAggregatorOk() (string, bool)
GetOkAggregator returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetHeight ¶
func (c *ChangeWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*ChangeWidget) GetHeightOk ¶
func (c *ChangeWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetTileDef ¶
func (c *ChangeWidget) GetTileDef() TileDef
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*ChangeWidget) GetTileDefOk ¶
func (c *ChangeWidget) GetTileDefOk() (TileDef, bool)
GetOkTileDef returns a tuple with the TileDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetTitle ¶
func (c *ChangeWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ChangeWidget) GetTitleAlign ¶
func (c *ChangeWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ChangeWidget) GetTitleAlignOk ¶
func (c *ChangeWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetTitleOk ¶
func (c *ChangeWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetTitleSize ¶
func (c *ChangeWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ChangeWidget) GetTitleSizeOk ¶
func (c *ChangeWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetTitleText ¶
func (c *ChangeWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*ChangeWidget) GetTitleTextOk ¶
func (c *ChangeWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetWidth ¶
func (c *ChangeWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*ChangeWidget) GetWidthOk ¶
func (c *ChangeWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetX ¶
func (c *ChangeWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*ChangeWidget) GetXOk ¶
func (c *ChangeWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) GetY ¶
func (c *ChangeWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*ChangeWidget) GetYOk ¶
func (c *ChangeWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeWidget) HasAggregator ¶
func (c *ChangeWidget) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*ChangeWidget) HasHeight ¶
func (c *ChangeWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*ChangeWidget) HasTileDef ¶
func (c *ChangeWidget) HasTileDef() bool
HasTileDef returns a boolean if a field has been set.
func (*ChangeWidget) HasTitle ¶
func (c *ChangeWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ChangeWidget) HasTitleAlign ¶
func (c *ChangeWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ChangeWidget) HasTitleSize ¶
func (c *ChangeWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ChangeWidget) HasTitleText ¶
func (c *ChangeWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*ChangeWidget) HasWidth ¶
func (c *ChangeWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*ChangeWidget) HasX ¶
func (c *ChangeWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*ChangeWidget) HasY ¶
func (c *ChangeWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*ChangeWidget) SetAggregator ¶
func (c *ChangeWidget) SetAggregator(v string)
SetAggregator allocates a new c.Aggregator and returns the pointer to it.
func (*ChangeWidget) SetHeight ¶
func (c *ChangeWidget) SetHeight(v int)
SetHeight allocates a new c.Height and returns the pointer to it.
func (*ChangeWidget) SetTileDef ¶
func (c *ChangeWidget) SetTileDef(v TileDef)
SetTileDef allocates a new c.TileDef and returns the pointer to it.
func (*ChangeWidget) SetTitle ¶
func (c *ChangeWidget) SetTitle(v bool)
SetTitle allocates a new c.Title and returns the pointer to it.
func (*ChangeWidget) SetTitleAlign ¶
func (c *ChangeWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
func (*ChangeWidget) SetTitleSize ¶
func (c *ChangeWidget) SetTitleSize(v int)
SetTitleSize allocates a new c.TitleSize and returns the pointer to it.
func (*ChangeWidget) SetTitleText ¶
func (c *ChangeWidget) SetTitleText(v string)
SetTitleText allocates a new c.TitleText and returns the pointer to it.
func (*ChangeWidget) SetWidth ¶
func (c *ChangeWidget) SetWidth(v int)
SetWidth allocates a new c.Width and returns the pointer to it.
func (*ChangeWidget) SetX ¶
func (c *ChangeWidget) SetX(v int)
SetX allocates a new c.X and returns the pointer to it.
func (*ChangeWidget) SetY ¶
func (c *ChangeWidget) SetY(v int)
SetY allocates a new c.Y and returns the pointer to it.
type ChannelSlackRequest ¶
type ChannelSlackRequest struct { ChannelName *string `json:"channel_name"` TransferAllUserComments *bool `json:"transfer_all_user_comments,omitempty,string"` Account *string `json:"account"` }
ChannelSlackRequest defines the Channels struct that is part of the IntegrationSlackRequest.
func (*ChannelSlackRequest) GetAccount ¶
func (c *ChannelSlackRequest) GetAccount() string
GetAccount returns the Account field if non-nil, zero value otherwise.
func (*ChannelSlackRequest) GetAccountOk ¶
func (c *ChannelSlackRequest) GetAccountOk() (string, bool)
GetOkAccount returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChannelSlackRequest) GetChannelName ¶
func (c *ChannelSlackRequest) GetChannelName() string
GetChannelName returns the ChannelName field if non-nil, zero value otherwise.
func (*ChannelSlackRequest) GetChannelNameOk ¶
func (c *ChannelSlackRequest) GetChannelNameOk() (string, bool)
GetOkChannelName returns a tuple with the ChannelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChannelSlackRequest) GetTransferAllUserComments ¶
func (c *ChannelSlackRequest) GetTransferAllUserComments() bool
GetTransferAllUserComments returns the TransferAllUserComments field if non-nil, zero value otherwise.
func (*ChannelSlackRequest) GetTransferAllUserCommentsOk ¶
func (c *ChannelSlackRequest) GetTransferAllUserCommentsOk() (bool, bool)
GetOkTransferAllUserComments returns a tuple with the TransferAllUserComments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChannelSlackRequest) HasAccount ¶
func (c *ChannelSlackRequest) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*ChannelSlackRequest) HasChannelName ¶
func (c *ChannelSlackRequest) HasChannelName() bool
HasChannelName returns a boolean if a field has been set.
func (*ChannelSlackRequest) HasTransferAllUserComments ¶
func (c *ChannelSlackRequest) HasTransferAllUserComments() bool
HasTransferAllUserComments returns a boolean if a field has been set.
func (*ChannelSlackRequest) SetAccount ¶
func (c *ChannelSlackRequest) SetAccount(v string)
SetAccount allocates a new c.Account and returns the pointer to it.
func (*ChannelSlackRequest) SetChannelName ¶
func (c *ChannelSlackRequest) SetChannelName(v string)
SetChannelName allocates a new c.ChannelName and returns the pointer to it.
func (*ChannelSlackRequest) SetTransferAllUserComments ¶
func (c *ChannelSlackRequest) SetTransferAllUserComments(v bool)
SetTransferAllUserComments allocates a new c.TransferAllUserComments and returns the pointer to it.
type Check ¶
type Check struct { Check *string `json:"check,omitempty"` HostName *string `json:"host_name,omitempty"` Status *Status `json:"status,omitempty"` Timestamp *string `json:"timestamp,omitempty"` Message *string `json:"message,omitempty"` Tags []string `json:"tags,omitempty"` }
func (*Check) GetCheckOk ¶
GetOkCheck returns a tuple with the Check field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Check) GetHostName ¶
GetHostName returns the HostName field if non-nil, zero value otherwise.
func (*Check) GetHostNameOk ¶
GetOkHostName returns a tuple with the HostName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Check) GetMessage ¶
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*Check) GetMessageOk ¶
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Check) GetStatusOk ¶
GetOkStatus returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Check) GetTimestamp ¶
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (*Check) GetTimestampOk ¶
GetOkTimestamp returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Check) HasHostName ¶
HasHostName returns a boolean if a field has been set.
func (*Check) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Check) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (*Check) SetHostName ¶
SetHostName allocates a new c.HostName and returns the pointer to it.
func (*Check) SetMessage ¶
SetMessage allocates a new c.Message and returns the pointer to it.
func (*Check) SetTimestamp ¶
SetTimestamp allocates a new c.Timestamp and returns the pointer to it.
type CheckStatusWidget ¶
type CheckStatusWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TextAlign *string `json:"text_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Tags *string `json:"tags,omitempty"` Timeframe *string `json:"timeframe,omitempty"` TextSize *string `json:"text_size,omitempty"` Type *string `json:"type,omitempty"` Check *string `json:"check,omitempty"` Group *string `json:"group,omitempty"` Grouping *string `json:"grouping,omitempty"` }
func (*CheckStatusWidget) GetCheck ¶
func (c *CheckStatusWidget) GetCheck() string
GetCheck returns the Check field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetCheckOk ¶
func (c *CheckStatusWidget) GetCheckOk() (string, bool)
GetOkCheck returns a tuple with the Check field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetGroup ¶
func (c *CheckStatusWidget) GetGroup() string
GetGroup returns the Group field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetGroupOk ¶
func (c *CheckStatusWidget) GetGroupOk() (string, bool)
GetOkGroup returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetGrouping ¶
func (c *CheckStatusWidget) GetGrouping() string
GetGrouping returns the Grouping field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetGroupingOk ¶
func (c *CheckStatusWidget) GetGroupingOk() (string, bool)
GetOkGrouping returns a tuple with the Grouping field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetHeight ¶
func (c *CheckStatusWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetHeightOk ¶
func (c *CheckStatusWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTags ¶
func (c *CheckStatusWidget) GetTags() string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTagsOk ¶
func (c *CheckStatusWidget) GetTagsOk() (string, bool)
GetOkTags returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTextAlign ¶
func (c *CheckStatusWidget) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTextAlignOk ¶
func (c *CheckStatusWidget) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTextSize ¶
func (c *CheckStatusWidget) GetTextSize() string
GetTextSize returns the TextSize field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTextSizeOk ¶
func (c *CheckStatusWidget) GetTextSizeOk() (string, bool)
GetOkTextSize returns a tuple with the TextSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTimeframe ¶
func (c *CheckStatusWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTimeframeOk ¶
func (c *CheckStatusWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTitle ¶
func (c *CheckStatusWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTitleAlign ¶
func (c *CheckStatusWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTitleAlignOk ¶
func (c *CheckStatusWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTitleOk ¶
func (c *CheckStatusWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTitleSize ¶
func (c *CheckStatusWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTitleSizeOk ¶
func (c *CheckStatusWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetTitleText ¶
func (c *CheckStatusWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTitleTextOk ¶
func (c *CheckStatusWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetType ¶
func (c *CheckStatusWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetTypeOk ¶
func (c *CheckStatusWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetWidth ¶
func (c *CheckStatusWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetWidthOk ¶
func (c *CheckStatusWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetX ¶
func (c *CheckStatusWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetXOk ¶
func (c *CheckStatusWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) GetY ¶
func (c *CheckStatusWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*CheckStatusWidget) GetYOk ¶
func (c *CheckStatusWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CheckStatusWidget) HasCheck ¶
func (c *CheckStatusWidget) HasCheck() bool
HasCheck returns a boolean if a field has been set.
func (*CheckStatusWidget) HasGroup ¶
func (c *CheckStatusWidget) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (*CheckStatusWidget) HasGrouping ¶
func (c *CheckStatusWidget) HasGrouping() bool
HasGrouping returns a boolean if a field has been set.
func (*CheckStatusWidget) HasHeight ¶
func (c *CheckStatusWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTags ¶
func (c *CheckStatusWidget) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTextAlign ¶
func (c *CheckStatusWidget) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTextSize ¶
func (c *CheckStatusWidget) HasTextSize() bool
HasTextSize returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTimeframe ¶
func (c *CheckStatusWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTitle ¶
func (c *CheckStatusWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTitleAlign ¶
func (c *CheckStatusWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTitleSize ¶
func (c *CheckStatusWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*CheckStatusWidget) HasTitleText ¶
func (c *CheckStatusWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*CheckStatusWidget) HasType ¶
func (c *CheckStatusWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*CheckStatusWidget) HasWidth ¶
func (c *CheckStatusWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*CheckStatusWidget) HasX ¶
func (c *CheckStatusWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*CheckStatusWidget) HasY ¶
func (c *CheckStatusWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*CheckStatusWidget) SetCheck ¶
func (c *CheckStatusWidget) SetCheck(v string)
SetCheck allocates a new c.Check and returns the pointer to it.
func (*CheckStatusWidget) SetGroup ¶
func (c *CheckStatusWidget) SetGroup(v string)
SetGroup allocates a new c.Group and returns the pointer to it.
func (*CheckStatusWidget) SetGrouping ¶
func (c *CheckStatusWidget) SetGrouping(v string)
SetGrouping allocates a new c.Grouping and returns the pointer to it.
func (*CheckStatusWidget) SetHeight ¶
func (c *CheckStatusWidget) SetHeight(v int)
SetHeight allocates a new c.Height and returns the pointer to it.
func (*CheckStatusWidget) SetTags ¶
func (c *CheckStatusWidget) SetTags(v string)
SetTags allocates a new c.Tags and returns the pointer to it.
func (*CheckStatusWidget) SetTextAlign ¶
func (c *CheckStatusWidget) SetTextAlign(v string)
SetTextAlign allocates a new c.TextAlign and returns the pointer to it.
func (*CheckStatusWidget) SetTextSize ¶
func (c *CheckStatusWidget) SetTextSize(v string)
SetTextSize allocates a new c.TextSize and returns the pointer to it.
func (*CheckStatusWidget) SetTimeframe ¶
func (c *CheckStatusWidget) SetTimeframe(v string)
SetTimeframe allocates a new c.Timeframe and returns the pointer to it.
func (*CheckStatusWidget) SetTitle ¶
func (c *CheckStatusWidget) SetTitle(v bool)
SetTitle allocates a new c.Title and returns the pointer to it.
func (*CheckStatusWidget) SetTitleAlign ¶
func (c *CheckStatusWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
func (*CheckStatusWidget) SetTitleSize ¶
func (c *CheckStatusWidget) SetTitleSize(v int)
SetTitleSize allocates a new c.TitleSize and returns the pointer to it.
func (*CheckStatusWidget) SetTitleText ¶
func (c *CheckStatusWidget) SetTitleText(v string)
SetTitleText allocates a new c.TitleText and returns the pointer to it.
func (*CheckStatusWidget) SetType ¶
func (c *CheckStatusWidget) SetType(v string)
SetType allocates a new c.Type and returns the pointer to it.
func (*CheckStatusWidget) SetWidth ¶
func (c *CheckStatusWidget) SetWidth(v int)
SetWidth allocates a new c.Width and returns the pointer to it.
func (*CheckStatusWidget) SetX ¶
func (c *CheckStatusWidget) SetX(v int)
SetX allocates a new c.X and returns the pointer to it.
func (*CheckStatusWidget) SetY ¶
func (c *CheckStatusWidget) SetY(v int)
SetY allocates a new c.Y and returns the pointer to it.
type Client ¶
type Client struct { //The Http Client that is used to make requests HttpClient *http.Client RetryTimeout time.Duration // contains filtered or unexported fields }
Client is the object that handles talking to the Datadog API. This maintains state information for a particular application connection.
func NewClient ¶
NewClient returns a new datadog.Client which can be used to access the API methods. The expected argument is the API key.
func (*Client) AddTagsToHost ¶
AddTagsToHost does exactly what it says on the tin. Given a list of tags, add them to the host. The source is optionally specified, and defaults to "users" as per the API documentation.
func (*Client) CreateAlert ¶
CreateAlert adds a new alert to the system. This returns a pointer to an Alert so you can pass that to UpdateAlert later if needed.
func (*Client) CreateComment ¶
CreateComment adds a new comment to the system.
func (*Client) CreateDashboard ¶
CreateDashboard creates a new dashboard when given a Dashboard struct. Note that the Id, Resource, Url and similar elements are not used in creation.
func (*Client) CreateDowntime ¶
CreateDowntime adds a new downtme to the system. This returns a pointer to a Downtime so you can pass that to UpdateDowntime or CancelDowntime later if needed.
func (*Client) CreateIntegrationPD ¶
func (client *Client) CreateIntegrationPD(pdIntegration *IntegrationPDRequest) error
CreateIntegrationPD creates new PagerDuty Integrations. Use this if you want to setup the integration for the first time or to add more services/schedules.
func (*Client) CreateIntegrationSlack ¶
func (client *Client) CreateIntegrationSlack(slackIntegration *IntegrationSlackRequest) error
CreateIntegrationSlack creates new Slack Integrations. Use this if you want to setup the integration for the first time or to add more channels.
func (*Client) CreateMonitor ¶
CreateMonitor adds a new monitor to the system. This returns a pointer to a monitor so you can pass that to UpdateMonitor later if needed
func (*Client) CreateRelatedComment ¶
CreateRelatedComment adds a new comment, but lets you specify the related identifier for the comment.
func (*Client) CreateScreenboard ¶
func (client *Client) CreateScreenboard(board *Screenboard) (*Screenboard, error)
CreateScreenboard creates a new screenboard when given a Screenboard struct. Note that the Id, Resource, Url and similar elements are not used in creation.
func (*Client) CreateUser ¶
CreateUser creates an user account for an email address
func (*Client) DeleteAlert ¶
DeleteAlert removes an alert from the system.
func (*Client) DeleteComment ¶
DeleteComment does exactly what you expect.
func (*Client) DeleteDashboard ¶
DeleteDashboard deletes a dashboard by the identifier.
func (*Client) DeleteDowntime ¶
DeleteDowntime removes an downtime from the system.
func (*Client) DeleteIntegrationPD ¶
DeleteIntegrationPD removes the PagerDuty Integration from the system.
func (*Client) DeleteIntegrationSlack ¶
DeleteIntegrationSlack removes the Slack Integration from the system.
func (*Client) DeleteMonitor ¶
DeleteMonitor removes a monitor from the system
func (*Client) DeleteScreenboard ¶
DeleteScreenboard deletes a screenboard by the identifier.
func (*Client) DeleteUser ¶
DeleteUser deletes a user and returns an error if deletion failed
func (*Client) EditComment ¶
EditComment changes the message and possibly handle of a particular comment.
func (*Client) EditMetricMetadata ¶
func (client *Client) EditMetricMetadata(mn string, mm *MetricMetadata) (*MetricMetadata, error)
EditMetricMetadata edits the metadata for the given metric.
func (*Client) GetDashboard ¶
GetDashboard returns a single dashboard created on this account.
func (*Client) GetDashboards ¶
func (client *Client) GetDashboards() ([]DashboardLite, error)
GetDashboards returns a list of all dashboards created on this account.
func (*Client) GetDowntime ¶
Getdowntime retrieves an downtime by identifier.
func (*Client) GetDowntimes ¶
GetDowntimes returns a slice of all downtimes.
func (*Client) GetHostTags ¶
GetHostTags returns a slice of tags for a given host and source.
func (*Client) GetHostTagsBySource ¶
GetHostTagsBySource is a different way of viewing the tags. It returns a map of source:[tag,tag].
func (*Client) GetIntegrationPD ¶
GetIntegrationPD gets all the PagerDuty Integrations from the system.
func (*Client) GetIntegrationSlack ¶
func (client *Client) GetIntegrationSlack() (*IntegrationSlackRequest, error)
GetIntegrationSlack gets all the Slack Integrations from the system.
func (*Client) GetMonitor ¶
GetMonitor retrieves a monitor by identifier
func (*Client) GetMonitors ¶
GetMonitors returns a slice of all monitors
func (*Client) GetMonitorsByName ¶
GetMonitor retrieves monitors by name
func (*Client) GetMonitorsByTags ¶
GetMonitor retrieves monitors by a slice of tags
func (*Client) GetScreenboard ¶
func (client *Client) GetScreenboard(id int) (*Screenboard, error)
GetScreenboard returns a single screenboard created on this account.
func (*Client) GetScreenboards ¶
func (client *Client) GetScreenboards() ([]*ScreenboardLite, error)
GetScreenboards returns a list of all screenboards created on this account.
func (*Client) InviteUsers ¶
InviteUsers takes a slice of email addresses and sends invitations to them.
func (*Client) MuteAlerts ¶
MuteAlerts turns off alerting notifications.
func (*Client) MuteHost ¶
func (client *Client) MuteHost(host string, action *HostActionMute) (*HostActionResp, error)
MuteHost mutes all monitors for the given host
func (*Client) MuteMonitor ¶
MuteMonitor turns off monitoring notifications for a monitor
func (*Client) MuteMonitors ¶
MuteMonitors turns off monitoring notifications
func (*Client) PostMetrics ¶
PostMetrics takes as input a slice of metrics and then posts them up to the server for posting data.
func (*Client) QueryMetrics ¶
QueryMetrics takes as input from, to (seconds from Unix Epoch) and query string and then requests timeseries data for that time peried
func (*Client) RemoveHostTags ¶
RemoveHostTags removes all tags from a host for the given source. If none is given, the API defaults to "users".
func (*Client) RevokeScreenboard ¶
RevokeScreenboard revokes a currently shared screenboard
func (*Client) SearchHosts ¶
SearchHosts searches through the hosts facet, returning matching hostnames.
func (*Client) SearchMetrics ¶
SearchMetrics searches through the metrics facet, returning matching ones.
func (*Client) SetBaseUrl ¶
SetBaseUrl changes the value of baseUrl.
func (*Client) ShareScreenboard ¶
func (client *Client) ShareScreenboard(id int, response *ScreenShareResponse) error
ShareScreenboard shares an existing screenboard, it takes and updates ScreenShareResponse
func (*Client) Snapshot ¶
func (client *Client) Snapshot(query string, start, end time.Time, eventQuery string) (string, error)
Snapshot creates an image from a graph and returns the URL of the image.
func (*Client) SnapshotGeneric ¶
func (client *Client) SnapshotGeneric(options map[string]string, start, end time.Time) (string, error)
Generic function for snapshots, use map[string]string to create url.Values() instead of pre-defined params
func (*Client) UnmuteAlerts ¶
UnmuteAlerts turns on alerting notifications.
func (*Client) UnmuteHost ¶
func (client *Client) UnmuteHost(host string) (*HostActionResp, error)
UnmuteHost unmutes all monitors for the given host
func (*Client) UnmuteMonitor ¶
UnmuteMonitor turns on monitoring notifications for a monitor
func (*Client) UnmuteMonitors ¶
UnmuteMonitors turns on monitoring notifications
func (*Client) UpdateAlert ¶
UpdateAlert takes an alert that was previously retrieved through some method and sends it back to the server.
func (*Client) UpdateDashboard ¶
UpdateDashboard in essence takes a Dashboard struct and persists it back to the server. Use this if you've updated your local and need to push it back.
func (*Client) UpdateDowntime ¶
UpdateDowntime takes a downtime that was previously retrieved through some method and sends it back to the server.
func (*Client) UpdateHostTags ¶
UpdateHostTags overwrites existing tags for a host, allowing you to specify a new set of tags for the given source. This defaults to "users".
func (*Client) UpdateIntegrationPD ¶
func (client *Client) UpdateIntegrationPD(pdIntegration *IntegrationPDRequest) error
UpdateIntegrationPD updates the PagerDuty Integration. This will replace the existing values with the new values.
func (*Client) UpdateIntegrationSlack ¶
func (client *Client) UpdateIntegrationSlack(slackIntegration *IntegrationSlackRequest) error
UpdateIntegrationSlack updates the Slack Integration. This will replace the existing values with the new values.
func (*Client) UpdateMonitor ¶
UpdateMonitor takes a monitor that was previously retrieved through some method and sends it back to the server
func (*Client) UpdateScreenboard ¶
func (client *Client) UpdateScreenboard(board *Screenboard) error
UpdateScreenboard in essence takes a Screenboard struct and persists it back to the server. Use this if you've updated your local and need to push it back.
func (*Client) UpdateUser ¶
UpdateUser updates a user with the content of `user`, and returns an error if the update failed
func (*Client) ViewMetricMetadata ¶
func (client *Client) ViewMetricMetadata(mn string) (*MetricMetadata, error)
ViewMetricMetadata allows you to get metadata about a specific metric.
type Comment ¶
type Comment struct { Id *int `json:"id,omitempty"` RelatedId *int `json:"related_event_id,omitempty"` Handle *string `json:"handle,omitempty"` Message *string `json:"message,omitempty"` Resource *string `json:"resource,omitempty"` Url *string `json:"url,omitempty"` }
Comment is a special form of event that appears in a stream.
func (*Comment) GetHandleOk ¶
GetOkHandle returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) GetMessage ¶
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*Comment) GetMessageOk ¶
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) GetRelatedId ¶
GetRelatedId returns the RelatedId field if non-nil, zero value otherwise.
func (*Comment) GetRelatedIdOk ¶
GetOkRelatedId returns a tuple with the RelatedId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) GetResource ¶
GetResource returns the Resource field if non-nil, zero value otherwise.
func (*Comment) GetResourceOk ¶
GetOkResource returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) GetUrlOk ¶
GetOkUrl returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Comment) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Comment) HasRelatedId ¶
HasRelatedId returns a boolean if a field has been set.
func (*Comment) HasResource ¶
HasResource returns a boolean if a field has been set.
func (*Comment) SetMessage ¶
SetMessage allocates a new c.Message and returns the pointer to it.
func (*Comment) SetRelatedId ¶
SetRelatedId allocates a new c.RelatedId and returns the pointer to it.
func (*Comment) SetResource ¶
SetResource allocates a new c.Resource and returns the pointer to it.
type ConditionalFormat ¶
type ConditionalFormat struct { Color *string `json:"color,omitempty"` Comparator *string `json:"comparator,omitempty"` Inverted *bool `json:"invert,omitempty"` Value *int `json:"value,omitempty"` }
func (*ConditionalFormat) GetColor ¶
func (c *ConditionalFormat) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetColorOk ¶
func (c *ConditionalFormat) GetColorOk() (string, bool)
GetOkColor returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) GetComparator ¶
func (c *ConditionalFormat) GetComparator() string
GetComparator returns the Comparator field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetComparatorOk ¶
func (c *ConditionalFormat) GetComparatorOk() (string, bool)
GetOkComparator returns a tuple with the Comparator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) GetInverted ¶
func (c *ConditionalFormat) GetInverted() bool
GetInverted returns the Inverted field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetInvertedOk ¶
func (c *ConditionalFormat) GetInvertedOk() (bool, bool)
GetOkInverted returns a tuple with the Inverted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) GetValue ¶
func (c *ConditionalFormat) GetValue() int
GetValue returns the Value field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetValueOk ¶
func (c *ConditionalFormat) GetValueOk() (int, bool)
GetOkValue returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) HasColor ¶
func (c *ConditionalFormat) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*ConditionalFormat) HasComparator ¶
func (c *ConditionalFormat) HasComparator() bool
HasComparator returns a boolean if a field has been set.
func (*ConditionalFormat) HasInverted ¶
func (c *ConditionalFormat) HasInverted() bool
HasInverted returns a boolean if a field has been set.
func (*ConditionalFormat) HasValue ¶
func (c *ConditionalFormat) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*ConditionalFormat) SetColor ¶
func (c *ConditionalFormat) SetColor(v string)
SetColor allocates a new c.Color and returns the pointer to it.
func (*ConditionalFormat) SetComparator ¶
func (c *ConditionalFormat) SetComparator(v string)
SetComparator allocates a new c.Comparator and returns the pointer to it.
func (*ConditionalFormat) SetInverted ¶
func (c *ConditionalFormat) SetInverted(v bool)
SetInverted allocates a new c.Inverted and returns the pointer to it.
func (*ConditionalFormat) SetValue ¶
func (c *ConditionalFormat) SetValue(v int)
SetValue allocates a new c.Value and returns the pointer to it.
type Creator ¶
type Creator struct { Email *string `json:"email,omitempty"` Handle *string `json:"handle,omitempty"` Id *int `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
Creator contains the creator of the monitor
func (*Creator) GetEmailOk ¶
GetOkEmail returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Creator) GetHandleOk ¶
GetOkHandle returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Creator) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Creator) GetNameOk ¶
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
type Dashboard ¶
type Dashboard struct { Id *int `json:"id,omitempty"` Description *string `json:"description,omitempty"` Title *string `json:"title,omitempty"` Graphs []Graph `json:"graphs,omitempty"` TemplateVariables []TemplateVariable `json:"template_variables,omitempty"` ReadOnly *bool `json:"read_only,omitempty"` }
Dashboard represents a user created dashboard. This is the full dashboard struct when we load a dashboard in detail.
func (*Dashboard) GetDescription ¶
GetDescription returns the Description field if non-nil, zero value otherwise.
func (*Dashboard) GetDescriptionOk ¶
GetOkDescription returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Dashboard) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Dashboard) GetReadOnly ¶
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (*Dashboard) GetReadOnlyOk ¶
GetOkReadOnly returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Dashboard) GetTitleOk ¶
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Dashboard) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Dashboard) HasReadOnly ¶
HasReadOnly returns a boolean if a field has been set.
func (*Dashboard) SetDescription ¶
SetDescription allocates a new d.Description and returns the pointer to it.
func (*Dashboard) SetReadOnly ¶
SetReadOnly allocates a new d.ReadOnly and returns the pointer to it.
type DashboardConditionalFormat ¶
type DashboardConditionalFormat struct { Palette *string `json:"palette,omitempty"` Comparator *string `json:"comparator,omitempty"` CustomBgColor *string `json:"custom_bg_color,omitempty"` Value *json.Number `json:"value,omitempty"` Inverted *bool `json:"invert,omitempty"` CustomFgColor *string `json:"custom_fg_color,omitempty"` CustomImageUrl *string `json:"custom_image,omitempty"` }
func (*DashboardConditionalFormat) GetComparator ¶
func (d *DashboardConditionalFormat) GetComparator() string
GetComparator returns the Comparator field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetComparatorOk ¶
func (d *DashboardConditionalFormat) GetComparatorOk() (string, bool)
GetOkComparator returns a tuple with the Comparator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetCustomBgColor ¶
func (d *DashboardConditionalFormat) GetCustomBgColor() string
GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetCustomBgColorOk ¶
func (d *DashboardConditionalFormat) GetCustomBgColorOk() (string, bool)
GetOkCustomBgColor returns a tuple with the CustomBgColor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetCustomFgColor ¶
func (d *DashboardConditionalFormat) GetCustomFgColor() string
GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetCustomFgColorOk ¶
func (d *DashboardConditionalFormat) GetCustomFgColorOk() (string, bool)
GetOkCustomFgColor returns a tuple with the CustomFgColor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetCustomImageUrl ¶
func (d *DashboardConditionalFormat) GetCustomImageUrl() string
GetCustomImageUrl returns the CustomImageUrl field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetCustomImageUrlOk ¶
func (d *DashboardConditionalFormat) GetCustomImageUrlOk() (string, bool)
GetOkCustomImageUrl returns a tuple with the CustomImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetInverted ¶
func (d *DashboardConditionalFormat) GetInverted() bool
GetInverted returns the Inverted field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetInvertedOk ¶
func (d *DashboardConditionalFormat) GetInvertedOk() (bool, bool)
GetOkInverted returns a tuple with the Inverted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetPalette ¶
func (d *DashboardConditionalFormat) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetPaletteOk ¶
func (d *DashboardConditionalFormat) GetPaletteOk() (string, bool)
GetOkPalette returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) GetValue ¶
func (d *DashboardConditionalFormat) GetValue() json.Number
GetValue returns the Value field if non-nil, zero value otherwise.
func (*DashboardConditionalFormat) GetValueOk ¶
func (d *DashboardConditionalFormat) GetValueOk() (json.Number, bool)
GetOkValue returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardConditionalFormat) HasComparator ¶
func (d *DashboardConditionalFormat) HasComparator() bool
HasComparator returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasCustomBgColor ¶
func (d *DashboardConditionalFormat) HasCustomBgColor() bool
HasCustomBgColor returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasCustomFgColor ¶
func (d *DashboardConditionalFormat) HasCustomFgColor() bool
HasCustomFgColor returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasCustomImageUrl ¶
func (d *DashboardConditionalFormat) HasCustomImageUrl() bool
HasCustomImageUrl returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasInverted ¶
func (d *DashboardConditionalFormat) HasInverted() bool
HasInverted returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasPalette ¶
func (d *DashboardConditionalFormat) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*DashboardConditionalFormat) HasValue ¶
func (d *DashboardConditionalFormat) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*DashboardConditionalFormat) SetComparator ¶
func (d *DashboardConditionalFormat) SetComparator(v string)
SetComparator allocates a new d.Comparator and returns the pointer to it.
func (*DashboardConditionalFormat) SetCustomBgColor ¶
func (d *DashboardConditionalFormat) SetCustomBgColor(v string)
SetCustomBgColor allocates a new d.CustomBgColor and returns the pointer to it.
func (*DashboardConditionalFormat) SetCustomFgColor ¶
func (d *DashboardConditionalFormat) SetCustomFgColor(v string)
SetCustomFgColor allocates a new d.CustomFgColor and returns the pointer to it.
func (*DashboardConditionalFormat) SetCustomImageUrl ¶
func (d *DashboardConditionalFormat) SetCustomImageUrl(v string)
SetCustomImageUrl allocates a new d.CustomImageUrl and returns the pointer to it.
func (*DashboardConditionalFormat) SetInverted ¶
func (d *DashboardConditionalFormat) SetInverted(v bool)
SetInverted allocates a new d.Inverted and returns the pointer to it.
func (*DashboardConditionalFormat) SetPalette ¶
func (d *DashboardConditionalFormat) SetPalette(v string)
SetPalette allocates a new d.Palette and returns the pointer to it.
func (*DashboardConditionalFormat) SetValue ¶
func (d *DashboardConditionalFormat) SetValue(v json.Number)
SetValue allocates a new d.Value and returns the pointer to it.
type DashboardLite ¶
type DashboardLite struct { Id *int `json:"id,string,omitempty"` // TODO: Remove ',string'. Resource *string `json:"resource,omitempty"` Description *string `json:"description,omitempty"` Title *string `json:"title,omitempty"` }
DashboardLite represents a user created dashboard. This is the mini struct when we load the summaries.
func (*DashboardLite) GetDescription ¶
func (d *DashboardLite) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (*DashboardLite) GetDescriptionOk ¶
func (d *DashboardLite) GetDescriptionOk() (string, bool)
GetOkDescription returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) GetId ¶
func (d *DashboardLite) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*DashboardLite) GetIdOk ¶
func (d *DashboardLite) GetIdOk() (int, bool)
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) GetResource ¶
func (d *DashboardLite) GetResource() string
GetResource returns the Resource field if non-nil, zero value otherwise.
func (*DashboardLite) GetResourceOk ¶
func (d *DashboardLite) GetResourceOk() (string, bool)
GetOkResource returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) GetTitle ¶
func (d *DashboardLite) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*DashboardLite) GetTitleOk ¶
func (d *DashboardLite) GetTitleOk() (string, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) HasDescription ¶
func (d *DashboardLite) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DashboardLite) HasId ¶
func (d *DashboardLite) HasId() bool
HasId returns a boolean if a field has been set.
func (*DashboardLite) HasResource ¶
func (d *DashboardLite) HasResource() bool
HasResource returns a boolean if a field has been set.
func (*DashboardLite) HasTitle ¶
func (d *DashboardLite) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*DashboardLite) SetDescription ¶
func (d *DashboardLite) SetDescription(v string)
SetDescription allocates a new d.Description and returns the pointer to it.
func (*DashboardLite) SetId ¶
func (d *DashboardLite) SetId(v int)
SetId allocates a new d.Id and returns the pointer to it.
func (*DashboardLite) SetResource ¶
func (d *DashboardLite) SetResource(v string)
SetResource allocates a new d.Resource and returns the pointer to it.
func (*DashboardLite) SetTitle ¶
func (d *DashboardLite) SetTitle(v string)
SetTitle allocates a new d.Title and returns the pointer to it.
type DataPoint ¶
type DataPoint [2]float64
DataPoint is a tuple of [UNIX timestamp, value]. This has to use floats because the value could be non-integer.
type Downtime ¶
type Downtime struct { Active *bool `json:"active,omitempty"` Canceled *int `json:"canceled,omitempty"` Disabled *bool `json:"disabled,omitempty"` End *int `json:"end,omitempty"` Id *int `json:"id,omitempty"` MonitorId *int `json:"monitor_id,omitempty"` Message *string `json:"message,omitempty"` Recurrence *Recurrence `json:"recurrence,omitempty"` Scope []string `json:"scope,omitempty"` Start *int `json:"start,omitempty"` }
func (*Downtime) GetActiveOk ¶
GetOkActive returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetCanceled ¶
GetCanceled returns the Canceled field if non-nil, zero value otherwise.
func (*Downtime) GetCanceledOk ¶
GetOkCanceled returns a tuple with the Canceled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetDisabled ¶
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (*Downtime) GetDisabledOk ¶
GetOkDisabled returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetEndOk ¶
GetOkEnd returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetMessage ¶
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*Downtime) GetMessageOk ¶
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetMonitorId ¶
GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.
func (*Downtime) GetMonitorIdOk ¶
GetOkMonitorId returns a tuple with the MonitorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetRecurrence ¶
func (d *Downtime) GetRecurrence() Recurrence
GetRecurrence returns the Recurrence field if non-nil, zero value otherwise.
func (*Downtime) GetRecurrenceOk ¶
func (d *Downtime) GetRecurrenceOk() (Recurrence, bool)
GetOkRecurrence returns a tuple with the Recurrence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) GetStartOk ¶
GetOkStart returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Downtime) HasCanceled ¶
HasCanceled returns a boolean if a field has been set.
func (*Downtime) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (*Downtime) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Downtime) HasMonitorId ¶
HasMonitorId returns a boolean if a field has been set.
func (*Downtime) HasRecurrence ¶
HasRecurrence returns a boolean if a field has been set.
func (*Downtime) SetCanceled ¶
SetCanceled allocates a new d.Canceled and returns the pointer to it.
func (*Downtime) SetDisabled ¶
SetDisabled allocates a new d.Disabled and returns the pointer to it.
func (*Downtime) SetMessage ¶
SetMessage allocates a new d.Message and returns the pointer to it.
func (*Downtime) SetMonitorId ¶
SetMonitorId allocates a new d.MonitorId and returns the pointer to it.
func (*Downtime) SetRecurrence ¶
func (d *Downtime) SetRecurrence(v Recurrence)
SetRecurrence allocates a new d.Recurrence and returns the pointer to it.
type Event ¶
type Event struct { Id *int `json:"id,omitempty"` Title *string `json:"title,omitempty"` Text *string `json:"text,omitempty"` Time *int `json:"date_happened,omitempty"` // UNIX time. Priority *string `json:"priority,omitempty"` AlertType *string `json:"alert_type,omitempty"` Host *string `json:"host,omitempty"` Aggregation *string `json:"aggregation_key,omitempty"` SourceType *string `json:"source_type_name,omitempty"` Tags []string `json:"tags,omitempty"` Url *string `json:"url,omitempty"` Resource *string `json:"resource,omitempty"` EventType *string `json:"event_type,omitempty"` }
Event is a single event. If this is being used to post an event, then not all fields will be filled out.
func (*Event) GetAggregation ¶
GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
func (*Event) GetAggregationOk ¶
GetOkAggregation returns a tuple with the Aggregation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetAlertType ¶
GetAlertType returns the AlertType field if non-nil, zero value otherwise.
func (*Event) GetAlertTypeOk ¶
GetOkAlertType returns a tuple with the AlertType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetEventType ¶
GetEventType returns the EventType field if non-nil, zero value otherwise.
func (*Event) GetEventTypeOk ¶
GetOkEventType returns a tuple with the EventType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetHostOk ¶
GetOkHost returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetPriority ¶
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (*Event) GetPriorityOk ¶
GetOkPriority returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetResource ¶
GetResource returns the Resource field if non-nil, zero value otherwise.
func (*Event) GetResourceOk ¶
GetOkResource returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetSourceType ¶
GetSourceType returns the SourceType field if non-nil, zero value otherwise.
func (*Event) GetSourceTypeOk ¶
GetOkSourceType returns a tuple with the SourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetTextOk ¶
GetOkText returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetTimeOk ¶
GetOkTime returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetTitleOk ¶
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) GetUrlOk ¶
GetOkUrl returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Event) HasAggregation ¶
HasAggregation returns a boolean if a field has been set.
func (*Event) HasAlertType ¶
HasAlertType returns a boolean if a field has been set.
func (*Event) HasEventType ¶
HasEventType returns a boolean if a field has been set.
func (*Event) HasPriority ¶
HasPriority returns a boolean if a field has been set.
func (*Event) HasResource ¶
HasResource returns a boolean if a field has been set.
func (*Event) HasSourceType ¶
HasSourceType returns a boolean if a field has been set.
func (*Event) SetAggregation ¶
SetAggregation allocates a new e.Aggregation and returns the pointer to it.
func (*Event) SetAlertType ¶
SetAlertType allocates a new e.AlertType and returns the pointer to it.
func (*Event) SetEventType ¶
SetEventType allocates a new e.EventType and returns the pointer to it.
func (*Event) SetPriority ¶
SetPriority allocates a new e.Priority and returns the pointer to it.
func (*Event) SetResource ¶
SetResource allocates a new e.Resource and returns the pointer to it.
func (*Event) SetSourceType ¶
SetSourceType allocates a new e.SourceType and returns the pointer to it.
type EventStreamWidget ¶
type EventStreamWidget struct { EventSize *string `json:"event_size,omitempty"` Height *int `json:"height,omitempty"` Query *string `json:"query,omitempty"` Timeframe *string `json:"timeframe,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleSize *TextSize `json:"title_size,omitempty"` TitleText *string `json:"title_text,omitempty"` Type *string `json:"type,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*EventStreamWidget) GetEventSize ¶
func (e *EventStreamWidget) GetEventSize() string
GetEventSize returns the EventSize field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetEventSizeOk ¶
func (e *EventStreamWidget) GetEventSizeOk() (string, bool)
GetOkEventSize returns a tuple with the EventSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetHeight ¶
func (e *EventStreamWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetHeightOk ¶
func (e *EventStreamWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetQuery ¶
func (e *EventStreamWidget) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetQueryOk ¶
func (e *EventStreamWidget) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetTimeframe ¶
func (e *EventStreamWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTimeframeOk ¶
func (e *EventStreamWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetTitle ¶
func (e *EventStreamWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTitleAlign ¶
func (e *EventStreamWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTitleAlignOk ¶
func (e *EventStreamWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetTitleOk ¶
func (e *EventStreamWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetTitleSize ¶
func (e *EventStreamWidget) GetTitleSize() TextSize
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTitleSizeOk ¶
func (e *EventStreamWidget) GetTitleSizeOk() (TextSize, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetTitleText ¶
func (e *EventStreamWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTitleTextOk ¶
func (e *EventStreamWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetType ¶
func (e *EventStreamWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetTypeOk ¶
func (e *EventStreamWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetWidth ¶
func (e *EventStreamWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetWidthOk ¶
func (e *EventStreamWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetX ¶
func (e *EventStreamWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetXOk ¶
func (e *EventStreamWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) GetY ¶
func (e *EventStreamWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*EventStreamWidget) GetYOk ¶
func (e *EventStreamWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventStreamWidget) HasEventSize ¶
func (e *EventStreamWidget) HasEventSize() bool
HasEventSize returns a boolean if a field has been set.
func (*EventStreamWidget) HasHeight ¶
func (e *EventStreamWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*EventStreamWidget) HasQuery ¶
func (e *EventStreamWidget) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*EventStreamWidget) HasTimeframe ¶
func (e *EventStreamWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*EventStreamWidget) HasTitle ¶
func (e *EventStreamWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*EventStreamWidget) HasTitleAlign ¶
func (e *EventStreamWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*EventStreamWidget) HasTitleSize ¶
func (e *EventStreamWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*EventStreamWidget) HasTitleText ¶
func (e *EventStreamWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*EventStreamWidget) HasType ¶
func (e *EventStreamWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*EventStreamWidget) HasWidth ¶
func (e *EventStreamWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*EventStreamWidget) HasX ¶
func (e *EventStreamWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*EventStreamWidget) HasY ¶
func (e *EventStreamWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*EventStreamWidget) SetEventSize ¶
func (e *EventStreamWidget) SetEventSize(v string)
SetEventSize allocates a new e.EventSize and returns the pointer to it.
func (*EventStreamWidget) SetHeight ¶
func (e *EventStreamWidget) SetHeight(v int)
SetHeight allocates a new e.Height and returns the pointer to it.
func (*EventStreamWidget) SetQuery ¶
func (e *EventStreamWidget) SetQuery(v string)
SetQuery allocates a new e.Query and returns the pointer to it.
func (*EventStreamWidget) SetTimeframe ¶
func (e *EventStreamWidget) SetTimeframe(v string)
SetTimeframe allocates a new e.Timeframe and returns the pointer to it.
func (*EventStreamWidget) SetTitle ¶
func (e *EventStreamWidget) SetTitle(v bool)
SetTitle allocates a new e.Title and returns the pointer to it.
func (*EventStreamWidget) SetTitleAlign ¶
func (e *EventStreamWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
func (*EventStreamWidget) SetTitleSize ¶
func (e *EventStreamWidget) SetTitleSize(v TextSize)
SetTitleSize allocates a new e.TitleSize and returns the pointer to it.
func (*EventStreamWidget) SetTitleText ¶
func (e *EventStreamWidget) SetTitleText(v string)
SetTitleText allocates a new e.TitleText and returns the pointer to it.
func (*EventStreamWidget) SetType ¶
func (e *EventStreamWidget) SetType(v string)
SetType allocates a new e.Type and returns the pointer to it.
func (*EventStreamWidget) SetWidth ¶
func (e *EventStreamWidget) SetWidth(v int)
SetWidth allocates a new e.Width and returns the pointer to it.
func (*EventStreamWidget) SetX ¶
func (e *EventStreamWidget) SetX(v int)
SetX allocates a new e.X and returns the pointer to it.
func (*EventStreamWidget) SetY ¶
func (e *EventStreamWidget) SetY(v int)
SetY allocates a new e.Y and returns the pointer to it.
type EventTimelineWidget ¶
type EventTimelineWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Type *string `json:"type,omitempty"` Timeframe *string `json:"timeframe,omitempty"` Query *string `json:"query,omitempty"` }
func (*EventTimelineWidget) GetHeight ¶
func (e *EventTimelineWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetHeightOk ¶
func (e *EventTimelineWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetQuery ¶
func (e *EventTimelineWidget) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetQueryOk ¶
func (e *EventTimelineWidget) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetTimeframe ¶
func (e *EventTimelineWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTimeframeOk ¶
func (e *EventTimelineWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetTitle ¶
func (e *EventTimelineWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTitleAlign ¶
func (e *EventTimelineWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTitleAlignOk ¶
func (e *EventTimelineWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetTitleOk ¶
func (e *EventTimelineWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetTitleSize ¶
func (e *EventTimelineWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTitleSizeOk ¶
func (e *EventTimelineWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetTitleText ¶
func (e *EventTimelineWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTitleTextOk ¶
func (e *EventTimelineWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetType ¶
func (e *EventTimelineWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetTypeOk ¶
func (e *EventTimelineWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetWidth ¶
func (e *EventTimelineWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetWidthOk ¶
func (e *EventTimelineWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetX ¶
func (e *EventTimelineWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetXOk ¶
func (e *EventTimelineWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) GetY ¶
func (e *EventTimelineWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*EventTimelineWidget) GetYOk ¶
func (e *EventTimelineWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*EventTimelineWidget) HasHeight ¶
func (e *EventTimelineWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*EventTimelineWidget) HasQuery ¶
func (e *EventTimelineWidget) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*EventTimelineWidget) HasTimeframe ¶
func (e *EventTimelineWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*EventTimelineWidget) HasTitle ¶
func (e *EventTimelineWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*EventTimelineWidget) HasTitleAlign ¶
func (e *EventTimelineWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*EventTimelineWidget) HasTitleSize ¶
func (e *EventTimelineWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*EventTimelineWidget) HasTitleText ¶
func (e *EventTimelineWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*EventTimelineWidget) HasType ¶
func (e *EventTimelineWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*EventTimelineWidget) HasWidth ¶
func (e *EventTimelineWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*EventTimelineWidget) HasX ¶
func (e *EventTimelineWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*EventTimelineWidget) HasY ¶
func (e *EventTimelineWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*EventTimelineWidget) SetHeight ¶
func (e *EventTimelineWidget) SetHeight(v int)
SetHeight allocates a new e.Height and returns the pointer to it.
func (*EventTimelineWidget) SetQuery ¶
func (e *EventTimelineWidget) SetQuery(v string)
SetQuery allocates a new e.Query and returns the pointer to it.
func (*EventTimelineWidget) SetTimeframe ¶
func (e *EventTimelineWidget) SetTimeframe(v string)
SetTimeframe allocates a new e.Timeframe and returns the pointer to it.
func (*EventTimelineWidget) SetTitle ¶
func (e *EventTimelineWidget) SetTitle(v bool)
SetTitle allocates a new e.Title and returns the pointer to it.
func (*EventTimelineWidget) SetTitleAlign ¶
func (e *EventTimelineWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
func (*EventTimelineWidget) SetTitleSize ¶
func (e *EventTimelineWidget) SetTitleSize(v int)
SetTitleSize allocates a new e.TitleSize and returns the pointer to it.
func (*EventTimelineWidget) SetTitleText ¶
func (e *EventTimelineWidget) SetTitleText(v string)
SetTitleText allocates a new e.TitleText and returns the pointer to it.
func (*EventTimelineWidget) SetType ¶
func (e *EventTimelineWidget) SetType(v string)
SetType allocates a new e.Type and returns the pointer to it.
func (*EventTimelineWidget) SetWidth ¶
func (e *EventTimelineWidget) SetWidth(v int)
SetWidth allocates a new e.Width and returns the pointer to it.
func (*EventTimelineWidget) SetX ¶
func (e *EventTimelineWidget) SetX(v int)
SetX allocates a new e.X and returns the pointer to it.
func (*EventTimelineWidget) SetY ¶
func (e *EventTimelineWidget) SetY(v int)
SetY allocates a new e.Y and returns the pointer to it.
type FreeTextWidget ¶
type FreeTextWidget struct { Color *string `json:"color,omitempty"` FontSize *string `json:"font_size,omitempty"` Height *int `json:"height,omitempty"` Text *string `json:"text,omitempty"` TextAlign *string `json:"text_align,omitempty"` Type *string `json:"type,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*FreeTextWidget) GetColor ¶
func (f *FreeTextWidget) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetColorOk ¶
func (f *FreeTextWidget) GetColorOk() (string, bool)
GetOkColor returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetFontSize ¶
func (f *FreeTextWidget) GetFontSize() string
GetFontSize returns the FontSize field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetFontSizeOk ¶
func (f *FreeTextWidget) GetFontSizeOk() (string, bool)
GetOkFontSize returns a tuple with the FontSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetHeight ¶
func (f *FreeTextWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetHeightOk ¶
func (f *FreeTextWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetText ¶
func (f *FreeTextWidget) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetTextAlign ¶
func (f *FreeTextWidget) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetTextAlignOk ¶
func (f *FreeTextWidget) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetTextOk ¶
func (f *FreeTextWidget) GetTextOk() (string, bool)
GetOkText returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetType ¶
func (f *FreeTextWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetTypeOk ¶
func (f *FreeTextWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetWidth ¶
func (f *FreeTextWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetWidthOk ¶
func (f *FreeTextWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetX ¶
func (f *FreeTextWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetXOk ¶
func (f *FreeTextWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) GetY ¶
func (f *FreeTextWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*FreeTextWidget) GetYOk ¶
func (f *FreeTextWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*FreeTextWidget) HasColor ¶
func (f *FreeTextWidget) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*FreeTextWidget) HasFontSize ¶
func (f *FreeTextWidget) HasFontSize() bool
HasFontSize returns a boolean if a field has been set.
func (*FreeTextWidget) HasHeight ¶
func (f *FreeTextWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*FreeTextWidget) HasText ¶
func (f *FreeTextWidget) HasText() bool
HasText returns a boolean if a field has been set.
func (*FreeTextWidget) HasTextAlign ¶
func (f *FreeTextWidget) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*FreeTextWidget) HasType ¶
func (f *FreeTextWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*FreeTextWidget) HasWidth ¶
func (f *FreeTextWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*FreeTextWidget) HasX ¶
func (f *FreeTextWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*FreeTextWidget) HasY ¶
func (f *FreeTextWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*FreeTextWidget) SetColor ¶
func (f *FreeTextWidget) SetColor(v string)
SetColor allocates a new f.Color and returns the pointer to it.
func (*FreeTextWidget) SetFontSize ¶
func (f *FreeTextWidget) SetFontSize(v string)
SetFontSize allocates a new f.FontSize and returns the pointer to it.
func (*FreeTextWidget) SetHeight ¶
func (f *FreeTextWidget) SetHeight(v int)
SetHeight allocates a new f.Height and returns the pointer to it.
func (*FreeTextWidget) SetText ¶
func (f *FreeTextWidget) SetText(v string)
SetText allocates a new f.Text and returns the pointer to it.
func (*FreeTextWidget) SetTextAlign ¶
func (f *FreeTextWidget) SetTextAlign(v string)
SetTextAlign allocates a new f.TextAlign and returns the pointer to it.
func (*FreeTextWidget) SetType ¶
func (f *FreeTextWidget) SetType(v string)
SetType allocates a new f.Type and returns the pointer to it.
func (*FreeTextWidget) SetWidth ¶
func (f *FreeTextWidget) SetWidth(v int)
SetWidth allocates a new f.Width and returns the pointer to it.
func (*FreeTextWidget) SetX ¶
func (f *FreeTextWidget) SetX(v int)
SetX allocates a new f.X and returns the pointer to it.
func (*FreeTextWidget) SetY ¶
func (f *FreeTextWidget) SetY(v int)
SetY allocates a new f.Y and returns the pointer to it.
type Graph ¶
type Graph struct { Title *string `json:"title,omitempty"` Definition *GraphDefinition `json:"definition"` }
Graph represents a graph that might exist on a dashboard.
func (*Graph) GetDefinition ¶
func (g *Graph) GetDefinition() GraphDefinition
GetDefinition returns the Definition field if non-nil, zero value otherwise.
func (*Graph) GetDefinitionOk ¶
func (g *Graph) GetDefinitionOk() (GraphDefinition, bool)
GetOkDefinition returns a tuple with the Definition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Graph) GetTitleOk ¶
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Graph) HasDefinition ¶
HasDefinition returns a boolean if a field has been set.
func (*Graph) SetDefinition ¶
func (g *Graph) SetDefinition(v GraphDefinition)
SetDefinition allocates a new g.Definition and returns the pointer to it.
type GraphDefinition ¶
type GraphDefinition struct { Viz *string `json:"viz,omitempty"` Requests []GraphDefinitionRequest `json:"requests,omitempty"` Events []GraphEvent `json:"events,omitempty"` Markers []GraphDefinitionMarker `json:"markers,omitempty"` // For timeseries type graphs Yaxis Yaxis `json:"yaxis,omitempty"` // For query value type graphs Autoscale *bool `json:"autoscale,omitempty"` TextAlign *string `json:"text_align,omitempty"` Precision *string `json:"precision,omitempty"` CustomUnit *string `json:"custom_unit,omitempty"` // For hostname type graphs Style *Style `json:"Style,omitempty"` Groups []string `json:"group,omitempty"` IncludeNoMetricHosts *bool `json:"noMetricHosts,omitempty"` Scopes []string `json:"scope,omitempty"` IncludeUngroupedHosts *bool `json:"noGroupHosts,omitempty"` }
func (*GraphDefinition) GetAutoscale ¶
func (g *GraphDefinition) GetAutoscale() bool
GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.
func (*GraphDefinition) GetAutoscaleOk ¶
func (g *GraphDefinition) GetAutoscaleOk() (bool, bool)
GetOkAutoscale returns a tuple with the Autoscale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetCustomUnit ¶
func (g *GraphDefinition) GetCustomUnit() string
GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.
func (*GraphDefinition) GetCustomUnitOk ¶
func (g *GraphDefinition) GetCustomUnitOk() (string, bool)
GetOkCustomUnit returns a tuple with the CustomUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetIncludeNoMetricHosts ¶
func (g *GraphDefinition) GetIncludeNoMetricHosts() bool
GetIncludeNoMetricHosts returns the IncludeNoMetricHosts field if non-nil, zero value otherwise.
func (*GraphDefinition) GetIncludeNoMetricHostsOk ¶
func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool)
GetOkIncludeNoMetricHosts returns a tuple with the IncludeNoMetricHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetIncludeUngroupedHosts ¶
func (g *GraphDefinition) GetIncludeUngroupedHosts() bool
GetIncludeUngroupedHosts returns the IncludeUngroupedHosts field if non-nil, zero value otherwise.
func (*GraphDefinition) GetIncludeUngroupedHostsOk ¶
func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool)
GetOkIncludeUngroupedHosts returns a tuple with the IncludeUngroupedHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetPrecision ¶
func (g *GraphDefinition) GetPrecision() string
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*GraphDefinition) GetPrecisionOk ¶
func (g *GraphDefinition) GetPrecisionOk() (string, bool)
GetOkPrecision returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetStyle ¶
func (g *GraphDefinition) GetStyle() Style
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*GraphDefinition) GetStyleOk ¶
func (g *GraphDefinition) GetStyleOk() (Style, bool)
GetOkStyle returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetTextAlign ¶
func (g *GraphDefinition) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*GraphDefinition) GetTextAlignOk ¶
func (g *GraphDefinition) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) GetViz ¶
func (g *GraphDefinition) GetViz() string
GetViz returns the Viz field if non-nil, zero value otherwise.
func (*GraphDefinition) GetVizOk ¶
func (g *GraphDefinition) GetVizOk() (string, bool)
GetOkViz returns a tuple with the Viz field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinition) HasAutoscale ¶
func (g *GraphDefinition) HasAutoscale() bool
HasAutoscale returns a boolean if a field has been set.
func (*GraphDefinition) HasCustomUnit ¶
func (g *GraphDefinition) HasCustomUnit() bool
HasCustomUnit returns a boolean if a field has been set.
func (*GraphDefinition) HasIncludeNoMetricHosts ¶
func (g *GraphDefinition) HasIncludeNoMetricHosts() bool
HasIncludeNoMetricHosts returns a boolean if a field has been set.
func (*GraphDefinition) HasIncludeUngroupedHosts ¶
func (g *GraphDefinition) HasIncludeUngroupedHosts() bool
HasIncludeUngroupedHosts returns a boolean if a field has been set.
func (*GraphDefinition) HasPrecision ¶
func (g *GraphDefinition) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*GraphDefinition) HasStyle ¶
func (g *GraphDefinition) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*GraphDefinition) HasTextAlign ¶
func (g *GraphDefinition) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*GraphDefinition) HasViz ¶
func (g *GraphDefinition) HasViz() bool
HasViz returns a boolean if a field has been set.
func (*GraphDefinition) SetAutoscale ¶
func (g *GraphDefinition) SetAutoscale(v bool)
SetAutoscale allocates a new g.Autoscale and returns the pointer to it.
func (*GraphDefinition) SetCustomUnit ¶
func (g *GraphDefinition) SetCustomUnit(v string)
SetCustomUnit allocates a new g.CustomUnit and returns the pointer to it.
func (*GraphDefinition) SetIncludeNoMetricHosts ¶
func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool)
SetIncludeNoMetricHosts allocates a new g.IncludeNoMetricHosts and returns the pointer to it.
func (*GraphDefinition) SetIncludeUngroupedHosts ¶
func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool)
SetIncludeUngroupedHosts allocates a new g.IncludeUngroupedHosts and returns the pointer to it.
func (*GraphDefinition) SetPrecision ¶
func (g *GraphDefinition) SetPrecision(v string)
SetPrecision allocates a new g.Precision and returns the pointer to it.
func (*GraphDefinition) SetStyle ¶
func (g *GraphDefinition) SetStyle(v Style)
SetStyle allocates a new g.Style and returns the pointer to it.
func (*GraphDefinition) SetTextAlign ¶
func (g *GraphDefinition) SetTextAlign(v string)
SetTextAlign allocates a new g.TextAlign and returns the pointer to it.
func (*GraphDefinition) SetViz ¶
func (g *GraphDefinition) SetViz(v string)
SetViz allocates a new g.Viz and returns the pointer to it.
type GraphDefinitionMarker ¶
type GraphDefinitionMarker struct { Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` Label *string `json:"label,omitempty"` Val *json.Number `json:"val,omitempty"` Min *json.Number `json:"min,omitempty"` Max *json.Number `json:"max,omitempty"` }
func (*GraphDefinitionMarker) GetLabel ¶
func (g *GraphDefinitionMarker) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetLabelOk ¶
func (g *GraphDefinitionMarker) GetLabelOk() (string, bool)
GetOkLabel returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) GetMax ¶
func (g *GraphDefinitionMarker) GetMax() json.Number
GetMax returns the Max field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetMaxOk ¶
func (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool)
GetOkMax returns a tuple with the Max field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) GetMin ¶
func (g *GraphDefinitionMarker) GetMin() json.Number
GetMin returns the Min field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetMinOk ¶
func (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool)
GetOkMin returns a tuple with the Min field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) GetType ¶
func (g *GraphDefinitionMarker) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetTypeOk ¶
func (g *GraphDefinitionMarker) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) GetVal ¶
func (g *GraphDefinitionMarker) GetVal() json.Number
GetVal returns the Val field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetValOk ¶
func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool)
GetOkVal returns a tuple with the Val field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) GetValue ¶
func (g *GraphDefinitionMarker) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (*GraphDefinitionMarker) GetValueOk ¶
func (g *GraphDefinitionMarker) GetValueOk() (string, bool)
GetOkValue returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionMarker) HasLabel ¶
func (g *GraphDefinitionMarker) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*GraphDefinitionMarker) HasMax ¶
func (g *GraphDefinitionMarker) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*GraphDefinitionMarker) HasMin ¶
func (g *GraphDefinitionMarker) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*GraphDefinitionMarker) HasType ¶
func (g *GraphDefinitionMarker) HasType() bool
HasType returns a boolean if a field has been set.
func (*GraphDefinitionMarker) HasVal ¶
func (g *GraphDefinitionMarker) HasVal() bool
HasVal returns a boolean if a field has been set.
func (*GraphDefinitionMarker) HasValue ¶
func (g *GraphDefinitionMarker) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*GraphDefinitionMarker) SetLabel ¶
func (g *GraphDefinitionMarker) SetLabel(v string)
SetLabel allocates a new g.Label and returns the pointer to it.
func (*GraphDefinitionMarker) SetMax ¶
func (g *GraphDefinitionMarker) SetMax(v json.Number)
SetMax allocates a new g.Max and returns the pointer to it.
func (*GraphDefinitionMarker) SetMin ¶
func (g *GraphDefinitionMarker) SetMin(v json.Number)
SetMin allocates a new g.Min and returns the pointer to it.
func (*GraphDefinitionMarker) SetType ¶
func (g *GraphDefinitionMarker) SetType(v string)
SetType allocates a new g.Type and returns the pointer to it.
func (*GraphDefinitionMarker) SetVal ¶
func (g *GraphDefinitionMarker) SetVal(v json.Number)
SetVal allocates a new g.Val and returns the pointer to it.
func (*GraphDefinitionMarker) SetValue ¶
func (g *GraphDefinitionMarker) SetValue(v string)
SetValue allocates a new g.Value and returns the pointer to it.
type GraphDefinitionRequest ¶
type GraphDefinitionRequest struct { Query *string `json:"q,omitempty"` Stacked *bool `json:"stacked,omitempty"` Aggregator *string `json:"aggregator,omitempty"` ConditionalFormats []DashboardConditionalFormat `json:"conditional_formats,omitempty"` Type *string `json:"type,omitempty"` Style *GraphDefinitionRequestStyle `json:"style,omitempty"` // For change type graphs ChangeType *string `json:"change_type,omitempty"` OrderDirection *string `json:"order_dir,omitempty"` CompareTo *string `json:"compare_to,omitempty"` IncreaseGood *bool `json:"increase_good,omitempty"` OrderBy *string `json:"order_by,omitempty"` ExtraCol *string `json:"extra_col,omitempty"` }
GraphDefinitionRequest represents the requests passed into each graph.
func (*GraphDefinitionRequest) GetAggregator ¶
func (g *GraphDefinitionRequest) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetAggregatorOk ¶
func (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool)
GetOkAggregator returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetChangeType ¶
func (g *GraphDefinitionRequest) GetChangeType() string
GetChangeType returns the ChangeType field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetChangeTypeOk ¶
func (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool)
GetOkChangeType returns a tuple with the ChangeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetCompareTo ¶
func (g *GraphDefinitionRequest) GetCompareTo() string
GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetCompareToOk ¶
func (g *GraphDefinitionRequest) GetCompareToOk() (string, bool)
GetOkCompareTo returns a tuple with the CompareTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetExtraCol ¶
func (g *GraphDefinitionRequest) GetExtraCol() string
GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetExtraColOk ¶
func (g *GraphDefinitionRequest) GetExtraColOk() (string, bool)
GetOkExtraCol returns a tuple with the ExtraCol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetIncreaseGood ¶
func (g *GraphDefinitionRequest) GetIncreaseGood() bool
GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetIncreaseGoodOk ¶
func (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool)
GetOkIncreaseGood returns a tuple with the IncreaseGood field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetOrderBy ¶
func (g *GraphDefinitionRequest) GetOrderBy() string
GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetOrderByOk ¶
func (g *GraphDefinitionRequest) GetOrderByOk() (string, bool)
GetOkOrderBy returns a tuple with the OrderBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetOrderDirection ¶
func (g *GraphDefinitionRequest) GetOrderDirection() string
GetOrderDirection returns the OrderDirection field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetOrderDirectionOk ¶
func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool)
GetOkOrderDirection returns a tuple with the OrderDirection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetQuery ¶
func (g *GraphDefinitionRequest) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetQueryOk ¶
func (g *GraphDefinitionRequest) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetStacked ¶
func (g *GraphDefinitionRequest) GetStacked() bool
GetStacked returns the Stacked field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetStackedOk ¶
func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool)
GetOkStacked returns a tuple with the Stacked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetStyle ¶
func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetStyleOk ¶
func (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool)
GetOkStyle returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) GetType ¶
func (g *GraphDefinitionRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*GraphDefinitionRequest) GetTypeOk ¶
func (g *GraphDefinitionRequest) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequest) HasAggregator ¶
func (g *GraphDefinitionRequest) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasChangeType ¶
func (g *GraphDefinitionRequest) HasChangeType() bool
HasChangeType returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasCompareTo ¶
func (g *GraphDefinitionRequest) HasCompareTo() bool
HasCompareTo returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasExtraCol ¶
func (g *GraphDefinitionRequest) HasExtraCol() bool
HasExtraCol returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasIncreaseGood ¶
func (g *GraphDefinitionRequest) HasIncreaseGood() bool
HasIncreaseGood returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasOrderBy ¶
func (g *GraphDefinitionRequest) HasOrderBy() bool
HasOrderBy returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasOrderDirection ¶
func (g *GraphDefinitionRequest) HasOrderDirection() bool
HasOrderDirection returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasQuery ¶
func (g *GraphDefinitionRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasStacked ¶
func (g *GraphDefinitionRequest) HasStacked() bool
HasStacked returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasStyle ¶
func (g *GraphDefinitionRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*GraphDefinitionRequest) HasType ¶
func (g *GraphDefinitionRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*GraphDefinitionRequest) SetAggregator ¶
func (g *GraphDefinitionRequest) SetAggregator(v string)
SetAggregator allocates a new g.Aggregator and returns the pointer to it.
func (*GraphDefinitionRequest) SetChangeType ¶
func (g *GraphDefinitionRequest) SetChangeType(v string)
SetChangeType allocates a new g.ChangeType and returns the pointer to it.
func (*GraphDefinitionRequest) SetCompareTo ¶
func (g *GraphDefinitionRequest) SetCompareTo(v string)
SetCompareTo allocates a new g.CompareTo and returns the pointer to it.
func (*GraphDefinitionRequest) SetExtraCol ¶
func (g *GraphDefinitionRequest) SetExtraCol(v string)
SetExtraCol allocates a new g.ExtraCol and returns the pointer to it.
func (*GraphDefinitionRequest) SetIncreaseGood ¶
func (g *GraphDefinitionRequest) SetIncreaseGood(v bool)
SetIncreaseGood allocates a new g.IncreaseGood and returns the pointer to it.
func (*GraphDefinitionRequest) SetOrderBy ¶
func (g *GraphDefinitionRequest) SetOrderBy(v string)
SetOrderBy allocates a new g.OrderBy and returns the pointer to it.
func (*GraphDefinitionRequest) SetOrderDirection ¶
func (g *GraphDefinitionRequest) SetOrderDirection(v string)
SetOrderDirection allocates a new g.OrderDirection and returns the pointer to it.
func (*GraphDefinitionRequest) SetQuery ¶
func (g *GraphDefinitionRequest) SetQuery(v string)
SetQuery allocates a new g.Query and returns the pointer to it.
func (*GraphDefinitionRequest) SetStacked ¶
func (g *GraphDefinitionRequest) SetStacked(v bool)
SetStacked allocates a new g.Stacked and returns the pointer to it.
func (*GraphDefinitionRequest) SetStyle ¶
func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle)
SetStyle allocates a new g.Style and returns the pointer to it.
func (*GraphDefinitionRequest) SetType ¶
func (g *GraphDefinitionRequest) SetType(v string)
SetType allocates a new g.Type and returns the pointer to it.
type GraphDefinitionRequestStyle ¶
type GraphDefinitionRequestStyle struct { Palette *string `json:"palette,omitempty"` Width *string `json:"width,omitempty"` Type *string `json:"type,omitempty"` }
GraphDefinitionRequestStyle represents the graph style attributes
func (*GraphDefinitionRequestStyle) GetPalette ¶
func (g *GraphDefinitionRequestStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*GraphDefinitionRequestStyle) GetPaletteOk ¶
func (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool)
GetOkPalette returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequestStyle) GetType ¶
func (g *GraphDefinitionRequestStyle) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*GraphDefinitionRequestStyle) GetTypeOk ¶
func (g *GraphDefinitionRequestStyle) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequestStyle) GetWidth ¶
func (g *GraphDefinitionRequestStyle) GetWidth() string
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*GraphDefinitionRequestStyle) GetWidthOk ¶
func (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphDefinitionRequestStyle) HasPalette ¶
func (g *GraphDefinitionRequestStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*GraphDefinitionRequestStyle) HasType ¶
func (g *GraphDefinitionRequestStyle) HasType() bool
HasType returns a boolean if a field has been set.
func (*GraphDefinitionRequestStyle) HasWidth ¶
func (g *GraphDefinitionRequestStyle) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*GraphDefinitionRequestStyle) SetPalette ¶
func (g *GraphDefinitionRequestStyle) SetPalette(v string)
SetPalette allocates a new g.Palette and returns the pointer to it.
func (*GraphDefinitionRequestStyle) SetType ¶
func (g *GraphDefinitionRequestStyle) SetType(v string)
SetType allocates a new g.Type and returns the pointer to it.
func (*GraphDefinitionRequestStyle) SetWidth ¶
func (g *GraphDefinitionRequestStyle) SetWidth(v string)
SetWidth allocates a new g.Width and returns the pointer to it.
type GraphEvent ¶
type GraphEvent struct {
Query *string `json:"q,omitempty"`
}
func (*GraphEvent) GetQuery ¶
func (g *GraphEvent) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*GraphEvent) GetQueryOk ¶
func (g *GraphEvent) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphEvent) HasQuery ¶
func (g *GraphEvent) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*GraphEvent) SetQuery ¶
func (g *GraphEvent) SetQuery(v string)
SetQuery allocates a new g.Query and returns the pointer to it.
type GraphWidget ¶
type GraphWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Type *string `json:"type,omitempty"` Timeframe *string `json:"timeframe,omitempty"` LegendSize *int `json:"legend_size,omitempty"` Legend *bool `json:"legend,omitempty"` TileDef *TileDef `json:"tile_def,omitempty"` }
func (*GraphWidget) GetHeight ¶
func (g *GraphWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*GraphWidget) GetHeightOk ¶
func (g *GraphWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetLegend ¶
func (g *GraphWidget) GetLegend() bool
GetLegend returns the Legend field if non-nil, zero value otherwise.
func (*GraphWidget) GetLegendOk ¶
func (g *GraphWidget) GetLegendOk() (bool, bool)
GetOkLegend returns a tuple with the Legend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetLegendSize ¶
func (g *GraphWidget) GetLegendSize() int
GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
func (*GraphWidget) GetLegendSizeOk ¶
func (g *GraphWidget) GetLegendSizeOk() (int, bool)
GetOkLegendSize returns a tuple with the LegendSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTileDef ¶
func (g *GraphWidget) GetTileDef() TileDef
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*GraphWidget) GetTileDefOk ¶
func (g *GraphWidget) GetTileDefOk() (TileDef, bool)
GetOkTileDef returns a tuple with the TileDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTimeframe ¶
func (g *GraphWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*GraphWidget) GetTimeframeOk ¶
func (g *GraphWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTitle ¶
func (g *GraphWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*GraphWidget) GetTitleAlign ¶
func (g *GraphWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*GraphWidget) GetTitleAlignOk ¶
func (g *GraphWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTitleOk ¶
func (g *GraphWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTitleSize ¶
func (g *GraphWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*GraphWidget) GetTitleSizeOk ¶
func (g *GraphWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetTitleText ¶
func (g *GraphWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*GraphWidget) GetTitleTextOk ¶
func (g *GraphWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetType ¶
func (g *GraphWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*GraphWidget) GetTypeOk ¶
func (g *GraphWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetWidth ¶
func (g *GraphWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*GraphWidget) GetWidthOk ¶
func (g *GraphWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetX ¶
func (g *GraphWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*GraphWidget) GetXOk ¶
func (g *GraphWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) GetY ¶
func (g *GraphWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*GraphWidget) GetYOk ¶
func (g *GraphWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GraphWidget) HasHeight ¶
func (g *GraphWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*GraphWidget) HasLegend ¶
func (g *GraphWidget) HasLegend() bool
HasLegend returns a boolean if a field has been set.
func (*GraphWidget) HasLegendSize ¶
func (g *GraphWidget) HasLegendSize() bool
HasLegendSize returns a boolean if a field has been set.
func (*GraphWidget) HasTileDef ¶
func (g *GraphWidget) HasTileDef() bool
HasTileDef returns a boolean if a field has been set.
func (*GraphWidget) HasTimeframe ¶
func (g *GraphWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*GraphWidget) HasTitle ¶
func (g *GraphWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*GraphWidget) HasTitleAlign ¶
func (g *GraphWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*GraphWidget) HasTitleSize ¶
func (g *GraphWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*GraphWidget) HasTitleText ¶
func (g *GraphWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*GraphWidget) HasType ¶
func (g *GraphWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*GraphWidget) HasWidth ¶
func (g *GraphWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*GraphWidget) HasX ¶
func (g *GraphWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*GraphWidget) HasY ¶
func (g *GraphWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*GraphWidget) SetHeight ¶
func (g *GraphWidget) SetHeight(v int)
SetHeight allocates a new g.Height and returns the pointer to it.
func (*GraphWidget) SetLegend ¶
func (g *GraphWidget) SetLegend(v bool)
SetLegend allocates a new g.Legend and returns the pointer to it.
func (*GraphWidget) SetLegendSize ¶
func (g *GraphWidget) SetLegendSize(v int)
SetLegendSize allocates a new g.LegendSize and returns the pointer to it.
func (*GraphWidget) SetTileDef ¶
func (g *GraphWidget) SetTileDef(v TileDef)
SetTileDef allocates a new g.TileDef and returns the pointer to it.
func (*GraphWidget) SetTimeframe ¶
func (g *GraphWidget) SetTimeframe(v string)
SetTimeframe allocates a new g.Timeframe and returns the pointer to it.
func (*GraphWidget) SetTitle ¶
func (g *GraphWidget) SetTitle(v bool)
SetTitle allocates a new g.Title and returns the pointer to it.
func (*GraphWidget) SetTitleAlign ¶
func (g *GraphWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new g.TitleAlign and returns the pointer to it.
func (*GraphWidget) SetTitleSize ¶
func (g *GraphWidget) SetTitleSize(v int)
SetTitleSize allocates a new g.TitleSize and returns the pointer to it.
func (*GraphWidget) SetTitleText ¶
func (g *GraphWidget) SetTitleText(v string)
SetTitleText allocates a new g.TitleText and returns the pointer to it.
func (*GraphWidget) SetType ¶
func (g *GraphWidget) SetType(v string)
SetType allocates a new g.Type and returns the pointer to it.
func (*GraphWidget) SetWidth ¶
func (g *GraphWidget) SetWidth(v int)
SetWidth allocates a new g.Width and returns the pointer to it.
func (*GraphWidget) SetX ¶
func (g *GraphWidget) SetX(v int)
SetX allocates a new g.X and returns the pointer to it.
func (*GraphWidget) SetY ¶
func (g *GraphWidget) SetY(v int)
SetY allocates a new g.Y and returns the pointer to it.
type HostActionMute ¶
type HostActionMute struct { Message *string `json:"message,omitempty"` EndTime *string `json:"end,omitempty"` Override *bool `json:"override,omitempty"` }
func (*HostActionMute) GetEndTime ¶
func (h *HostActionMute) GetEndTime() string
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (*HostActionMute) GetEndTimeOk ¶
func (h *HostActionMute) GetEndTimeOk() (string, bool)
GetOkEndTime returns a tuple with the EndTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostActionMute) GetMessage ¶
func (h *HostActionMute) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*HostActionMute) GetMessageOk ¶
func (h *HostActionMute) GetMessageOk() (string, bool)
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostActionMute) GetOverride ¶
func (h *HostActionMute) GetOverride() bool
GetOverride returns the Override field if non-nil, zero value otherwise.
func (*HostActionMute) GetOverrideOk ¶
func (h *HostActionMute) GetOverrideOk() (bool, bool)
GetOkOverride returns a tuple with the Override field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostActionMute) HasEndTime ¶
func (h *HostActionMute) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (*HostActionMute) HasMessage ¶
func (h *HostActionMute) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*HostActionMute) HasOverride ¶
func (h *HostActionMute) HasOverride() bool
HasOverride returns a boolean if a field has been set.
func (*HostActionMute) SetEndTime ¶
func (h *HostActionMute) SetEndTime(v string)
SetEndTime allocates a new h.EndTime and returns the pointer to it.
func (*HostActionMute) SetMessage ¶
func (h *HostActionMute) SetMessage(v string)
SetMessage allocates a new h.Message and returns the pointer to it.
func (*HostActionMute) SetOverride ¶
func (h *HostActionMute) SetOverride(v bool)
SetOverride allocates a new h.Override and returns the pointer to it.
type HostActionResp ¶
type HostMapWidget ¶
type HostMapWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Query *string `json:"query,omitempty"` Timeframe *string `json:"timeframe,omitempty"` LegendSize *int `json:"legend_size,omitempty"` Type *string `json:"type,omitempty"` Legend *bool `json:"legend,omitempty"` TileDef *TileDef `json:"tile_def,omitempty"` }
func (*HostMapWidget) GetHeight ¶
func (h *HostMapWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*HostMapWidget) GetHeightOk ¶
func (h *HostMapWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetLegend ¶
func (h *HostMapWidget) GetLegend() bool
GetLegend returns the Legend field if non-nil, zero value otherwise.
func (*HostMapWidget) GetLegendOk ¶
func (h *HostMapWidget) GetLegendOk() (bool, bool)
GetOkLegend returns a tuple with the Legend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetLegendSize ¶
func (h *HostMapWidget) GetLegendSize() int
GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
func (*HostMapWidget) GetLegendSizeOk ¶
func (h *HostMapWidget) GetLegendSizeOk() (int, bool)
GetOkLegendSize returns a tuple with the LegendSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetQuery ¶
func (h *HostMapWidget) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*HostMapWidget) GetQueryOk ¶
func (h *HostMapWidget) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTileDef ¶
func (h *HostMapWidget) GetTileDef() TileDef
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTileDefOk ¶
func (h *HostMapWidget) GetTileDefOk() (TileDef, bool)
GetOkTileDef returns a tuple with the TileDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTimeframe ¶
func (h *HostMapWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTimeframeOk ¶
func (h *HostMapWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTitle ¶
func (h *HostMapWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTitleAlign ¶
func (h *HostMapWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTitleAlignOk ¶
func (h *HostMapWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTitleOk ¶
func (h *HostMapWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTitleSize ¶
func (h *HostMapWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTitleSizeOk ¶
func (h *HostMapWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetTitleText ¶
func (h *HostMapWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTitleTextOk ¶
func (h *HostMapWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetType ¶
func (h *HostMapWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*HostMapWidget) GetTypeOk ¶
func (h *HostMapWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetWidth ¶
func (h *HostMapWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*HostMapWidget) GetWidthOk ¶
func (h *HostMapWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetX ¶
func (h *HostMapWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*HostMapWidget) GetXOk ¶
func (h *HostMapWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) GetY ¶
func (h *HostMapWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*HostMapWidget) GetYOk ¶
func (h *HostMapWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostMapWidget) HasHeight ¶
func (h *HostMapWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*HostMapWidget) HasLegend ¶
func (h *HostMapWidget) HasLegend() bool
HasLegend returns a boolean if a field has been set.
func (*HostMapWidget) HasLegendSize ¶
func (h *HostMapWidget) HasLegendSize() bool
HasLegendSize returns a boolean if a field has been set.
func (*HostMapWidget) HasQuery ¶
func (h *HostMapWidget) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*HostMapWidget) HasTileDef ¶
func (h *HostMapWidget) HasTileDef() bool
HasTileDef returns a boolean if a field has been set.
func (*HostMapWidget) HasTimeframe ¶
func (h *HostMapWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*HostMapWidget) HasTitle ¶
func (h *HostMapWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*HostMapWidget) HasTitleAlign ¶
func (h *HostMapWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*HostMapWidget) HasTitleSize ¶
func (h *HostMapWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*HostMapWidget) HasTitleText ¶
func (h *HostMapWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*HostMapWidget) HasType ¶
func (h *HostMapWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*HostMapWidget) HasWidth ¶
func (h *HostMapWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*HostMapWidget) HasX ¶
func (h *HostMapWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*HostMapWidget) HasY ¶
func (h *HostMapWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*HostMapWidget) SetHeight ¶
func (h *HostMapWidget) SetHeight(v int)
SetHeight allocates a new h.Height and returns the pointer to it.
func (*HostMapWidget) SetLegend ¶
func (h *HostMapWidget) SetLegend(v bool)
SetLegend allocates a new h.Legend and returns the pointer to it.
func (*HostMapWidget) SetLegendSize ¶
func (h *HostMapWidget) SetLegendSize(v int)
SetLegendSize allocates a new h.LegendSize and returns the pointer to it.
func (*HostMapWidget) SetQuery ¶
func (h *HostMapWidget) SetQuery(v string)
SetQuery allocates a new h.Query and returns the pointer to it.
func (*HostMapWidget) SetTileDef ¶
func (h *HostMapWidget) SetTileDef(v TileDef)
SetTileDef allocates a new h.TileDef and returns the pointer to it.
func (*HostMapWidget) SetTimeframe ¶
func (h *HostMapWidget) SetTimeframe(v string)
SetTimeframe allocates a new h.Timeframe and returns the pointer to it.
func (*HostMapWidget) SetTitle ¶
func (h *HostMapWidget) SetTitle(v bool)
SetTitle allocates a new h.Title and returns the pointer to it.
func (*HostMapWidget) SetTitleAlign ¶
func (h *HostMapWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.
func (*HostMapWidget) SetTitleSize ¶
func (h *HostMapWidget) SetTitleSize(v int)
SetTitleSize allocates a new h.TitleSize and returns the pointer to it.
func (*HostMapWidget) SetTitleText ¶
func (h *HostMapWidget) SetTitleText(v string)
SetTitleText allocates a new h.TitleText and returns the pointer to it.
func (*HostMapWidget) SetType ¶
func (h *HostMapWidget) SetType(v string)
SetType allocates a new h.Type and returns the pointer to it.
func (*HostMapWidget) SetWidth ¶
func (h *HostMapWidget) SetWidth(v int)
SetWidth allocates a new h.Width and returns the pointer to it.
func (*HostMapWidget) SetX ¶
func (h *HostMapWidget) SetX(v int)
SetX allocates a new h.X and returns the pointer to it.
func (*HostMapWidget) SetY ¶
func (h *HostMapWidget) SetY(v int)
SetY allocates a new h.Y and returns the pointer to it.
type IFrameWidget ¶
type IFrameWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` Url *string `json:"url,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"y,omitempty"` Y *int `json:"x,omitempty"` Type *string `json:"type,omitempty"` }
func (*IFrameWidget) GetHeight ¶
func (i *IFrameWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*IFrameWidget) GetHeightOk ¶
func (i *IFrameWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetTitle ¶
func (i *IFrameWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*IFrameWidget) GetTitleAlign ¶
func (i *IFrameWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*IFrameWidget) GetTitleAlignOk ¶
func (i *IFrameWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetTitleOk ¶
func (i *IFrameWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetTitleSize ¶
func (i *IFrameWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*IFrameWidget) GetTitleSizeOk ¶
func (i *IFrameWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetTitleText ¶
func (i *IFrameWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*IFrameWidget) GetTitleTextOk ¶
func (i *IFrameWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetType ¶
func (i *IFrameWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*IFrameWidget) GetTypeOk ¶
func (i *IFrameWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetUrl ¶
func (i *IFrameWidget) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*IFrameWidget) GetUrlOk ¶
func (i *IFrameWidget) GetUrlOk() (string, bool)
GetOkUrl returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetWidth ¶
func (i *IFrameWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*IFrameWidget) GetWidthOk ¶
func (i *IFrameWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetX ¶
func (i *IFrameWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*IFrameWidget) GetXOk ¶
func (i *IFrameWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) GetY ¶
func (i *IFrameWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*IFrameWidget) GetYOk ¶
func (i *IFrameWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IFrameWidget) HasHeight ¶
func (i *IFrameWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*IFrameWidget) HasTitle ¶
func (i *IFrameWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*IFrameWidget) HasTitleAlign ¶
func (i *IFrameWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*IFrameWidget) HasTitleSize ¶
func (i *IFrameWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*IFrameWidget) HasTitleText ¶
func (i *IFrameWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*IFrameWidget) HasType ¶
func (i *IFrameWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*IFrameWidget) HasUrl ¶
func (i *IFrameWidget) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*IFrameWidget) HasWidth ¶
func (i *IFrameWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*IFrameWidget) HasX ¶
func (i *IFrameWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*IFrameWidget) HasY ¶
func (i *IFrameWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*IFrameWidget) SetHeight ¶
func (i *IFrameWidget) SetHeight(v int)
SetHeight allocates a new i.Height and returns the pointer to it.
func (*IFrameWidget) SetTitle ¶
func (i *IFrameWidget) SetTitle(v bool)
SetTitle allocates a new i.Title and returns the pointer to it.
func (*IFrameWidget) SetTitleAlign ¶
func (i *IFrameWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new i.TitleAlign and returns the pointer to it.
func (*IFrameWidget) SetTitleSize ¶
func (i *IFrameWidget) SetTitleSize(v int)
SetTitleSize allocates a new i.TitleSize and returns the pointer to it.
func (*IFrameWidget) SetTitleText ¶
func (i *IFrameWidget) SetTitleText(v string)
SetTitleText allocates a new i.TitleText and returns the pointer to it.
func (*IFrameWidget) SetType ¶
func (i *IFrameWidget) SetType(v string)
SetType allocates a new i.Type and returns the pointer to it.
func (*IFrameWidget) SetUrl ¶
func (i *IFrameWidget) SetUrl(v string)
SetUrl allocates a new i.Url and returns the pointer to it.
func (*IFrameWidget) SetWidth ¶
func (i *IFrameWidget) SetWidth(v int)
SetWidth allocates a new i.Width and returns the pointer to it.
func (*IFrameWidget) SetX ¶
func (i *IFrameWidget) SetX(v int)
SetX allocates a new i.X and returns the pointer to it.
func (*IFrameWidget) SetY ¶
func (i *IFrameWidget) SetY(v int)
SetY allocates a new i.Y and returns the pointer to it.
type ImageWidget ¶
type ImageWidget struct { Height *int `json:"height,omitempty"` Sizing *string `json:"sizing,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleSize *TextSize `json:"title_size,omitempty"` TitleText *string `json:"title_text,omitempty"` Type *string `json:"type,omitempty"` Url *string `json:"url,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*ImageWidget) GetHeight ¶
func (i *ImageWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*ImageWidget) GetHeightOk ¶
func (i *ImageWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetSizing ¶
func (i *ImageWidget) GetSizing() string
GetSizing returns the Sizing field if non-nil, zero value otherwise.
func (*ImageWidget) GetSizingOk ¶
func (i *ImageWidget) GetSizingOk() (string, bool)
GetOkSizing returns a tuple with the Sizing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetTitle ¶
func (i *ImageWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ImageWidget) GetTitleAlign ¶
func (i *ImageWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ImageWidget) GetTitleAlignOk ¶
func (i *ImageWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetTitleOk ¶
func (i *ImageWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetTitleSize ¶
func (i *ImageWidget) GetTitleSize() TextSize
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ImageWidget) GetTitleSizeOk ¶
func (i *ImageWidget) GetTitleSizeOk() (TextSize, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetTitleText ¶
func (i *ImageWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*ImageWidget) GetTitleTextOk ¶
func (i *ImageWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetType ¶
func (i *ImageWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ImageWidget) GetTypeOk ¶
func (i *ImageWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetUrl ¶
func (i *ImageWidget) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*ImageWidget) GetUrlOk ¶
func (i *ImageWidget) GetUrlOk() (string, bool)
GetOkUrl returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetWidth ¶
func (i *ImageWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*ImageWidget) GetWidthOk ¶
func (i *ImageWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetX ¶
func (i *ImageWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*ImageWidget) GetXOk ¶
func (i *ImageWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) GetY ¶
func (i *ImageWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*ImageWidget) GetYOk ¶
func (i *ImageWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ImageWidget) HasHeight ¶
func (i *ImageWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*ImageWidget) HasSizing ¶
func (i *ImageWidget) HasSizing() bool
HasSizing returns a boolean if a field has been set.
func (*ImageWidget) HasTitle ¶
func (i *ImageWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ImageWidget) HasTitleAlign ¶
func (i *ImageWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ImageWidget) HasTitleSize ¶
func (i *ImageWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ImageWidget) HasTitleText ¶
func (i *ImageWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*ImageWidget) HasType ¶
func (i *ImageWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*ImageWidget) HasUrl ¶
func (i *ImageWidget) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*ImageWidget) HasWidth ¶
func (i *ImageWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*ImageWidget) HasX ¶
func (i *ImageWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*ImageWidget) HasY ¶
func (i *ImageWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*ImageWidget) SetHeight ¶
func (i *ImageWidget) SetHeight(v int)
SetHeight allocates a new i.Height and returns the pointer to it.
func (*ImageWidget) SetSizing ¶
func (i *ImageWidget) SetSizing(v string)
SetSizing allocates a new i.Sizing and returns the pointer to it.
func (*ImageWidget) SetTitle ¶
func (i *ImageWidget) SetTitle(v bool)
SetTitle allocates a new i.Title and returns the pointer to it.
func (*ImageWidget) SetTitleAlign ¶
func (i *ImageWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new i.TitleAlign and returns the pointer to it.
func (*ImageWidget) SetTitleSize ¶
func (i *ImageWidget) SetTitleSize(v TextSize)
SetTitleSize allocates a new i.TitleSize and returns the pointer to it.
func (*ImageWidget) SetTitleText ¶
func (i *ImageWidget) SetTitleText(v string)
SetTitleText allocates a new i.TitleText and returns the pointer to it.
func (*ImageWidget) SetType ¶
func (i *ImageWidget) SetType(v string)
SetType allocates a new i.Type and returns the pointer to it.
func (*ImageWidget) SetUrl ¶
func (i *ImageWidget) SetUrl(v string)
SetUrl allocates a new i.Url and returns the pointer to it.
func (*ImageWidget) SetWidth ¶
func (i *ImageWidget) SetWidth(v int)
SetWidth allocates a new i.Width and returns the pointer to it.
func (*ImageWidget) SetX ¶
func (i *ImageWidget) SetX(v int)
SetX allocates a new i.X and returns the pointer to it.
func (*ImageWidget) SetY ¶
func (i *ImageWidget) SetY(v int)
SetY allocates a new i.Y and returns the pointer to it.
type IntegrationPDRequest ¶
type IntegrationPDRequest struct { Services []ServicePDRequest `json:"services,omitempty"` Subdomain *string `json:"subdomain,omitempty"` Schedules []string `json:"schedules,omitempty"` APIToken *string `json:"api_token,omitempty"` RunCheck *bool `json:"run_check,omitempty"` }
IntegrationPDRequest defines the request payload for creating & updating Datadog-PagerDuty integration.
func (*IntegrationPDRequest) GetAPIToken ¶
func (i *IntegrationPDRequest) GetAPIToken() string
GetAPIToken returns the APIToken field if non-nil, zero value otherwise.
func (*IntegrationPDRequest) GetAPITokenOk ¶
func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool)
GetOkAPIToken returns a tuple with the APIToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationPDRequest) GetRunCheck ¶
func (i *IntegrationPDRequest) GetRunCheck() bool
GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.
func (*IntegrationPDRequest) GetRunCheckOk ¶
func (i *IntegrationPDRequest) GetRunCheckOk() (bool, bool)
GetOkRunCheck returns a tuple with the RunCheck field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationPDRequest) GetSubdomain ¶
func (i *IntegrationPDRequest) GetSubdomain() string
GetSubdomain returns the Subdomain field if non-nil, zero value otherwise.
func (*IntegrationPDRequest) GetSubdomainOk ¶
func (i *IntegrationPDRequest) GetSubdomainOk() (string, bool)
GetOkSubdomain returns a tuple with the Subdomain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationPDRequest) HasAPIToken ¶
func (i *IntegrationPDRequest) HasAPIToken() bool
HasAPIToken returns a boolean if a field has been set.
func (*IntegrationPDRequest) HasRunCheck ¶
func (i *IntegrationPDRequest) HasRunCheck() bool
HasRunCheck returns a boolean if a field has been set.
func (*IntegrationPDRequest) HasSubdomain ¶
func (i *IntegrationPDRequest) HasSubdomain() bool
HasSubdomain returns a boolean if a field has been set.
func (*IntegrationPDRequest) SetAPIToken ¶
func (i *IntegrationPDRequest) SetAPIToken(v string)
SetAPIToken allocates a new i.APIToken and returns the pointer to it.
func (*IntegrationPDRequest) SetRunCheck ¶
func (i *IntegrationPDRequest) SetRunCheck(v bool)
SetRunCheck allocates a new i.RunCheck and returns the pointer to it.
func (*IntegrationPDRequest) SetSubdomain ¶
func (i *IntegrationPDRequest) SetSubdomain(v string)
SetSubdomain allocates a new i.Subdomain and returns the pointer to it.
type IntegrationSlackRequest ¶
type IntegrationSlackRequest struct { ServiceHooks []ServiceHookSlackRequest `json:"service_hooks,omitempty"` Channels []ChannelSlackRequest `json:"channels,omitempty"` RunCheck *bool `json:"run_check,omitempty,string"` }
IntegrationSlackRequest defines the request payload for creating & updating Datadog-Slack integration.
func (*IntegrationSlackRequest) GetRunCheck ¶
func (i *IntegrationSlackRequest) GetRunCheck() bool
GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.
func (*IntegrationSlackRequest) GetRunCheckOk ¶
func (i *IntegrationSlackRequest) GetRunCheckOk() (bool, bool)
GetOkRunCheck returns a tuple with the RunCheck field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationSlackRequest) HasRunCheck ¶
func (i *IntegrationSlackRequest) HasRunCheck() bool
HasRunCheck returns a boolean if a field has been set.
func (*IntegrationSlackRequest) SetRunCheck ¶
func (i *IntegrationSlackRequest) SetRunCheck(v bool)
SetRunCheck allocates a new i.RunCheck and returns the pointer to it.
type Metric ¶
type Metric struct { Metric *string `json:"metric,omitempty"` Points []DataPoint `json:"points,omitempty"` Type *string `json:"type,omitempty"` Host *string `json:"host,omitempty"` Tags []string `json:"tags,omitempty"` Unit *string `json:"unit,omitempty"` }
Metric represents a collection of data points that we might send or receive on one single metric line.
func (*Metric) GetHostOk ¶
GetOkHost returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Metric) GetMetricOk ¶
GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Metric) GetTypeOk ¶
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Metric) GetUnitOk ¶
GetOkUnit returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
type MetricMetadata ¶
type MetricMetadata struct { Type *string `json:"type,omitempty"` Description *string `json:"description,omitempty"` ShortName *string `json:"short_name,omitempty"` Unit *string `json:"unit,omitempty"` PerUnit *string `json:"per_unit,omitempty"` StatsdInterval *int `json:"statsd_interval,omitempty"` }
MetricMetadata allows you to edit fields of a metric's metadata.
func (*MetricMetadata) GetDescription ¶
func (m *MetricMetadata) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (*MetricMetadata) GetDescriptionOk ¶
func (m *MetricMetadata) GetDescriptionOk() (string, bool)
GetOkDescription returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) GetPerUnit ¶
func (m *MetricMetadata) GetPerUnit() string
GetPerUnit returns the PerUnit field if non-nil, zero value otherwise.
func (*MetricMetadata) GetPerUnitOk ¶
func (m *MetricMetadata) GetPerUnitOk() (string, bool)
GetOkPerUnit returns a tuple with the PerUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) GetShortName ¶
func (m *MetricMetadata) GetShortName() string
GetShortName returns the ShortName field if non-nil, zero value otherwise.
func (*MetricMetadata) GetShortNameOk ¶
func (m *MetricMetadata) GetShortNameOk() (string, bool)
GetOkShortName returns a tuple with the ShortName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) GetStatsdInterval ¶
func (m *MetricMetadata) GetStatsdInterval() int
GetStatsdInterval returns the StatsdInterval field if non-nil, zero value otherwise.
func (*MetricMetadata) GetStatsdIntervalOk ¶
func (m *MetricMetadata) GetStatsdIntervalOk() (int, bool)
GetOkStatsdInterval returns a tuple with the StatsdInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) GetType ¶
func (m *MetricMetadata) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*MetricMetadata) GetTypeOk ¶
func (m *MetricMetadata) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) GetUnit ¶
func (m *MetricMetadata) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (*MetricMetadata) GetUnitOk ¶
func (m *MetricMetadata) GetUnitOk() (string, bool)
GetOkUnit returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) HasDescription ¶
func (m *MetricMetadata) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MetricMetadata) HasPerUnit ¶
func (m *MetricMetadata) HasPerUnit() bool
HasPerUnit returns a boolean if a field has been set.
func (*MetricMetadata) HasShortName ¶
func (m *MetricMetadata) HasShortName() bool
HasShortName returns a boolean if a field has been set.
func (*MetricMetadata) HasStatsdInterval ¶
func (m *MetricMetadata) HasStatsdInterval() bool
HasStatsdInterval returns a boolean if a field has been set.
func (*MetricMetadata) HasType ¶
func (m *MetricMetadata) HasType() bool
HasType returns a boolean if a field has been set.
func (*MetricMetadata) HasUnit ¶
func (m *MetricMetadata) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*MetricMetadata) SetDescription ¶
func (m *MetricMetadata) SetDescription(v string)
SetDescription allocates a new m.Description and returns the pointer to it.
func (*MetricMetadata) SetPerUnit ¶
func (m *MetricMetadata) SetPerUnit(v string)
SetPerUnit allocates a new m.PerUnit and returns the pointer to it.
func (*MetricMetadata) SetShortName ¶
func (m *MetricMetadata) SetShortName(v string)
SetShortName allocates a new m.ShortName and returns the pointer to it.
func (*MetricMetadata) SetStatsdInterval ¶
func (m *MetricMetadata) SetStatsdInterval(v int)
SetStatsdInterval allocates a new m.StatsdInterval and returns the pointer to it.
func (*MetricMetadata) SetType ¶
func (m *MetricMetadata) SetType(v string)
SetType allocates a new m.Type and returns the pointer to it.
func (*MetricMetadata) SetUnit ¶
func (m *MetricMetadata) SetUnit(v string)
SetUnit allocates a new m.Unit and returns the pointer to it.
type Monitor ¶
type Monitor struct { Creator *Creator `json:"creator,omitempty"` Id *int `json:"id,omitempty"` Type *string `json:"type,omitempty"` Query *string `json:"query,omitempty"` Name *string `json:"name,omitempty"` Message *string `json:"message,omitempty"` Tags []string `json:"tags"` Options *Options `json:"options,omitempty"` }
Monitor allows watching a metric or check that you care about, notifying your team when some defined threshold is exceeded
func (*Monitor) GetCreator ¶
GetCreator returns the Creator field if non-nil, zero value otherwise.
func (*Monitor) GetCreatorOk ¶
GetOkCreator returns a tuple with the Creator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetIdOk ¶
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetMessage ¶
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*Monitor) GetMessageOk ¶
GetOkMessage returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetNameOk ¶
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetOptions ¶
GetOptions returns the Options field if non-nil, zero value otherwise.
func (*Monitor) GetOptionsOk ¶
GetOkOptions returns a tuple with the Options field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetQueryOk ¶
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetTypeOk ¶
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) HasCreator ¶
HasCreator returns a boolean if a field has been set.
func (*Monitor) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Monitor) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (*Monitor) SetCreator ¶
SetCreator allocates a new m.Creator and returns the pointer to it.
func (*Monitor) SetMessage ¶
SetMessage allocates a new m.Message and returns the pointer to it.
func (*Monitor) SetOptions ¶
SetOptions allocates a new m.Options and returns the pointer to it.
type NoDataTimeframe ¶
type NoDataTimeframe int
func (*NoDataTimeframe) UnmarshalJSON ¶
func (tf *NoDataTimeframe) UnmarshalJSON(data []byte) error
type NoteWidget ¶
type NoteWidget struct { TitleSize *int `json:"title_size,omitempty"` Title *bool `json:"title,omitempty"` RefreshEvery *int `json:"refresh_every,omitempty"` TickPos *string `json:"tick_pos,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TickEdge *string `json:"tick_edge,omitempty"` TextAlign *string `json:"text_align,omitempty"` TitleText *string `json:"title_text,omitempty"` Height *int `json:"height,omitempty"` Color *string `json:"bgcolor,omitempty"` Html *string `json:"html,omitempty"` Y *int `json:"y,omitempty"` X *int `json:"x,omitempty"` FontSize *int `json:"font_size,omitempty"` Tick *bool `json:"tick,omitempty"` Note *string `json:"type,omitempty"` Width *int `json:"width,omitempty"` AutoRefresh *bool `json:"auto_refresh,omitempty"` }
func (*NoteWidget) GetAutoRefresh ¶
func (n *NoteWidget) GetAutoRefresh() bool
GetAutoRefresh returns the AutoRefresh field if non-nil, zero value otherwise.
func (*NoteWidget) GetAutoRefreshOk ¶
func (n *NoteWidget) GetAutoRefreshOk() (bool, bool)
GetOkAutoRefresh returns a tuple with the AutoRefresh field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetColor ¶
func (n *NoteWidget) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (*NoteWidget) GetColorOk ¶
func (n *NoteWidget) GetColorOk() (string, bool)
GetOkColor returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetFontSize ¶
func (n *NoteWidget) GetFontSize() int
GetFontSize returns the FontSize field if non-nil, zero value otherwise.
func (*NoteWidget) GetFontSizeOk ¶
func (n *NoteWidget) GetFontSizeOk() (int, bool)
GetOkFontSize returns a tuple with the FontSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetHeight ¶
func (n *NoteWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*NoteWidget) GetHeightOk ¶
func (n *NoteWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetHtml ¶
func (n *NoteWidget) GetHtml() string
GetHtml returns the Html field if non-nil, zero value otherwise.
func (*NoteWidget) GetHtmlOk ¶
func (n *NoteWidget) GetHtmlOk() (string, bool)
GetOkHtml returns a tuple with the Html field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetNote ¶
func (n *NoteWidget) GetNote() string
GetNote returns the Note field if non-nil, zero value otherwise.
func (*NoteWidget) GetNoteOk ¶
func (n *NoteWidget) GetNoteOk() (string, bool)
GetOkNote returns a tuple with the Note field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetRefreshEvery ¶
func (n *NoteWidget) GetRefreshEvery() int
GetRefreshEvery returns the RefreshEvery field if non-nil, zero value otherwise.
func (*NoteWidget) GetRefreshEveryOk ¶
func (n *NoteWidget) GetRefreshEveryOk() (int, bool)
GetOkRefreshEvery returns a tuple with the RefreshEvery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTextAlign ¶
func (n *NoteWidget) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*NoteWidget) GetTextAlignOk ¶
func (n *NoteWidget) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTick ¶
func (n *NoteWidget) GetTick() bool
GetTick returns the Tick field if non-nil, zero value otherwise.
func (*NoteWidget) GetTickEdge ¶
func (n *NoteWidget) GetTickEdge() string
GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.
func (*NoteWidget) GetTickEdgeOk ¶
func (n *NoteWidget) GetTickEdgeOk() (string, bool)
GetOkTickEdge returns a tuple with the TickEdge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTickOk ¶
func (n *NoteWidget) GetTickOk() (bool, bool)
GetOkTick returns a tuple with the Tick field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTickPos ¶
func (n *NoteWidget) GetTickPos() string
GetTickPos returns the TickPos field if non-nil, zero value otherwise.
func (*NoteWidget) GetTickPosOk ¶
func (n *NoteWidget) GetTickPosOk() (string, bool)
GetOkTickPos returns a tuple with the TickPos field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTitle ¶
func (n *NoteWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*NoteWidget) GetTitleAlign ¶
func (n *NoteWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*NoteWidget) GetTitleAlignOk ¶
func (n *NoteWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTitleOk ¶
func (n *NoteWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTitleSize ¶
func (n *NoteWidget) GetTitleSize() int
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*NoteWidget) GetTitleSizeOk ¶
func (n *NoteWidget) GetTitleSizeOk() (int, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetTitleText ¶
func (n *NoteWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*NoteWidget) GetTitleTextOk ¶
func (n *NoteWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetWidth ¶
func (n *NoteWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*NoteWidget) GetWidthOk ¶
func (n *NoteWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetX ¶
func (n *NoteWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*NoteWidget) GetXOk ¶
func (n *NoteWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) GetY ¶
func (n *NoteWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*NoteWidget) GetYOk ¶
func (n *NoteWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteWidget) HasAutoRefresh ¶
func (n *NoteWidget) HasAutoRefresh() bool
HasAutoRefresh returns a boolean if a field has been set.
func (*NoteWidget) HasColor ¶
func (n *NoteWidget) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*NoteWidget) HasFontSize ¶
func (n *NoteWidget) HasFontSize() bool
HasFontSize returns a boolean if a field has been set.
func (*NoteWidget) HasHeight ¶
func (n *NoteWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*NoteWidget) HasHtml ¶
func (n *NoteWidget) HasHtml() bool
HasHtml returns a boolean if a field has been set.
func (*NoteWidget) HasNote ¶
func (n *NoteWidget) HasNote() bool
HasNote returns a boolean if a field has been set.
func (*NoteWidget) HasRefreshEvery ¶
func (n *NoteWidget) HasRefreshEvery() bool
HasRefreshEvery returns a boolean if a field has been set.
func (*NoteWidget) HasTextAlign ¶
func (n *NoteWidget) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*NoteWidget) HasTick ¶
func (n *NoteWidget) HasTick() bool
HasTick returns a boolean if a field has been set.
func (*NoteWidget) HasTickEdge ¶
func (n *NoteWidget) HasTickEdge() bool
HasTickEdge returns a boolean if a field has been set.
func (*NoteWidget) HasTickPos ¶
func (n *NoteWidget) HasTickPos() bool
HasTickPos returns a boolean if a field has been set.
func (*NoteWidget) HasTitle ¶
func (n *NoteWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*NoteWidget) HasTitleAlign ¶
func (n *NoteWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*NoteWidget) HasTitleSize ¶
func (n *NoteWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*NoteWidget) HasTitleText ¶
func (n *NoteWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*NoteWidget) HasWidth ¶
func (n *NoteWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*NoteWidget) HasX ¶
func (n *NoteWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*NoteWidget) HasY ¶
func (n *NoteWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*NoteWidget) SetAutoRefresh ¶
func (n *NoteWidget) SetAutoRefresh(v bool)
SetAutoRefresh allocates a new n.AutoRefresh and returns the pointer to it.
func (*NoteWidget) SetColor ¶
func (n *NoteWidget) SetColor(v string)
SetColor allocates a new n.Color and returns the pointer to it.
func (*NoteWidget) SetFontSize ¶
func (n *NoteWidget) SetFontSize(v int)
SetFontSize allocates a new n.FontSize and returns the pointer to it.
func (*NoteWidget) SetHeight ¶
func (n *NoteWidget) SetHeight(v int)
SetHeight allocates a new n.Height and returns the pointer to it.
func (*NoteWidget) SetHtml ¶
func (n *NoteWidget) SetHtml(v string)
SetHtml allocates a new n.Html and returns the pointer to it.
func (*NoteWidget) SetNote ¶
func (n *NoteWidget) SetNote(v string)
SetNote allocates a new n.Note and returns the pointer to it.
func (*NoteWidget) SetRefreshEvery ¶
func (n *NoteWidget) SetRefreshEvery(v int)
SetRefreshEvery allocates a new n.RefreshEvery and returns the pointer to it.
func (*NoteWidget) SetTextAlign ¶
func (n *NoteWidget) SetTextAlign(v string)
SetTextAlign allocates a new n.TextAlign and returns the pointer to it.
func (*NoteWidget) SetTick ¶
func (n *NoteWidget) SetTick(v bool)
SetTick allocates a new n.Tick and returns the pointer to it.
func (*NoteWidget) SetTickEdge ¶
func (n *NoteWidget) SetTickEdge(v string)
SetTickEdge allocates a new n.TickEdge and returns the pointer to it.
func (*NoteWidget) SetTickPos ¶
func (n *NoteWidget) SetTickPos(v string)
SetTickPos allocates a new n.TickPos and returns the pointer to it.
func (*NoteWidget) SetTitle ¶
func (n *NoteWidget) SetTitle(v bool)
SetTitle allocates a new n.Title and returns the pointer to it.
func (*NoteWidget) SetTitleAlign ¶
func (n *NoteWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new n.TitleAlign and returns the pointer to it.
func (*NoteWidget) SetTitleSize ¶
func (n *NoteWidget) SetTitleSize(v int)
SetTitleSize allocates a new n.TitleSize and returns the pointer to it.
func (*NoteWidget) SetTitleText ¶
func (n *NoteWidget) SetTitleText(v string)
SetTitleText allocates a new n.TitleText and returns the pointer to it.
func (*NoteWidget) SetWidth ¶
func (n *NoteWidget) SetWidth(v int)
SetWidth allocates a new n.Width and returns the pointer to it.
func (*NoteWidget) SetX ¶
func (n *NoteWidget) SetX(v int)
SetX allocates a new n.X and returns the pointer to it.
func (*NoteWidget) SetY ¶
func (n *NoteWidget) SetY(v int)
SetY allocates a new n.Y and returns the pointer to it.
type Options ¶
type Options struct { NoDataTimeframe NoDataTimeframe `json:"no_data_timeframe,omitempty"` NotifyAudit *bool `json:"notify_audit,omitempty"` NotifyNoData *bool `json:"notify_no_data,omitempty"` RenotifyInterval *int `json:"renotify_interval,omitempty"` NewHostDelay *int `json:"new_host_delay,omitempty"` EvaluationDelay *int `json:"evaluation_delay,omitempty"` Silenced map[string]int `json:"silenced,omitempty"` TimeoutH *int `json:"timeout_h,omitempty"` EscalationMessage *string `json:"escalation_message,omitempty"` Thresholds *ThresholdCount `json:"thresholds,omitempty"` IncludeTags *bool `json:"include_tags,omitempty"` RequireFullWindow *bool `json:"require_full_window,omitempty"` Locked *bool `json:"locked,omitempty"` }
func (*Options) GetEscalationMessage ¶
GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise.
func (*Options) GetEscalationMessageOk ¶
GetOkEscalationMessage returns a tuple with the EscalationMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetEvaluationDelay ¶
GetEvaluationDelay returns the EvaluationDelay field if non-nil, zero value otherwise.
func (*Options) GetEvaluationDelayOk ¶
GetOkEvaluationDelay returns a tuple with the EvaluationDelay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetIncludeTags ¶
GetIncludeTags returns the IncludeTags field if non-nil, zero value otherwise.
func (*Options) GetIncludeTagsOk ¶
GetOkIncludeTags returns a tuple with the IncludeTags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetLockedOk ¶
GetOkLocked returns a tuple with the Locked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetNewHostDelay ¶
GetNewHostDelay returns the NewHostDelay field if non-nil, zero value otherwise.
func (*Options) GetNewHostDelayOk ¶
GetOkNewHostDelay returns a tuple with the NewHostDelay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetNotifyAudit ¶
GetNotifyAudit returns the NotifyAudit field if non-nil, zero value otherwise.
func (*Options) GetNotifyAuditOk ¶
GetOkNotifyAudit returns a tuple with the NotifyAudit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetNotifyNoData ¶
GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.
func (*Options) GetNotifyNoDataOk ¶
GetOkNotifyNoData returns a tuple with the NotifyNoData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetRenotifyInterval ¶
GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.
func (*Options) GetRenotifyIntervalOk ¶
GetOkRenotifyInterval returns a tuple with the RenotifyInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetRequireFullWindow ¶
GetRequireFullWindow returns the RequireFullWindow field if non-nil, zero value otherwise.
func (*Options) GetRequireFullWindowOk ¶
GetOkRequireFullWindow returns a tuple with the RequireFullWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetThresholds ¶
func (o *Options) GetThresholds() ThresholdCount
GetThresholds returns the Thresholds field if non-nil, zero value otherwise.
func (*Options) GetThresholdsOk ¶
func (o *Options) GetThresholdsOk() (ThresholdCount, bool)
GetOkThresholds returns a tuple with the Thresholds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) GetTimeoutH ¶
GetTimeoutH returns the TimeoutH field if non-nil, zero value otherwise.
func (*Options) GetTimeoutHOk ¶
GetOkTimeoutH returns a tuple with the TimeoutH field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Options) HasEscalationMessage ¶
HasEscalationMessage returns a boolean if a field has been set.
func (*Options) HasEvaluationDelay ¶
HasEvaluationDelay returns a boolean if a field has been set.
func (*Options) HasIncludeTags ¶
HasIncludeTags returns a boolean if a field has been set.
func (*Options) HasNewHostDelay ¶
HasNewHostDelay returns a boolean if a field has been set.
func (*Options) HasNotifyAudit ¶
HasNotifyAudit returns a boolean if a field has been set.
func (*Options) HasNotifyNoData ¶
HasNotifyNoData returns a boolean if a field has been set.
func (*Options) HasRenotifyInterval ¶
HasRenotifyInterval returns a boolean if a field has been set.
func (*Options) HasRequireFullWindow ¶
HasRequireFullWindow returns a boolean if a field has been set.
func (*Options) HasThresholds ¶
HasThresholds returns a boolean if a field has been set.
func (*Options) HasTimeoutH ¶
HasTimeoutH returns a boolean if a field has been set.
func (*Options) SetEscalationMessage ¶
SetEscalationMessage allocates a new o.EscalationMessage and returns the pointer to it.
func (*Options) SetEvaluationDelay ¶
SetEvaluationDelay allocates a new o.EvaluationDelay and returns the pointer to it.
func (*Options) SetIncludeTags ¶
SetIncludeTags allocates a new o.IncludeTags and returns the pointer to it.
func (*Options) SetNewHostDelay ¶
SetNewHostDelay allocates a new o.NewHostDelay and returns the pointer to it.
func (*Options) SetNotifyAudit ¶
SetNotifyAudit allocates a new o.NotifyAudit and returns the pointer to it.
func (*Options) SetNotifyNoData ¶
SetNotifyNoData allocates a new o.NotifyNoData and returns the pointer to it.
func (*Options) SetRenotifyInterval ¶
SetRenotifyInterval allocates a new o.RenotifyInterval and returns the pointer to it.
func (*Options) SetRequireFullWindow ¶
SetRequireFullWindow allocates a new o.RequireFullWindow and returns the pointer to it.
func (*Options) SetThresholds ¶
func (o *Options) SetThresholds(v ThresholdCount)
SetThresholds allocates a new o.Thresholds and returns the pointer to it.
func (*Options) SetTimeoutH ¶
SetTimeoutH allocates a new o.TimeoutH and returns the pointer to it.
type QueryValueWidget ¶
type QueryValueWidget struct { Timeframe *string `json:"timeframe,omitempty"` TimeframeAggregator *string `json:"aggr,omitempty"` Aggregator *string `json:"aggregator,omitempty"` CalcFunc *string `json:"calc_func,omitempty"` ConditionalFormats []ConditionalFormat `json:"conditional_formats,omitempty"` Height *int `json:"height,omitempty"` IsValidQuery *bool `json:"is_valid_query,omitempty,omitempty"` Metric *string `json:"metric,omitempty"` MetricType *string `json:"metric_type,omitempty"` Precision *int `json:"precision,omitempty"` Query *string `json:"query,omitempty"` ResultCalcFunc *string `json:"res_calc_func,omitempty"` Tags []string `json:"tags,omitempty"` TextAlign *string `json:"text_align,omitempty"` TextSize *TextSize `json:"text_size,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleSize *TextSize `json:"title_size,omitempty"` TitleText *string `json:"title_text,omitempty"` Type *string `json:"type,omitempty"` Unit *string `json:"auto,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*QueryValueWidget) GetAggregator ¶
func (q *QueryValueWidget) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetAggregatorOk ¶
func (q *QueryValueWidget) GetAggregatorOk() (string, bool)
GetOkAggregator returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetCalcFunc ¶
func (q *QueryValueWidget) GetCalcFunc() string
GetCalcFunc returns the CalcFunc field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetCalcFuncOk ¶
func (q *QueryValueWidget) GetCalcFuncOk() (string, bool)
GetOkCalcFunc returns a tuple with the CalcFunc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetHeight ¶
func (q *QueryValueWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetHeightOk ¶
func (q *QueryValueWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetIsValidQuery ¶
func (q *QueryValueWidget) GetIsValidQuery() bool
GetIsValidQuery returns the IsValidQuery field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetIsValidQueryOk ¶
func (q *QueryValueWidget) GetIsValidQueryOk() (bool, bool)
GetOkIsValidQuery returns a tuple with the IsValidQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetMetric ¶
func (q *QueryValueWidget) GetMetric() string
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetMetricOk ¶
func (q *QueryValueWidget) GetMetricOk() (string, bool)
GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetMetricType ¶
func (q *QueryValueWidget) GetMetricType() string
GetMetricType returns the MetricType field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetMetricTypeOk ¶
func (q *QueryValueWidget) GetMetricTypeOk() (string, bool)
GetOkMetricType returns a tuple with the MetricType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetPrecision ¶
func (q *QueryValueWidget) GetPrecision() int
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetPrecisionOk ¶
func (q *QueryValueWidget) GetPrecisionOk() (int, bool)
GetOkPrecision returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetQuery ¶
func (q *QueryValueWidget) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetQueryOk ¶
func (q *QueryValueWidget) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetResultCalcFunc ¶
func (q *QueryValueWidget) GetResultCalcFunc() string
GetResultCalcFunc returns the ResultCalcFunc field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetResultCalcFuncOk ¶
func (q *QueryValueWidget) GetResultCalcFuncOk() (string, bool)
GetOkResultCalcFunc returns a tuple with the ResultCalcFunc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTextAlign ¶
func (q *QueryValueWidget) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTextAlignOk ¶
func (q *QueryValueWidget) GetTextAlignOk() (string, bool)
GetOkTextAlign returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTextSize ¶
func (q *QueryValueWidget) GetTextSize() TextSize
GetTextSize returns the TextSize field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTextSizeOk ¶
func (q *QueryValueWidget) GetTextSizeOk() (TextSize, bool)
GetOkTextSize returns a tuple with the TextSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTimeframe ¶
func (q *QueryValueWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTimeframeAggregator ¶
func (q *QueryValueWidget) GetTimeframeAggregator() string
GetTimeframeAggregator returns the TimeframeAggregator field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTimeframeAggregatorOk ¶
func (q *QueryValueWidget) GetTimeframeAggregatorOk() (string, bool)
GetOkTimeframeAggregator returns a tuple with the TimeframeAggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTimeframeOk ¶
func (q *QueryValueWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTitle ¶
func (q *QueryValueWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTitleAlign ¶
func (q *QueryValueWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTitleAlignOk ¶
func (q *QueryValueWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTitleOk ¶
func (q *QueryValueWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTitleSize ¶
func (q *QueryValueWidget) GetTitleSize() TextSize
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTitleSizeOk ¶
func (q *QueryValueWidget) GetTitleSizeOk() (TextSize, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetTitleText ¶
func (q *QueryValueWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTitleTextOk ¶
func (q *QueryValueWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetType ¶
func (q *QueryValueWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetTypeOk ¶
func (q *QueryValueWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetUnit ¶
func (q *QueryValueWidget) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetUnitOk ¶
func (q *QueryValueWidget) GetUnitOk() (string, bool)
GetOkUnit returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetWidth ¶
func (q *QueryValueWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetWidthOk ¶
func (q *QueryValueWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetX ¶
func (q *QueryValueWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetXOk ¶
func (q *QueryValueWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) GetY ¶
func (q *QueryValueWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*QueryValueWidget) GetYOk ¶
func (q *QueryValueWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueWidget) HasAggregator ¶
func (q *QueryValueWidget) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*QueryValueWidget) HasCalcFunc ¶
func (q *QueryValueWidget) HasCalcFunc() bool
HasCalcFunc returns a boolean if a field has been set.
func (*QueryValueWidget) HasHeight ¶
func (q *QueryValueWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*QueryValueWidget) HasIsValidQuery ¶
func (q *QueryValueWidget) HasIsValidQuery() bool
HasIsValidQuery returns a boolean if a field has been set.
func (*QueryValueWidget) HasMetric ¶
func (q *QueryValueWidget) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*QueryValueWidget) HasMetricType ¶
func (q *QueryValueWidget) HasMetricType() bool
HasMetricType returns a boolean if a field has been set.
func (*QueryValueWidget) HasPrecision ¶
func (q *QueryValueWidget) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*QueryValueWidget) HasQuery ¶
func (q *QueryValueWidget) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*QueryValueWidget) HasResultCalcFunc ¶
func (q *QueryValueWidget) HasResultCalcFunc() bool
HasResultCalcFunc returns a boolean if a field has been set.
func (*QueryValueWidget) HasTextAlign ¶
func (q *QueryValueWidget) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*QueryValueWidget) HasTextSize ¶
func (q *QueryValueWidget) HasTextSize() bool
HasTextSize returns a boolean if a field has been set.
func (*QueryValueWidget) HasTimeframe ¶
func (q *QueryValueWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*QueryValueWidget) HasTimeframeAggregator ¶
func (q *QueryValueWidget) HasTimeframeAggregator() bool
HasTimeframeAggregator returns a boolean if a field has been set.
func (*QueryValueWidget) HasTitle ¶
func (q *QueryValueWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*QueryValueWidget) HasTitleAlign ¶
func (q *QueryValueWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*QueryValueWidget) HasTitleSize ¶
func (q *QueryValueWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*QueryValueWidget) HasTitleText ¶
func (q *QueryValueWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*QueryValueWidget) HasType ¶
func (q *QueryValueWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*QueryValueWidget) HasUnit ¶
func (q *QueryValueWidget) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*QueryValueWidget) HasWidth ¶
func (q *QueryValueWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*QueryValueWidget) HasX ¶
func (q *QueryValueWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*QueryValueWidget) HasY ¶
func (q *QueryValueWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*QueryValueWidget) SetAggregator ¶
func (q *QueryValueWidget) SetAggregator(v string)
SetAggregator allocates a new q.Aggregator and returns the pointer to it.
func (*QueryValueWidget) SetCalcFunc ¶
func (q *QueryValueWidget) SetCalcFunc(v string)
SetCalcFunc allocates a new q.CalcFunc and returns the pointer to it.
func (*QueryValueWidget) SetHeight ¶
func (q *QueryValueWidget) SetHeight(v int)
SetHeight allocates a new q.Height and returns the pointer to it.
func (*QueryValueWidget) SetIsValidQuery ¶
func (q *QueryValueWidget) SetIsValidQuery(v bool)
SetIsValidQuery allocates a new q.IsValidQuery and returns the pointer to it.
func (*QueryValueWidget) SetMetric ¶
func (q *QueryValueWidget) SetMetric(v string)
SetMetric allocates a new q.Metric and returns the pointer to it.
func (*QueryValueWidget) SetMetricType ¶
func (q *QueryValueWidget) SetMetricType(v string)
SetMetricType allocates a new q.MetricType and returns the pointer to it.
func (*QueryValueWidget) SetPrecision ¶
func (q *QueryValueWidget) SetPrecision(v int)
SetPrecision allocates a new q.Precision and returns the pointer to it.
func (*QueryValueWidget) SetQuery ¶
func (q *QueryValueWidget) SetQuery(v string)
SetQuery allocates a new q.Query and returns the pointer to it.
func (*QueryValueWidget) SetResultCalcFunc ¶
func (q *QueryValueWidget) SetResultCalcFunc(v string)
SetResultCalcFunc allocates a new q.ResultCalcFunc and returns the pointer to it.
func (*QueryValueWidget) SetTextAlign ¶
func (q *QueryValueWidget) SetTextAlign(v string)
SetTextAlign allocates a new q.TextAlign and returns the pointer to it.
func (*QueryValueWidget) SetTextSize ¶
func (q *QueryValueWidget) SetTextSize(v TextSize)
SetTextSize allocates a new q.TextSize and returns the pointer to it.
func (*QueryValueWidget) SetTimeframe ¶
func (q *QueryValueWidget) SetTimeframe(v string)
SetTimeframe allocates a new q.Timeframe and returns the pointer to it.
func (*QueryValueWidget) SetTimeframeAggregator ¶
func (q *QueryValueWidget) SetTimeframeAggregator(v string)
SetTimeframeAggregator allocates a new q.TimeframeAggregator and returns the pointer to it.
func (*QueryValueWidget) SetTitle ¶
func (q *QueryValueWidget) SetTitle(v bool)
SetTitle allocates a new q.Title and returns the pointer to it.
func (*QueryValueWidget) SetTitleAlign ¶
func (q *QueryValueWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.
func (*QueryValueWidget) SetTitleSize ¶
func (q *QueryValueWidget) SetTitleSize(v TextSize)
SetTitleSize allocates a new q.TitleSize and returns the pointer to it.
func (*QueryValueWidget) SetTitleText ¶
func (q *QueryValueWidget) SetTitleText(v string)
SetTitleText allocates a new q.TitleText and returns the pointer to it.
func (*QueryValueWidget) SetType ¶
func (q *QueryValueWidget) SetType(v string)
SetType allocates a new q.Type and returns the pointer to it.
func (*QueryValueWidget) SetUnit ¶
func (q *QueryValueWidget) SetUnit(v string)
SetUnit allocates a new q.Unit and returns the pointer to it.
func (*QueryValueWidget) SetWidth ¶
func (q *QueryValueWidget) SetWidth(v int)
SetWidth allocates a new q.Width and returns the pointer to it.
func (*QueryValueWidget) SetX ¶
func (q *QueryValueWidget) SetX(v int)
SetX allocates a new q.X and returns the pointer to it.
func (*QueryValueWidget) SetY ¶
func (q *QueryValueWidget) SetY(v int)
SetY allocates a new q.Y and returns the pointer to it.
type Recurrence ¶
type Recurrence struct { Period *int `json:"period,omitempty"` Type *string `json:"type,omitempty"` UntilDate *int `json:"until_date,omitempty"` UntilOccurrences *int `json:"until_occurrences,omitempty"` WeekDays []string `json:"week_days,omitempty"` }
func (*Recurrence) GetPeriod ¶
func (r *Recurrence) GetPeriod() int
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (*Recurrence) GetPeriodOk ¶
func (r *Recurrence) GetPeriodOk() (int, bool)
GetOkPeriod returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Recurrence) GetType ¶
func (r *Recurrence) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*Recurrence) GetTypeOk ¶
func (r *Recurrence) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Recurrence) GetUntilDate ¶
func (r *Recurrence) GetUntilDate() int
GetUntilDate returns the UntilDate field if non-nil, zero value otherwise.
func (*Recurrence) GetUntilDateOk ¶
func (r *Recurrence) GetUntilDateOk() (int, bool)
GetOkUntilDate returns a tuple with the UntilDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Recurrence) GetUntilOccurrences ¶
func (r *Recurrence) GetUntilOccurrences() int
GetUntilOccurrences returns the UntilOccurrences field if non-nil, zero value otherwise.
func (*Recurrence) GetUntilOccurrencesOk ¶
func (r *Recurrence) GetUntilOccurrencesOk() (int, bool)
GetOkUntilOccurrences returns a tuple with the UntilOccurrences field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Recurrence) HasPeriod ¶
func (r *Recurrence) HasPeriod() bool
HasPeriod returns a boolean if a field has been set.
func (*Recurrence) HasType ¶
func (r *Recurrence) HasType() bool
HasType returns a boolean if a field has been set.
func (*Recurrence) HasUntilDate ¶
func (r *Recurrence) HasUntilDate() bool
HasUntilDate returns a boolean if a field has been set.
func (*Recurrence) HasUntilOccurrences ¶
func (r *Recurrence) HasUntilOccurrences() bool
HasUntilOccurrences returns a boolean if a field has been set.
func (*Recurrence) SetPeriod ¶
func (r *Recurrence) SetPeriod(v int)
SetPeriod allocates a new r.Period and returns the pointer to it.
func (*Recurrence) SetType ¶
func (r *Recurrence) SetType(v string)
SetType allocates a new r.Type and returns the pointer to it.
func (*Recurrence) SetUntilDate ¶
func (r *Recurrence) SetUntilDate(v int)
SetUntilDate allocates a new r.UntilDate and returns the pointer to it.
func (*Recurrence) SetUntilOccurrences ¶
func (r *Recurrence) SetUntilOccurrences(v int)
SetUntilOccurrences allocates a new r.UntilOccurrences and returns the pointer to it.
type ScreenShareResponse ¶
type ScreenShareResponse struct {}
type Screenboard ¶
type Screenboard struct { Id *int `json:"id,omitempty"` Title *string `json:"board_title,omitempty"` Height *string `json:"height,omitempty"` Width *string `json:"width,omitempty"` Templated *bool `json:"templated,omitempty"` TemplateVariables []TemplateVariable `json:"template_variables,omitempty"` Widgets []Widget `json:"widgets,omitempty"` ReadOnly *bool `json:"read_only,omitempty"` }
Screenboard represents a user created screenboard. This is the full screenboard struct when we load a screenboard in detail.
func (*Screenboard) GetHeight ¶
func (s *Screenboard) GetHeight() string
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*Screenboard) GetHeightOk ¶
func (s *Screenboard) GetHeightOk() (string, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetId ¶
func (s *Screenboard) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*Screenboard) GetIdOk ¶
func (s *Screenboard) GetIdOk() (int, bool)
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetReadOnly ¶
func (s *Screenboard) GetReadOnly() bool
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (*Screenboard) GetReadOnlyOk ¶
func (s *Screenboard) GetReadOnlyOk() (bool, bool)
GetOkReadOnly returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetShared ¶
func (s *Screenboard) GetShared() bool
GetShared returns the Shared field if non-nil, zero value otherwise.
func (*Screenboard) GetSharedOk ¶
func (s *Screenboard) GetSharedOk() (bool, bool)
GetOkShared returns a tuple with the Shared field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetTemplated ¶
func (s *Screenboard) GetTemplated() bool
GetTemplated returns the Templated field if non-nil, zero value otherwise.
func (*Screenboard) GetTemplatedOk ¶
func (s *Screenboard) GetTemplatedOk() (bool, bool)
GetOkTemplated returns a tuple with the Templated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetTitle ¶
func (s *Screenboard) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*Screenboard) GetTitleOk ¶
func (s *Screenboard) GetTitleOk() (string, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) GetWidth ¶
func (s *Screenboard) GetWidth() string
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*Screenboard) GetWidthOk ¶
func (s *Screenboard) GetWidthOk() (string, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Screenboard) HasHeight ¶
func (s *Screenboard) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*Screenboard) HasId ¶
func (s *Screenboard) HasId() bool
HasId returns a boolean if a field has been set.
func (*Screenboard) HasReadOnly ¶
func (s *Screenboard) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*Screenboard) HasShared ¶
func (s *Screenboard) HasShared() bool
HasShared returns a boolean if a field has been set.
func (*Screenboard) HasTemplated ¶
func (s *Screenboard) HasTemplated() bool
HasTemplated returns a boolean if a field has been set.
func (*Screenboard) HasTitle ¶
func (s *Screenboard) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*Screenboard) HasWidth ¶
func (s *Screenboard) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*Screenboard) SetHeight ¶
func (s *Screenboard) SetHeight(v string)
SetHeight allocates a new s.Height and returns the pointer to it.
func (*Screenboard) SetId ¶
func (s *Screenboard) SetId(v int)
SetId allocates a new s.Id and returns the pointer to it.
func (*Screenboard) SetReadOnly ¶
func (s *Screenboard) SetReadOnly(v bool)
SetReadOnly allocates a new s.ReadOnly and returns the pointer to it.
func (*Screenboard) SetShared ¶
func (s *Screenboard) SetShared(v bool)
SetShared allocates a new s.Shared and returns the pointer to it.
func (*Screenboard) SetTemplated ¶
func (s *Screenboard) SetTemplated(v bool)
SetTemplated allocates a new s.Templated and returns the pointer to it.
func (*Screenboard) SetTitle ¶
func (s *Screenboard) SetTitle(v string)
SetTitle allocates a new s.Title and returns the pointer to it.
func (*Screenboard) SetWidth ¶
func (s *Screenboard) SetWidth(v string)
SetWidth allocates a new s.Width and returns the pointer to it.
type ScreenboardLite ¶
type ScreenboardLite struct { Id *int `json:"id,omitempty"` Resource *string `json:"resource,omitempty"` Title *string `json:"title,omitempty"` }
ScreenboardLite represents a user created screenboard. This is the mini struct when we load the summaries.
func (*ScreenboardLite) GetId ¶
func (s *ScreenboardLite) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*ScreenboardLite) GetIdOk ¶
func (s *ScreenboardLite) GetIdOk() (int, bool)
GetOkId returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScreenboardLite) GetResource ¶
func (s *ScreenboardLite) GetResource() string
GetResource returns the Resource field if non-nil, zero value otherwise.
func (*ScreenboardLite) GetResourceOk ¶
func (s *ScreenboardLite) GetResourceOk() (string, bool)
GetOkResource returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScreenboardLite) GetTitle ¶
func (s *ScreenboardLite) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ScreenboardLite) GetTitleOk ¶
func (s *ScreenboardLite) GetTitleOk() (string, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScreenboardLite) HasId ¶
func (s *ScreenboardLite) HasId() bool
HasId returns a boolean if a field has been set.
func (*ScreenboardLite) HasResource ¶
func (s *ScreenboardLite) HasResource() bool
HasResource returns a boolean if a field has been set.
func (*ScreenboardLite) HasTitle ¶
func (s *ScreenboardLite) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ScreenboardLite) SetId ¶
func (s *ScreenboardLite) SetId(v int)
SetId allocates a new s.Id and returns the pointer to it.
func (*ScreenboardLite) SetResource ¶
func (s *ScreenboardLite) SetResource(v string)
SetResource allocates a new s.Resource and returns the pointer to it.
func (*ScreenboardLite) SetTitle ¶
func (s *ScreenboardLite) SetTitle(v string)
SetTitle allocates a new s.Title and returns the pointer to it.
type Series ¶
type Series struct { Metric *string `json:"metric,omitempty"` DisplayName *string `json:"display_name,omitempty"` Points []DataPoint `json:"pointlist,omitempty"` Start *float64 `json:"start,omitempty"` End *float64 `json:"end,omitempty"` Interval *int `json:"interval,omitempty"` Aggr *string `json:"aggr,omitempty"` Length *int `json:"length,omitempty"` Scope *string `json:"scope,omitempty"` Expression *string `json:"expression,omitempty"` Units *UnitPair `json:"unit,omitempty"` }
Series represents a collection of data points we get when we query for timeseries data
func (*Series) GetAggrOk ¶
GetOkAggr returns a tuple with the Aggr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetDisplayName ¶
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (*Series) GetDisplayNameOk ¶
GetOkDisplayName returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetEndOk ¶
GetOkEnd returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetExpression ¶
GetExpression returns the Expression field if non-nil, zero value otherwise.
func (*Series) GetExpressionOk ¶
GetOkExpression returns a tuple with the Expression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetInterval ¶
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (*Series) GetIntervalOk ¶
GetOkInterval returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetLengthOk ¶
GetOkLength returns a tuple with the Length field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetMetricOk ¶
GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetScopeOk ¶
GetOkScope returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetStartOk ¶
GetOkStart returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) GetUnitsOk ¶
GetOkUnits returns a tuple with the Units field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Series) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*Series) HasExpression ¶
HasExpression returns a boolean if a field has been set.
func (*Series) HasInterval ¶
HasInterval returns a boolean if a field has been set.
func (*Series) SetDisplayName ¶
SetDisplayName allocates a new s.DisplayName and returns the pointer to it.
func (*Series) SetExpression ¶
SetExpression allocates a new s.Expression and returns the pointer to it.
func (*Series) SetInterval ¶
SetInterval allocates a new s.Interval and returns the pointer to it.
type ServiceHookSlackRequest ¶
ServiceHookSlackRequest defines the ServiceHooks struct that is part of the IntegrationSlackRequest.
func (*ServiceHookSlackRequest) GetAccount ¶
func (s *ServiceHookSlackRequest) GetAccount() string
GetAccount returns the Account field if non-nil, zero value otherwise.
func (*ServiceHookSlackRequest) GetAccountOk ¶
func (s *ServiceHookSlackRequest) GetAccountOk() (string, bool)
GetOkAccount returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ServiceHookSlackRequest) GetUrl ¶
func (s *ServiceHookSlackRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*ServiceHookSlackRequest) GetUrlOk ¶
func (s *ServiceHookSlackRequest) GetUrlOk() (string, bool)
GetOkUrl returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ServiceHookSlackRequest) HasAccount ¶
func (s *ServiceHookSlackRequest) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*ServiceHookSlackRequest) HasUrl ¶
func (s *ServiceHookSlackRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*ServiceHookSlackRequest) SetAccount ¶
func (s *ServiceHookSlackRequest) SetAccount(v string)
SetAccount allocates a new s.Account and returns the pointer to it.
func (*ServiceHookSlackRequest) SetUrl ¶
func (s *ServiceHookSlackRequest) SetUrl(v string)
SetUrl allocates a new s.Url and returns the pointer to it.
type ServicePDRequest ¶
type ServicePDRequest struct { ServiceName *string `json:"service_name"` ServiceKey *string `json:"service_key"` }
ServicePDRequest defines the Services struct that is part of the IntegrationPDRequest.
func (*ServicePDRequest) GetServiceKey ¶
func (s *ServicePDRequest) GetServiceKey() string
GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise.
func (*ServicePDRequest) GetServiceKeyOk ¶
func (s *ServicePDRequest) GetServiceKeyOk() (string, bool)
GetOkServiceKey returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ServicePDRequest) GetServiceName ¶
func (s *ServicePDRequest) GetServiceName() string
GetServiceName returns the ServiceName field if non-nil, zero value otherwise.
func (*ServicePDRequest) GetServiceNameOk ¶
func (s *ServicePDRequest) GetServiceNameOk() (string, bool)
GetOkServiceName returns a tuple with the ServiceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ServicePDRequest) HasServiceKey ¶
func (s *ServicePDRequest) HasServiceKey() bool
HasServiceKey returns a boolean if a field has been set.
func (*ServicePDRequest) HasServiceName ¶
func (s *ServicePDRequest) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (*ServicePDRequest) SetServiceKey ¶
func (s *ServicePDRequest) SetServiceKey(v string)
SetServiceKey allocates a new s.ServiceKey and returns the pointer to it.
func (*ServicePDRequest) SetServiceName ¶
func (s *ServicePDRequest) SetServiceName(v string)
SetServiceName allocates a new s.ServiceName and returns the pointer to it.
type Style ¶
type Style struct { Palette *string `json:"palette,omitempty"` PaletteFlip *bool `json:"paletteFlip,omitempty"` }
func (*Style) GetPalette ¶
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*Style) GetPaletteFlip ¶
GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.
func (*Style) GetPaletteFlipOk ¶
GetOkPaletteFlip returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Style) GetPaletteOk ¶
GetOkPalette returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Style) HasPalette ¶
HasPalette returns a boolean if a field has been set.
func (*Style) HasPaletteFlip ¶
HasPaletteFlip returns a boolean if a field has been set.
func (*Style) SetPalette ¶
SetPalette allocates a new s.Palette and returns the pointer to it.
func (*Style) SetPaletteFlip ¶
SetPaletteFlip allocates a new s.PaletteFlip and returns the pointer to it.
type TemplateVariable ¶
type TemplateVariable struct { Name *string `json:"name,omitempty"` Prefix *string `json:"prefix,omitempty"` Default *string `json:"default,omitempty"` }
Template variable represents a template variable that might exist on a dashboard
func (*TemplateVariable) GetDefault ¶
func (t *TemplateVariable) GetDefault() string
GetDefault returns the Default field if non-nil, zero value otherwise.
func (*TemplateVariable) GetDefaultOk ¶
func (t *TemplateVariable) GetDefaultOk() (string, bool)
GetOkDefault returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TemplateVariable) GetName ¶
func (t *TemplateVariable) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*TemplateVariable) GetNameOk ¶
func (t *TemplateVariable) GetNameOk() (string, bool)
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TemplateVariable) GetPrefix ¶
func (t *TemplateVariable) GetPrefix() string
GetPrefix returns the Prefix field if non-nil, zero value otherwise.
func (*TemplateVariable) GetPrefixOk ¶
func (t *TemplateVariable) GetPrefixOk() (string, bool)
GetOkPrefix returns a tuple with the Prefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TemplateVariable) HasDefault ¶
func (t *TemplateVariable) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*TemplateVariable) HasName ¶
func (t *TemplateVariable) HasName() bool
HasName returns a boolean if a field has been set.
func (*TemplateVariable) HasPrefix ¶
func (t *TemplateVariable) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*TemplateVariable) SetDefault ¶
func (t *TemplateVariable) SetDefault(v string)
SetDefault allocates a new t.Default and returns the pointer to it.
func (*TemplateVariable) SetName ¶
func (t *TemplateVariable) SetName(v string)
SetName allocates a new t.Name and returns the pointer to it.
func (*TemplateVariable) SetPrefix ¶
func (t *TemplateVariable) SetPrefix(v string)
SetPrefix allocates a new t.Prefix and returns the pointer to it.
type TextSize ¶
func (*TextSize) GetAutoOk ¶
GetOkAuto returns a tuple with the Auto field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TextSize) GetSizeOk ¶
GetOkSize returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
type ThresholdCount ¶
type ThresholdCount struct { Ok *json.Number `json:"ok,omitempty"` Critical *json.Number `json:"critical,omitempty"` Warning *json.Number `json:"warning,omitempty"` Unknown *json.Number `json:"unknown,omitempty"` CriticalRecovery *json.Number `json:"critical_recovery,omitempty"` WarningRecovery *json.Number `json:"warning_recovery,omitempty"` }
func (*ThresholdCount) GetCritical ¶
func (t *ThresholdCount) GetCritical() json.Number
GetCritical returns the Critical field if non-nil, zero value otherwise.
func (*ThresholdCount) GetCriticalOk ¶
func (t *ThresholdCount) GetCriticalOk() (json.Number, bool)
GetOkCritical returns a tuple with the Critical field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) GetCriticalRecovery ¶
func (t *ThresholdCount) GetCriticalRecovery() json.Number
GetCriticalRecovery returns the CriticalRecovery field if non-nil, zero value otherwise.
func (*ThresholdCount) GetCriticalRecoveryOk ¶
func (t *ThresholdCount) GetCriticalRecoveryOk() (json.Number, bool)
GetOkCriticalRecovery returns a tuple with the CriticalRecovery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) GetOk ¶
func (t *ThresholdCount) GetOk() json.Number
GetOk returns the Ok field if non-nil, zero value otherwise.
func (*ThresholdCount) GetOkOk ¶
func (t *ThresholdCount) GetOkOk() (json.Number, bool)
GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) GetUnknown ¶
func (t *ThresholdCount) GetUnknown() json.Number
GetUnknown returns the Unknown field if non-nil, zero value otherwise.
func (*ThresholdCount) GetUnknownOk ¶
func (t *ThresholdCount) GetUnknownOk() (json.Number, bool)
GetOkUnknown returns a tuple with the Unknown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) GetWarning ¶
func (t *ThresholdCount) GetWarning() json.Number
GetWarning returns the Warning field if non-nil, zero value otherwise.
func (*ThresholdCount) GetWarningOk ¶
func (t *ThresholdCount) GetWarningOk() (json.Number, bool)
GetOkWarning returns a tuple with the Warning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) GetWarningRecovery ¶
func (t *ThresholdCount) GetWarningRecovery() json.Number
GetWarningRecovery returns the WarningRecovery field if non-nil, zero value otherwise.
func (*ThresholdCount) GetWarningRecoveryOk ¶
func (t *ThresholdCount) GetWarningRecoveryOk() (json.Number, bool)
GetOkWarningRecovery returns a tuple with the WarningRecovery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdCount) HasCritical ¶
func (t *ThresholdCount) HasCritical() bool
HasCritical returns a boolean if a field has been set.
func (*ThresholdCount) HasCriticalRecovery ¶
func (t *ThresholdCount) HasCriticalRecovery() bool
HasCriticalRecovery returns a boolean if a field has been set.
func (*ThresholdCount) HasOk ¶
func (t *ThresholdCount) HasOk() bool
HasOk returns a boolean if a field has been set.
func (*ThresholdCount) HasUnknown ¶
func (t *ThresholdCount) HasUnknown() bool
HasUnknown returns a boolean if a field has been set.
func (*ThresholdCount) HasWarning ¶
func (t *ThresholdCount) HasWarning() bool
HasWarning returns a boolean if a field has been set.
func (*ThresholdCount) HasWarningRecovery ¶
func (t *ThresholdCount) HasWarningRecovery() bool
HasWarningRecovery returns a boolean if a field has been set.
func (*ThresholdCount) SetCritical ¶
func (t *ThresholdCount) SetCritical(v json.Number)
SetCritical allocates a new t.Critical and returns the pointer to it.
func (*ThresholdCount) SetCriticalRecovery ¶
func (t *ThresholdCount) SetCriticalRecovery(v json.Number)
SetCriticalRecovery allocates a new t.CriticalRecovery and returns the pointer to it.
func (*ThresholdCount) SetOk ¶
func (t *ThresholdCount) SetOk(v json.Number)
SetOk allocates a new t.Ok and returns the pointer to it.
func (*ThresholdCount) SetUnknown ¶
func (t *ThresholdCount) SetUnknown(v json.Number)
SetUnknown allocates a new t.Unknown and returns the pointer to it.
func (*ThresholdCount) SetWarning ¶
func (t *ThresholdCount) SetWarning(v json.Number)
SetWarning allocates a new t.Warning and returns the pointer to it.
func (*ThresholdCount) SetWarningRecovery ¶
func (t *ThresholdCount) SetWarningRecovery(v json.Number)
SetWarningRecovery allocates a new t.WarningRecovery and returns the pointer to it.
type TileDef ¶
type TileDef struct { Events []TileDefEvent `json:"events,omitempty"` Markers []TimeseriesMarker `json:"markers,omitempty"` Requests []TimeseriesRequest `json:"requests,omitempty"` Viz *string `json:"viz,omitempty"` }
func (*TileDef) GetVizOk ¶
GetOkViz returns a tuple with the Viz field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
type TileDefEvent ¶
type TileDefEvent struct {
Query *string `json:"q"`
}
func (*TileDefEvent) GetQuery ¶
func (t *TileDefEvent) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*TileDefEvent) GetQueryOk ¶
func (t *TileDefEvent) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefEvent) HasQuery ¶
func (t *TileDefEvent) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*TileDefEvent) SetQuery ¶
func (t *TileDefEvent) SetQuery(v string)
SetQuery allocates a new t.Query and returns the pointer to it.
type TimeseriesMarker ¶
type TimeseriesMarker struct { Label *string `json:"label,omitempty"` Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
func (*TimeseriesMarker) GetLabel ¶
func (t *TimeseriesMarker) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (*TimeseriesMarker) GetLabelOk ¶
func (t *TimeseriesMarker) GetLabelOk() (string, bool)
GetOkLabel returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesMarker) GetType ¶
func (t *TimeseriesMarker) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TimeseriesMarker) GetTypeOk ¶
func (t *TimeseriesMarker) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesMarker) GetValue ¶
func (t *TimeseriesMarker) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (*TimeseriesMarker) GetValueOk ¶
func (t *TimeseriesMarker) GetValueOk() (string, bool)
GetOkValue returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesMarker) HasLabel ¶
func (t *TimeseriesMarker) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*TimeseriesMarker) HasType ¶
func (t *TimeseriesMarker) HasType() bool
HasType returns a boolean if a field has been set.
func (*TimeseriesMarker) HasValue ¶
func (t *TimeseriesMarker) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*TimeseriesMarker) SetLabel ¶
func (t *TimeseriesMarker) SetLabel(v string)
SetLabel allocates a new t.Label and returns the pointer to it.
func (*TimeseriesMarker) SetType ¶
func (t *TimeseriesMarker) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*TimeseriesMarker) SetValue ¶
func (t *TimeseriesMarker) SetValue(v string)
SetValue allocates a new t.Value and returns the pointer to it.
type TimeseriesRequest ¶
type TimeseriesRequest struct { Query *string `json:"q,omitempty"` Type *string `json:"type,omitempty"` ConditionalFormats []ConditionalFormat `json:"conditional_formats,omitempty"` Style *TimeseriesRequestStyle `json:"style,omitempty"` }
func (*TimeseriesRequest) GetQuery ¶
func (t *TimeseriesRequest) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetQueryOk ¶
func (t *TimeseriesRequest) GetQueryOk() (string, bool)
GetOkQuery returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetStyle ¶
func (t *TimeseriesRequest) GetStyle() TimeseriesRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetStyleOk ¶
func (t *TimeseriesRequest) GetStyleOk() (TimeseriesRequestStyle, bool)
GetOkStyle returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetType ¶
func (t *TimeseriesRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetTypeOk ¶
func (t *TimeseriesRequest) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) HasQuery ¶
func (t *TimeseriesRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*TimeseriesRequest) HasStyle ¶
func (t *TimeseriesRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*TimeseriesRequest) HasType ¶
func (t *TimeseriesRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*TimeseriesRequest) SetQuery ¶
func (t *TimeseriesRequest) SetQuery(v string)
SetQuery allocates a new t.Query and returns the pointer to it.
func (*TimeseriesRequest) SetStyle ¶
func (t *TimeseriesRequest) SetStyle(v TimeseriesRequestStyle)
SetStyle allocates a new t.Style and returns the pointer to it.
func (*TimeseriesRequest) SetType ¶
func (t *TimeseriesRequest) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
type TimeseriesRequestStyle ¶
type TimeseriesRequestStyle struct {
Palette *string `json:"palette,omitempty"`
}
func (*TimeseriesRequestStyle) GetPalette ¶
func (t *TimeseriesRequestStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*TimeseriesRequestStyle) GetPaletteOk ¶
func (t *TimeseriesRequestStyle) GetPaletteOk() (string, bool)
GetOkPalette returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequestStyle) HasPalette ¶
func (t *TimeseriesRequestStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*TimeseriesRequestStyle) SetPalette ¶
func (t *TimeseriesRequestStyle) SetPalette(v string)
SetPalette allocates a new t.Palette and returns the pointer to it.
type TimeseriesWidget ¶
type TimeseriesWidget struct { Height *int `json:"height,omitempty"` Legend *bool `json:"legend,omitempty"` TileDef *TileDef `json:"tile_def,omitempty"` Timeframe *string `json:"timeframe,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleSize *TextSize `json:"title_size,omitempty"` TitleText *string `json:"title_text,omitempty"` Type *string `json:"type,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*TimeseriesWidget) GetHeight ¶
func (t *TimeseriesWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetHeightOk ¶
func (t *TimeseriesWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetLegend ¶
func (t *TimeseriesWidget) GetLegend() bool
GetLegend returns the Legend field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetLegendOk ¶
func (t *TimeseriesWidget) GetLegendOk() (bool, bool)
GetOkLegend returns a tuple with the Legend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTileDef ¶
func (t *TimeseriesWidget) GetTileDef() TileDef
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTileDefOk ¶
func (t *TimeseriesWidget) GetTileDefOk() (TileDef, bool)
GetOkTileDef returns a tuple with the TileDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTimeframe ¶
func (t *TimeseriesWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTimeframeOk ¶
func (t *TimeseriesWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTitle ¶
func (t *TimeseriesWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTitleAlign ¶
func (t *TimeseriesWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTitleAlignOk ¶
func (t *TimeseriesWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTitleOk ¶
func (t *TimeseriesWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTitleSize ¶
func (t *TimeseriesWidget) GetTitleSize() TextSize
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTitleSizeOk ¶
func (t *TimeseriesWidget) GetTitleSizeOk() (TextSize, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetTitleText ¶
func (t *TimeseriesWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTitleTextOk ¶
func (t *TimeseriesWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetType ¶
func (t *TimeseriesWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetTypeOk ¶
func (t *TimeseriesWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetWidth ¶
func (t *TimeseriesWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetWidthOk ¶
func (t *TimeseriesWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetX ¶
func (t *TimeseriesWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetXOk ¶
func (t *TimeseriesWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) GetY ¶
func (t *TimeseriesWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*TimeseriesWidget) GetYOk ¶
func (t *TimeseriesWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesWidget) HasHeight ¶
func (t *TimeseriesWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*TimeseriesWidget) HasLegend ¶
func (t *TimeseriesWidget) HasLegend() bool
HasLegend returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTileDef ¶
func (t *TimeseriesWidget) HasTileDef() bool
HasTileDef returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTimeframe ¶
func (t *TimeseriesWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTitle ¶
func (t *TimeseriesWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTitleAlign ¶
func (t *TimeseriesWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTitleSize ¶
func (t *TimeseriesWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*TimeseriesWidget) HasTitleText ¶
func (t *TimeseriesWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*TimeseriesWidget) HasType ¶
func (t *TimeseriesWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*TimeseriesWidget) HasWidth ¶
func (t *TimeseriesWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*TimeseriesWidget) HasX ¶
func (t *TimeseriesWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*TimeseriesWidget) HasY ¶
func (t *TimeseriesWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*TimeseriesWidget) SetHeight ¶
func (t *TimeseriesWidget) SetHeight(v int)
SetHeight allocates a new t.Height and returns the pointer to it.
func (*TimeseriesWidget) SetLegend ¶
func (t *TimeseriesWidget) SetLegend(v bool)
SetLegend allocates a new t.Legend and returns the pointer to it.
func (*TimeseriesWidget) SetTileDef ¶
func (t *TimeseriesWidget) SetTileDef(v TileDef)
SetTileDef allocates a new t.TileDef and returns the pointer to it.
func (*TimeseriesWidget) SetTimeframe ¶
func (t *TimeseriesWidget) SetTimeframe(v string)
SetTimeframe allocates a new t.Timeframe and returns the pointer to it.
func (*TimeseriesWidget) SetTitle ¶
func (t *TimeseriesWidget) SetTitle(v bool)
SetTitle allocates a new t.Title and returns the pointer to it.
func (*TimeseriesWidget) SetTitleAlign ¶
func (t *TimeseriesWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
func (*TimeseriesWidget) SetTitleSize ¶
func (t *TimeseriesWidget) SetTitleSize(v TextSize)
SetTitleSize allocates a new t.TitleSize and returns the pointer to it.
func (*TimeseriesWidget) SetTitleText ¶
func (t *TimeseriesWidget) SetTitleText(v string)
SetTitleText allocates a new t.TitleText and returns the pointer to it.
func (*TimeseriesWidget) SetType ¶
func (t *TimeseriesWidget) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*TimeseriesWidget) SetWidth ¶
func (t *TimeseriesWidget) SetWidth(v int)
SetWidth allocates a new t.Width and returns the pointer to it.
func (*TimeseriesWidget) SetX ¶
func (t *TimeseriesWidget) SetX(v int)
SetX allocates a new t.X and returns the pointer to it.
func (*TimeseriesWidget) SetY ¶
func (t *TimeseriesWidget) SetY(v int)
SetY allocates a new t.Y and returns the pointer to it.
type ToplistWidget ¶
type ToplistWidget struct { Height *int `json:"height,omitempty"` Legend *bool `json:"legend,omitempty"` LegendSize *int `json:"legend_size,omitempty"` TileDef *TileDef `json:"tile_def,omitempty"` Timeframe *string `json:"timeframe,omitempty"` Title *bool `json:"title,omitempty"` TitleAlign *string `json:"title_align,omitempty"` TitleSize *TextSize `json:"title_size,omitempty"` TitleText *string `json:"title_text,omitempty"` Type *string `json:"type,omitempty"` Width *int `json:"width,omitempty"` X *int `json:"x,omitempty"` Y *int `json:"y,omitempty"` }
func (*ToplistWidget) GetHeight ¶
func (t *ToplistWidget) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*ToplistWidget) GetHeightOk ¶
func (t *ToplistWidget) GetHeightOk() (int, bool)
GetOkHeight returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetLegend ¶
func (t *ToplistWidget) GetLegend() bool
GetLegend returns the Legend field if non-nil, zero value otherwise.
func (*ToplistWidget) GetLegendOk ¶
func (t *ToplistWidget) GetLegendOk() (bool, bool)
GetOkLegend returns a tuple with the Legend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetLegendSize ¶
func (t *ToplistWidget) GetLegendSize() int
GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
func (*ToplistWidget) GetLegendSizeOk ¶
func (t *ToplistWidget) GetLegendSizeOk() (int, bool)
GetOkLegendSize returns a tuple with the LegendSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTileDef ¶
func (t *ToplistWidget) GetTileDef() TileDef
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTileDefOk ¶
func (t *ToplistWidget) GetTileDefOk() (TileDef, bool)
GetOkTileDef returns a tuple with the TileDef field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTimeframe ¶
func (t *ToplistWidget) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTimeframeOk ¶
func (t *ToplistWidget) GetTimeframeOk() (string, bool)
GetOkTimeframe returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTitle ¶
func (t *ToplistWidget) GetTitle() bool
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTitleAlign ¶
func (t *ToplistWidget) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTitleAlignOk ¶
func (t *ToplistWidget) GetTitleAlignOk() (string, bool)
GetOkTitleAlign returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTitleOk ¶
func (t *ToplistWidget) GetTitleOk() (bool, bool)
GetOkTitle returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTitleSize ¶
func (t *ToplistWidget) GetTitleSize() TextSize
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTitleSizeOk ¶
func (t *ToplistWidget) GetTitleSizeOk() (TextSize, bool)
GetOkTitleSize returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetTitleText ¶
func (t *ToplistWidget) GetTitleText() string
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTitleTextOk ¶
func (t *ToplistWidget) GetTitleTextOk() (string, bool)
GetOkTitleText returns a tuple with the TitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetType ¶
func (t *ToplistWidget) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ToplistWidget) GetTypeOk ¶
func (t *ToplistWidget) GetTypeOk() (string, bool)
GetOkType returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetWidth ¶
func (t *ToplistWidget) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*ToplistWidget) GetWidthOk ¶
func (t *ToplistWidget) GetWidthOk() (int, bool)
GetOkWidth returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetX ¶
func (t *ToplistWidget) GetX() int
GetX returns the X field if non-nil, zero value otherwise.
func (*ToplistWidget) GetXOk ¶
func (t *ToplistWidget) GetXOk() (int, bool)
GetOkX returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) GetY ¶
func (t *ToplistWidget) GetY() int
GetY returns the Y field if non-nil, zero value otherwise.
func (*ToplistWidget) GetYOk ¶
func (t *ToplistWidget) GetYOk() (int, bool)
GetOkY returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistWidget) HasHeight ¶
func (t *ToplistWidget) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*ToplistWidget) HasLegend ¶
func (t *ToplistWidget) HasLegend() bool
HasLegend returns a boolean if a field has been set.
func (*ToplistWidget) HasLegendSize ¶
func (t *ToplistWidget) HasLegendSize() bool
HasLegendSize returns a boolean if a field has been set.
func (*ToplistWidget) HasTileDef ¶
func (t *ToplistWidget) HasTileDef() bool
HasTileDef returns a boolean if a field has been set.
func (*ToplistWidget) HasTimeframe ¶
func (t *ToplistWidget) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*ToplistWidget) HasTitle ¶
func (t *ToplistWidget) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ToplistWidget) HasTitleAlign ¶
func (t *ToplistWidget) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ToplistWidget) HasTitleSize ¶
func (t *ToplistWidget) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ToplistWidget) HasTitleText ¶
func (t *ToplistWidget) HasTitleText() bool
HasTitleText returns a boolean if a field has been set.
func (*ToplistWidget) HasType ¶
func (t *ToplistWidget) HasType() bool
HasType returns a boolean if a field has been set.
func (*ToplistWidget) HasWidth ¶
func (t *ToplistWidget) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*ToplistWidget) HasX ¶
func (t *ToplistWidget) HasX() bool
HasX returns a boolean if a field has been set.
func (*ToplistWidget) HasY ¶
func (t *ToplistWidget) HasY() bool
HasY returns a boolean if a field has been set.
func (*ToplistWidget) SetHeight ¶
func (t *ToplistWidget) SetHeight(v int)
SetHeight allocates a new t.Height and returns the pointer to it.
func (*ToplistWidget) SetLegend ¶
func (t *ToplistWidget) SetLegend(v bool)
SetLegend allocates a new t.Legend and returns the pointer to it.
func (*ToplistWidget) SetLegendSize ¶
func (t *ToplistWidget) SetLegendSize(v int)
SetLegendSize allocates a new t.LegendSize and returns the pointer to it.
func (*ToplistWidget) SetTileDef ¶
func (t *ToplistWidget) SetTileDef(v TileDef)
SetTileDef allocates a new t.TileDef and returns the pointer to it.
func (*ToplistWidget) SetTimeframe ¶
func (t *ToplistWidget) SetTimeframe(v string)
SetTimeframe allocates a new t.Timeframe and returns the pointer to it.
func (*ToplistWidget) SetTitle ¶
func (t *ToplistWidget) SetTitle(v bool)
SetTitle allocates a new t.Title and returns the pointer to it.
func (*ToplistWidget) SetTitleAlign ¶
func (t *ToplistWidget) SetTitleAlign(v string)
SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
func (*ToplistWidget) SetTitleSize ¶
func (t *ToplistWidget) SetTitleSize(v TextSize)
SetTitleSize allocates a new t.TitleSize and returns the pointer to it.
func (*ToplistWidget) SetTitleText ¶
func (t *ToplistWidget) SetTitleText(v string)
SetTitleText allocates a new t.TitleText and returns the pointer to it.
func (*ToplistWidget) SetType ¶
func (t *ToplistWidget) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*ToplistWidget) SetWidth ¶
func (t *ToplistWidget) SetWidth(v int)
SetWidth allocates a new t.Width and returns the pointer to it.
func (*ToplistWidget) SetX ¶
func (t *ToplistWidget) SetX(v int)
SetX allocates a new t.X and returns the pointer to it.
func (*ToplistWidget) SetY ¶
func (t *ToplistWidget) SetY(v int)
SetY allocates a new t.Y and returns the pointer to it.
type Unit ¶
type Unit struct { Family string `json:"family"` ScaleFactor float32 `json:"scale_factor"` Name string `json:"name"` ShortName string `json:"short_name"` Plural string `json:"plural"` Id int `json:"id"` }
Unit represents a unit definition that we might receive when query for timeseries data.
type UnitPair ¶
type UnitPair []*Unit
A Series is characterized by 2 units as: x per y One or both could be missing
type User ¶
type User struct { Handle *string `json:"handle,omitempty"` Email *string `json:"email,omitempty"` Name *string `json:"name,omitempty"` Role *string `json:"role,omitempty"` AccessRole *string `json:"access_role,omitempty"` Verified *bool `json:"verified,omitempty"` Disabled *bool `json:"disabled,omitempty"` // DEPRECATED: IsAdmin is deprecated and will be removed in the next major // revision. For more info on why it is being removed, see discussion on // https://github.com/zorkian/go-datadog-api/issues/126. IsAdmin *bool `json:"is_admin,omitempty"` }
func (*User) GetAccessRole ¶
GetAccessRole returns the AccessRole field if non-nil, zero value otherwise.
func (*User) GetAccessRoleOk ¶
GetOkAccessRole returns a tuple with the AccessRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetDisabled ¶
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (*User) GetDisabledOk ¶
GetOkDisabled returns a tuple with the Disabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetOkEmail returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetHandleOk ¶
GetOkHandle returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetIsAdmin ¶
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
func (*User) GetIsAdminOk ¶
GetOkIsAdmin returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetNameOk ¶
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetRoleOk ¶
GetOkRole returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) GetVerified ¶
GetVerified returns the Verified field if non-nil, zero value otherwise.
func (*User) GetVerifiedOk ¶
GetOkVerified returns a tuple with the Verified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*User) HasAccessRole ¶
HasAccessRole returns a boolean if a field has been set.
func (*User) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (*User) HasIsAdmin ¶
HasIsAdmin returns a boolean if a field has been set.
func (*User) HasVerified ¶
HasVerified returns a boolean if a field has been set.
func (*User) SetAccessRole ¶
SetAccessRole allocates a new u.AccessRole and returns the pointer to it.
func (*User) SetDisabled ¶
SetDisabled allocates a new u.Disabled and returns the pointer to it.
func (*User) SetIsAdmin ¶
SetIsAdmin allocates a new u.IsAdmin and returns the pointer to it.
func (*User) SetVerified ¶
SetVerified allocates a new u.Verified and returns the pointer to it.
type Widget ¶
type Widget struct { Default *string `json:"default,omitempty"` Name *string `json:"name,omitempty"` Prefix *string `json:"prefix,omitempty"` TimeseriesWidget *TimeseriesWidget `json:"timeseries,omitempty"` QueryValueWidget *QueryValueWidget `json:"query_value,omitempty"` EventStreamWidget *EventStreamWidget `json:"event_stream,omitempty"` FreeTextWidget *FreeTextWidget `json:"free_text,omitempty"` ToplistWidget *ToplistWidget `json:"toplist,omitempty"` ImageWidget *ImageWidget `json:"image,omitempty"` ChangeWidget *ChangeWidget `json:"change,omitempty"` GraphWidget *GraphWidget `json:"graph,omitempty"` EventTimelineWidget *EventTimelineWidget `json:"event_timeline,omitempty"` AlertValueWidget *AlertValueWidget `json:"alert_value,omitempty"` AlertGraphWidget *AlertGraphWidget `json:"alert_graph,omitempty"` HostMapWidget *HostMapWidget `json:"hostmap,omitempty"` CheckStatusWidget *CheckStatusWidget `json:"check_status,omitempty"` IFrameWidget *IFrameWidget `json:"iframe,omitempty"` NoteWidget *NoteWidget `json:"frame,omitempty"` }
type Widget struct {
func (*Widget) GetAlertGraphWidget ¶
func (w *Widget) GetAlertGraphWidget() AlertGraphWidget
GetAlertGraphWidget returns the AlertGraphWidget field if non-nil, zero value otherwise.
func (*Widget) GetAlertGraphWidgetOk ¶
func (w *Widget) GetAlertGraphWidgetOk() (AlertGraphWidget, bool)
GetOkAlertGraphWidget returns a tuple with the AlertGraphWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetAlertValueWidget ¶
func (w *Widget) GetAlertValueWidget() AlertValueWidget
GetAlertValueWidget returns the AlertValueWidget field if non-nil, zero value otherwise.
func (*Widget) GetAlertValueWidgetOk ¶
func (w *Widget) GetAlertValueWidgetOk() (AlertValueWidget, bool)
GetOkAlertValueWidget returns a tuple with the AlertValueWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetChangeWidget ¶
func (w *Widget) GetChangeWidget() ChangeWidget
GetChangeWidget returns the ChangeWidget field if non-nil, zero value otherwise.
func (*Widget) GetChangeWidgetOk ¶
func (w *Widget) GetChangeWidgetOk() (ChangeWidget, bool)
GetOkChangeWidget returns a tuple with the ChangeWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetCheckStatusWidget ¶
func (w *Widget) GetCheckStatusWidget() CheckStatusWidget
GetCheckStatusWidget returns the CheckStatusWidget field if non-nil, zero value otherwise.
func (*Widget) GetCheckStatusWidgetOk ¶
func (w *Widget) GetCheckStatusWidgetOk() (CheckStatusWidget, bool)
GetOkCheckStatusWidget returns a tuple with the CheckStatusWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetDefault ¶
GetDefault returns the Default field if non-nil, zero value otherwise.
func (*Widget) GetDefaultOk ¶
GetOkDefault returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetEventStreamWidget ¶
func (w *Widget) GetEventStreamWidget() EventStreamWidget
GetEventStreamWidget returns the EventStreamWidget field if non-nil, zero value otherwise.
func (*Widget) GetEventStreamWidgetOk ¶
func (w *Widget) GetEventStreamWidgetOk() (EventStreamWidget, bool)
GetOkEventStreamWidget returns a tuple with the EventStreamWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetEventTimelineWidget ¶
func (w *Widget) GetEventTimelineWidget() EventTimelineWidget
GetEventTimelineWidget returns the EventTimelineWidget field if non-nil, zero value otherwise.
func (*Widget) GetEventTimelineWidgetOk ¶
func (w *Widget) GetEventTimelineWidgetOk() (EventTimelineWidget, bool)
GetOkEventTimelineWidget returns a tuple with the EventTimelineWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetFreeTextWidget ¶
func (w *Widget) GetFreeTextWidget() FreeTextWidget
GetFreeTextWidget returns the FreeTextWidget field if non-nil, zero value otherwise.
func (*Widget) GetFreeTextWidgetOk ¶
func (w *Widget) GetFreeTextWidgetOk() (FreeTextWidget, bool)
GetOkFreeTextWidget returns a tuple with the FreeTextWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetGraphWidget ¶
func (w *Widget) GetGraphWidget() GraphWidget
GetGraphWidget returns the GraphWidget field if non-nil, zero value otherwise.
func (*Widget) GetGraphWidgetOk ¶
func (w *Widget) GetGraphWidgetOk() (GraphWidget, bool)
GetOkGraphWidget returns a tuple with the GraphWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetHostMapWidget ¶
func (w *Widget) GetHostMapWidget() HostMapWidget
GetHostMapWidget returns the HostMapWidget field if non-nil, zero value otherwise.
func (*Widget) GetHostMapWidgetOk ¶
func (w *Widget) GetHostMapWidgetOk() (HostMapWidget, bool)
GetOkHostMapWidget returns a tuple with the HostMapWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetIFrameWidget ¶
func (w *Widget) GetIFrameWidget() IFrameWidget
GetIFrameWidget returns the IFrameWidget field if non-nil, zero value otherwise.
func (*Widget) GetIFrameWidgetOk ¶
func (w *Widget) GetIFrameWidgetOk() (IFrameWidget, bool)
GetOkIFrameWidget returns a tuple with the IFrameWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetImageWidget ¶
func (w *Widget) GetImageWidget() ImageWidget
GetImageWidget returns the ImageWidget field if non-nil, zero value otherwise.
func (*Widget) GetImageWidgetOk ¶
func (w *Widget) GetImageWidgetOk() (ImageWidget, bool)
GetOkImageWidget returns a tuple with the ImageWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetNameOk ¶
GetOkName returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetNoteWidget ¶
func (w *Widget) GetNoteWidget() NoteWidget
GetNoteWidget returns the NoteWidget field if non-nil, zero value otherwise.
func (*Widget) GetNoteWidgetOk ¶
func (w *Widget) GetNoteWidgetOk() (NoteWidget, bool)
GetOkNoteWidget returns a tuple with the NoteWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetPrefixOk ¶
GetOkPrefix returns a tuple with the Prefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetQueryValueWidget ¶
func (w *Widget) GetQueryValueWidget() QueryValueWidget
GetQueryValueWidget returns the QueryValueWidget field if non-nil, zero value otherwise.
func (*Widget) GetQueryValueWidgetOk ¶
func (w *Widget) GetQueryValueWidgetOk() (QueryValueWidget, bool)
GetOkQueryValueWidget returns a tuple with the QueryValueWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetTimeseriesWidget ¶
func (w *Widget) GetTimeseriesWidget() TimeseriesWidget
GetTimeseriesWidget returns the TimeseriesWidget field if non-nil, zero value otherwise.
func (*Widget) GetTimeseriesWidgetOk ¶
func (w *Widget) GetTimeseriesWidgetOk() (TimeseriesWidget, bool)
GetOkTimeseriesWidget returns a tuple with the TimeseriesWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetToplistWidget ¶
func (w *Widget) GetToplistWidget() ToplistWidget
GetToplistWidget returns the ToplistWidget field if non-nil, zero value otherwise.
func (*Widget) GetToplistWidgetOk ¶
func (w *Widget) GetToplistWidgetOk() (ToplistWidget, bool)
GetOkToplistWidget returns a tuple with the ToplistWidget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) HasAlertGraphWidget ¶
HasAlertGraphWidget returns a boolean if a field has been set.
func (*Widget) HasAlertValueWidget ¶
HasAlertValueWidget returns a boolean if a field has been set.
func (*Widget) HasChangeWidget ¶
HasChangeWidget returns a boolean if a field has been set.
func (*Widget) HasCheckStatusWidget ¶
HasCheckStatusWidget returns a boolean if a field has been set.
func (*Widget) HasDefault ¶
HasDefault returns a boolean if a field has been set.
func (*Widget) HasEventStreamWidget ¶
HasEventStreamWidget returns a boolean if a field has been set.
func (*Widget) HasEventTimelineWidget ¶
HasEventTimelineWidget returns a boolean if a field has been set.
func (*Widget) HasFreeTextWidget ¶
HasFreeTextWidget returns a boolean if a field has been set.
func (*Widget) HasGraphWidget ¶
HasGraphWidget returns a boolean if a field has been set.
func (*Widget) HasHostMapWidget ¶
HasHostMapWidget returns a boolean if a field has been set.
func (*Widget) HasIFrameWidget ¶
HasIFrameWidget returns a boolean if a field has been set.
func (*Widget) HasImageWidget ¶
HasImageWidget returns a boolean if a field has been set.
func (*Widget) HasNoteWidget ¶
HasNoteWidget returns a boolean if a field has been set.
func (*Widget) HasQueryValueWidget ¶
HasQueryValueWidget returns a boolean if a field has been set.
func (*Widget) HasTimeseriesWidget ¶
HasTimeseriesWidget returns a boolean if a field has been set.
func (*Widget) HasToplistWidget ¶
HasToplistWidget returns a boolean if a field has been set.
func (*Widget) SetAlertGraphWidget ¶
func (w *Widget) SetAlertGraphWidget(v AlertGraphWidget)
SetAlertGraphWidget allocates a new w.AlertGraphWidget and returns the pointer to it.
func (*Widget) SetAlertValueWidget ¶
func (w *Widget) SetAlertValueWidget(v AlertValueWidget)
SetAlertValueWidget allocates a new w.AlertValueWidget and returns the pointer to it.
func (*Widget) SetChangeWidget ¶
func (w *Widget) SetChangeWidget(v ChangeWidget)
SetChangeWidget allocates a new w.ChangeWidget and returns the pointer to it.
func (*Widget) SetCheckStatusWidget ¶
func (w *Widget) SetCheckStatusWidget(v CheckStatusWidget)
SetCheckStatusWidget allocates a new w.CheckStatusWidget and returns the pointer to it.
func (*Widget) SetDefault ¶
SetDefault allocates a new w.Default and returns the pointer to it.
func (*Widget) SetEventStreamWidget ¶
func (w *Widget) SetEventStreamWidget(v EventStreamWidget)
SetEventStreamWidget allocates a new w.EventStreamWidget and returns the pointer to it.
func (*Widget) SetEventTimelineWidget ¶
func (w *Widget) SetEventTimelineWidget(v EventTimelineWidget)
SetEventTimelineWidget allocates a new w.EventTimelineWidget and returns the pointer to it.
func (*Widget) SetFreeTextWidget ¶
func (w *Widget) SetFreeTextWidget(v FreeTextWidget)
SetFreeTextWidget allocates a new w.FreeTextWidget and returns the pointer to it.
func (*Widget) SetGraphWidget ¶
func (w *Widget) SetGraphWidget(v GraphWidget)
SetGraphWidget allocates a new w.GraphWidget and returns the pointer to it.
func (*Widget) SetHostMapWidget ¶
func (w *Widget) SetHostMapWidget(v HostMapWidget)
SetHostMapWidget allocates a new w.HostMapWidget and returns the pointer to it.
func (*Widget) SetIFrameWidget ¶
func (w *Widget) SetIFrameWidget(v IFrameWidget)
SetIFrameWidget allocates a new w.IFrameWidget and returns the pointer to it.
func (*Widget) SetImageWidget ¶
func (w *Widget) SetImageWidget(v ImageWidget)
SetImageWidget allocates a new w.ImageWidget and returns the pointer to it.
func (*Widget) SetNoteWidget ¶
func (w *Widget) SetNoteWidget(v NoteWidget)
SetNoteWidget allocates a new w.NoteWidget and returns the pointer to it.
func (*Widget) SetQueryValueWidget ¶
func (w *Widget) SetQueryValueWidget(v QueryValueWidget)
SetQueryValueWidget allocates a new w.QueryValueWidget and returns the pointer to it.
func (*Widget) SetTimeseriesWidget ¶
func (w *Widget) SetTimeseriesWidget(v TimeseriesWidget)
SetTimeseriesWidget allocates a new w.TimeseriesWidget and returns the pointer to it.
func (*Widget) SetToplistWidget ¶
func (w *Widget) SetToplistWidget(v ToplistWidget)
SetToplistWidget allocates a new w.ToplistWidget and returns the pointer to it.
type Yaxis ¶
type Yaxis struct { Min *float64 `json:"min,omitempty"` Max *float64 `json:"max,omitempty"` Scale *string `json:"scale,omitempty"` }
func (*Yaxis) GetMaxOk ¶
GetOkMax returns a tuple with the Max field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Yaxis) GetMinOk ¶
GetOkMin returns a tuple with the Min field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Yaxis) GetScaleOk ¶
GetOkScale returns a tuple with the Scale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.