Documentation
¶
Index ¶
- Constants
- 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 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 Client
- func (client *Client) AddDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)
- 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) CreateDashboardList(list *DashboardList) (*DashboardList, error)
- func (client *Client) CreateDowntime(downtime *Downtime) (*Downtime, error)
- func (client *Client) CreateIntegrationAWS(awsAccount *IntegrationAWSAccount) (*IntegrationAWSAccountCreateResponse, 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) DeleteDashboardList(id int) error
- func (client *Client) DeleteDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)
- func (client *Client) DeleteDowntime(id int) error
- func (client *Client) DeleteIntegrationAWS(awsAccount *IntegrationAWSAccountDeleteRequest) 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) GetDashboardList(id int) (*DashboardList, error)
- func (client *Client) GetDashboardListItems(id int) ([]DashboardListItem, error)
- func (client *Client) GetDashboardLists() ([]DashboardList, 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) GetIntegrationAWS() (*[]IntegrationAWSAccount, 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) UpdateDashboardList(list *DashboardList) error
- func (client *Client) UpdateDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, 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) GetImageURL() string
- func (c *ConditionalFormat) GetImageURLOk() (string, bool)
- func (c *ConditionalFormat) GetInvert() bool
- func (c *ConditionalFormat) GetInvertOk() (bool, bool)
- func (c *ConditionalFormat) GetPalette() string
- func (c *ConditionalFormat) GetPaletteOk() (string, bool)
- func (c *ConditionalFormat) GetValue() string
- func (c *ConditionalFormat) GetValueOk() (string, bool)
- func (c *ConditionalFormat) HasColor() bool
- func (c *ConditionalFormat) HasComparator() bool
- func (c *ConditionalFormat) HasImageURL() bool
- func (c *ConditionalFormat) HasInvert() bool
- func (c *ConditionalFormat) HasPalette() bool
- func (c *ConditionalFormat) HasValue() bool
- func (c *ConditionalFormat) SetColor(v string)
- func (c *ConditionalFormat) SetComparator(v string)
- func (c *ConditionalFormat) SetImageURL(v string)
- func (c *ConditionalFormat) SetInvert(v bool)
- func (c *ConditionalFormat) SetPalette(v string)
- func (c *ConditionalFormat) SetValue(v string)
- 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 DashboardList
- func (d *DashboardList) GetDashboardCount() int
- func (d *DashboardList) GetDashboardCountOk() (int, bool)
- func (d *DashboardList) GetId() int
- func (d *DashboardList) GetIdOk() (int, bool)
- func (d *DashboardList) GetName() string
- func (d *DashboardList) GetNameOk() (string, bool)
- func (d *DashboardList) HasDashboardCount() bool
- func (d *DashboardList) HasId() bool
- func (d *DashboardList) HasName() bool
- func (d *DashboardList) SetDashboardCount(v int)
- func (d *DashboardList) SetId(v int)
- func (d *DashboardList) SetName(v string)
- type DashboardListItem
- func (d *DashboardListItem) GetId() int
- func (d *DashboardListItem) GetIdOk() (int, bool)
- func (d *DashboardListItem) GetType() string
- func (d *DashboardListItem) GetTypeOk() (string, bool)
- func (d *DashboardListItem) HasId() bool
- func (d *DashboardListItem) HasType() bool
- func (d *DashboardListItem) SetId(v int)
- func (d *DashboardListItem) SetType(v string)
- 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 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) GetNodeType() string
- func (g *GraphDefinition) GetNodeTypeOk() (string, 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) HasNodeType() 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) SetNodeType(v string)
- 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 GroupData
- func (g *GroupData) GetLastNoDataTs() int
- func (g *GroupData) GetLastNoDataTsOk() (int, bool)
- func (g *GroupData) GetLastNotifiedTs() int
- func (g *GroupData) GetLastNotifiedTsOk() (int, bool)
- func (g *GroupData) GetLastResolvedTs() int
- func (g *GroupData) GetLastResolvedTsOk() (int, bool)
- func (g *GroupData) GetLastTriggeredTs() int
- func (g *GroupData) GetLastTriggeredTsOk() (int, bool)
- func (g *GroupData) GetName() string
- func (g *GroupData) GetNameOk() (string, bool)
- func (g *GroupData) GetStatus() string
- func (g *GroupData) GetStatusOk() (string, bool)
- func (g *GroupData) GetTriggeringValue() TriggeringValue
- func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool)
- func (g *GroupData) HasLastNoDataTs() bool
- func (g *GroupData) HasLastNotifiedTs() bool
- func (g *GroupData) HasLastResolvedTs() bool
- func (g *GroupData) HasLastTriggeredTs() bool
- func (g *GroupData) HasName() bool
- func (g *GroupData) HasStatus() bool
- func (g *GroupData) HasTriggeringValue() bool
- func (g *GroupData) SetLastNoDataTs(v int)
- func (g *GroupData) SetLastNotifiedTs(v int)
- func (g *GroupData) SetLastResolvedTs(v int)
- func (g *GroupData) SetLastTriggeredTs(v int)
- func (g *GroupData) SetName(v string)
- func (g *GroupData) SetStatus(v string)
- func (g *GroupData) SetTriggeringValue(v TriggeringValue)
- 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 IntegrationAWSAccount
- func (i *IntegrationAWSAccount) GetAccountID() string
- func (i *IntegrationAWSAccount) GetAccountIDOk() (string, bool)
- func (i *IntegrationAWSAccount) GetRoleName() string
- func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool)
- func (i *IntegrationAWSAccount) HasAccountID() bool
- func (i *IntegrationAWSAccount) HasRoleName() bool
- func (i *IntegrationAWSAccount) SetAccountID(v string)
- func (i *IntegrationAWSAccount) SetRoleName(v string)
- type IntegrationAWSAccountCreateResponse
- type IntegrationAWSAccountDeleteRequest
- func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string
- func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool)
- func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string
- func (i *IntegrationAWSAccountDeleteRequest) GetRoleNameOk() (string, bool)
- func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool
- func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool
- func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string)
- func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string)
- type IntegrationAWSAccountGetResponse
- 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) GetOverallState() string
- func (m *Monitor) GetOverallStateModified() string
- func (m *Monitor) GetOverallStateModifiedOk() (string, bool)
- func (m *Monitor) GetOverallStateOk() (string, 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) HasOverallState() bool
- func (m *Monitor) HasOverallStateModified() 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) SetOverallState(v string)
- func (m *Monitor) SetOverallStateModified(v string)
- func (m *Monitor) SetQuery(v string)
- func (m *Monitor) SetType(v string)
- type NoDataTimeframe
- 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 Params
- func (p *Params) GetCount() string
- func (p *Params) GetCountOk() (string, bool)
- func (p *Params) GetSort() string
- func (p *Params) GetSortOk() (string, bool)
- func (p *Params) GetStart() string
- func (p *Params) GetStartOk() (string, bool)
- func (p *Params) GetText() string
- func (p *Params) GetTextOk() (string, bool)
- func (p *Params) HasCount() bool
- func (p *Params) HasSort() bool
- func (p *Params) HasStart() bool
- func (p *Params) HasText() bool
- func (p *Params) SetCount(v string)
- func (p *Params) SetSort(v string)
- func (p *Params) SetStart(v string)
- func (p *Params) SetText(v string)
- 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 Response
- type Rule
- func (r *Rule) GetColor() string
- func (r *Rule) GetColorOk() (string, bool)
- func (r *Rule) GetThreshold() json.Number
- func (r *Rule) GetThresholdOk() (json.Number, bool)
- func (r *Rule) GetTimeframe() string
- func (r *Rule) GetTimeframeOk() (string, bool)
- func (r *Rule) HasColor() bool
- func (r *Rule) HasThreshold() bool
- func (r *Rule) HasTimeframe() bool
- func (r *Rule) SetColor(v string)
- func (r *Rule) SetThreshold(v json.Number)
- func (r *Rule) SetTimeframe(v string)
- 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) 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) 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) 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 ScreenboardMonitor
- 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 State
- 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 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
- func (t *TileDef) GetAutoscale() bool
- func (t *TileDef) GetAutoscaleOk() (bool, bool)
- func (t *TileDef) GetCustomUnit() string
- func (t *TileDef) GetCustomUnitOk() (string, bool)
- func (t *TileDef) GetNoGroupHosts() bool
- func (t *TileDef) GetNoGroupHostsOk() (bool, bool)
- func (t *TileDef) GetNoMetricHosts() bool
- func (t *TileDef) GetNoMetricHostsOk() (bool, bool)
- func (t *TileDef) GetNodeType() string
- func (t *TileDef) GetNodeTypeOk() (string, bool)
- func (t *TileDef) GetPrecision() string
- func (t *TileDef) GetPrecisionOk() (string, bool)
- func (t *TileDef) GetStyle() TileDefStyle
- func (t *TileDef) GetStyleOk() (TileDefStyle, bool)
- func (t *TileDef) GetTextAlign() string
- func (t *TileDef) GetTextAlignOk() (string, bool)
- func (t *TileDef) GetViz() string
- func (t *TileDef) GetVizOk() (string, bool)
- func (t *TileDef) HasAutoscale() bool
- func (t *TileDef) HasCustomUnit() bool
- func (t *TileDef) HasNoGroupHosts() bool
- func (t *TileDef) HasNoMetricHosts() bool
- func (t *TileDef) HasNodeType() bool
- func (t *TileDef) HasPrecision() bool
- func (t *TileDef) HasStyle() bool
- func (t *TileDef) HasTextAlign() bool
- func (t *TileDef) HasViz() bool
- func (t *TileDef) SetAutoscale(v bool)
- func (t *TileDef) SetCustomUnit(v string)
- func (t *TileDef) SetNoGroupHosts(v bool)
- func (t *TileDef) SetNoMetricHosts(v bool)
- func (t *TileDef) SetNodeType(v string)
- func (t *TileDef) SetPrecision(v string)
- func (t *TileDef) SetStyle(v TileDefStyle)
- func (t *TileDef) SetTextAlign(v string)
- func (t *TileDef) SetViz(v string)
- type TileDefEvent
- type TileDefMarker
- func (t *TileDefMarker) GetLabel() string
- func (t *TileDefMarker) GetLabelOk() (string, bool)
- func (t *TileDefMarker) GetType() string
- func (t *TileDefMarker) GetTypeOk() (string, bool)
- func (t *TileDefMarker) GetValue() string
- func (t *TileDefMarker) GetValueOk() (string, bool)
- func (t *TileDefMarker) HasLabel() bool
- func (t *TileDefMarker) HasType() bool
- func (t *TileDefMarker) HasValue() bool
- func (t *TileDefMarker) SetLabel(v string)
- func (t *TileDefMarker) SetType(v string)
- func (t *TileDefMarker) SetValue(v string)
- type TileDefRequest
- func (t *TileDefRequest) GetAggregator() string
- func (t *TileDefRequest) GetAggregatorOk() (string, bool)
- func (t *TileDefRequest) GetChangeType() string
- func (t *TileDefRequest) GetChangeTypeOk() (string, bool)
- func (t *TileDefRequest) GetCompareTo() string
- func (t *TileDefRequest) GetCompareToOk() (string, bool)
- func (t *TileDefRequest) GetExtraCol() string
- func (t *TileDefRequest) GetExtraColOk() (string, bool)
- func (t *TileDefRequest) GetIncreaseGood() bool
- func (t *TileDefRequest) GetIncreaseGoodOk() (bool, bool)
- func (t *TileDefRequest) GetLimit() int
- func (t *TileDefRequest) GetLimitOk() (int, bool)
- func (t *TileDefRequest) GetMetric() string
- func (t *TileDefRequest) GetMetricOk() (string, bool)
- func (t *TileDefRequest) GetOrderBy() string
- func (t *TileDefRequest) GetOrderByOk() (string, bool)
- func (t *TileDefRequest) GetOrderDir() string
- func (t *TileDefRequest) GetOrderDirOk() (string, bool)
- func (t *TileDefRequest) GetQuery() string
- func (t *TileDefRequest) GetQueryOk() (string, bool)
- func (t *TileDefRequest) GetQueryType() string
- func (t *TileDefRequest) GetQueryTypeOk() (string, bool)
- func (t *TileDefRequest) GetStyle() TileDefRequestStyle
- func (t *TileDefRequest) GetStyleOk() (TileDefRequestStyle, bool)
- func (t *TileDefRequest) GetTextFilter() string
- func (t *TileDefRequest) GetTextFilterOk() (string, bool)
- func (t *TileDefRequest) GetType() string
- func (t *TileDefRequest) GetTypeOk() (string, bool)
- func (t *TileDefRequest) HasAggregator() bool
- func (t *TileDefRequest) HasChangeType() bool
- func (t *TileDefRequest) HasCompareTo() bool
- func (t *TileDefRequest) HasExtraCol() bool
- func (t *TileDefRequest) HasIncreaseGood() bool
- func (t *TileDefRequest) HasLimit() bool
- func (t *TileDefRequest) HasMetric() bool
- func (t *TileDefRequest) HasOrderBy() bool
- func (t *TileDefRequest) HasOrderDir() bool
- func (t *TileDefRequest) HasQuery() bool
- func (t *TileDefRequest) HasQueryType() bool
- func (t *TileDefRequest) HasStyle() bool
- func (t *TileDefRequest) HasTextFilter() bool
- func (t *TileDefRequest) HasType() bool
- func (t *TileDefRequest) SetAggregator(v string)
- func (t *TileDefRequest) SetChangeType(v string)
- func (t *TileDefRequest) SetCompareTo(v string)
- func (t *TileDefRequest) SetExtraCol(v string)
- func (t *TileDefRequest) SetIncreaseGood(v bool)
- func (t *TileDefRequest) SetLimit(v int)
- func (t *TileDefRequest) SetMetric(v string)
- func (t *TileDefRequest) SetOrderBy(v string)
- func (t *TileDefRequest) SetOrderDir(v string)
- func (t *TileDefRequest) SetQuery(v string)
- func (t *TileDefRequest) SetQueryType(v string)
- func (t *TileDefRequest) SetStyle(v TileDefRequestStyle)
- func (t *TileDefRequest) SetTextFilter(v string)
- func (t *TileDefRequest) SetType(v string)
- type TileDefRequestStyle
- func (t *TileDefRequestStyle) GetPalette() string
- func (t *TileDefRequestStyle) GetPaletteOk() (string, bool)
- func (t *TileDefRequestStyle) GetType() string
- func (t *TileDefRequestStyle) GetTypeOk() (string, bool)
- func (t *TileDefRequestStyle) GetWidth() string
- func (t *TileDefRequestStyle) GetWidthOk() (string, bool)
- func (t *TileDefRequestStyle) HasPalette() bool
- func (t *TileDefRequestStyle) HasType() bool
- func (t *TileDefRequestStyle) HasWidth() bool
- func (t *TileDefRequestStyle) SetPalette(v string)
- func (t *TileDefRequestStyle) SetType(v string)
- func (t *TileDefRequestStyle) SetWidth(v string)
- type TileDefStyle
- func (t *TileDefStyle) GetFillMax() string
- func (t *TileDefStyle) GetFillMaxOk() (string, bool)
- func (t *TileDefStyle) GetFillMin() string
- func (t *TileDefStyle) GetFillMinOk() (string, bool)
- func (t *TileDefStyle) GetPalette() string
- func (t *TileDefStyle) GetPaletteFlip() string
- func (t *TileDefStyle) GetPaletteFlipOk() (string, bool)
- func (t *TileDefStyle) GetPaletteOk() (string, bool)
- func (t *TileDefStyle) HasFillMax() bool
- func (t *TileDefStyle) HasFillMin() bool
- func (t *TileDefStyle) HasPalette() bool
- func (t *TileDefStyle) HasPaletteFlip() bool
- func (t *TileDefStyle) SetFillMax(v string)
- func (t *TileDefStyle) SetFillMin(v string)
- func (t *TileDefStyle) SetPalette(v string)
- func (t *TileDefStyle) SetPaletteFlip(v string)
- type Time
- type TriggeringValue
- func (t *TriggeringValue) GetFromTs() int
- func (t *TriggeringValue) GetFromTsOk() (int, bool)
- func (t *TriggeringValue) GetToTs() int
- func (t *TriggeringValue) GetToTsOk() (int, bool)
- func (t *TriggeringValue) GetValue() int
- func (t *TriggeringValue) GetValueOk() (int, bool)
- func (t *TriggeringValue) HasFromTs() bool
- func (t *TriggeringValue) HasToTs() bool
- func (t *TriggeringValue) HasValue() bool
- func (t *TriggeringValue) SetFromTs(v int)
- func (t *TriggeringValue) SetToTs(v int)
- func (t *TriggeringValue) SetValue(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) GetAlertID() int
- func (w *Widget) GetAlertIDOk() (int, bool)
- func (w *Widget) GetAutoRefresh() bool
- func (w *Widget) GetAutoRefreshOk() (bool, bool)
- func (w *Widget) GetBgcolor() string
- func (w *Widget) GetBgcolorOk() (string, bool)
- func (w *Widget) GetCheck() string
- func (w *Widget) GetCheckOk() (string, bool)
- func (w *Widget) GetColor() string
- func (w *Widget) GetColorOk() (string, bool)
- func (w *Widget) GetColorPreference() string
- func (w *Widget) GetColorPreferenceOk() (string, bool)
- func (w *Widget) GetColumns() string
- func (w *Widget) GetColumnsOk() (string, bool)
- func (w *Widget) GetDisplayFormat() string
- func (w *Widget) GetDisplayFormatOk() (string, bool)
- func (w *Widget) GetEnv() string
- func (w *Widget) GetEnvOk() (string, bool)
- func (w *Widget) GetEventSize() string
- func (w *Widget) GetEventSizeOk() (string, bool)
- func (w *Widget) GetFontSize() string
- func (w *Widget) GetFontSizeOk() (string, bool)
- func (w *Widget) GetGroup() string
- func (w *Widget) GetGroupOk() (string, bool)
- func (w *Widget) GetGrouping() string
- func (w *Widget) GetGroupingOk() (string, bool)
- func (w *Widget) GetHTML() string
- func (w *Widget) GetHTMLOk() (string, bool)
- func (w *Widget) GetHeight() int
- func (w *Widget) GetHeightOk() (int, bool)
- func (w *Widget) GetHideZeroCounts() bool
- func (w *Widget) GetHideZeroCountsOk() (bool, bool)
- func (w *Widget) GetLayoutVersion() string
- func (w *Widget) GetLayoutVersionOk() (string, bool)
- func (w *Widget) GetLegend() bool
- func (w *Widget) GetLegendOk() (bool, bool)
- func (w *Widget) GetLegendSize() string
- func (w *Widget) GetLegendSizeOk() (string, bool)
- func (w *Widget) GetLogset() string
- func (w *Widget) GetLogsetOk() (string, bool)
- func (w *Widget) GetManageStatusShowTitle() bool
- func (w *Widget) GetManageStatusShowTitleOk() (bool, bool)
- func (w *Widget) GetManageStatusTitleAlign() string
- func (w *Widget) GetManageStatusTitleAlignOk() (string, bool)
- func (w *Widget) GetManageStatusTitleSize() string
- func (w *Widget) GetManageStatusTitleSizeOk() (string, bool)
- func (w *Widget) GetManageStatusTitleText() string
- func (w *Widget) GetManageStatusTitleTextOk() (string, bool)
- func (w *Widget) GetMargin() string
- func (w *Widget) GetMarginOk() (string, bool)
- func (w *Widget) GetMonitor() ScreenboardMonitor
- func (w *Widget) GetMonitorOk() (ScreenboardMonitor, bool)
- func (w *Widget) GetMustShowBreakdown() bool
- func (w *Widget) GetMustShowBreakdownOk() (bool, bool)
- func (w *Widget) GetMustShowDistribution() bool
- func (w *Widget) GetMustShowDistributionOk() (bool, bool)
- func (w *Widget) GetMustShowErrors() bool
- func (w *Widget) GetMustShowErrorsOk() (bool, bool)
- func (w *Widget) GetMustShowHits() bool
- func (w *Widget) GetMustShowHitsOk() (bool, bool)
- func (w *Widget) GetMustShowLatency() bool
- func (w *Widget) GetMustShowLatencyOk() (bool, bool)
- func (w *Widget) GetMustShowResourceList() bool
- func (w *Widget) GetMustShowResourceListOk() (bool, bool)
- func (w *Widget) GetParams() Params
- func (w *Widget) GetParamsOk() (Params, bool)
- func (w *Widget) GetPrecision() string
- func (w *Widget) GetPrecisionOk() (string, bool)
- func (w *Widget) GetQuery() string
- func (w *Widget) GetQueryOk() (string, bool)
- func (w *Widget) GetServiceName() string
- func (w *Widget) GetServiceNameOk() (string, bool)
- func (w *Widget) GetServiceService() string
- func (w *Widget) GetServiceServiceOk() (string, bool)
- func (w *Widget) GetSizeVersion() string
- func (w *Widget) GetSizeVersionOk() (string, bool)
- func (w *Widget) GetSizing() string
- func (w *Widget) GetSizingOk() (string, bool)
- func (w *Widget) GetText() string
- func (w *Widget) GetTextAlign() string
- func (w *Widget) GetTextAlignOk() (string, bool)
- func (w *Widget) GetTextOk() (string, bool)
- func (w *Widget) GetTextSize() string
- func (w *Widget) GetTextSizeOk() (string, bool)
- func (w *Widget) GetTick() bool
- func (w *Widget) GetTickEdge() string
- func (w *Widget) GetTickEdgeOk() (string, bool)
- func (w *Widget) GetTickOk() (bool, bool)
- func (w *Widget) GetTickPos() string
- func (w *Widget) GetTickPosOk() (string, bool)
- func (w *Widget) GetTileDef() TileDef
- func (w *Widget) GetTileDefOk() (TileDef, bool)
- func (w *Widget) GetTime() Time
- func (w *Widget) GetTimeOk() (Time, bool)
- func (w *Widget) GetTitle() bool
- func (w *Widget) GetTitleAlign() string
- func (w *Widget) GetTitleAlignOk() (string, bool)
- func (w *Widget) GetTitleOk() (bool, bool)
- func (w *Widget) GetTitleSize() int
- func (w *Widget) GetTitleSizeOk() (int, bool)
- func (w *Widget) GetTitleText() string
- func (w *Widget) GetTitleTextOk() (string, bool)
- func (w *Widget) GetType() string
- func (w *Widget) GetTypeOk() (string, bool)
- func (w *Widget) GetURL() string
- func (w *Widget) GetURLOk() (string, bool)
- func (w *Widget) GetUnit() string
- func (w *Widget) GetUnitOk() (string, bool)
- func (w *Widget) GetVizType() string
- func (w *Widget) GetVizTypeOk() (string, bool)
- func (w *Widget) GetWidth() int
- func (w *Widget) GetWidthOk() (int, bool)
- func (w *Widget) GetX() int
- func (w *Widget) GetXOk() (int, bool)
- func (w *Widget) GetY() int
- func (w *Widget) GetYOk() (int, bool)
- func (w *Widget) HasAlertID() bool
- func (w *Widget) HasAutoRefresh() bool
- func (w *Widget) HasBgcolor() bool
- func (w *Widget) HasCheck() bool
- func (w *Widget) HasColor() bool
- func (w *Widget) HasColorPreference() bool
- func (w *Widget) HasColumns() bool
- func (w *Widget) HasDisplayFormat() bool
- func (w *Widget) HasEnv() bool
- func (w *Widget) HasEventSize() bool
- func (w *Widget) HasFontSize() bool
- func (w *Widget) HasGroup() bool
- func (w *Widget) HasGrouping() bool
- func (w *Widget) HasHTML() bool
- func (w *Widget) HasHeight() bool
- func (w *Widget) HasHideZeroCounts() bool
- func (w *Widget) HasLayoutVersion() bool
- func (w *Widget) HasLegend() bool
- func (w *Widget) HasLegendSize() bool
- func (w *Widget) HasLogset() bool
- func (w *Widget) HasManageStatusShowTitle() bool
- func (w *Widget) HasManageStatusTitleAlign() bool
- func (w *Widget) HasManageStatusTitleSize() bool
- func (w *Widget) HasManageStatusTitleText() bool
- func (w *Widget) HasMargin() bool
- func (w *Widget) HasMonitor() bool
- func (w *Widget) HasMustShowBreakdown() bool
- func (w *Widget) HasMustShowDistribution() bool
- func (w *Widget) HasMustShowErrors() bool
- func (w *Widget) HasMustShowHits() bool
- func (w *Widget) HasMustShowLatency() bool
- func (w *Widget) HasMustShowResourceList() bool
- func (w *Widget) HasParams() bool
- func (w *Widget) HasPrecision() bool
- func (w *Widget) HasQuery() bool
- func (w *Widget) HasServiceName() bool
- func (w *Widget) HasServiceService() bool
- func (w *Widget) HasSizeVersion() bool
- func (w *Widget) HasSizing() bool
- func (w *Widget) HasText() bool
- func (w *Widget) HasTextAlign() bool
- func (w *Widget) HasTextSize() bool
- func (w *Widget) HasTick() bool
- func (w *Widget) HasTickEdge() bool
- func (w *Widget) HasTickPos() bool
- func (w *Widget) HasTileDef() bool
- func (w *Widget) HasTime() bool
- func (w *Widget) HasTitle() bool
- func (w *Widget) HasTitleAlign() bool
- func (w *Widget) HasTitleSize() bool
- func (w *Widget) HasTitleText() bool
- func (w *Widget) HasType() bool
- func (w *Widget) HasURL() bool
- func (w *Widget) HasUnit() bool
- func (w *Widget) HasVizType() bool
- func (w *Widget) HasWidth() bool
- func (w *Widget) HasX() bool
- func (w *Widget) HasY() bool
- func (w *Widget) SetAlertID(v int)
- func (w *Widget) SetAutoRefresh(v bool)
- func (w *Widget) SetBgcolor(v string)
- func (w *Widget) SetCheck(v string)
- func (w *Widget) SetColor(v string)
- func (w *Widget) SetColorPreference(v string)
- func (w *Widget) SetColumns(v string)
- func (w *Widget) SetDisplayFormat(v string)
- func (w *Widget) SetEnv(v string)
- func (w *Widget) SetEventSize(v string)
- func (w *Widget) SetFontSize(v string)
- func (w *Widget) SetGroup(v string)
- func (w *Widget) SetGrouping(v string)
- func (w *Widget) SetHTML(v string)
- func (w *Widget) SetHeight(v int)
- func (w *Widget) SetHideZeroCounts(v bool)
- func (w *Widget) SetLayoutVersion(v string)
- func (w *Widget) SetLegend(v bool)
- func (w *Widget) SetLegendSize(v string)
- func (w *Widget) SetLogset(v string)
- func (w *Widget) SetManageStatusShowTitle(v bool)
- func (w *Widget) SetManageStatusTitleAlign(v string)
- func (w *Widget) SetManageStatusTitleSize(v string)
- func (w *Widget) SetManageStatusTitleText(v string)
- func (w *Widget) SetMargin(v string)
- func (w *Widget) SetMonitor(v ScreenboardMonitor)
- func (w *Widget) SetMustShowBreakdown(v bool)
- func (w *Widget) SetMustShowDistribution(v bool)
- func (w *Widget) SetMustShowErrors(v bool)
- func (w *Widget) SetMustShowHits(v bool)
- func (w *Widget) SetMustShowLatency(v bool)
- func (w *Widget) SetMustShowResourceList(v bool)
- func (w *Widget) SetParams(v Params)
- func (w *Widget) SetPrecision(v string)
- func (w *Widget) SetQuery(v string)
- func (w *Widget) SetServiceName(v string)
- func (w *Widget) SetServiceService(v string)
- func (w *Widget) SetSizeVersion(v string)
- func (w *Widget) SetSizing(v string)
- func (w *Widget) SetText(v string)
- func (w *Widget) SetTextAlign(v string)
- func (w *Widget) SetTextSize(v string)
- func (w *Widget) SetTick(v bool)
- func (w *Widget) SetTickEdge(v string)
- func (w *Widget) SetTickPos(v string)
- func (w *Widget) SetTileDef(v TileDef)
- func (w *Widget) SetTime(v Time)
- func (w *Widget) SetTitle(v bool)
- func (w *Widget) SetTitleAlign(v string)
- func (w *Widget) SetTitleSize(v int)
- func (w *Widget) SetTitleText(v string)
- func (w *Widget) SetType(v string)
- func (w *Widget) SetURL(v string)
- func (w *Widget) SetUnit(v string)
- func (w *Widget) SetVizType(v string)
- func (w *Widget) SetWidth(v int)
- func (w *Widget) SetX(v int)
- func (w *Widget) SetY(v int)
- 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)
- func (y *Yaxis) UnmarshalJSON(data []byte) error
Constants ¶
const ( DashboardListItemCustomTimeboard = "custom_timeboard" DashboardListItemCustomScreenboard = "custom_screenboard" DashboardListItemIntegerationTimeboard = "integration_timeboard" DashboardListItemIntegrationScreenboard = "integration_screenboard" DashboardListItemHostTimeboard = "host_timeboard" )
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 ¶
GetCreatorOk 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 ¶
GetIdOk 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 ¶
GetMessageOk 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 ¶
GetNameOk 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 ¶
GetNotifyNoDataOk 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 ¶
GetQueryOk 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 ¶
GetSilencedOk 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 ¶
GetStateOk 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 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)
GetAccountOk 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)
GetChannelNameOk 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)
GetTransferAllUserCommentsOk 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 ¶
GetCheckOk 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 ¶
GetHostNameOk 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 ¶
GetMessageOk 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 ¶
GetStatusOk 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 ¶
GetTimestampOk 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 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) AddDashboardListItems ¶
func (client *Client) AddDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)
AddDashboardListItems adds dashboards to an existing dashboard list.
Any items already in the list are ignored (not added twice).
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) CreateDashboardList ¶
func (client *Client) CreateDashboardList(list *DashboardList) (*DashboardList, error)
CreateDashboardList returns a single dashboard list created on this account.
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) CreateIntegrationAWS ¶
func (client *Client) CreateIntegrationAWS(awsAccount *IntegrationAWSAccount) (*IntegrationAWSAccountCreateResponse, error)
CreateIntegrationAWS adds a new AWS Account in the AWS Integrations. Use this if you want to setup the integration for the first time or to add more accounts.
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) DeleteDashboardList ¶
DeleteDashboardList deletes a dashboard list by the identifier.
func (*Client) DeleteDashboardListItems ¶
func (client *Client) DeleteDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)
DeleteDashboardListItems deletes dashboards from an existing dashboard list.
Deletes any dashboards in the list of items from the dashboard list.
func (*Client) DeleteDowntime ¶
DeleteDowntime removes an downtime from the system.
func (*Client) DeleteIntegrationAWS ¶
func (client *Client) DeleteIntegrationAWS(awsAccount *IntegrationAWSAccountDeleteRequest) error
DeleteIntegrationAWS removes a specific AWS Account from the AWS Integration.
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) GetDashboardList ¶
func (client *Client) GetDashboardList(id int) (*DashboardList, error)
GetDashboardList returns a single dashboard list created on this account.
func (*Client) GetDashboardListItems ¶
func (client *Client) GetDashboardListItems(id int) ([]DashboardListItem, error)
GetDashboardListItems fetches the dashboard list's dashboard definitions.
func (*Client) GetDashboardLists ¶
func (client *Client) GetDashboardLists() ([]DashboardList, error)
GetDashboardLists returns a list of all dashboard lists 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) GetIntegrationAWS ¶
func (client *Client) GetIntegrationAWS() (*[]IntegrationAWSAccount, error)
GetIntegrationAWS gets all the AWS Accounts in the AWS Integrations from Datadog.
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) UpdateDashboardList ¶
func (client *Client) UpdateDashboardList(list *DashboardList) error
UpdateDashboardList returns a single dashboard list created on this account.
func (*Client) UpdateDashboardListItems ¶
func (client *Client) UpdateDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)
UpdateDashboardListItems updates dashboards of an existing dashboard list.
This will set the list of dashboards to contain only the items in items.
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 ¶
GetHandleOk 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 ¶
GetIdOk 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 ¶
GetMessageOk 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 ¶
GetRelatedIdOk 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 ¶
GetResourceOk 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 ¶
GetUrlOk 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"`
Palette *string `json:"palette,omitempty"`
Comparator *string `json:"comparator,omitempty"`
Invert *bool `json:"invert,omitempty"`
Value *string `json:"value,omitempty"`
ImageURL *string `json:"image_url,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)
GetColorOk 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)
GetComparatorOk 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) GetImageURL ¶
func (c *ConditionalFormat) GetImageURL() string
GetImageURL returns the ImageURL field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetImageURLOk ¶
func (c *ConditionalFormat) GetImageURLOk() (string, bool)
GetImageURLOk returns a tuple with the ImageURL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) GetInvert ¶
func (c *ConditionalFormat) GetInvert() bool
GetInvert returns the Invert field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetInvertOk ¶
func (c *ConditionalFormat) GetInvertOk() (bool, bool)
GetInvertOk returns a tuple with the Invert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ConditionalFormat) GetPalette ¶
func (c *ConditionalFormat) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetPaletteOk ¶
func (c *ConditionalFormat) GetPaletteOk() (string, bool)
GetPaletteOk 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 (*ConditionalFormat) GetValue ¶
func (c *ConditionalFormat) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (*ConditionalFormat) GetValueOk ¶
func (c *ConditionalFormat) GetValueOk() (string, bool)
GetValueOk 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) HasImageURL ¶
func (c *ConditionalFormat) HasImageURL() bool
HasImageURL returns a boolean if a field has been set.
func (*ConditionalFormat) HasInvert ¶
func (c *ConditionalFormat) HasInvert() bool
HasInvert returns a boolean if a field has been set.
func (*ConditionalFormat) HasPalette ¶
func (c *ConditionalFormat) HasPalette() bool
HasPalette 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) SetImageURL ¶
func (c *ConditionalFormat) SetImageURL(v string)
SetImageURL allocates a new c.ImageURL and returns the pointer to it.
func (*ConditionalFormat) SetInvert ¶
func (c *ConditionalFormat) SetInvert(v bool)
SetInvert allocates a new c.Invert and returns the pointer to it.
func (*ConditionalFormat) SetPalette ¶
func (c *ConditionalFormat) SetPalette(v string)
SetPalette allocates a new c.Palette and returns the pointer to it.
func (*ConditionalFormat) SetValue ¶
func (c *ConditionalFormat) SetValue(v string)
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 ¶
GetEmailOk 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 ¶
GetHandleOk 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 ¶
GetIdOk 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 ¶
GetNameOk 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 ¶
GetDescriptionOk 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 ¶
GetIdOk 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 ¶
GetReadOnlyOk 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 ¶
GetTitleOk 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)
GetComparatorOk 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)
GetCustomBgColorOk 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)
GetCustomFgColorOk 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)
GetCustomImageUrlOk 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)
GetInvertedOk 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)
GetPaletteOk 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)
GetValueOk 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 DashboardList ¶
type DashboardList struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
DashboardCount *int `json:"dashboard_count,omitempty"`
}
DashboardList represents a dashboard list.
func (*DashboardList) GetDashboardCount ¶
func (d *DashboardList) GetDashboardCount() int
GetDashboardCount returns the DashboardCount field if non-nil, zero value otherwise.
func (*DashboardList) GetDashboardCountOk ¶
func (d *DashboardList) GetDashboardCountOk() (int, bool)
GetDashboardCountOk returns a tuple with the DashboardCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardList) GetId ¶
func (d *DashboardList) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*DashboardList) GetIdOk ¶
func (d *DashboardList) GetIdOk() (int, bool)
GetIdOk 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 (*DashboardList) GetName ¶
func (d *DashboardList) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*DashboardList) GetNameOk ¶
func (d *DashboardList) GetNameOk() (string, bool)
GetNameOk 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 (*DashboardList) HasDashboardCount ¶
func (d *DashboardList) HasDashboardCount() bool
HasDashboardCount returns a boolean if a field has been set.
func (*DashboardList) HasId ¶
func (d *DashboardList) HasId() bool
HasId returns a boolean if a field has been set.
func (*DashboardList) HasName ¶
func (d *DashboardList) HasName() bool
HasName returns a boolean if a field has been set.
func (*DashboardList) SetDashboardCount ¶
func (d *DashboardList) SetDashboardCount(v int)
SetDashboardCount allocates a new d.DashboardCount and returns the pointer to it.
func (*DashboardList) SetId ¶
func (d *DashboardList) SetId(v int)
SetId allocates a new d.Id and returns the pointer to it.
func (*DashboardList) SetName ¶
func (d *DashboardList) SetName(v string)
SetName allocates a new d.Name and returns the pointer to it.
type DashboardListItem ¶
type DashboardListItem struct {
Id *int `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
DashboardListItem represents a single dashboard in a dashboard list.
func (*DashboardListItem) GetId ¶
func (d *DashboardListItem) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*DashboardListItem) GetIdOk ¶
func (d *DashboardListItem) GetIdOk() (int, bool)
GetIdOk 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 (*DashboardListItem) GetType ¶
func (d *DashboardListItem) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*DashboardListItem) GetTypeOk ¶
func (d *DashboardListItem) GetTypeOk() (string, bool)
GetTypeOk 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 (*DashboardListItem) HasId ¶
func (d *DashboardListItem) HasId() bool
HasId returns a boolean if a field has been set.
func (*DashboardListItem) HasType ¶
func (d *DashboardListItem) HasType() bool
HasType returns a boolean if a field has been set.
func (*DashboardListItem) SetId ¶
func (d *DashboardListItem) SetId(v int)
SetId allocates a new d.Id and returns the pointer to it.
func (*DashboardListItem) SetType ¶
func (d *DashboardListItem) SetType(v string)
SetType allocates a new d.Type 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)
GetDescriptionOk 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)
GetIdOk 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)
GetResourceOk 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)
GetTitleOk 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 ¶
GetActiveOk 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 ¶
GetCanceledOk 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 ¶
GetDisabledOk 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 ¶
GetEndOk 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 ¶
GetIdOk 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 ¶
GetMessageOk 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 ¶
GetMonitorIdOk 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)
GetRecurrenceOk 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 ¶
GetStartOk 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 ¶
GetAggregationOk 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 ¶
GetAlertTypeOk 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 ¶
GetEventTypeOk 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 ¶
GetHostOk 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 ¶
GetIdOk 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 ¶
GetPriorityOk 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 ¶
GetResourceOk 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 ¶
GetSourceTypeOk 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 ¶
GetTextOk 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 ¶
GetTimeOk 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 ¶
GetTitleOk 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 ¶
GetUrlOk 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 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)
GetDefinitionOk 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 ¶
GetTitleOk 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"`
// For hostmaps
Groups []string `json:"group,omitempty"`
IncludeNoMetricHosts *bool `json:"noMetricHosts,omitempty"`
Scopes []string `json:"scope,omitempty"`
IncludeUngroupedHosts *bool `json:"noGroupHosts,omitempty"`
NodeType *string `json:"nodeType,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)
GetAutoscaleOk 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)
GetCustomUnitOk 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)
GetIncludeNoMetricHostsOk 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)
GetIncludeUngroupedHostsOk 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) GetNodeType ¶
func (g *GraphDefinition) GetNodeType() string
GetNodeType returns the NodeType field if non-nil, zero value otherwise.
func (*GraphDefinition) GetNodeTypeOk ¶
func (g *GraphDefinition) GetNodeTypeOk() (string, bool)
GetNodeTypeOk returns a tuple with the NodeType 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)
GetPrecisionOk 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)
GetStyleOk 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)
GetTextAlignOk 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)
GetVizOk 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) HasNodeType ¶
func (g *GraphDefinition) HasNodeType() bool
HasNodeType 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) SetNodeType ¶
func (g *GraphDefinition) SetNodeType(v string)
SetNodeType allocates a new g.NodeType 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)
GetLabelOk 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)
GetMaxOk 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)
GetMinOk 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)
GetTypeOk 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)
GetValOk 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)
GetValueOk 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)
GetAggregatorOk 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)
GetChangeTypeOk 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)
GetCompareToOk 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)
GetExtraColOk 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)
GetIncreaseGoodOk 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)
GetOrderByOk 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)
GetOrderDirectionOk 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)
GetQueryOk 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)
GetStackedOk 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)
GetStyleOk 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)
GetTypeOk 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)
GetPaletteOk 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)
GetTypeOk 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)
GetWidthOk 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)
GetQueryOk 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 GroupData ¶
type GroupData struct {
LastNoDataTs *int `json:"last_nodata_ts,omitempty"`
LastNotifiedTs *int `json:"last_notified_ts,omitempty"`
LastResolvedTs *int `json:"last_resolved_ts,omitempty"`
LastTriggeredTs *int `json:"last_triggered_ts,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
TriggeringValue *TriggeringValue `json:"triggering_value,omitempty"`
}
func (*GroupData) GetLastNoDataTs ¶
GetLastNoDataTs returns the LastNoDataTs field if non-nil, zero value otherwise.
func (*GroupData) GetLastNoDataTsOk ¶
GetLastNoDataTsOk returns a tuple with the LastNoDataTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupData) GetLastNotifiedTs ¶
GetLastNotifiedTs returns the LastNotifiedTs field if non-nil, zero value otherwise.
func (*GroupData) GetLastNotifiedTsOk ¶
GetLastNotifiedTsOk returns a tuple with the LastNotifiedTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupData) GetLastResolvedTs ¶
GetLastResolvedTs returns the LastResolvedTs field if non-nil, zero value otherwise.
func (*GroupData) GetLastResolvedTsOk ¶
GetLastResolvedTsOk returns a tuple with the LastResolvedTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupData) GetLastTriggeredTs ¶
GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise.
func (*GroupData) GetLastTriggeredTsOk ¶
GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupData) GetNameOk ¶
GetNameOk 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 (*GroupData) GetStatusOk ¶
GetStatusOk 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 (*GroupData) GetTriggeringValue ¶
func (g *GroupData) GetTriggeringValue() TriggeringValue
GetTriggeringValue returns the TriggeringValue field if non-nil, zero value otherwise.
func (*GroupData) GetTriggeringValueOk ¶
func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool)
GetTriggeringValueOk returns a tuple with the TriggeringValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupData) HasLastNoDataTs ¶
HasLastNoDataTs returns a boolean if a field has been set.
func (*GroupData) HasLastNotifiedTs ¶
HasLastNotifiedTs returns a boolean if a field has been set.
func (*GroupData) HasLastResolvedTs ¶
HasLastResolvedTs returns a boolean if a field has been set.
func (*GroupData) HasLastTriggeredTs ¶
HasLastTriggeredTs returns a boolean if a field has been set.
func (*GroupData) HasTriggeringValue ¶
HasTriggeringValue returns a boolean if a field has been set.
func (*GroupData) SetLastNoDataTs ¶
SetLastNoDataTs allocates a new g.LastNoDataTs and returns the pointer to it.
func (*GroupData) SetLastNotifiedTs ¶
SetLastNotifiedTs allocates a new g.LastNotifiedTs and returns the pointer to it.
func (*GroupData) SetLastResolvedTs ¶
SetLastResolvedTs allocates a new g.LastResolvedTs and returns the pointer to it.
func (*GroupData) SetLastTriggeredTs ¶
SetLastTriggeredTs allocates a new g.LastTriggeredTs and returns the pointer to it.
func (*GroupData) SetTriggeringValue ¶
func (g *GroupData) SetTriggeringValue(v TriggeringValue)
SetTriggeringValue allocates a new g.TriggeringValue 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)
GetEndTimeOk 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)
GetMessageOk 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)
GetOverrideOk 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 IntegrationAWSAccount ¶
type IntegrationAWSAccount struct {
AccountID *string `json:"account_id"`
RoleName *string `json:"role_name"`
FilterTags []string `json:"filter_tags"`
HostTags []string `json:"host_tags"`
AccountSpecificNamespaceRules map[string]bool `json:"account_specific_namespace_rules"`
}
IntegrationAWSAccount defines the request payload for creating & updating Datadog-AWS integration.
func (*IntegrationAWSAccount) GetAccountID ¶
func (i *IntegrationAWSAccount) GetAccountID() string
GetAccountID returns the AccountID field if non-nil, zero value otherwise.
func (*IntegrationAWSAccount) GetAccountIDOk ¶
func (i *IntegrationAWSAccount) GetAccountIDOk() (string, bool)
GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationAWSAccount) GetRoleName ¶
func (i *IntegrationAWSAccount) GetRoleName() string
GetRoleName returns the RoleName field if non-nil, zero value otherwise.
func (*IntegrationAWSAccount) GetRoleNameOk ¶
func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool)
GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationAWSAccount) HasAccountID ¶
func (i *IntegrationAWSAccount) HasAccountID() bool
HasAccountID returns a boolean if a field has been set.
func (*IntegrationAWSAccount) HasRoleName ¶
func (i *IntegrationAWSAccount) HasRoleName() bool
HasRoleName returns a boolean if a field has been set.
func (*IntegrationAWSAccount) SetAccountID ¶
func (i *IntegrationAWSAccount) SetAccountID(v string)
SetAccountID allocates a new i.AccountID and returns the pointer to it.
func (*IntegrationAWSAccount) SetRoleName ¶
func (i *IntegrationAWSAccount) SetRoleName(v string)
SetRoleName allocates a new i.RoleName and returns the pointer to it.
type IntegrationAWSAccountCreateResponse ¶
type IntegrationAWSAccountCreateResponse struct {
ExternalID string `json:"external_id"`
}
IntegrationAWSAccountCreateResponse defines the response payload for creating & updating Datadog-AWS integration.
type IntegrationAWSAccountDeleteRequest ¶
type IntegrationAWSAccountDeleteRequest struct {
AccountID *string `json:"account_id"`
RoleName *string `json:"role_name"`
}
func (*IntegrationAWSAccountDeleteRequest) GetAccountID ¶
func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string
GetAccountID returns the AccountID field if non-nil, zero value otherwise.
func (*IntegrationAWSAccountDeleteRequest) GetAccountIDOk ¶
func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool)
GetAccountIDOk returns a tuple with the AccountID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationAWSAccountDeleteRequest) GetRoleName ¶
func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string
GetRoleName returns the RoleName field if non-nil, zero value otherwise.
func (*IntegrationAWSAccountDeleteRequest) GetRoleNameOk ¶
func (i *IntegrationAWSAccountDeleteRequest) GetRoleNameOk() (string, bool)
GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationAWSAccountDeleteRequest) HasAccountID ¶
func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool
HasAccountID returns a boolean if a field has been set.
func (*IntegrationAWSAccountDeleteRequest) HasRoleName ¶
func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool
HasRoleName returns a boolean if a field has been set.
func (*IntegrationAWSAccountDeleteRequest) SetAccountID ¶
func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string)
SetAccountID allocates a new i.AccountID and returns the pointer to it.
func (*IntegrationAWSAccountDeleteRequest) SetRoleName ¶
func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string)
SetRoleName allocates a new i.RoleName and returns the pointer to it.
type IntegrationAWSAccountGetResponse ¶
type IntegrationAWSAccountGetResponse struct {
Accounts []IntegrationAWSAccount `json:"accounts"`
}
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)
GetAPITokenOk 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)
GetRunCheckOk 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)
GetSubdomainOk 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)
GetRunCheckOk 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 ¶
GetHostOk 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 ¶
GetMetricOk 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 ¶
GetTypeOk 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 ¶
GetUnitOk 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)
GetDescriptionOk 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)
GetPerUnitOk 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)
GetShortNameOk 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)
GetStatsdIntervalOk 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)
GetTypeOk 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)
GetUnitOk 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"`
OverallState *string `json:"overall_state,omitempty"`
OverallStateModified *string `json:"overall_state_modified,omitempty"`
Tags []string `json:"tags"`
Options *Options `json:"options,omitempty"`
State State `json:"state,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 ¶
GetCreatorOk 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 ¶
GetIdOk 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 ¶
GetMessageOk 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 ¶
GetNameOk 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 ¶
GetOptionsOk 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) GetOverallState ¶
GetOverallState returns the OverallState field if non-nil, zero value otherwise.
func (*Monitor) GetOverallStateModified ¶
GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise.
func (*Monitor) GetOverallStateModifiedOk ¶
GetOverallStateModifiedOk returns a tuple with the OverallStateModified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetOverallStateOk ¶
GetOverallStateOk returns a tuple with the OverallState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Monitor) GetQueryOk ¶
GetQueryOk 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 ¶
GetTypeOk 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) HasOverallState ¶
HasOverallState returns a boolean if a field has been set.
func (*Monitor) HasOverallStateModified ¶
HasOverallStateModified 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.
func (*Monitor) SetOverallState ¶
SetOverallState allocates a new m.OverallState and returns the pointer to it.
func (*Monitor) SetOverallStateModified ¶
SetOverallStateModified allocates a new m.OverallStateModified and returns the pointer to it.
type NoDataTimeframe ¶
type NoDataTimeframe int
func (*NoDataTimeframe) UnmarshalJSON ¶
func (tf *NoDataTimeframe) UnmarshalJSON(data []byte) error
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 ¶
GetEscalationMessageOk 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 ¶
GetEvaluationDelayOk 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 ¶
GetIncludeTagsOk 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 ¶
GetLockedOk 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 ¶
GetNewHostDelayOk 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 ¶
GetNotifyAuditOk 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 ¶
GetNotifyNoDataOk 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 ¶
GetRenotifyIntervalOk 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 ¶
GetRequireFullWindowOk 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)
GetThresholdsOk 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 ¶
GetTimeoutHOk 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 Params ¶
type Params struct {
Sort *string `json:"sort,omitempty"`
Text *string `json:"text,omitempty"`
Count *string `json:"count,omitempty"`
Start *string `json:"start,omitempty"`
}
func (*Params) GetCountOk ¶
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Params) GetSortOk ¶
GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Params) GetStartOk ¶
GetStartOk 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 (*Params) GetTextOk ¶
GetTextOk 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.
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)
GetPeriodOk 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)
GetTypeOk 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)
GetUntilDateOk 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)
GetUntilOccurrencesOk 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 Rule ¶
type Rule struct {
Threshold *json.Number `json:"threshold,omitempty"`
Timeframe *string `json:"timeframe,omitempty"`
Color *string `json:"color,omitempty"`
}
func (*Rule) GetColorOk ¶
GetColorOk 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 (*Rule) GetThreshold ¶
GetThreshold returns the Threshold field if non-nil, zero value otherwise.
func (*Rule) GetThresholdOk ¶
GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Rule) GetTimeframe ¶
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*Rule) GetTimeframeOk ¶
GetTimeframeOk 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 (*Rule) HasThreshold ¶
HasThreshold returns a boolean if a field has been set.
func (*Rule) HasTimeframe ¶
HasTimeframe returns a boolean if a field has been set.
func (*Rule) SetThreshold ¶
SetThreshold allocates a new r.Threshold and returns the pointer to it.
func (*Rule) SetTimeframe ¶
SetTimeframe allocates a new r.Timeframe 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"`
TemplateVariables []TemplateVariable `json:"template_variables,omitempty"`
Widgets []Widget `json:"widgets"`
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)
GetHeightOk 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)
GetIdOk 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)
GetReadOnlyOk 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)
GetSharedOk 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) 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)
GetTitleOk 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)
GetWidthOk 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) 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) 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)
GetIdOk 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)
GetResourceOk 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)
GetTitleOk 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 ScreenboardMonitor ¶
type ScreenboardMonitor struct {
Id *int `json:"id,omitempty"`
}
func (*ScreenboardMonitor) GetId ¶
func (s *ScreenboardMonitor) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*ScreenboardMonitor) GetIdOk ¶
func (s *ScreenboardMonitor) GetIdOk() (int, bool)
GetIdOk 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 (*ScreenboardMonitor) HasId ¶
func (s *ScreenboardMonitor) HasId() bool
HasId returns a boolean if a field has been set.
func (*ScreenboardMonitor) SetId ¶
func (s *ScreenboardMonitor) SetId(v int)
SetId allocates a new s.Id 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 ¶
GetAggrOk 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 ¶
GetDisplayNameOk 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 ¶
GetEndOk 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 ¶
GetExpressionOk 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 ¶
GetIntervalOk 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 ¶
GetLengthOk 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 ¶
GetMetricOk 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 ¶
GetScopeOk 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 ¶
GetStartOk 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 ¶
GetUnitsOk 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)
GetAccountOk 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)
GetUrlOk 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)
GetServiceKeyOk 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)
GetServiceNameOk 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 ¶
GetPaletteFlipOk 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 ¶
GetPaletteOk 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)
GetDefaultOk 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)
GetNameOk 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)
GetPrefixOk 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 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)
GetCriticalOk 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)
GetCriticalRecoveryOk 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)
GetUnknownOk 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)
GetWarningOk 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)
GetWarningRecoveryOk 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 []TileDefMarker `json:"markers,omitempty"`
Requests []TileDefRequest `json:"requests,omitempty"`
Viz *string `json:"viz,omitempty"`
CustomUnit *string `json:"custom_unit,omitempty"`
Autoscale *bool `json:"autoscale,omitempty"`
Precision *string `json:"precision,omitempty"`
TextAlign *string `json:"text_align,omitempty"`
// For hostmap
NodeType *string `json:"nodeType,omitempty"`
Scope []*string `json:"scope,omitempty"`
Group []*string `json:"group,omitempty"`
NoGroupHosts *bool `json:"noGroupHosts,omitempty"`
NoMetricHosts *bool `json:"noMetricHosts,omitempty"`
Style *TileDefStyle `json:"style,omitempty"`
}
func (*TileDef) GetAutoscale ¶
GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.
func (*TileDef) GetAutoscaleOk ¶
GetAutoscaleOk 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 (*TileDef) GetCustomUnit ¶
GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.
func (*TileDef) GetCustomUnitOk ¶
GetCustomUnitOk 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 (*TileDef) GetNoGroupHosts ¶
GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.
func (*TileDef) GetNoGroupHostsOk ¶
GetNoGroupHostsOk returns a tuple with the NoGroupHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDef) GetNoMetricHosts ¶
GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.
func (*TileDef) GetNoMetricHostsOk ¶
GetNoMetricHostsOk returns a tuple with the NoMetricHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDef) GetNodeType ¶
GetNodeType returns the NodeType field if non-nil, zero value otherwise.
func (*TileDef) GetNodeTypeOk ¶
GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDef) GetPrecision ¶
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*TileDef) GetPrecisionOk ¶
GetPrecisionOk 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 (*TileDef) GetStyle ¶
func (t *TileDef) GetStyle() TileDefStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*TileDef) GetStyleOk ¶
func (t *TileDef) GetStyleOk() (TileDefStyle, bool)
GetStyleOk 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 (*TileDef) GetTextAlign ¶
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*TileDef) GetTextAlignOk ¶
GetTextAlignOk 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 (*TileDef) GetVizOk ¶
GetVizOk 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 (*TileDef) HasAutoscale ¶
HasAutoscale returns a boolean if a field has been set.
func (*TileDef) HasCustomUnit ¶
HasCustomUnit returns a boolean if a field has been set.
func (*TileDef) HasNoGroupHosts ¶
HasNoGroupHosts returns a boolean if a field has been set.
func (*TileDef) HasNoMetricHosts ¶
HasNoMetricHosts returns a boolean if a field has been set.
func (*TileDef) HasNodeType ¶
HasNodeType returns a boolean if a field has been set.
func (*TileDef) HasPrecision ¶
HasPrecision returns a boolean if a field has been set.
func (*TileDef) HasTextAlign ¶
HasTextAlign returns a boolean if a field has been set.
func (*TileDef) SetAutoscale ¶
SetAutoscale allocates a new t.Autoscale and returns the pointer to it.
func (*TileDef) SetCustomUnit ¶
SetCustomUnit allocates a new t.CustomUnit and returns the pointer to it.
func (*TileDef) SetNoGroupHosts ¶
SetNoGroupHosts allocates a new t.NoGroupHosts and returns the pointer to it.
func (*TileDef) SetNoMetricHosts ¶
SetNoMetricHosts allocates a new t.NoMetricHosts and returns the pointer to it.
func (*TileDef) SetNodeType ¶
SetNodeType allocates a new t.NodeType and returns the pointer to it.
func (*TileDef) SetPrecision ¶
SetPrecision allocates a new t.Precision and returns the pointer to it.
func (*TileDef) SetStyle ¶
func (t *TileDef) SetStyle(v TileDefStyle)
SetStyle allocates a new t.Style and returns the pointer to it.
func (*TileDef) SetTextAlign ¶
SetTextAlign allocates a new t.TextAlign and returns the pointer to it.
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)
GetQueryOk 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 TileDefMarker ¶
type TileDefMarker struct {
Label *string `json:"label,omitempty"`
Type *string `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
}
func (*TileDefMarker) GetLabel ¶
func (t *TileDefMarker) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (*TileDefMarker) GetLabelOk ¶
func (t *TileDefMarker) GetLabelOk() (string, bool)
GetLabelOk 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 (*TileDefMarker) GetType ¶
func (t *TileDefMarker) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TileDefMarker) GetTypeOk ¶
func (t *TileDefMarker) GetTypeOk() (string, bool)
GetTypeOk 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 (*TileDefMarker) GetValue ¶
func (t *TileDefMarker) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (*TileDefMarker) GetValueOk ¶
func (t *TileDefMarker) GetValueOk() (string, bool)
GetValueOk 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 (*TileDefMarker) HasLabel ¶
func (t *TileDefMarker) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*TileDefMarker) HasType ¶
func (t *TileDefMarker) HasType() bool
HasType returns a boolean if a field has been set.
func (*TileDefMarker) HasValue ¶
func (t *TileDefMarker) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*TileDefMarker) SetLabel ¶
func (t *TileDefMarker) SetLabel(v string)
SetLabel allocates a new t.Label and returns the pointer to it.
func (*TileDefMarker) SetType ¶
func (t *TileDefMarker) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*TileDefMarker) SetValue ¶
func (t *TileDefMarker) SetValue(v string)
SetValue allocates a new t.Value and returns the pointer to it.
type TileDefRequest ¶
type TileDefRequest struct {
Query *string `json:"q,omitempty"`
// For Hostmap
Type *string `json:"type,omitempty"`
// For Process
QueryType *string `json:"query_type,omitempty"`
Metric *string `json:"metric,omitempty"`
TextFilter *string `json:"text_filter,omitempty"`
TagFilters []*string `json:"tag_filters"`
Limit *int `json:"limit,omitempty"`
ConditionalFormats []ConditionalFormat `json:"conditional_formats,omitempty"`
Style *TileDefRequestStyle `json:"style,omitempty"`
Aggregator *string `json:"aggregator,omitempty"`
CompareTo *string `json:"compare_to,omitempty"`
ChangeType *string `json:"change_type,omitempty"`
OrderBy *string `json:"order_by,omitempty"`
OrderDir *string `json:"order_dir,omitempty"`
ExtraCol *string `json:"extra_col,omitempty"`
IncreaseGood *bool `json:"increase_good,omitempty"`
}
func (*TileDefRequest) GetAggregator ¶
func (t *TileDefRequest) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*TileDefRequest) GetAggregatorOk ¶
func (t *TileDefRequest) GetAggregatorOk() (string, bool)
GetAggregatorOk 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 (*TileDefRequest) GetChangeType ¶
func (t *TileDefRequest) GetChangeType() string
GetChangeType returns the ChangeType field if non-nil, zero value otherwise.
func (*TileDefRequest) GetChangeTypeOk ¶
func (t *TileDefRequest) GetChangeTypeOk() (string, bool)
GetChangeTypeOk 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 (*TileDefRequest) GetCompareTo ¶
func (t *TileDefRequest) GetCompareTo() string
GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.
func (*TileDefRequest) GetCompareToOk ¶
func (t *TileDefRequest) GetCompareToOk() (string, bool)
GetCompareToOk 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 (*TileDefRequest) GetExtraCol ¶
func (t *TileDefRequest) GetExtraCol() string
GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.
func (*TileDefRequest) GetExtraColOk ¶
func (t *TileDefRequest) GetExtraColOk() (string, bool)
GetExtraColOk 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 (*TileDefRequest) GetIncreaseGood ¶
func (t *TileDefRequest) GetIncreaseGood() bool
GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.
func (*TileDefRequest) GetIncreaseGoodOk ¶
func (t *TileDefRequest) GetIncreaseGoodOk() (bool, bool)
GetIncreaseGoodOk 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 (*TileDefRequest) GetLimit ¶
func (t *TileDefRequest) GetLimit() int
GetLimit returns the Limit field if non-nil, zero value otherwise.
func (*TileDefRequest) GetLimitOk ¶
func (t *TileDefRequest) GetLimitOk() (int, bool)
GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefRequest) GetMetric ¶
func (t *TileDefRequest) GetMetric() string
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (*TileDefRequest) GetMetricOk ¶
func (t *TileDefRequest) GetMetricOk() (string, bool)
GetMetricOk 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 (*TileDefRequest) GetOrderBy ¶
func (t *TileDefRequest) GetOrderBy() string
GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.
func (*TileDefRequest) GetOrderByOk ¶
func (t *TileDefRequest) GetOrderByOk() (string, bool)
GetOrderByOk 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 (*TileDefRequest) GetOrderDir ¶
func (t *TileDefRequest) GetOrderDir() string
GetOrderDir returns the OrderDir field if non-nil, zero value otherwise.
func (*TileDefRequest) GetOrderDirOk ¶
func (t *TileDefRequest) GetOrderDirOk() (string, bool)
GetOrderDirOk returns a tuple with the OrderDir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefRequest) GetQuery ¶
func (t *TileDefRequest) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*TileDefRequest) GetQueryOk ¶
func (t *TileDefRequest) GetQueryOk() (string, bool)
GetQueryOk 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 (*TileDefRequest) GetQueryType ¶
func (t *TileDefRequest) GetQueryType() string
GetQueryType returns the QueryType field if non-nil, zero value otherwise.
func (*TileDefRequest) GetQueryTypeOk ¶
func (t *TileDefRequest) GetQueryTypeOk() (string, bool)
GetQueryTypeOk returns a tuple with the QueryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefRequest) GetStyle ¶
func (t *TileDefRequest) GetStyle() TileDefRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*TileDefRequest) GetStyleOk ¶
func (t *TileDefRequest) GetStyleOk() (TileDefRequestStyle, bool)
GetStyleOk 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 (*TileDefRequest) GetTextFilter ¶
func (t *TileDefRequest) GetTextFilter() string
GetTextFilter returns the TextFilter field if non-nil, zero value otherwise.
func (*TileDefRequest) GetTextFilterOk ¶
func (t *TileDefRequest) GetTextFilterOk() (string, bool)
GetTextFilterOk returns a tuple with the TextFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefRequest) GetType ¶
func (t *TileDefRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TileDefRequest) GetTypeOk ¶
func (t *TileDefRequest) GetTypeOk() (string, bool)
GetTypeOk 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 (*TileDefRequest) HasAggregator ¶
func (t *TileDefRequest) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*TileDefRequest) HasChangeType ¶
func (t *TileDefRequest) HasChangeType() bool
HasChangeType returns a boolean if a field has been set.
func (*TileDefRequest) HasCompareTo ¶
func (t *TileDefRequest) HasCompareTo() bool
HasCompareTo returns a boolean if a field has been set.
func (*TileDefRequest) HasExtraCol ¶
func (t *TileDefRequest) HasExtraCol() bool
HasExtraCol returns a boolean if a field has been set.
func (*TileDefRequest) HasIncreaseGood ¶
func (t *TileDefRequest) HasIncreaseGood() bool
HasIncreaseGood returns a boolean if a field has been set.
func (*TileDefRequest) HasLimit ¶
func (t *TileDefRequest) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*TileDefRequest) HasMetric ¶
func (t *TileDefRequest) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*TileDefRequest) HasOrderBy ¶
func (t *TileDefRequest) HasOrderBy() bool
HasOrderBy returns a boolean if a field has been set.
func (*TileDefRequest) HasOrderDir ¶
func (t *TileDefRequest) HasOrderDir() bool
HasOrderDir returns a boolean if a field has been set.
func (*TileDefRequest) HasQuery ¶
func (t *TileDefRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*TileDefRequest) HasQueryType ¶
func (t *TileDefRequest) HasQueryType() bool
HasQueryType returns a boolean if a field has been set.
func (*TileDefRequest) HasStyle ¶
func (t *TileDefRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*TileDefRequest) HasTextFilter ¶
func (t *TileDefRequest) HasTextFilter() bool
HasTextFilter returns a boolean if a field has been set.
func (*TileDefRequest) HasType ¶
func (t *TileDefRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*TileDefRequest) SetAggregator ¶
func (t *TileDefRequest) SetAggregator(v string)
SetAggregator allocates a new t.Aggregator and returns the pointer to it.
func (*TileDefRequest) SetChangeType ¶
func (t *TileDefRequest) SetChangeType(v string)
SetChangeType allocates a new t.ChangeType and returns the pointer to it.
func (*TileDefRequest) SetCompareTo ¶
func (t *TileDefRequest) SetCompareTo(v string)
SetCompareTo allocates a new t.CompareTo and returns the pointer to it.
func (*TileDefRequest) SetExtraCol ¶
func (t *TileDefRequest) SetExtraCol(v string)
SetExtraCol allocates a new t.ExtraCol and returns the pointer to it.
func (*TileDefRequest) SetIncreaseGood ¶
func (t *TileDefRequest) SetIncreaseGood(v bool)
SetIncreaseGood allocates a new t.IncreaseGood and returns the pointer to it.
func (*TileDefRequest) SetLimit ¶
func (t *TileDefRequest) SetLimit(v int)
SetLimit allocates a new t.Limit and returns the pointer to it.
func (*TileDefRequest) SetMetric ¶
func (t *TileDefRequest) SetMetric(v string)
SetMetric allocates a new t.Metric and returns the pointer to it.
func (*TileDefRequest) SetOrderBy ¶
func (t *TileDefRequest) SetOrderBy(v string)
SetOrderBy allocates a new t.OrderBy and returns the pointer to it.
func (*TileDefRequest) SetOrderDir ¶
func (t *TileDefRequest) SetOrderDir(v string)
SetOrderDir allocates a new t.OrderDir and returns the pointer to it.
func (*TileDefRequest) SetQuery ¶
func (t *TileDefRequest) SetQuery(v string)
SetQuery allocates a new t.Query and returns the pointer to it.
func (*TileDefRequest) SetQueryType ¶
func (t *TileDefRequest) SetQueryType(v string)
SetQueryType allocates a new t.QueryType and returns the pointer to it.
func (*TileDefRequest) SetStyle ¶
func (t *TileDefRequest) SetStyle(v TileDefRequestStyle)
SetStyle allocates a new t.Style and returns the pointer to it.
func (*TileDefRequest) SetTextFilter ¶
func (t *TileDefRequest) SetTextFilter(v string)
SetTextFilter allocates a new t.TextFilter and returns the pointer to it.
func (*TileDefRequest) SetType ¶
func (t *TileDefRequest) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
type TileDefRequestStyle ¶
type TileDefRequestStyle struct {
Palette *string `json:"palette,omitempty"`
Type *string `json:"type,omitempty"`
Width *string `json:"width,omitempty"`
}
func (*TileDefRequestStyle) GetPalette ¶
func (t *TileDefRequestStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*TileDefRequestStyle) GetPaletteOk ¶
func (t *TileDefRequestStyle) GetPaletteOk() (string, bool)
GetPaletteOk 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 (*TileDefRequestStyle) GetType ¶
func (t *TileDefRequestStyle) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TileDefRequestStyle) GetTypeOk ¶
func (t *TileDefRequestStyle) GetTypeOk() (string, bool)
GetTypeOk 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 (*TileDefRequestStyle) GetWidth ¶
func (t *TileDefRequestStyle) GetWidth() string
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*TileDefRequestStyle) GetWidthOk ¶
func (t *TileDefRequestStyle) GetWidthOk() (string, bool)
GetWidthOk 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 (*TileDefRequestStyle) HasPalette ¶
func (t *TileDefRequestStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*TileDefRequestStyle) HasType ¶
func (t *TileDefRequestStyle) HasType() bool
HasType returns a boolean if a field has been set.
func (*TileDefRequestStyle) HasWidth ¶
func (t *TileDefRequestStyle) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*TileDefRequestStyle) SetPalette ¶
func (t *TileDefRequestStyle) SetPalette(v string)
SetPalette allocates a new t.Palette and returns the pointer to it.
func (*TileDefRequestStyle) SetType ¶
func (t *TileDefRequestStyle) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*TileDefRequestStyle) SetWidth ¶
func (t *TileDefRequestStyle) SetWidth(v string)
SetWidth allocates a new t.Width and returns the pointer to it.
type TileDefStyle ¶
type TileDefStyle struct {
Palette *string `json:"palette,omitempty"`
PaletteFlip *string `json:"paletteFlip,omitempty"`
FillMin *string `json:"fillMin,omitempty"`
FillMax *string `json:"fillMax,omitempty"`
}
func (*TileDefStyle) GetFillMax ¶
func (t *TileDefStyle) GetFillMax() string
GetFillMax returns the FillMax field if non-nil, zero value otherwise.
func (*TileDefStyle) GetFillMaxOk ¶
func (t *TileDefStyle) GetFillMaxOk() (string, bool)
GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefStyle) GetFillMin ¶
func (t *TileDefStyle) GetFillMin() string
GetFillMin returns the FillMin field if non-nil, zero value otherwise.
func (*TileDefStyle) GetFillMinOk ¶
func (t *TileDefStyle) GetFillMinOk() (string, bool)
GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TileDefStyle) GetPalette ¶
func (t *TileDefStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*TileDefStyle) GetPaletteFlip ¶
func (t *TileDefStyle) GetPaletteFlip() string
GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.
func (*TileDefStyle) GetPaletteFlipOk ¶
func (t *TileDefStyle) GetPaletteFlipOk() (string, bool)
GetPaletteFlipOk 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 (*TileDefStyle) GetPaletteOk ¶
func (t *TileDefStyle) GetPaletteOk() (string, bool)
GetPaletteOk 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 (*TileDefStyle) HasFillMax ¶
func (t *TileDefStyle) HasFillMax() bool
HasFillMax returns a boolean if a field has been set.
func (*TileDefStyle) HasFillMin ¶
func (t *TileDefStyle) HasFillMin() bool
HasFillMin returns a boolean if a field has been set.
func (*TileDefStyle) HasPalette ¶
func (t *TileDefStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*TileDefStyle) HasPaletteFlip ¶
func (t *TileDefStyle) HasPaletteFlip() bool
HasPaletteFlip returns a boolean if a field has been set.
func (*TileDefStyle) SetFillMax ¶
func (t *TileDefStyle) SetFillMax(v string)
SetFillMax allocates a new t.FillMax and returns the pointer to it.
func (*TileDefStyle) SetFillMin ¶
func (t *TileDefStyle) SetFillMin(v string)
SetFillMin allocates a new t.FillMin and returns the pointer to it.
func (*TileDefStyle) SetPalette ¶
func (t *TileDefStyle) SetPalette(v string)
SetPalette allocates a new t.Palette and returns the pointer to it.
func (*TileDefStyle) SetPaletteFlip ¶
func (t *TileDefStyle) SetPaletteFlip(v string)
SetPaletteFlip allocates a new t.PaletteFlip and returns the pointer to it.
type Time ¶
type Time struct {
LiveSpan *string `json:"live_span,omitempty"`
}
func (*Time) GetLiveSpan ¶
GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.
func (*Time) GetLiveSpanOk ¶
GetLiveSpanOk returns a tuple with the LiveSpan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Time) HasLiveSpan ¶
HasLiveSpan returns a boolean if a field has been set.
func (*Time) SetLiveSpan ¶
SetLiveSpan allocates a new t.LiveSpan and returns the pointer to it.
type TriggeringValue ¶
type TriggeringValue struct {
FromTs *int `json:"from_ts,omitempty"`
ToTs *int `json:"to_ts,omitempty"`
Value *int `json:"value,omitempty"`
}
func (*TriggeringValue) GetFromTs ¶
func (t *TriggeringValue) GetFromTs() int
GetFromTs returns the FromTs field if non-nil, zero value otherwise.
func (*TriggeringValue) GetFromTsOk ¶
func (t *TriggeringValue) GetFromTsOk() (int, bool)
GetFromTsOk returns a tuple with the FromTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TriggeringValue) GetToTs ¶
func (t *TriggeringValue) GetToTs() int
GetToTs returns the ToTs field if non-nil, zero value otherwise.
func (*TriggeringValue) GetToTsOk ¶
func (t *TriggeringValue) GetToTsOk() (int, bool)
GetToTsOk returns a tuple with the ToTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TriggeringValue) GetValue ¶
func (t *TriggeringValue) GetValue() int
GetValue returns the Value field if non-nil, zero value otherwise.
func (*TriggeringValue) GetValueOk ¶
func (t *TriggeringValue) GetValueOk() (int, bool)
GetValueOk 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 (*TriggeringValue) HasFromTs ¶
func (t *TriggeringValue) HasFromTs() bool
HasFromTs returns a boolean if a field has been set.
func (*TriggeringValue) HasToTs ¶
func (t *TriggeringValue) HasToTs() bool
HasToTs returns a boolean if a field has been set.
func (*TriggeringValue) HasValue ¶
func (t *TriggeringValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*TriggeringValue) SetFromTs ¶
func (t *TriggeringValue) SetFromTs(v int)
SetFromTs allocates a new t.FromTs and returns the pointer to it.
func (*TriggeringValue) SetToTs ¶
func (t *TriggeringValue) SetToTs(v int)
SetToTs allocates a new t.ToTs and returns the pointer to it.
func (*TriggeringValue) SetValue ¶
func (t *TriggeringValue) SetValue(v int)
SetValue allocates a new t.Value 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 ¶
GetAccessRoleOk 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 ¶
GetDisabledOk 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 ¶
GetEmailOk 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 ¶
GetHandleOk 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 ¶
GetIsAdminOk 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 ¶
GetNameOk 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 ¶
GetRoleOk 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 ¶
GetVerifiedOk 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 {
// Common attributes
Type *string `json:"type,omitempty"`
Title *bool `json:"title,omitempty"`
TitleText *string `json:"title_text,omitempty"`
TitleAlign *string `json:"title_align,omitempty"`
TitleSize *int `json:"title_size,omitempty"`
Height *int `json:"height,omitempty"`
Width *int `json:"width,omitempty"`
X *int `json:"y,omitempty"`
Y *int `json:"x,omitempty"`
// For Timeseries, TopList, EventTimeline, EvenStream, AlertGraph, CheckStatus, ServiceSummary, LogStream widgets
Time *Time `json:"time,omitempty"`
// For Timeseries, QueryValue, HostMap, Change, Toplist, Process widgets
TileDef *TileDef `json:"tile_def,omitempty"`
// For FreeText widget
Text *string `json:"text,omitempty"`
Color *string `json:"color,omitempty"`
// For AlertValue widget
TextSize *string `json:"text_size,omitempty"`
Unit *string `json:"unit,omitempty"`
Precision *string `json:"precision,omitempty"`
// AlertGraph widget
VizType *string `json:"viz_type,omitempty"`
// For AlertValue, QueryValue, FreeText, Note widgets
TextAlign *string `json:"text_align,omitempty"`
// For FreeText, Note widgets
FontSize *string `json:"font_size,omitempty"`
// For AlertValue, AlertGraph widgets
AlertID *int `json:"alert_id,omitempty"`
AutoRefresh *bool `json:"auto_refresh,omitempty"`
// For Timeseries, QueryValue, Toplist widgets
Legend *bool `json:"legend,omitempty"`
LegendSize *string `json:"legend_size,omitempty"`
// For EventTimeline, EventStream, Hostmap, LogStream widgets
Query *string `json:"query,omitempty"`
// For Image, IFrame widgets
URL *string `json:"url,omitempty"`
// For CheckStatus widget
Tags []*string `json:"tags,omitempty"`
Check *string `json:"check,omitempty"`
Grouping *string `json:"grouping,omitempty"`
GroupBy []*string `json:"group_by,omitempty"`
Group *string `json:"group,omitempty"`
// Note widget
TickPos *string `json:"tick_pos,omitempty"`
TickEdge *string `json:"tick_edge,omitempty"`
HTML *string `json:"html,omitempty"`
Tick *bool `json:"tick,omitempty"`
Bgcolor *string `json:"bgcolor,omitempty"`
// EventStream widget
EventSize *string `json:"event_size,omitempty"`
// Image widget
Sizing *string `json:"sizing,omitempty"`
Margin *string `json:"margin,omitempty"`
// For ServiceSummary (trace_service) widget
Env *string `json:"env,omitempty"`
ServiceService *string `json:"serviceService,omitempty"`
ServiceName *string `json:"serviceName,omitempty"`
SizeVersion *string `json:"sizeVersion,omitempty"`
LayoutVersion *string `json:"layoutVersion,omitempty"`
MustShowHits *bool `json:"mustShowHits,omitempty"`
MustShowErrors *bool `json:"mustShowErrors,omitempty"`
MustShowLatency *bool `json:"mustShowLatency,omitempty"`
MustShowBreakdown *bool `json:"mustShowBreakdown,omitempty"`
MustShowDistribution *bool `json:"mustShowDistribution,omitempty"`
MustShowResourceList *bool `json:"mustShowResourceList,omitempty"`
// For MonitorSummary (manage_status) widget
DisplayFormat *string `json:"displayFormat,omitempty"`
ColorPreference *string `json:"colorPreference,omitempty"`
HideZeroCounts *bool `json:"hideZeroCounts,omitempty"`
ManageStatusShowTitle *bool `json:"showTitle,omitempty"`
ManageStatusTitleText *string `json:"titleText,omitempty"`
ManageStatusTitleSize *string `json:"titleSize,omitempty"`
ManageStatusTitleAlign *string `json:"titleAlign,omitempty"`
Params *Params `json:"params,omitempty"`
// For LogStream widget
Columns *string `json:"columns,omitempty"`
Logset *string `json:"logset,omitempty"`
// For Uptime
// Widget is undocumented, subject to breaking API changes, and without customer support
Timeframes []*string `json:"timeframes,omitempty"`
Rules map[string]*Rule `json:"rules,omitempty"`
Monitor *ScreenboardMonitor `json:"monitor,omitempty"`
}
func (*Widget) GetAlertID ¶
GetAlertID returns the AlertID field if non-nil, zero value otherwise.
func (*Widget) GetAlertIDOk ¶
GetAlertIDOk 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 (*Widget) GetAutoRefresh ¶
GetAutoRefresh returns the AutoRefresh field if non-nil, zero value otherwise.
func (*Widget) GetAutoRefreshOk ¶
GetAutoRefreshOk 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 (*Widget) GetBgcolor ¶
GetBgcolor returns the Bgcolor field if non-nil, zero value otherwise.
func (*Widget) GetBgcolorOk ¶
GetBgcolorOk returns a tuple with the Bgcolor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetCheckOk ¶
GetCheckOk 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 (*Widget) GetColorOk ¶
GetColorOk 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 (*Widget) GetColorPreference ¶
GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.
func (*Widget) GetColorPreferenceOk ¶
GetColorPreferenceOk returns a tuple with the ColorPreference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetColumns ¶
GetColumns returns the Columns field if non-nil, zero value otherwise.
func (*Widget) GetColumnsOk ¶
GetColumnsOk returns a tuple with the Columns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetDisplayFormat ¶
GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.
func (*Widget) GetDisplayFormatOk ¶
GetDisplayFormatOk returns a tuple with the DisplayFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetEnvOk ¶
GetEnvOk returns a tuple with the Env field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetEventSize ¶
GetEventSize returns the EventSize field if non-nil, zero value otherwise.
func (*Widget) GetEventSizeOk ¶
GetEventSizeOk 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 (*Widget) GetFontSize ¶
GetFontSize returns the FontSize field if non-nil, zero value otherwise.
func (*Widget) GetFontSizeOk ¶
GetFontSizeOk 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 (*Widget) GetGroupOk ¶
GetGroupOk 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 (*Widget) GetGrouping ¶
GetGrouping returns the Grouping field if non-nil, zero value otherwise.
func (*Widget) GetGroupingOk ¶
GetGroupingOk 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 (*Widget) GetHTMLOk ¶
GetHTMLOk 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 (*Widget) GetHeightOk ¶
GetHeightOk 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 (*Widget) GetHideZeroCounts ¶
GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.
func (*Widget) GetHideZeroCountsOk ¶
GetHideZeroCountsOk returns a tuple with the HideZeroCounts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetLayoutVersion ¶
GetLayoutVersion returns the LayoutVersion field if non-nil, zero value otherwise.
func (*Widget) GetLayoutVersionOk ¶
GetLayoutVersionOk returns a tuple with the LayoutVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetLegendOk ¶
GetLegendOk 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 (*Widget) GetLegendSize ¶
GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
func (*Widget) GetLegendSizeOk ¶
GetLegendSizeOk 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 (*Widget) GetLogsetOk ¶
GetLogsetOk returns a tuple with the Logset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetManageStatusShowTitle ¶
GetManageStatusShowTitle returns the ManageStatusShowTitle field if non-nil, zero value otherwise.
func (*Widget) GetManageStatusShowTitleOk ¶
GetManageStatusShowTitleOk returns a tuple with the ManageStatusShowTitle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetManageStatusTitleAlign ¶
GetManageStatusTitleAlign returns the ManageStatusTitleAlign field if non-nil, zero value otherwise.
func (*Widget) GetManageStatusTitleAlignOk ¶
GetManageStatusTitleAlignOk returns a tuple with the ManageStatusTitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetManageStatusTitleSize ¶
GetManageStatusTitleSize returns the ManageStatusTitleSize field if non-nil, zero value otherwise.
func (*Widget) GetManageStatusTitleSizeOk ¶
GetManageStatusTitleSizeOk returns a tuple with the ManageStatusTitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetManageStatusTitleText ¶
GetManageStatusTitleText returns the ManageStatusTitleText field if non-nil, zero value otherwise.
func (*Widget) GetManageStatusTitleTextOk ¶
GetManageStatusTitleTextOk returns a tuple with the ManageStatusTitleText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMarginOk ¶
GetMarginOk returns a tuple with the Margin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMonitor ¶
func (w *Widget) GetMonitor() ScreenboardMonitor
GetMonitor returns the Monitor field if non-nil, zero value otherwise.
func (*Widget) GetMonitorOk ¶
func (w *Widget) GetMonitorOk() (ScreenboardMonitor, bool)
GetMonitorOk returns a tuple with the Monitor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowBreakdown ¶
GetMustShowBreakdown returns the MustShowBreakdown field if non-nil, zero value otherwise.
func (*Widget) GetMustShowBreakdownOk ¶
GetMustShowBreakdownOk returns a tuple with the MustShowBreakdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowDistribution ¶
GetMustShowDistribution returns the MustShowDistribution field if non-nil, zero value otherwise.
func (*Widget) GetMustShowDistributionOk ¶
GetMustShowDistributionOk returns a tuple with the MustShowDistribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowErrors ¶
GetMustShowErrors returns the MustShowErrors field if non-nil, zero value otherwise.
func (*Widget) GetMustShowErrorsOk ¶
GetMustShowErrorsOk returns a tuple with the MustShowErrors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowHits ¶
GetMustShowHits returns the MustShowHits field if non-nil, zero value otherwise.
func (*Widget) GetMustShowHitsOk ¶
GetMustShowHitsOk returns a tuple with the MustShowHits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowLatency ¶
GetMustShowLatency returns the MustShowLatency field if non-nil, zero value otherwise.
func (*Widget) GetMustShowLatencyOk ¶
GetMustShowLatencyOk returns a tuple with the MustShowLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetMustShowResourceList ¶
GetMustShowResourceList returns the MustShowResourceList field if non-nil, zero value otherwise.
func (*Widget) GetMustShowResourceListOk ¶
GetMustShowResourceListOk returns a tuple with the MustShowResourceList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetParamsOk ¶
GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetPrecision ¶
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*Widget) GetPrecisionOk ¶
GetPrecisionOk 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 (*Widget) GetQueryOk ¶
GetQueryOk 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 (*Widget) GetServiceName ¶
GetServiceName returns the ServiceName field if non-nil, zero value otherwise.
func (*Widget) GetServiceNameOk ¶
GetServiceNameOk 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 (*Widget) GetServiceService ¶
GetServiceService returns the ServiceService field if non-nil, zero value otherwise.
func (*Widget) GetServiceServiceOk ¶
GetServiceServiceOk returns a tuple with the ServiceService field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetSizeVersion ¶
GetSizeVersion returns the SizeVersion field if non-nil, zero value otherwise.
func (*Widget) GetSizeVersionOk ¶
GetSizeVersionOk returns a tuple with the SizeVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Widget) GetSizingOk ¶
GetSizingOk 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 (*Widget) GetTextAlign ¶
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*Widget) GetTextAlignOk ¶
GetTextAlignOk 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 (*Widget) GetTextOk ¶
GetTextOk 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 (*Widget) GetTextSize ¶
GetTextSize returns the TextSize field if non-nil, zero value otherwise.
func (*Widget) GetTextSizeOk ¶
GetTextSizeOk 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 (*Widget) GetTickEdge ¶
GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.
func (*Widget) GetTickEdgeOk ¶
GetTickEdgeOk 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 (*Widget) GetTickOk ¶
GetTickOk 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 (*Widget) GetTickPos ¶
GetTickPos returns the TickPos field if non-nil, zero value otherwise.
func (*Widget) GetTickPosOk ¶
GetTickPosOk 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 (*Widget) GetTileDef ¶
GetTileDef returns the TileDef field if non-nil, zero value otherwise.
func (*Widget) GetTileDefOk ¶
GetTileDefOk 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 (*Widget) GetTimeOk ¶
GetTimeOk 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 (*Widget) GetTitleAlign ¶
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*Widget) GetTitleAlignOk ¶
GetTitleAlignOk 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 (*Widget) GetTitleOk ¶
GetTitleOk 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 (*Widget) GetTitleSize ¶
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*Widget) GetTitleSizeOk ¶
GetTitleSizeOk 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 (*Widget) GetTitleText ¶
GetTitleText returns the TitleText field if non-nil, zero value otherwise.
func (*Widget) GetTitleTextOk ¶
GetTitleTextOk 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 (*Widget) GetTypeOk ¶
GetTypeOk 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 (*Widget) GetURLOk ¶
GetURLOk 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 (*Widget) GetUnitOk ¶
GetUnitOk 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 (*Widget) GetVizType ¶
GetVizType returns the VizType field if non-nil, zero value otherwise.
func (*Widget) GetVizTypeOk ¶
GetVizTypeOk 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 (*Widget) GetWidthOk ¶
GetWidthOk 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 (*Widget) GetXOk ¶
GetXOk 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 (*Widget) GetYOk ¶
GetYOk 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 (*Widget) HasAlertID ¶
HasAlertID returns a boolean if a field has been set.
func (*Widget) HasAutoRefresh ¶
HasAutoRefresh returns a boolean if a field has been set.
func (*Widget) HasBgcolor ¶
HasBgcolor returns a boolean if a field has been set.
func (*Widget) HasColorPreference ¶
HasColorPreference returns a boolean if a field has been set.
func (*Widget) HasColumns ¶
HasColumns returns a boolean if a field has been set.
func (*Widget) HasDisplayFormat ¶
HasDisplayFormat returns a boolean if a field has been set.
func (*Widget) HasEventSize ¶
HasEventSize returns a boolean if a field has been set.
func (*Widget) HasFontSize ¶
HasFontSize returns a boolean if a field has been set.
func (*Widget) HasGrouping ¶
HasGrouping returns a boolean if a field has been set.
func (*Widget) HasHideZeroCounts ¶
HasHideZeroCounts returns a boolean if a field has been set.
func (*Widget) HasLayoutVersion ¶
HasLayoutVersion returns a boolean if a field has been set.
func (*Widget) HasLegendSize ¶
HasLegendSize returns a boolean if a field has been set.
func (*Widget) HasManageStatusShowTitle ¶
HasManageStatusShowTitle returns a boolean if a field has been set.
func (*Widget) HasManageStatusTitleAlign ¶
HasManageStatusTitleAlign returns a boolean if a field has been set.
func (*Widget) HasManageStatusTitleSize ¶
HasManageStatusTitleSize returns a boolean if a field has been set.
func (*Widget) HasManageStatusTitleText ¶
HasManageStatusTitleText returns a boolean if a field has been set.
func (*Widget) HasMonitor ¶
HasMonitor returns a boolean if a field has been set.
func (*Widget) HasMustShowBreakdown ¶
HasMustShowBreakdown returns a boolean if a field has been set.
func (*Widget) HasMustShowDistribution ¶
HasMustShowDistribution returns a boolean if a field has been set.
func (*Widget) HasMustShowErrors ¶
HasMustShowErrors returns a boolean if a field has been set.
func (*Widget) HasMustShowHits ¶
HasMustShowHits returns a boolean if a field has been set.
func (*Widget) HasMustShowLatency ¶
HasMustShowLatency returns a boolean if a field has been set.
func (*Widget) HasMustShowResourceList ¶
HasMustShowResourceList returns a boolean if a field has been set.
func (*Widget) HasPrecision ¶
HasPrecision returns a boolean if a field has been set.
func (*Widget) HasServiceName ¶
HasServiceName returns a boolean if a field has been set.
func (*Widget) HasServiceService ¶
HasServiceService returns a boolean if a field has been set.
func (*Widget) HasSizeVersion ¶
HasSizeVersion returns a boolean if a field has been set.
func (*Widget) HasTextAlign ¶
HasTextAlign returns a boolean if a field has been set.
func (*Widget) HasTextSize ¶
HasTextSize returns a boolean if a field has been set.
func (*Widget) HasTickEdge ¶
HasTickEdge returns a boolean if a field has been set.
func (*Widget) HasTickPos ¶
HasTickPos returns a boolean if a field has been set.
func (*Widget) HasTileDef ¶
HasTileDef returns a boolean if a field has been set.
func (*Widget) HasTitleAlign ¶
HasTitleAlign returns a boolean if a field has been set.
func (*Widget) HasTitleSize ¶
HasTitleSize returns a boolean if a field has been set.
func (*Widget) HasTitleText ¶
HasTitleText returns a boolean if a field has been set.
func (*Widget) HasVizType ¶
HasVizType returns a boolean if a field has been set.
func (*Widget) SetAlertID ¶
SetAlertID allocates a new w.AlertID and returns the pointer to it.
func (*Widget) SetAutoRefresh ¶
SetAutoRefresh allocates a new w.AutoRefresh and returns the pointer to it.
func (*Widget) SetBgcolor ¶
SetBgcolor allocates a new w.Bgcolor and returns the pointer to it.
func (*Widget) SetColorPreference ¶
SetColorPreference allocates a new w.ColorPreference and returns the pointer to it.
func (*Widget) SetColumns ¶
SetColumns allocates a new w.Columns and returns the pointer to it.
func (*Widget) SetDisplayFormat ¶
SetDisplayFormat allocates a new w.DisplayFormat and returns the pointer to it.
func (*Widget) SetEventSize ¶
SetEventSize allocates a new w.EventSize and returns the pointer to it.
func (*Widget) SetFontSize ¶
SetFontSize allocates a new w.FontSize and returns the pointer to it.
func (*Widget) SetGrouping ¶
SetGrouping allocates a new w.Grouping and returns the pointer to it.
func (*Widget) SetHideZeroCounts ¶
SetHideZeroCounts allocates a new w.HideZeroCounts and returns the pointer to it.
func (*Widget) SetLayoutVersion ¶
SetLayoutVersion allocates a new w.LayoutVersion and returns the pointer to it.
func (*Widget) SetLegendSize ¶
SetLegendSize allocates a new w.LegendSize and returns the pointer to it.
func (*Widget) SetManageStatusShowTitle ¶
SetManageStatusShowTitle allocates a new w.ManageStatusShowTitle and returns the pointer to it.
func (*Widget) SetManageStatusTitleAlign ¶
SetManageStatusTitleAlign allocates a new w.ManageStatusTitleAlign and returns the pointer to it.
func (*Widget) SetManageStatusTitleSize ¶
SetManageStatusTitleSize allocates a new w.ManageStatusTitleSize and returns the pointer to it.
func (*Widget) SetManageStatusTitleText ¶
SetManageStatusTitleText allocates a new w.ManageStatusTitleText and returns the pointer to it.
func (*Widget) SetMonitor ¶
func (w *Widget) SetMonitor(v ScreenboardMonitor)
SetMonitor allocates a new w.Monitor and returns the pointer to it.
func (*Widget) SetMustShowBreakdown ¶
SetMustShowBreakdown allocates a new w.MustShowBreakdown and returns the pointer to it.
func (*Widget) SetMustShowDistribution ¶
SetMustShowDistribution allocates a new w.MustShowDistribution and returns the pointer to it.
func (*Widget) SetMustShowErrors ¶
SetMustShowErrors allocates a new w.MustShowErrors and returns the pointer to it.
func (*Widget) SetMustShowHits ¶
SetMustShowHits allocates a new w.MustShowHits and returns the pointer to it.
func (*Widget) SetMustShowLatency ¶
SetMustShowLatency allocates a new w.MustShowLatency and returns the pointer to it.
func (*Widget) SetMustShowResourceList ¶
SetMustShowResourceList allocates a new w.MustShowResourceList and returns the pointer to it.
func (*Widget) SetPrecision ¶
SetPrecision allocates a new w.Precision and returns the pointer to it.
func (*Widget) SetServiceName ¶
SetServiceName allocates a new w.ServiceName and returns the pointer to it.
func (*Widget) SetServiceService ¶
SetServiceService allocates a new w.ServiceService and returns the pointer to it.
func (*Widget) SetSizeVersion ¶
SetSizeVersion allocates a new w.SizeVersion and returns the pointer to it.
func (*Widget) SetTextAlign ¶
SetTextAlign allocates a new w.TextAlign and returns the pointer to it.
func (*Widget) SetTextSize ¶
SetTextSize allocates a new w.TextSize and returns the pointer to it.
func (*Widget) SetTickEdge ¶
SetTickEdge allocates a new w.TickEdge and returns the pointer to it.
func (*Widget) SetTickPos ¶
SetTickPos allocates a new w.TickPos and returns the pointer to it.
func (*Widget) SetTileDef ¶
SetTileDef allocates a new w.TileDef and returns the pointer to it.
func (*Widget) SetTitleAlign ¶
SetTitleAlign allocates a new w.TitleAlign and returns the pointer to it.
func (*Widget) SetTitleSize ¶
SetTitleSize allocates a new w.TitleSize and returns the pointer to it.
func (*Widget) SetTitleText ¶
SetTitleText allocates a new w.TitleText and returns the pointer to it.
func (*Widget) SetVizType ¶
SetVizType allocates a new w.VizType and returns the pointer to it.
type Yaxis ¶
type Yaxis struct {
Min *float64 `json:"min,omitempty"`
AutoMin bool `json:"-"`
Max *float64 `json:"max,omitempty"`
AutoMax bool `json:"-"`
Scale *string `json:"scale,omitempty"`
}
func (*Yaxis) GetMaxOk ¶
GetMaxOk 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 ¶
GetMinOk 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 ¶
GetScaleOk 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.
func (*Yaxis) UnmarshalJSON ¶
UnmarshalJSON is a Custom Unmarshal for Yaxis.Min/Yaxis.Max. If the datadog API returns "auto" for min or max, then we should set Yaxis.min or Yaxis.max to nil, respectively.