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 GetStringId(id interface{}) (string, error)
- func GetStringOk(v *string) (string, bool)
- func Int(v int) *int
- func JsonNumber(v json.Number) *json.Number
- func String(v string) *string
- type APIKey
- func (a *APIKey) GetCreated() time.Time
- func (a *APIKey) GetCreatedBy() string
- func (a *APIKey) GetCreatedByOk() (string, bool)
- func (a *APIKey) GetCreatedOk() (time.Time, bool)
- func (a *APIKey) GetKey() string
- func (a *APIKey) GetKeyOk() (string, bool)
- func (a *APIKey) GetName() string
- func (a *APIKey) GetNameOk() (string, bool)
- func (a *APIKey) HasCreated() bool
- func (a *APIKey) HasCreatedBy() bool
- func (a *APIKey) HasKey() bool
- func (a *APIKey) HasName() bool
- func (k APIKey) MarshalJSON() ([]byte, error)
- func (a *APIKey) SetCreated(v time.Time)
- func (a *APIKey) SetCreatedBy(v string)
- func (a *APIKey) SetKey(v string)
- func (a *APIKey) SetName(v string)
- func (k *APIKey) UnmarshalJSON(data []byte) error
- 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 AlertGraphDefinition
- func (a *AlertGraphDefinition) GetAlertId() string
- func (a *AlertGraphDefinition) GetAlertIdOk() (string, bool)
- func (a *AlertGraphDefinition) GetTime() WidgetTime
- func (a *AlertGraphDefinition) GetTimeOk() (WidgetTime, bool)
- func (a *AlertGraphDefinition) GetTitle() string
- func (a *AlertGraphDefinition) GetTitleAlign() string
- func (a *AlertGraphDefinition) GetTitleAlignOk() (string, bool)
- func (a *AlertGraphDefinition) GetTitleOk() (string, bool)
- func (a *AlertGraphDefinition) GetTitleSize() string
- func (a *AlertGraphDefinition) GetTitleSizeOk() (string, bool)
- func (a *AlertGraphDefinition) GetType() string
- func (a *AlertGraphDefinition) GetTypeOk() (string, bool)
- func (a *AlertGraphDefinition) GetVizType() string
- func (a *AlertGraphDefinition) GetVizTypeOk() (string, bool)
- func (a *AlertGraphDefinition) HasAlertId() bool
- func (a *AlertGraphDefinition) HasTime() bool
- func (a *AlertGraphDefinition) HasTitle() bool
- func (a *AlertGraphDefinition) HasTitleAlign() bool
- func (a *AlertGraphDefinition) HasTitleSize() bool
- func (a *AlertGraphDefinition) HasType() bool
- func (a *AlertGraphDefinition) HasVizType() bool
- func (a *AlertGraphDefinition) SetAlertId(v string)
- func (a *AlertGraphDefinition) SetTime(v WidgetTime)
- func (a *AlertGraphDefinition) SetTitle(v string)
- func (a *AlertGraphDefinition) SetTitleAlign(v string)
- func (a *AlertGraphDefinition) SetTitleSize(v string)
- func (a *AlertGraphDefinition) SetType(v string)
- func (a *AlertGraphDefinition) SetVizType(v string)
- type AlertValueDefinition
- func (a *AlertValueDefinition) GetAlertId() string
- func (a *AlertValueDefinition) GetAlertIdOk() (string, bool)
- func (a *AlertValueDefinition) GetPrecision() int
- func (a *AlertValueDefinition) GetPrecisionOk() (int, bool)
- func (a *AlertValueDefinition) GetTextAlign() string
- func (a *AlertValueDefinition) GetTextAlignOk() (string, bool)
- func (a *AlertValueDefinition) GetTitle() string
- func (a *AlertValueDefinition) GetTitleAlign() string
- func (a *AlertValueDefinition) GetTitleAlignOk() (string, bool)
- func (a *AlertValueDefinition) GetTitleOk() (string, bool)
- func (a *AlertValueDefinition) GetTitleSize() string
- func (a *AlertValueDefinition) GetTitleSizeOk() (string, bool)
- func (a *AlertValueDefinition) GetType() string
- func (a *AlertValueDefinition) GetTypeOk() (string, bool)
- func (a *AlertValueDefinition) GetUnit() string
- func (a *AlertValueDefinition) GetUnitOk() (string, bool)
- func (a *AlertValueDefinition) HasAlertId() bool
- func (a *AlertValueDefinition) HasPrecision() bool
- func (a *AlertValueDefinition) HasTextAlign() bool
- func (a *AlertValueDefinition) HasTitle() bool
- func (a *AlertValueDefinition) HasTitleAlign() bool
- func (a *AlertValueDefinition) HasTitleSize() bool
- func (a *AlertValueDefinition) HasType() bool
- func (a *AlertValueDefinition) HasUnit() bool
- func (a *AlertValueDefinition) SetAlertId(v string)
- func (a *AlertValueDefinition) SetPrecision(v int)
- func (a *AlertValueDefinition) SetTextAlign(v string)
- func (a *AlertValueDefinition) SetTitle(v string)
- func (a *AlertValueDefinition) SetTitleAlign(v string)
- func (a *AlertValueDefinition) SetTitleSize(v string)
- func (a *AlertValueDefinition) SetType(v string)
- func (a *AlertValueDefinition) SetUnit(v string)
- type ApmOrLogQueryCompute
- func (a *ApmOrLogQueryCompute) GetAggregation() string
- func (a *ApmOrLogQueryCompute) GetAggregationOk() (string, bool)
- func (a *ApmOrLogQueryCompute) GetFacet() string
- func (a *ApmOrLogQueryCompute) GetFacetOk() (string, bool)
- func (a *ApmOrLogQueryCompute) GetInterval() int
- func (a *ApmOrLogQueryCompute) GetIntervalOk() (int, bool)
- func (a *ApmOrLogQueryCompute) HasAggregation() bool
- func (a *ApmOrLogQueryCompute) HasFacet() bool
- func (a *ApmOrLogQueryCompute) HasInterval() bool
- func (a *ApmOrLogQueryCompute) SetAggregation(v string)
- func (a *ApmOrLogQueryCompute) SetFacet(v string)
- func (a *ApmOrLogQueryCompute) SetInterval(v int)
- type ApmOrLogQueryGroupBy
- func (a *ApmOrLogQueryGroupBy) GetFacet() string
- func (a *ApmOrLogQueryGroupBy) GetFacetOk() (string, bool)
- func (a *ApmOrLogQueryGroupBy) GetLimit() int
- func (a *ApmOrLogQueryGroupBy) GetLimitOk() (int, bool)
- func (a *ApmOrLogQueryGroupBy) GetSort() ApmOrLogQueryGroupBySort
- func (a *ApmOrLogQueryGroupBy) GetSortOk() (ApmOrLogQueryGroupBySort, bool)
- func (a *ApmOrLogQueryGroupBy) HasFacet() bool
- func (a *ApmOrLogQueryGroupBy) HasLimit() bool
- func (a *ApmOrLogQueryGroupBy) HasSort() bool
- func (a *ApmOrLogQueryGroupBy) SetFacet(v string)
- func (a *ApmOrLogQueryGroupBy) SetLimit(v int)
- func (a *ApmOrLogQueryGroupBy) SetSort(v ApmOrLogQueryGroupBySort)
- type ApmOrLogQueryGroupBySort
- func (a *ApmOrLogQueryGroupBySort) GetAggregation() string
- func (a *ApmOrLogQueryGroupBySort) GetAggregationOk() (string, bool)
- func (a *ApmOrLogQueryGroupBySort) GetFacet() string
- func (a *ApmOrLogQueryGroupBySort) GetFacetOk() (string, bool)
- func (a *ApmOrLogQueryGroupBySort) GetOrder() string
- func (a *ApmOrLogQueryGroupBySort) GetOrderOk() (string, bool)
- func (a *ApmOrLogQueryGroupBySort) HasAggregation() bool
- func (a *ApmOrLogQueryGroupBySort) HasFacet() bool
- func (a *ApmOrLogQueryGroupBySort) HasOrder() bool
- func (a *ApmOrLogQueryGroupBySort) SetAggregation(v string)
- func (a *ApmOrLogQueryGroupBySort) SetFacet(v string)
- func (a *ApmOrLogQueryGroupBySort) SetOrder(v string)
- type ApmOrLogQuerySearch
- type Board
- func (b *Board) GetAuthorHandle() string
- func (b *Board) GetAuthorHandleOk() (string, bool)
- func (b *Board) GetCreatedAt() string
- func (b *Board) GetCreatedAtOk() (string, bool)
- func (b *Board) GetDescription() string
- func (b *Board) GetDescriptionOk() (string, bool)
- func (b *Board) GetId() string
- func (b *Board) GetIdOk() (string, bool)
- func (b *Board) GetIsReadOnly() bool
- func (b *Board) GetIsReadOnlyOk() (bool, bool)
- func (b *Board) GetLayoutType() string
- func (b *Board) GetLayoutTypeOk() (string, bool)
- func (b *Board) GetModifiedAt() string
- func (b *Board) GetModifiedAtOk() (string, bool)
- func (b *Board) GetTitle() string
- func (b *Board) GetTitleOk() (string, bool)
- func (b *Board) GetUrl() string
- func (b *Board) GetUrlOk() (string, bool)
- func (b *Board) HasAuthorHandle() bool
- func (b *Board) HasCreatedAt() bool
- func (b *Board) HasDescription() bool
- func (b *Board) HasId() bool
- func (b *Board) HasIsReadOnly() bool
- func (b *Board) HasLayoutType() bool
- func (b *Board) HasModifiedAt() bool
- func (b *Board) HasTitle() bool
- func (b *Board) HasUrl() bool
- func (b *Board) SetAuthorHandle(v string)
- func (b *Board) SetCreatedAt(v string)
- func (b *Board) SetDescription(v string)
- func (b *Board) SetId(v string)
- func (b *Board) SetIsReadOnly(v bool)
- func (b *Board) SetLayoutType(v string)
- func (b *Board) SetModifiedAt(v string)
- func (b *Board) SetTitle(v string)
- func (b *Board) SetUrl(v string)
- type BoardWidget
- func (b *BoardWidget) GetId() int
- func (b *BoardWidget) GetIdOk() (int, bool)
- func (b *BoardWidget) GetLayout() WidgetLayout
- func (b *BoardWidget) GetLayoutOk() (WidgetLayout, bool)
- func (widget *BoardWidget) GetWidgetType() (string, error)
- func (b *BoardWidget) HasId() bool
- func (b *BoardWidget) HasLayout() bool
- func (b *BoardWidget) SetId(v int)
- func (b *BoardWidget) SetLayout(v WidgetLayout)
- func (widget *BoardWidget) UnmarshalJSON(data []byte) error
- type ChangeDefinition
- func (c *ChangeDefinition) GetTime() WidgetTime
- func (c *ChangeDefinition) GetTimeOk() (WidgetTime, bool)
- func (c *ChangeDefinition) GetTitle() string
- func (c *ChangeDefinition) GetTitleAlign() string
- func (c *ChangeDefinition) GetTitleAlignOk() (string, bool)
- func (c *ChangeDefinition) GetTitleOk() (string, bool)
- func (c *ChangeDefinition) GetTitleSize() string
- func (c *ChangeDefinition) GetTitleSizeOk() (string, bool)
- func (c *ChangeDefinition) GetType() string
- func (c *ChangeDefinition) GetTypeOk() (string, bool)
- func (c *ChangeDefinition) HasTime() bool
- func (c *ChangeDefinition) HasTitle() bool
- func (c *ChangeDefinition) HasTitleAlign() bool
- func (c *ChangeDefinition) HasTitleSize() bool
- func (c *ChangeDefinition) HasType() bool
- func (c *ChangeDefinition) SetTime(v WidgetTime)
- func (c *ChangeDefinition) SetTitle(v string)
- func (c *ChangeDefinition) SetTitleAlign(v string)
- func (c *ChangeDefinition) SetTitleSize(v string)
- func (c *ChangeDefinition) SetType(v string)
- type ChangeRequest
- func (c *ChangeRequest) GetApmQuery() WidgetApmOrLogQuery
- func (c *ChangeRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (c *ChangeRequest) GetChangeType() string
- func (c *ChangeRequest) GetChangeTypeOk() (string, bool)
- func (c *ChangeRequest) GetCompareTo() string
- func (c *ChangeRequest) GetCompareToOk() (string, bool)
- func (c *ChangeRequest) GetIncreaseGood() bool
- func (c *ChangeRequest) GetIncreaseGoodOk() (bool, bool)
- func (c *ChangeRequest) GetLogQuery() WidgetApmOrLogQuery
- func (c *ChangeRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (c *ChangeRequest) GetMetricQuery() string
- func (c *ChangeRequest) GetMetricQueryOk() (string, bool)
- func (c *ChangeRequest) GetOrderBy() string
- func (c *ChangeRequest) GetOrderByOk() (string, bool)
- func (c *ChangeRequest) GetOrderDir() string
- func (c *ChangeRequest) GetOrderDirOk() (string, bool)
- func (c *ChangeRequest) GetProcessQuery() WidgetProcessQuery
- func (c *ChangeRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (c *ChangeRequest) GetShowPresent() bool
- func (c *ChangeRequest) GetShowPresentOk() (bool, bool)
- func (c *ChangeRequest) HasApmQuery() bool
- func (c *ChangeRequest) HasChangeType() bool
- func (c *ChangeRequest) HasCompareTo() bool
- func (c *ChangeRequest) HasIncreaseGood() bool
- func (c *ChangeRequest) HasLogQuery() bool
- func (c *ChangeRequest) HasMetricQuery() bool
- func (c *ChangeRequest) HasOrderBy() bool
- func (c *ChangeRequest) HasOrderDir() bool
- func (c *ChangeRequest) HasProcessQuery() bool
- func (c *ChangeRequest) HasShowPresent() bool
- func (c *ChangeRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (c *ChangeRequest) SetChangeType(v string)
- func (c *ChangeRequest) SetCompareTo(v string)
- func (c *ChangeRequest) SetIncreaseGood(v bool)
- func (c *ChangeRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (c *ChangeRequest) SetMetricQuery(v string)
- func (c *ChangeRequest) SetOrderBy(v string)
- func (c *ChangeRequest) SetOrderDir(v string)
- func (c *ChangeRequest) SetProcessQuery(v WidgetProcessQuery)
- func (c *ChangeRequest) SetShowPresent(v bool)
- 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 CheckStatusDefinition
- func (c *CheckStatusDefinition) GetCheck() string
- func (c *CheckStatusDefinition) GetCheckOk() (string, bool)
- func (c *CheckStatusDefinition) GetGroup() string
- func (c *CheckStatusDefinition) GetGroupOk() (string, bool)
- func (c *CheckStatusDefinition) GetGrouping() string
- func (c *CheckStatusDefinition) GetGroupingOk() (string, bool)
- func (c *CheckStatusDefinition) GetTime() WidgetTime
- func (c *CheckStatusDefinition) GetTimeOk() (WidgetTime, bool)
- func (c *CheckStatusDefinition) GetTitle() string
- func (c *CheckStatusDefinition) GetTitleAlign() string
- func (c *CheckStatusDefinition) GetTitleAlignOk() (string, bool)
- func (c *CheckStatusDefinition) GetTitleOk() (string, bool)
- func (c *CheckStatusDefinition) GetTitleSize() string
- func (c *CheckStatusDefinition) GetTitleSizeOk() (string, bool)
- func (c *CheckStatusDefinition) GetType() string
- func (c *CheckStatusDefinition) GetTypeOk() (string, bool)
- func (c *CheckStatusDefinition) HasCheck() bool
- func (c *CheckStatusDefinition) HasGroup() bool
- func (c *CheckStatusDefinition) HasGrouping() bool
- func (c *CheckStatusDefinition) HasTime() bool
- func (c *CheckStatusDefinition) HasTitle() bool
- func (c *CheckStatusDefinition) HasTitleAlign() bool
- func (c *CheckStatusDefinition) HasTitleSize() bool
- func (c *CheckStatusDefinition) HasType() bool
- func (c *CheckStatusDefinition) SetCheck(v string)
- func (c *CheckStatusDefinition) SetGroup(v string)
- func (c *CheckStatusDefinition) SetGrouping(v string)
- func (c *CheckStatusDefinition) SetTime(v WidgetTime)
- func (c *CheckStatusDefinition) SetTitle(v string)
- func (c *CheckStatusDefinition) SetTitleAlign(v string)
- func (c *CheckStatusDefinition) SetTitleSize(v string)
- func (c *CheckStatusDefinition) SetType(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) CreateAPIKey(name string) (*APIKey, error)
- func (client *Client) CreateAlert(alert *Alert) (*Alert, error)
- func (client *Client) CreateBoard(board *Board) (*Board, 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) CreateIntegrationGCP(cir *IntegrationGCPCreateRequest) 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 (client *Client) CreateSyntheticsTest(syntheticsTest *SyntheticsTest) (*SyntheticsTest, error)
- func (self *Client) CreateUser(handle, name *string) (*User, error)
- func (client *Client) DeleteAPIKey(key string) error
- func (client *Client) DeleteAlert(id int) error
- func (client *Client) DeleteBoard(id string) 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) DeleteIntegrationGCP(cir *IntegrationGCPDeleteRequest) 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) DeleteSyntheticsTests(publicIds []string) 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) GetAPIKey(key string) (*APIKey, error)
- func (client *Client) GetAPIKeys() ([]APIKey, error)
- func (client *Client) GetAlert(id int) (*Alert, error)
- func (client *Client) GetAlerts() ([]Alert, error)
- func (c *Client) GetBaseUrl() string
- func (client *Client) GetBoard(id string) (*Board, error)
- func (client *Client) GetDashboard(id interface{}) (*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 interface{}) (*Screenboard, error)
- func (client *Client) GetScreenboards() ([]*ScreenboardLite, error)
- func (client *Client) GetSyntheticsBrowserDevices() ([]SyntheticsDevice, error)
- func (client *Client) GetSyntheticsLocations() ([]SyntheticsLocation, error)
- func (client *Client) GetSyntheticsTest(publicId string) (*SyntheticsTest, error)
- func (client *Client) GetSyntheticsTests() ([]SyntheticsTest, error)
- func (client *Client) GetSyntheticsTestsByType(testType string) ([]SyntheticsTest, 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) ListIntegrationGCP() ([]*IntegrationGCP, 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) PauseSyntheticsTest(publicId string) (*bool, 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) ResumeSyntheticsTest(publicId string) (*bool, 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) UpdateAPIKey(apikey *APIKey) error
- func (client *Client) UpdateAlert(alert *Alert) error
- func (client *Client) UpdateBoard(board *Board) 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) UpdateIntegrationGCP(cir *IntegrationGCPUpdateRequest) 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) UpdateSyntheticsTest(publicId string, syntheticsTest *SyntheticsTest) (*SyntheticsTest, 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 CreatedBy
- func (c *CreatedBy) GetAccessRole() string
- func (c *CreatedBy) GetAccessRoleOk() (string, bool)
- func (c *CreatedBy) GetDisabled() bool
- func (c *CreatedBy) GetDisabledOk() (bool, bool)
- func (c *CreatedBy) GetEmail() string
- func (c *CreatedBy) GetEmailOk() (string, bool)
- func (c *CreatedBy) GetHandle() string
- func (c *CreatedBy) GetHandleOk() (string, bool)
- func (c *CreatedBy) GetIcon() string
- func (c *CreatedBy) GetIconOk() (string, bool)
- func (c *CreatedBy) GetIsAdmin() bool
- func (c *CreatedBy) GetIsAdminOk() (bool, bool)
- func (c *CreatedBy) GetName() string
- func (c *CreatedBy) GetNameOk() (string, bool)
- func (c *CreatedBy) GetRole() string
- func (c *CreatedBy) GetRoleOk() (string, bool)
- func (c *CreatedBy) GetVerified() bool
- func (c *CreatedBy) GetVerifiedOk() (bool, bool)
- func (c *CreatedBy) HasAccessRole() bool
- func (c *CreatedBy) HasDisabled() bool
- func (c *CreatedBy) HasEmail() bool
- func (c *CreatedBy) HasHandle() bool
- func (c *CreatedBy) HasIcon() bool
- func (c *CreatedBy) HasIsAdmin() bool
- func (c *CreatedBy) HasName() bool
- func (c *CreatedBy) HasRole() bool
- func (c *CreatedBy) HasVerified() bool
- func (c *CreatedBy) SetAccessRole(v string)
- func (c *CreatedBy) SetDisabled(v bool)
- func (c *CreatedBy) SetEmail(v string)
- func (c *CreatedBy) SetHandle(v string)
- func (c *CreatedBy) SetIcon(v string)
- func (c *CreatedBy) SetIsAdmin(v bool)
- func (c *CreatedBy) SetName(v string)
- func (c *CreatedBy) SetRole(v string)
- func (c *CreatedBy) SetVerified(v bool)
- 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) GetNewId() string
- func (d *Dashboard) GetNewIdOk() (string, 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) HasNewId() 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) SetNewId(v string)
- 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) GetCreated() string
- func (d *DashboardLite) GetCreatedBy() CreatedBy
- func (d *DashboardLite) GetCreatedByOk() (CreatedBy, bool)
- func (d *DashboardLite) GetCreatedOk() (string, bool)
- 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) GetModified() string
- func (d *DashboardLite) GetModifiedOk() (string, bool)
- func (d *DashboardLite) GetReadOnly() bool
- func (d *DashboardLite) GetReadOnlyOk() (bool, 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) HasCreated() bool
- func (d *DashboardLite) HasCreatedBy() bool
- func (d *DashboardLite) HasDescription() bool
- func (d *DashboardLite) HasId() bool
- func (d *DashboardLite) HasModified() bool
- func (d *DashboardLite) HasReadOnly() bool
- func (d *DashboardLite) HasResource() bool
- func (d *DashboardLite) HasTitle() bool
- func (d *DashboardLite) SetCreated(v string)
- func (d *DashboardLite) SetCreatedBy(v CreatedBy)
- func (d *DashboardLite) SetDescription(v string)
- func (d *DashboardLite) SetId(v int)
- func (d *DashboardLite) SetModified(v string)
- func (d *DashboardLite) SetReadOnly(v bool)
- func (d *DashboardLite) SetResource(v string)
- func (d *DashboardLite) SetTitle(v string)
- type DataPoint
- type DeleteSyntheticsTestsPayload
- type DistributionDefinition
- func (d *DistributionDefinition) GetTime() WidgetTime
- func (d *DistributionDefinition) GetTimeOk() (WidgetTime, bool)
- func (d *DistributionDefinition) GetTitle() string
- func (d *DistributionDefinition) GetTitleAlign() string
- func (d *DistributionDefinition) GetTitleAlignOk() (string, bool)
- func (d *DistributionDefinition) GetTitleOk() (string, bool)
- func (d *DistributionDefinition) GetTitleSize() string
- func (d *DistributionDefinition) GetTitleSizeOk() (string, bool)
- func (d *DistributionDefinition) GetType() string
- func (d *DistributionDefinition) GetTypeOk() (string, bool)
- func (d *DistributionDefinition) HasTime() bool
- func (d *DistributionDefinition) HasTitle() bool
- func (d *DistributionDefinition) HasTitleAlign() bool
- func (d *DistributionDefinition) HasTitleSize() bool
- func (d *DistributionDefinition) HasType() bool
- func (d *DistributionDefinition) SetTime(v WidgetTime)
- func (d *DistributionDefinition) SetTitle(v string)
- func (d *DistributionDefinition) SetTitleAlign(v string)
- func (d *DistributionDefinition) SetTitleSize(v string)
- func (d *DistributionDefinition) SetType(v string)
- type DistributionRequest
- func (d *DistributionRequest) GetApmQuery() WidgetApmOrLogQuery
- func (d *DistributionRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (d *DistributionRequest) GetLogQuery() WidgetApmOrLogQuery
- func (d *DistributionRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (d *DistributionRequest) GetMetricQuery() string
- func (d *DistributionRequest) GetMetricQueryOk() (string, bool)
- func (d *DistributionRequest) GetProcessQuery() WidgetProcessQuery
- func (d *DistributionRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (d *DistributionRequest) GetStyle() WidgetRequestStyle
- func (d *DistributionRequest) GetStyleOk() (WidgetRequestStyle, bool)
- func (d *DistributionRequest) HasApmQuery() bool
- func (d *DistributionRequest) HasLogQuery() bool
- func (d *DistributionRequest) HasMetricQuery() bool
- func (d *DistributionRequest) HasProcessQuery() bool
- func (d *DistributionRequest) HasStyle() bool
- func (d *DistributionRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (d *DistributionRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (d *DistributionRequest) SetMetricQuery(v string)
- func (d *DistributionRequest) SetProcessQuery(v WidgetProcessQuery)
- func (d *DistributionRequest) SetStyle(v WidgetRequestStyle)
- 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) GetParentId() int
- func (d *Downtime) GetParentIdOk() (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) GetTimezone() string
- func (d *Downtime) GetTimezoneOk() (string, 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) HasParentId() bool
- func (d *Downtime) HasRecurrence() bool
- func (d *Downtime) HasStart() bool
- func (d *Downtime) HasTimezone() 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) SetParentId(v int)
- func (d *Downtime) SetRecurrence(v Recurrence)
- func (d *Downtime) SetStart(v int)
- func (d *Downtime) SetTimezone(v string)
- 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 EventStreamDefinition
- func (e *EventStreamDefinition) GetEventSize() string
- func (e *EventStreamDefinition) GetEventSizeOk() (string, bool)
- func (e *EventStreamDefinition) GetQuery() string
- func (e *EventStreamDefinition) GetQueryOk() (string, bool)
- func (e *EventStreamDefinition) GetTime() WidgetTime
- func (e *EventStreamDefinition) GetTimeOk() (WidgetTime, bool)
- func (e *EventStreamDefinition) GetTitle() string
- func (e *EventStreamDefinition) GetTitleAlign() string
- func (e *EventStreamDefinition) GetTitleAlignOk() (string, bool)
- func (e *EventStreamDefinition) GetTitleOk() (string, bool)
- func (e *EventStreamDefinition) GetTitleSize() string
- func (e *EventStreamDefinition) GetTitleSizeOk() (string, bool)
- func (e *EventStreamDefinition) GetType() string
- func (e *EventStreamDefinition) GetTypeOk() (string, bool)
- func (e *EventStreamDefinition) HasEventSize() bool
- func (e *EventStreamDefinition) HasQuery() bool
- func (e *EventStreamDefinition) HasTime() bool
- func (e *EventStreamDefinition) HasTitle() bool
- func (e *EventStreamDefinition) HasTitleAlign() bool
- func (e *EventStreamDefinition) HasTitleSize() bool
- func (e *EventStreamDefinition) HasType() bool
- func (e *EventStreamDefinition) SetEventSize(v string)
- func (e *EventStreamDefinition) SetQuery(v string)
- func (e *EventStreamDefinition) SetTime(v WidgetTime)
- func (e *EventStreamDefinition) SetTitle(v string)
- func (e *EventStreamDefinition) SetTitleAlign(v string)
- func (e *EventStreamDefinition) SetTitleSize(v string)
- func (e *EventStreamDefinition) SetType(v string)
- type EventTimelineDefinition
- func (e *EventTimelineDefinition) GetQuery() string
- func (e *EventTimelineDefinition) GetQueryOk() (string, bool)
- func (e *EventTimelineDefinition) GetTime() WidgetTime
- func (e *EventTimelineDefinition) GetTimeOk() (WidgetTime, bool)
- func (e *EventTimelineDefinition) GetTitle() string
- func (e *EventTimelineDefinition) GetTitleAlign() string
- func (e *EventTimelineDefinition) GetTitleAlignOk() (string, bool)
- func (e *EventTimelineDefinition) GetTitleOk() (string, bool)
- func (e *EventTimelineDefinition) GetTitleSize() string
- func (e *EventTimelineDefinition) GetTitleSizeOk() (string, bool)
- func (e *EventTimelineDefinition) GetType() string
- func (e *EventTimelineDefinition) GetTypeOk() (string, bool)
- func (e *EventTimelineDefinition) HasQuery() bool
- func (e *EventTimelineDefinition) HasTime() bool
- func (e *EventTimelineDefinition) HasTitle() bool
- func (e *EventTimelineDefinition) HasTitleAlign() bool
- func (e *EventTimelineDefinition) HasTitleSize() bool
- func (e *EventTimelineDefinition) HasType() bool
- func (e *EventTimelineDefinition) SetQuery(v string)
- func (e *EventTimelineDefinition) SetTime(v WidgetTime)
- func (e *EventTimelineDefinition) SetTitle(v string)
- func (e *EventTimelineDefinition) SetTitleAlign(v string)
- func (e *EventTimelineDefinition) SetTitleSize(v string)
- func (e *EventTimelineDefinition) SetType(v string)
- type FreeTextDefinition
- func (f *FreeTextDefinition) GetColor() string
- func (f *FreeTextDefinition) GetColorOk() (string, bool)
- func (f *FreeTextDefinition) GetFontSize() string
- func (f *FreeTextDefinition) GetFontSizeOk() (string, bool)
- func (f *FreeTextDefinition) GetText() string
- func (f *FreeTextDefinition) GetTextAlign() string
- func (f *FreeTextDefinition) GetTextAlignOk() (string, bool)
- func (f *FreeTextDefinition) GetTextOk() (string, bool)
- func (f *FreeTextDefinition) GetType() string
- func (f *FreeTextDefinition) GetTypeOk() (string, bool)
- func (f *FreeTextDefinition) HasColor() bool
- func (f *FreeTextDefinition) HasFontSize() bool
- func (f *FreeTextDefinition) HasText() bool
- func (f *FreeTextDefinition) HasTextAlign() bool
- func (f *FreeTextDefinition) HasType() bool
- func (f *FreeTextDefinition) SetColor(v string)
- func (f *FreeTextDefinition) SetFontSize(v string)
- func (f *FreeTextDefinition) SetText(v string)
- func (f *FreeTextDefinition) SetTextAlign(v string)
- func (f *FreeTextDefinition) SetType(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() PrecisionT
- func (g *GraphDefinition) GetPrecisionOk() (PrecisionT, 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 PrecisionT)
- 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 GroupDefinition
- func (g *GroupDefinition) GetLayoutType() string
- func (g *GroupDefinition) GetLayoutTypeOk() (string, bool)
- func (g *GroupDefinition) GetTitle() string
- func (g *GroupDefinition) GetTitleOk() (string, bool)
- func (g *GroupDefinition) GetType() string
- func (g *GroupDefinition) GetTypeOk() (string, bool)
- func (g *GroupDefinition) HasLayoutType() bool
- func (g *GroupDefinition) HasTitle() bool
- func (g *GroupDefinition) HasType() bool
- func (g *GroupDefinition) SetLayoutType(v string)
- func (g *GroupDefinition) SetTitle(v string)
- func (g *GroupDefinition) SetType(v string)
- type HeatmapDefinition
- func (h *HeatmapDefinition) GetTime() WidgetTime
- func (h *HeatmapDefinition) GetTimeOk() (WidgetTime, bool)
- func (h *HeatmapDefinition) GetTitle() string
- func (h *HeatmapDefinition) GetTitleAlign() string
- func (h *HeatmapDefinition) GetTitleAlignOk() (string, bool)
- func (h *HeatmapDefinition) GetTitleOk() (string, bool)
- func (h *HeatmapDefinition) GetTitleSize() string
- func (h *HeatmapDefinition) GetTitleSizeOk() (string, bool)
- func (h *HeatmapDefinition) GetType() string
- func (h *HeatmapDefinition) GetTypeOk() (string, bool)
- func (h *HeatmapDefinition) GetYaxis() WidgetAxis
- func (h *HeatmapDefinition) GetYaxisOk() (WidgetAxis, bool)
- func (h *HeatmapDefinition) HasTime() bool
- func (h *HeatmapDefinition) HasTitle() bool
- func (h *HeatmapDefinition) HasTitleAlign() bool
- func (h *HeatmapDefinition) HasTitleSize() bool
- func (h *HeatmapDefinition) HasType() bool
- func (h *HeatmapDefinition) HasYaxis() bool
- func (h *HeatmapDefinition) SetTime(v WidgetTime)
- func (h *HeatmapDefinition) SetTitle(v string)
- func (h *HeatmapDefinition) SetTitleAlign(v string)
- func (h *HeatmapDefinition) SetTitleSize(v string)
- func (h *HeatmapDefinition) SetType(v string)
- func (h *HeatmapDefinition) SetYaxis(v WidgetAxis)
- type HeatmapRequest
- func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery
- func (h *HeatmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery
- func (h *HeatmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (h *HeatmapRequest) GetMetricQuery() string
- func (h *HeatmapRequest) GetMetricQueryOk() (string, bool)
- func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery
- func (h *HeatmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (h *HeatmapRequest) GetStyle() WidgetRequestStyle
- func (h *HeatmapRequest) GetStyleOk() (WidgetRequestStyle, bool)
- func (h *HeatmapRequest) HasApmQuery() bool
- func (h *HeatmapRequest) HasLogQuery() bool
- func (h *HeatmapRequest) HasMetricQuery() bool
- func (h *HeatmapRequest) HasProcessQuery() bool
- func (h *HeatmapRequest) HasStyle() bool
- func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (h *HeatmapRequest) SetMetricQuery(v string)
- func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery)
- func (h *HeatmapRequest) SetStyle(v WidgetRequestStyle)
- 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 HostmapDefinition
- func (h *HostmapDefinition) GetNoGroupHosts() bool
- func (h *HostmapDefinition) GetNoGroupHostsOk() (bool, bool)
- func (h *HostmapDefinition) GetNoMetricHosts() bool
- func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool)
- func (h *HostmapDefinition) GetNodeType() string
- func (h *HostmapDefinition) GetNodeTypeOk() (string, bool)
- func (h *HostmapDefinition) GetRequests() HostmapRequests
- func (h *HostmapDefinition) GetRequestsOk() (HostmapRequests, bool)
- func (h *HostmapDefinition) GetStyle() HostmapStyle
- func (h *HostmapDefinition) GetStyleOk() (HostmapStyle, bool)
- func (h *HostmapDefinition) GetTitle() string
- func (h *HostmapDefinition) GetTitleAlign() string
- func (h *HostmapDefinition) GetTitleAlignOk() (string, bool)
- func (h *HostmapDefinition) GetTitleOk() (string, bool)
- func (h *HostmapDefinition) GetTitleSize() string
- func (h *HostmapDefinition) GetTitleSizeOk() (string, bool)
- func (h *HostmapDefinition) GetType() string
- func (h *HostmapDefinition) GetTypeOk() (string, bool)
- func (h *HostmapDefinition) HasNoGroupHosts() bool
- func (h *HostmapDefinition) HasNoMetricHosts() bool
- func (h *HostmapDefinition) HasNodeType() bool
- func (h *HostmapDefinition) HasRequests() bool
- func (h *HostmapDefinition) HasStyle() bool
- func (h *HostmapDefinition) HasTitle() bool
- func (h *HostmapDefinition) HasTitleAlign() bool
- func (h *HostmapDefinition) HasTitleSize() bool
- func (h *HostmapDefinition) HasType() bool
- func (h *HostmapDefinition) SetNoGroupHosts(v bool)
- func (h *HostmapDefinition) SetNoMetricHosts(v bool)
- func (h *HostmapDefinition) SetNodeType(v string)
- func (h *HostmapDefinition) SetRequests(v HostmapRequests)
- func (h *HostmapDefinition) SetStyle(v HostmapStyle)
- func (h *HostmapDefinition) SetTitle(v string)
- func (h *HostmapDefinition) SetTitleAlign(v string)
- func (h *HostmapDefinition) SetTitleSize(v string)
- func (h *HostmapDefinition) SetType(v string)
- type HostmapRequest
- func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery
- func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery
- func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (h *HostmapRequest) GetMetricQuery() string
- func (h *HostmapRequest) GetMetricQueryOk() (string, bool)
- func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery
- func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (h *HostmapRequest) HasApmQuery() bool
- func (h *HostmapRequest) HasLogQuery() bool
- func (h *HostmapRequest) HasMetricQuery() bool
- func (h *HostmapRequest) HasProcessQuery() bool
- func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (h *HostmapRequest) SetMetricQuery(v string)
- func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery)
- type HostmapRequests
- func (h *HostmapRequests) GetFill() HostmapRequest
- func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool)
- func (h *HostmapRequests) GetSize() HostmapRequest
- func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool)
- func (h *HostmapRequests) HasFill() bool
- func (h *HostmapRequests) HasSize() bool
- func (h *HostmapRequests) SetFill(v HostmapRequest)
- func (h *HostmapRequests) SetSize(v HostmapRequest)
- type HostmapStyle
- func (h *HostmapStyle) GetFillMax() string
- func (h *HostmapStyle) GetFillMaxOk() (string, bool)
- func (h *HostmapStyle) GetFillMin() string
- func (h *HostmapStyle) GetFillMinOk() (string, bool)
- func (h *HostmapStyle) GetPalette() string
- func (h *HostmapStyle) GetPaletteFlip() bool
- func (h *HostmapStyle) GetPaletteFlipOk() (bool, bool)
- func (h *HostmapStyle) GetPaletteOk() (string, bool)
- func (h *HostmapStyle) HasFillMax() bool
- func (h *HostmapStyle) HasFillMin() bool
- func (h *HostmapStyle) HasPalette() bool
- func (h *HostmapStyle) HasPaletteFlip() bool
- func (h *HostmapStyle) SetFillMax(v string)
- func (h *HostmapStyle) SetFillMin(v string)
- func (h *HostmapStyle) SetPalette(v string)
- func (h *HostmapStyle) SetPaletteFlip(v bool)
- type IframeDefinition
- func (i *IframeDefinition) GetType() string
- func (i *IframeDefinition) GetTypeOk() (string, bool)
- func (i *IframeDefinition) GetUrl() string
- func (i *IframeDefinition) GetUrlOk() (string, bool)
- func (i *IframeDefinition) HasType() bool
- func (i *IframeDefinition) HasUrl() bool
- func (i *IframeDefinition) SetType(v string)
- func (i *IframeDefinition) SetUrl(v string)
- type ImageDefinition
- func (i *ImageDefinition) GetMargin() string
- func (i *ImageDefinition) GetMarginOk() (string, bool)
- func (i *ImageDefinition) GetSizing() string
- func (i *ImageDefinition) GetSizingOk() (string, bool)
- func (i *ImageDefinition) GetType() string
- func (i *ImageDefinition) GetTypeOk() (string, bool)
- func (i *ImageDefinition) GetUrl() string
- func (i *ImageDefinition) GetUrlOk() (string, bool)
- func (i *ImageDefinition) HasMargin() bool
- func (i *ImageDefinition) HasSizing() bool
- func (i *ImageDefinition) HasType() bool
- func (i *ImageDefinition) HasUrl() bool
- func (i *ImageDefinition) SetMargin(v string)
- func (i *ImageDefinition) SetSizing(v string)
- func (i *ImageDefinition) SetType(v string)
- func (i *ImageDefinition) SetUrl(v string)
- 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 IntegrationGCP
- func (i *IntegrationGCP) GetClientEmail() string
- func (i *IntegrationGCP) GetClientEmailOk() (string, bool)
- func (i *IntegrationGCP) GetHostFilters() string
- func (i *IntegrationGCP) GetHostFiltersOk() (string, bool)
- func (i *IntegrationGCP) GetProjectID() string
- func (i *IntegrationGCP) GetProjectIDOk() (string, bool)
- func (i *IntegrationGCP) HasClientEmail() bool
- func (i *IntegrationGCP) HasHostFilters() bool
- func (i *IntegrationGCP) HasProjectID() bool
- func (i *IntegrationGCP) SetClientEmail(v string)
- func (i *IntegrationGCP) SetHostFilters(v string)
- func (i *IntegrationGCP) SetProjectID(v string)
- type IntegrationGCPCreateRequest
- func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string
- func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetAuthURI() string
- func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetClientEmail() string
- func (i *IntegrationGCPCreateRequest) GetClientEmailOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetClientID() string
- func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string
- func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetHostFilters() string
- func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetPrivateKey() string
- func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string
- func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetProjectID() string
- func (i *IntegrationGCPCreateRequest) GetProjectIDOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetTokenURI() string
- func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) GetType() string
- func (i *IntegrationGCPCreateRequest) GetTypeOk() (string, bool)
- func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool
- func (i *IntegrationGCPCreateRequest) HasAuthURI() bool
- func (i *IntegrationGCPCreateRequest) HasClientEmail() bool
- func (i *IntegrationGCPCreateRequest) HasClientID() bool
- func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool
- func (i *IntegrationGCPCreateRequest) HasHostFilters() bool
- func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool
- func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool
- func (i *IntegrationGCPCreateRequest) HasProjectID() bool
- func (i *IntegrationGCPCreateRequest) HasTokenURI() bool
- func (i *IntegrationGCPCreateRequest) HasType() bool
- func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string)
- func (i *IntegrationGCPCreateRequest) SetAuthURI(v string)
- func (i *IntegrationGCPCreateRequest) SetClientEmail(v string)
- func (i *IntegrationGCPCreateRequest) SetClientID(v string)
- func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string)
- func (i *IntegrationGCPCreateRequest) SetHostFilters(v string)
- func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string)
- func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string)
- func (i *IntegrationGCPCreateRequest) SetProjectID(v string)
- func (i *IntegrationGCPCreateRequest) SetTokenURI(v string)
- func (i *IntegrationGCPCreateRequest) SetType(v string)
- type IntegrationGCPDeleteRequest
- func (i *IntegrationGCPDeleteRequest) GetClientEmail() string
- func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool)
- func (i *IntegrationGCPDeleteRequest) GetProjectID() string
- func (i *IntegrationGCPDeleteRequest) GetProjectIDOk() (string, bool)
- func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool
- func (i *IntegrationGCPDeleteRequest) HasProjectID() bool
- func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string)
- func (i *IntegrationGCPDeleteRequest) SetProjectID(v string)
- type IntegrationGCPUpdateRequest
- func (i *IntegrationGCPUpdateRequest) GetClientEmail() string
- func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool)
- func (i *IntegrationGCPUpdateRequest) GetHostFilters() string
- func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool)
- func (i *IntegrationGCPUpdateRequest) GetProjectID() string
- func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool)
- func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool
- func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool
- func (i *IntegrationGCPUpdateRequest) HasProjectID() bool
- func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string)
- func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string)
- func (i *IntegrationGCPUpdateRequest) SetProjectID(v string)
- 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 LogSet
- type LogStreamDefinition
- func (l *LogStreamDefinition) GetLogset() string
- func (l *LogStreamDefinition) GetLogsetOk() (string, bool)
- func (l *LogStreamDefinition) GetQuery() string
- func (l *LogStreamDefinition) GetQueryOk() (string, bool)
- func (l *LogStreamDefinition) GetTime() WidgetTime
- func (l *LogStreamDefinition) GetTimeOk() (WidgetTime, bool)
- func (l *LogStreamDefinition) GetTitle() string
- func (l *LogStreamDefinition) GetTitleAlign() string
- func (l *LogStreamDefinition) GetTitleAlignOk() (string, bool)
- func (l *LogStreamDefinition) GetTitleOk() (string, bool)
- func (l *LogStreamDefinition) GetTitleSize() string
- func (l *LogStreamDefinition) GetTitleSizeOk() (string, bool)
- func (l *LogStreamDefinition) GetType() string
- func (l *LogStreamDefinition) GetTypeOk() (string, bool)
- func (l *LogStreamDefinition) HasLogset() bool
- func (l *LogStreamDefinition) HasQuery() bool
- func (l *LogStreamDefinition) HasTime() bool
- func (l *LogStreamDefinition) HasTitle() bool
- func (l *LogStreamDefinition) HasTitleAlign() bool
- func (l *LogStreamDefinition) HasTitleSize() bool
- func (l *LogStreamDefinition) HasType() bool
- func (l *LogStreamDefinition) SetLogset(v string)
- func (l *LogStreamDefinition) SetQuery(v string)
- func (l *LogStreamDefinition) SetTime(v WidgetTime)
- func (l *LogStreamDefinition) SetTitle(v string)
- func (l *LogStreamDefinition) SetTitleAlign(v string)
- func (l *LogStreamDefinition) SetTitleSize(v string)
- func (l *LogStreamDefinition) SetType(v string)
- type ManageStatusDefinition
- func (m *ManageStatusDefinition) GetColorPreference() string
- func (m *ManageStatusDefinition) GetColorPreferenceOk() (string, bool)
- func (m *ManageStatusDefinition) GetCount() int
- func (m *ManageStatusDefinition) GetCountOk() (int, bool)
- func (m *ManageStatusDefinition) GetDisplayFormat() string
- func (m *ManageStatusDefinition) GetDisplayFormatOk() (string, bool)
- func (m *ManageStatusDefinition) GetHideZeroCounts() bool
- func (m *ManageStatusDefinition) GetHideZeroCountsOk() (bool, bool)
- func (m *ManageStatusDefinition) GetQuery() string
- func (m *ManageStatusDefinition) GetQueryOk() (string, bool)
- func (m *ManageStatusDefinition) GetSort() string
- func (m *ManageStatusDefinition) GetSortOk() (string, bool)
- func (m *ManageStatusDefinition) GetStart() int
- func (m *ManageStatusDefinition) GetStartOk() (int, bool)
- func (m *ManageStatusDefinition) GetTitle() string
- func (m *ManageStatusDefinition) GetTitleAlign() string
- func (m *ManageStatusDefinition) GetTitleAlignOk() (string, bool)
- func (m *ManageStatusDefinition) GetTitleOk() (string, bool)
- func (m *ManageStatusDefinition) GetTitleSize() string
- func (m *ManageStatusDefinition) GetTitleSizeOk() (string, bool)
- func (m *ManageStatusDefinition) GetType() string
- func (m *ManageStatusDefinition) GetTypeOk() (string, bool)
- func (m *ManageStatusDefinition) HasColorPreference() bool
- func (m *ManageStatusDefinition) HasCount() bool
- func (m *ManageStatusDefinition) HasDisplayFormat() bool
- func (m *ManageStatusDefinition) HasHideZeroCounts() bool
- func (m *ManageStatusDefinition) HasQuery() bool
- func (m *ManageStatusDefinition) HasSort() bool
- func (m *ManageStatusDefinition) HasStart() bool
- func (m *ManageStatusDefinition) HasTitle() bool
- func (m *ManageStatusDefinition) HasTitleAlign() bool
- func (m *ManageStatusDefinition) HasTitleSize() bool
- func (m *ManageStatusDefinition) HasType() bool
- func (m *ManageStatusDefinition) SetColorPreference(v string)
- func (m *ManageStatusDefinition) SetCount(v int)
- func (m *ManageStatusDefinition) SetDisplayFormat(v string)
- func (m *ManageStatusDefinition) SetHideZeroCounts(v bool)
- func (m *ManageStatusDefinition) SetQuery(v string)
- func (m *ManageStatusDefinition) SetSort(v string)
- func (m *ManageStatusDefinition) SetStart(v int)
- func (m *ManageStatusDefinition) SetTitle(v string)
- func (m *ManageStatusDefinition) SetTitleAlign(v string)
- func (m *ManageStatusDefinition) SetTitleSize(v string)
- func (m *ManageStatusDefinition) SetType(v string)
- 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 NoteDefinition
- func (n *NoteDefinition) GetBackgroundColor() string
- func (n *NoteDefinition) GetBackgroundColorOk() (string, bool)
- func (n *NoteDefinition) GetContent() string
- func (n *NoteDefinition) GetContentOk() (string, bool)
- func (n *NoteDefinition) GetFontSize() string
- func (n *NoteDefinition) GetFontSizeOk() (string, bool)
- func (n *NoteDefinition) GetShowTick() bool
- func (n *NoteDefinition) GetShowTickOk() (bool, bool)
- func (n *NoteDefinition) GetTextAlign() string
- func (n *NoteDefinition) GetTextAlignOk() (string, bool)
- func (n *NoteDefinition) GetTickEdge() string
- func (n *NoteDefinition) GetTickEdgeOk() (string, bool)
- func (n *NoteDefinition) GetTickPos() string
- func (n *NoteDefinition) GetTickPosOk() (string, bool)
- func (n *NoteDefinition) GetType() string
- func (n *NoteDefinition) GetTypeOk() (string, bool)
- func (n *NoteDefinition) HasBackgroundColor() bool
- func (n *NoteDefinition) HasContent() bool
- func (n *NoteDefinition) HasFontSize() bool
- func (n *NoteDefinition) HasShowTick() bool
- func (n *NoteDefinition) HasTextAlign() bool
- func (n *NoteDefinition) HasTickEdge() bool
- func (n *NoteDefinition) HasTickPos() bool
- func (n *NoteDefinition) HasType() bool
- func (n *NoteDefinition) SetBackgroundColor(v string)
- func (n *NoteDefinition) SetContent(v string)
- func (n *NoteDefinition) SetFontSize(v string)
- func (n *NoteDefinition) SetShowTick(v bool)
- func (n *NoteDefinition) SetTextAlign(v string)
- func (n *NoteDefinition) SetTickEdge(v string)
- func (n *NoteDefinition) SetTickPos(v string)
- func (n *NoteDefinition) SetType(v string)
- type Options
- func (o *Options) GetEnableLogsSample() bool
- func (o *Options) GetEnableLogsSampleOk() (bool, bool)
- 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) GetQueryConfig() QueryConfig
- func (o *Options) GetQueryConfigOk() (QueryConfig, 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) GetThresholdWindows() ThresholdWindows
- func (o *Options) GetThresholdWindowsOk() (ThresholdWindows, 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) HasEnableLogsSample() 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) HasQueryConfig() bool
- func (o *Options) HasRenotifyInterval() bool
- func (o *Options) HasRequireFullWindow() bool
- func (o *Options) HasThresholdWindows() bool
- func (o *Options) HasThresholds() bool
- func (o *Options) HasTimeoutH() bool
- func (o *Options) SetEnableLogsSample(v 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) SetQueryConfig(v QueryConfig)
- func (o *Options) SetRenotifyInterval(v int)
- func (o *Options) SetRequireFullWindow(v bool)
- func (o *Options) SetThresholdWindows(v ThresholdWindows)
- 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 Period
- func (p *Period) GetName() string
- func (p *Period) GetNameOk() (string, bool)
- func (p *Period) GetSeconds() json.Number
- func (p *Period) GetSecondsOk() (json.Number, bool)
- func (p *Period) GetText() string
- func (p *Period) GetTextOk() (string, bool)
- func (p *Period) GetUnit() string
- func (p *Period) GetUnitOk() (string, bool)
- func (p *Period) GetValue() string
- func (p *Period) GetValueOk() (string, bool)
- func (p *Period) HasName() bool
- func (p *Period) HasSeconds() bool
- func (p *Period) HasText() bool
- func (p *Period) HasUnit() bool
- func (p *Period) HasValue() bool
- func (p *Period) SetName(v string)
- func (p *Period) SetSeconds(v json.Number)
- func (p *Period) SetText(v string)
- func (p *Period) SetUnit(v string)
- func (p *Period) SetValue(v string)
- type PrecisionT
- type QueryConfig
- func (q *QueryConfig) GetLogSet() LogSet
- func (q *QueryConfig) GetLogSetOk() (LogSet, bool)
- func (q *QueryConfig) GetQueryIsFailed() bool
- func (q *QueryConfig) GetQueryIsFailedOk() (bool, bool)
- func (q *QueryConfig) GetQueryString() string
- func (q *QueryConfig) GetQueryStringOk() (string, bool)
- func (q *QueryConfig) GetTimeRange() TimeRange
- func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool)
- func (q *QueryConfig) HasLogSet() bool
- func (q *QueryConfig) HasQueryIsFailed() bool
- func (q *QueryConfig) HasQueryString() bool
- func (q *QueryConfig) HasTimeRange() bool
- func (q *QueryConfig) SetLogSet(v LogSet)
- func (q *QueryConfig) SetQueryIsFailed(v bool)
- func (q *QueryConfig) SetQueryString(v string)
- func (q *QueryConfig) SetTimeRange(v TimeRange)
- type QueryValueDefinition
- func (q *QueryValueDefinition) GetAutoscale() bool
- func (q *QueryValueDefinition) GetAutoscaleOk() (bool, bool)
- func (q *QueryValueDefinition) GetCustomUnit() string
- func (q *QueryValueDefinition) GetCustomUnitOk() (string, bool)
- func (q *QueryValueDefinition) GetPrecision() int
- func (q *QueryValueDefinition) GetPrecisionOk() (int, bool)
- func (q *QueryValueDefinition) GetTextAlign() string
- func (q *QueryValueDefinition) GetTextAlignOk() (string, bool)
- func (q *QueryValueDefinition) GetTime() WidgetTime
- func (q *QueryValueDefinition) GetTimeOk() (WidgetTime, bool)
- func (q *QueryValueDefinition) GetTitle() string
- func (q *QueryValueDefinition) GetTitleAlign() string
- func (q *QueryValueDefinition) GetTitleAlignOk() (string, bool)
- func (q *QueryValueDefinition) GetTitleOk() (string, bool)
- func (q *QueryValueDefinition) GetTitleSize() string
- func (q *QueryValueDefinition) GetTitleSizeOk() (string, bool)
- func (q *QueryValueDefinition) GetType() string
- func (q *QueryValueDefinition) GetTypeOk() (string, bool)
- func (q *QueryValueDefinition) HasAutoscale() bool
- func (q *QueryValueDefinition) HasCustomUnit() bool
- func (q *QueryValueDefinition) HasPrecision() bool
- func (q *QueryValueDefinition) HasTextAlign() bool
- func (q *QueryValueDefinition) HasTime() bool
- func (q *QueryValueDefinition) HasTitle() bool
- func (q *QueryValueDefinition) HasTitleAlign() bool
- func (q *QueryValueDefinition) HasTitleSize() bool
- func (q *QueryValueDefinition) HasType() bool
- func (q *QueryValueDefinition) SetAutoscale(v bool)
- func (q *QueryValueDefinition) SetCustomUnit(v string)
- func (q *QueryValueDefinition) SetPrecision(v int)
- func (q *QueryValueDefinition) SetTextAlign(v string)
- func (q *QueryValueDefinition) SetTime(v WidgetTime)
- func (q *QueryValueDefinition) SetTitle(v string)
- func (q *QueryValueDefinition) SetTitleAlign(v string)
- func (q *QueryValueDefinition) SetTitleSize(v string)
- func (q *QueryValueDefinition) SetType(v string)
- type QueryValueRequest
- func (q *QueryValueRequest) GetAggregator() string
- func (q *QueryValueRequest) GetAggregatorOk() (string, bool)
- func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery
- func (q *QueryValueRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery
- func (q *QueryValueRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (q *QueryValueRequest) GetMetricQuery() string
- func (q *QueryValueRequest) GetMetricQueryOk() (string, bool)
- func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery
- func (q *QueryValueRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (q *QueryValueRequest) HasAggregator() bool
- func (q *QueryValueRequest) HasApmQuery() bool
- func (q *QueryValueRequest) HasLogQuery() bool
- func (q *QueryValueRequest) HasMetricQuery() bool
- func (q *QueryValueRequest) HasProcessQuery() bool
- func (q *QueryValueRequest) SetAggregator(v string)
- func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (q *QueryValueRequest) SetMetricQuery(v string)
- func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery)
- 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 ScatterplotDefinition
- func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests
- func (s *ScatterplotDefinition) GetRequestsOk() (ScatterplotRequests, bool)
- func (s *ScatterplotDefinition) GetTime() WidgetTime
- func (s *ScatterplotDefinition) GetTimeOk() (WidgetTime, bool)
- func (s *ScatterplotDefinition) GetTitle() string
- func (s *ScatterplotDefinition) GetTitleAlign() string
- func (s *ScatterplotDefinition) GetTitleAlignOk() (string, bool)
- func (s *ScatterplotDefinition) GetTitleOk() (string, bool)
- func (s *ScatterplotDefinition) GetTitleSize() string
- func (s *ScatterplotDefinition) GetTitleSizeOk() (string, bool)
- func (s *ScatterplotDefinition) GetType() string
- func (s *ScatterplotDefinition) GetTypeOk() (string, bool)
- func (s *ScatterplotDefinition) GetXaxis() WidgetAxis
- func (s *ScatterplotDefinition) GetXaxisOk() (WidgetAxis, bool)
- func (s *ScatterplotDefinition) GetYaxis() WidgetAxis
- func (s *ScatterplotDefinition) GetYaxisOk() (WidgetAxis, bool)
- func (s *ScatterplotDefinition) HasRequests() bool
- func (s *ScatterplotDefinition) HasTime() bool
- func (s *ScatterplotDefinition) HasTitle() bool
- func (s *ScatterplotDefinition) HasTitleAlign() bool
- func (s *ScatterplotDefinition) HasTitleSize() bool
- func (s *ScatterplotDefinition) HasType() bool
- func (s *ScatterplotDefinition) HasXaxis() bool
- func (s *ScatterplotDefinition) HasYaxis() bool
- func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests)
- func (s *ScatterplotDefinition) SetTime(v WidgetTime)
- func (s *ScatterplotDefinition) SetTitle(v string)
- func (s *ScatterplotDefinition) SetTitleAlign(v string)
- func (s *ScatterplotDefinition) SetTitleSize(v string)
- func (s *ScatterplotDefinition) SetType(v string)
- func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis)
- func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis)
- type ScatterplotRequest
- func (s *ScatterplotRequest) GetAggregator() string
- func (s *ScatterplotRequest) GetAggregatorOk() (string, bool)
- func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery
- func (s *ScatterplotRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery
- func (s *ScatterplotRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (s *ScatterplotRequest) GetMetricQuery() string
- func (s *ScatterplotRequest) GetMetricQueryOk() (string, bool)
- func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery
- func (s *ScatterplotRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (s *ScatterplotRequest) HasAggregator() bool
- func (s *ScatterplotRequest) HasApmQuery() bool
- func (s *ScatterplotRequest) HasLogQuery() bool
- func (s *ScatterplotRequest) HasMetricQuery() bool
- func (s *ScatterplotRequest) HasProcessQuery() bool
- func (s *ScatterplotRequest) SetAggregator(v string)
- func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (s *ScatterplotRequest) SetMetricQuery(v string)
- func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery)
- type ScatterplotRequests
- func (s *ScatterplotRequests) GetX() ScatterplotRequest
- func (s *ScatterplotRequests) GetXOk() (ScatterplotRequest, bool)
- func (s *ScatterplotRequests) GetY() ScatterplotRequest
- func (s *ScatterplotRequests) GetYOk() (ScatterplotRequest, bool)
- func (s *ScatterplotRequests) HasX() bool
- func (s *ScatterplotRequests) HasY() bool
- func (s *ScatterplotRequests) SetX(v ScatterplotRequest)
- func (s *ScatterplotRequests) SetY(v ScatterplotRequest)
- type ScreenShareResponse
- type Screenboard
- func (s *Screenboard) GetHeight() int
- func (s *Screenboard) GetHeightOk() (int, bool)
- func (s *Screenboard) GetId() int
- func (s *Screenboard) GetIdOk() (int, bool)
- func (s *Screenboard) GetNewId() string
- func (s *Screenboard) GetNewIdOk() (string, 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() int
- func (s *Screenboard) GetWidthOk() (int, bool)
- func (s *Screenboard) HasHeight() bool
- func (s *Screenboard) HasId() bool
- func (s *Screenboard) HasNewId() 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 int)
- func (s *Screenboard) SetId(v int)
- func (s *Screenboard) SetNewId(v string)
- func (s *Screenboard) SetReadOnly(v bool)
- func (s *Screenboard) SetShared(v bool)
- func (s *Screenboard) SetTitle(v string)
- func (s *Screenboard) SetWidth(v int)
- 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) GetFillMax() json.Number
- func (s *Style) GetFillMaxOk() (json.Number, bool)
- func (s *Style) GetFillMin() json.Number
- func (s *Style) GetFillMinOk() (json.Number, bool)
- 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) HasFillMax() bool
- func (s *Style) HasFillMin() bool
- func (s *Style) HasPalette() bool
- func (s *Style) HasPaletteFlip() bool
- func (s *Style) SetFillMax(v json.Number)
- func (s *Style) SetFillMin(v json.Number)
- func (s *Style) SetPalette(v string)
- func (s *Style) SetPaletteFlip(v bool)
- type SyntheticsAssertion
- func (s *SyntheticsAssertion) GetOperator() string
- func (s *SyntheticsAssertion) GetOperatorOk() (string, bool)
- func (s *SyntheticsAssertion) GetProperty() string
- func (s *SyntheticsAssertion) GetPropertyOk() (string, bool)
- func (s *SyntheticsAssertion) GetType() string
- func (s *SyntheticsAssertion) GetTypeOk() (string, bool)
- func (s *SyntheticsAssertion) HasOperator() bool
- func (s *SyntheticsAssertion) HasProperty() bool
- func (s *SyntheticsAssertion) HasType() bool
- func (s *SyntheticsAssertion) SetOperator(v string)
- func (s *SyntheticsAssertion) SetProperty(v string)
- func (s *SyntheticsAssertion) SetType(v string)
- type SyntheticsConfig
- type SyntheticsDevice
- func (s *SyntheticsDevice) GetHeight() int
- func (s *SyntheticsDevice) GetHeightOk() (int, bool)
- func (s *SyntheticsDevice) GetId() string
- func (s *SyntheticsDevice) GetIdOk() (string, bool)
- func (s *SyntheticsDevice) GetIsLandscape() bool
- func (s *SyntheticsDevice) GetIsLandscapeOk() (bool, bool)
- func (s *SyntheticsDevice) GetIsMobile() bool
- func (s *SyntheticsDevice) GetIsMobileOk() (bool, bool)
- func (s *SyntheticsDevice) GetName() string
- func (s *SyntheticsDevice) GetNameOk() (string, bool)
- func (s *SyntheticsDevice) GetUserAgent() string
- func (s *SyntheticsDevice) GetUserAgentOk() (string, bool)
- func (s *SyntheticsDevice) GetWidth() int
- func (s *SyntheticsDevice) GetWidthOk() (int, bool)
- func (s *SyntheticsDevice) HasHeight() bool
- func (s *SyntheticsDevice) HasId() bool
- func (s *SyntheticsDevice) HasIsLandscape() bool
- func (s *SyntheticsDevice) HasIsMobile() bool
- func (s *SyntheticsDevice) HasName() bool
- func (s *SyntheticsDevice) HasUserAgent() bool
- func (s *SyntheticsDevice) HasWidth() bool
- func (s *SyntheticsDevice) SetHeight(v int)
- func (s *SyntheticsDevice) SetId(v string)
- func (s *SyntheticsDevice) SetIsLandscape(v bool)
- func (s *SyntheticsDevice) SetIsMobile(v bool)
- func (s *SyntheticsDevice) SetName(v string)
- func (s *SyntheticsDevice) SetUserAgent(v string)
- func (s *SyntheticsDevice) SetWidth(v int)
- type SyntheticsLocation
- func (s *SyntheticsLocation) GetDisplayName() string
- func (s *SyntheticsLocation) GetDisplayNameOk() (string, bool)
- func (s *SyntheticsLocation) GetId() int
- func (s *SyntheticsLocation) GetIdOk() (int, bool)
- func (s *SyntheticsLocation) GetIsLandscape() bool
- func (s *SyntheticsLocation) GetIsLandscapeOk() (bool, bool)
- func (s *SyntheticsLocation) GetName() string
- func (s *SyntheticsLocation) GetNameOk() (string, bool)
- func (s *SyntheticsLocation) GetRegion() string
- func (s *SyntheticsLocation) GetRegionOk() (string, bool)
- func (s *SyntheticsLocation) HasDisplayName() bool
- func (s *SyntheticsLocation) HasId() bool
- func (s *SyntheticsLocation) HasIsLandscape() bool
- func (s *SyntheticsLocation) HasName() bool
- func (s *SyntheticsLocation) HasRegion() bool
- func (s *SyntheticsLocation) SetDisplayName(v string)
- func (s *SyntheticsLocation) SetId(v int)
- func (s *SyntheticsLocation) SetIsLandscape(v bool)
- func (s *SyntheticsLocation) SetName(v string)
- func (s *SyntheticsLocation) SetRegion(v string)
- type SyntheticsOptions
- func (s *SyntheticsOptions) GetFollowRedirects() bool
- func (s *SyntheticsOptions) GetFollowRedirectsOk() (bool, bool)
- func (s *SyntheticsOptions) GetMinFailureDuration() int
- func (s *SyntheticsOptions) GetMinFailureDurationOk() (int, bool)
- func (s *SyntheticsOptions) GetMinLocationFailed() int
- func (s *SyntheticsOptions) GetMinLocationFailedOk() (int, bool)
- func (s *SyntheticsOptions) GetTickEvery() int
- func (s *SyntheticsOptions) GetTickEveryOk() (int, bool)
- func (s *SyntheticsOptions) HasFollowRedirects() bool
- func (s *SyntheticsOptions) HasMinFailureDuration() bool
- func (s *SyntheticsOptions) HasMinLocationFailed() bool
- func (s *SyntheticsOptions) HasTickEvery() bool
- func (s *SyntheticsOptions) SetFollowRedirects(v bool)
- func (s *SyntheticsOptions) SetMinFailureDuration(v int)
- func (s *SyntheticsOptions) SetMinLocationFailed(v int)
- func (s *SyntheticsOptions) SetTickEvery(v int)
- type SyntheticsRequest
- func (s *SyntheticsRequest) GetBody() string
- func (s *SyntheticsRequest) GetBodyOk() (string, bool)
- func (s *SyntheticsRequest) GetMethod() string
- func (s *SyntheticsRequest) GetMethodOk() (string, bool)
- func (s *SyntheticsRequest) GetTimeout() int
- func (s *SyntheticsRequest) GetTimeoutOk() (int, bool)
- func (s *SyntheticsRequest) GetUrl() string
- func (s *SyntheticsRequest) GetUrlOk() (string, bool)
- func (s *SyntheticsRequest) HasBody() bool
- func (s *SyntheticsRequest) HasMethod() bool
- func (s *SyntheticsRequest) HasTimeout() bool
- func (s *SyntheticsRequest) HasUrl() bool
- func (s *SyntheticsRequest) SetBody(v string)
- func (s *SyntheticsRequest) SetMethod(v string)
- func (s *SyntheticsRequest) SetTimeout(v int)
- func (s *SyntheticsRequest) SetUrl(v string)
- type SyntheticsTest
- func (s *SyntheticsTest) GetConfig() SyntheticsConfig
- func (s *SyntheticsTest) GetConfigOk() (SyntheticsConfig, bool)
- func (s *SyntheticsTest) GetCreatedAt() string
- func (s *SyntheticsTest) GetCreatedAtOk() (string, bool)
- func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser
- func (s *SyntheticsTest) GetCreatedByOk() (SyntheticsUser, bool)
- func (s *SyntheticsTest) GetDeletedAt() string
- func (s *SyntheticsTest) GetDeletedAtOk() (string, bool)
- func (s *SyntheticsTest) GetMessage() string
- func (s *SyntheticsTest) GetMessageOk() (string, bool)
- func (s *SyntheticsTest) GetModifiedAt() string
- func (s *SyntheticsTest) GetModifiedAtOk() (string, bool)
- func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser
- func (s *SyntheticsTest) GetModifiedByOk() (SyntheticsUser, bool)
- func (s *SyntheticsTest) GetMonitorStatus() string
- func (s *SyntheticsTest) GetMonitorStatusOk() (string, bool)
- func (s *SyntheticsTest) GetName() string
- func (s *SyntheticsTest) GetNameOk() (string, bool)
- func (s *SyntheticsTest) GetOptions() SyntheticsOptions
- func (s *SyntheticsTest) GetOptionsOk() (SyntheticsOptions, bool)
- func (s *SyntheticsTest) GetPublicId() string
- func (s *SyntheticsTest) GetPublicIdOk() (string, bool)
- func (s *SyntheticsTest) GetStatus() string
- func (s *SyntheticsTest) GetStatusOk() (string, bool)
- func (s *SyntheticsTest) GetType() string
- func (s *SyntheticsTest) GetTypeOk() (string, bool)
- func (s *SyntheticsTest) HasConfig() bool
- func (s *SyntheticsTest) HasCreatedAt() bool
- func (s *SyntheticsTest) HasCreatedBy() bool
- func (s *SyntheticsTest) HasDeletedAt() bool
- func (s *SyntheticsTest) HasMessage() bool
- func (s *SyntheticsTest) HasModifiedAt() bool
- func (s *SyntheticsTest) HasModifiedBy() bool
- func (s *SyntheticsTest) HasMonitorStatus() bool
- func (s *SyntheticsTest) HasName() bool
- func (s *SyntheticsTest) HasOptions() bool
- func (s *SyntheticsTest) HasPublicId() bool
- func (s *SyntheticsTest) HasStatus() bool
- func (s *SyntheticsTest) HasType() bool
- func (s *SyntheticsTest) SetConfig(v SyntheticsConfig)
- func (s *SyntheticsTest) SetCreatedAt(v string)
- func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser)
- func (s *SyntheticsTest) SetDeletedAt(v string)
- func (s *SyntheticsTest) SetMessage(v string)
- func (s *SyntheticsTest) SetModifiedAt(v string)
- func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser)
- func (s *SyntheticsTest) SetMonitorStatus(v string)
- func (s *SyntheticsTest) SetName(v string)
- func (s *SyntheticsTest) SetOptions(v SyntheticsOptions)
- func (s *SyntheticsTest) SetPublicId(v string)
- func (s *SyntheticsTest) SetStatus(v string)
- func (s *SyntheticsTest) SetType(v string)
- type SyntheticsUser
- func (s *SyntheticsUser) GetEmail() string
- func (s *SyntheticsUser) GetEmailOk() (string, bool)
- func (s *SyntheticsUser) GetHandle() string
- func (s *SyntheticsUser) GetHandleOk() (string, bool)
- func (s *SyntheticsUser) GetId() int
- func (s *SyntheticsUser) GetIdOk() (int, bool)
- func (s *SyntheticsUser) GetName() string
- func (s *SyntheticsUser) GetNameOk() (string, bool)
- func (s *SyntheticsUser) HasEmail() bool
- func (s *SyntheticsUser) HasHandle() bool
- func (s *SyntheticsUser) HasId() bool
- func (s *SyntheticsUser) HasName() bool
- func (s *SyntheticsUser) SetEmail(v string)
- func (s *SyntheticsUser) SetHandle(v string)
- func (s *SyntheticsUser) SetId(v int)
- func (s *SyntheticsUser) SetName(v string)
- 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) GetPeriod() Period
- func (t *ThresholdCount) GetPeriodOk() (Period, bool)
- func (t *ThresholdCount) GetTimeAggregator() string
- func (t *ThresholdCount) GetTimeAggregatorOk() (string, 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) HasPeriod() bool
- func (t *ThresholdCount) HasTimeAggregator() 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) SetPeriod(v Period)
- func (t *ThresholdCount) SetTimeAggregator(v string)
- func (t *ThresholdCount) SetUnknown(v json.Number)
- func (t *ThresholdCount) SetWarning(v json.Number)
- func (t *ThresholdCount) SetWarningRecovery(v json.Number)
- type ThresholdWindows
- func (t *ThresholdWindows) GetRecoveryWindow() string
- func (t *ThresholdWindows) GetRecoveryWindowOk() (string, bool)
- func (t *ThresholdWindows) GetTriggerWindow() string
- func (t *ThresholdWindows) GetTriggerWindowOk() (string, bool)
- func (t *ThresholdWindows) HasRecoveryWindow() bool
- func (t *ThresholdWindows) HasTriggerWindow() bool
- func (t *ThresholdWindows) SetRecoveryWindow(v string)
- func (t *ThresholdWindows) SetTriggerWindow(v string)
- 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() PrecisionT
- func (t *TileDef) GetPrecisionOk() (PrecisionT, 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 PrecisionT)
- 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() json.Number
- func (t *TileDefStyle) GetFillMaxOk() (json.Number, bool)
- func (t *TileDefStyle) GetFillMin() json.Number
- func (t *TileDefStyle) GetFillMinOk() (json.Number, 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 json.Number)
- func (t *TileDefStyle) SetFillMin(v json.Number)
- func (t *TileDefStyle) SetPalette(v string)
- func (t *TileDefStyle) SetPaletteFlip(v string)
- type Time
- type TimeRange
- func (t *TimeRange) GetFrom() json.Number
- func (t *TimeRange) GetFromOk() (json.Number, bool)
- func (t *TimeRange) GetLive() bool
- func (t *TimeRange) GetLiveOk() (bool, bool)
- func (t *TimeRange) GetTo() json.Number
- func (t *TimeRange) GetToOk() (json.Number, bool)
- func (t *TimeRange) HasFrom() bool
- func (t *TimeRange) HasLive() bool
- func (t *TimeRange) HasTo() bool
- func (t *TimeRange) SetFrom(v json.Number)
- func (t *TimeRange) SetLive(v bool)
- func (t *TimeRange) SetTo(v json.Number)
- type TimeseriesDefinition
- func (t *TimeseriesDefinition) GetLegendSize() string
- func (t *TimeseriesDefinition) GetLegendSizeOk() (string, bool)
- func (t *TimeseriesDefinition) GetShowLegend() bool
- func (t *TimeseriesDefinition) GetShowLegendOk() (bool, bool)
- func (t *TimeseriesDefinition) GetTime() WidgetTime
- func (t *TimeseriesDefinition) GetTimeOk() (WidgetTime, bool)
- func (t *TimeseriesDefinition) GetTitle() string
- func (t *TimeseriesDefinition) GetTitleAlign() string
- func (t *TimeseriesDefinition) GetTitleAlignOk() (string, bool)
- func (t *TimeseriesDefinition) GetTitleOk() (string, bool)
- func (t *TimeseriesDefinition) GetTitleSize() string
- func (t *TimeseriesDefinition) GetTitleSizeOk() (string, bool)
- func (t *TimeseriesDefinition) GetType() string
- func (t *TimeseriesDefinition) GetTypeOk() (string, bool)
- func (t *TimeseriesDefinition) GetYaxis() WidgetAxis
- func (t *TimeseriesDefinition) GetYaxisOk() (WidgetAxis, bool)
- func (t *TimeseriesDefinition) HasLegendSize() bool
- func (t *TimeseriesDefinition) HasShowLegend() bool
- func (t *TimeseriesDefinition) HasTime() bool
- func (t *TimeseriesDefinition) HasTitle() bool
- func (t *TimeseriesDefinition) HasTitleAlign() bool
- func (t *TimeseriesDefinition) HasTitleSize() bool
- func (t *TimeseriesDefinition) HasType() bool
- func (t *TimeseriesDefinition) HasYaxis() bool
- func (t *TimeseriesDefinition) SetLegendSize(v string)
- func (t *TimeseriesDefinition) SetShowLegend(v bool)
- func (t *TimeseriesDefinition) SetTime(v WidgetTime)
- func (t *TimeseriesDefinition) SetTitle(v string)
- func (t *TimeseriesDefinition) SetTitleAlign(v string)
- func (t *TimeseriesDefinition) SetTitleSize(v string)
- func (t *TimeseriesDefinition) SetType(v string)
- func (t *TimeseriesDefinition) SetYaxis(v WidgetAxis)
- type TimeseriesRequest
- func (t *TimeseriesRequest) GetApmQuery() WidgetApmOrLogQuery
- func (t *TimeseriesRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (t *TimeseriesRequest) GetDisplayType() string
- func (t *TimeseriesRequest) GetDisplayTypeOk() (string, bool)
- func (t *TimeseriesRequest) GetLogQuery() WidgetApmOrLogQuery
- func (t *TimeseriesRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (t *TimeseriesRequest) GetMetricQuery() string
- func (t *TimeseriesRequest) GetMetricQueryOk() (string, bool)
- func (t *TimeseriesRequest) GetProcessQuery() WidgetProcessQuery
- func (t *TimeseriesRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (t *TimeseriesRequest) GetStyle() TimeseriesRequestStyle
- func (t *TimeseriesRequest) GetStyleOk() (TimeseriesRequestStyle, bool)
- func (t *TimeseriesRequest) HasApmQuery() bool
- func (t *TimeseriesRequest) HasDisplayType() bool
- func (t *TimeseriesRequest) HasLogQuery() bool
- func (t *TimeseriesRequest) HasMetricQuery() bool
- func (t *TimeseriesRequest) HasProcessQuery() bool
- func (t *TimeseriesRequest) HasStyle() bool
- func (t *TimeseriesRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (t *TimeseriesRequest) SetDisplayType(v string)
- func (t *TimeseriesRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (t *TimeseriesRequest) SetMetricQuery(v string)
- func (t *TimeseriesRequest) SetProcessQuery(v WidgetProcessQuery)
- func (t *TimeseriesRequest) SetStyle(v TimeseriesRequestStyle)
- type TimeseriesRequestStyle
- func (t *TimeseriesRequestStyle) GetLineType() string
- func (t *TimeseriesRequestStyle) GetLineTypeOk() (string, bool)
- func (t *TimeseriesRequestStyle) GetLineWidth() string
- func (t *TimeseriesRequestStyle) GetLineWidthOk() (string, bool)
- func (t *TimeseriesRequestStyle) GetPalette() string
- func (t *TimeseriesRequestStyle) GetPaletteOk() (string, bool)
- func (t *TimeseriesRequestStyle) HasLineType() bool
- func (t *TimeseriesRequestStyle) HasLineWidth() bool
- func (t *TimeseriesRequestStyle) HasPalette() bool
- func (t *TimeseriesRequestStyle) SetLineType(v string)
- func (t *TimeseriesRequestStyle) SetLineWidth(v string)
- func (t *TimeseriesRequestStyle) SetPalette(v string)
- type ToggleStatus
- type ToplistDefinition
- func (t *ToplistDefinition) GetTime() WidgetTime
- func (t *ToplistDefinition) GetTimeOk() (WidgetTime, bool)
- func (t *ToplistDefinition) GetTitle() string
- func (t *ToplistDefinition) GetTitleAlign() string
- func (t *ToplistDefinition) GetTitleAlignOk() (string, bool)
- func (t *ToplistDefinition) GetTitleOk() (string, bool)
- func (t *ToplistDefinition) GetTitleSize() string
- func (t *ToplistDefinition) GetTitleSizeOk() (string, bool)
- func (t *ToplistDefinition) GetType() string
- func (t *ToplistDefinition) GetTypeOk() (string, bool)
- func (t *ToplistDefinition) HasTime() bool
- func (t *ToplistDefinition) HasTitle() bool
- func (t *ToplistDefinition) HasTitleAlign() bool
- func (t *ToplistDefinition) HasTitleSize() bool
- func (t *ToplistDefinition) HasType() bool
- func (t *ToplistDefinition) SetTime(v WidgetTime)
- func (t *ToplistDefinition) SetTitle(v string)
- func (t *ToplistDefinition) SetTitleAlign(v string)
- func (t *ToplistDefinition) SetTitleSize(v string)
- func (t *ToplistDefinition) SetType(v string)
- type ToplistRequest
- func (t *ToplistRequest) GetApmQuery() WidgetApmOrLogQuery
- func (t *ToplistRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
- func (t *ToplistRequest) GetLogQuery() WidgetApmOrLogQuery
- func (t *ToplistRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
- func (t *ToplistRequest) GetMetricQuery() string
- func (t *ToplistRequest) GetMetricQueryOk() (string, bool)
- func (t *ToplistRequest) GetProcessQuery() WidgetProcessQuery
- func (t *ToplistRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
- func (t *ToplistRequest) GetStyle() WidgetRequestStyle
- func (t *ToplistRequest) GetStyleOk() (WidgetRequestStyle, bool)
- func (t *ToplistRequest) HasApmQuery() bool
- func (t *ToplistRequest) HasLogQuery() bool
- func (t *ToplistRequest) HasMetricQuery() bool
- func (t *ToplistRequest) HasProcessQuery() bool
- func (t *ToplistRequest) HasStyle() bool
- func (t *ToplistRequest) SetApmQuery(v WidgetApmOrLogQuery)
- func (t *ToplistRequest) SetLogQuery(v WidgetApmOrLogQuery)
- func (t *ToplistRequest) SetMetricQuery(v string)
- func (t *ToplistRequest) SetProcessQuery(v WidgetProcessQuery)
- func (t *ToplistRequest) SetStyle(v WidgetRequestStyle)
- type TraceServiceDefinition
- func (t *TraceServiceDefinition) GetDisplayFormat() string
- func (t *TraceServiceDefinition) GetDisplayFormatOk() (string, bool)
- func (t *TraceServiceDefinition) GetEnv() string
- func (t *TraceServiceDefinition) GetEnvOk() (string, bool)
- func (t *TraceServiceDefinition) GetService() string
- func (t *TraceServiceDefinition) GetServiceOk() (string, bool)
- func (t *TraceServiceDefinition) GetShowBreakdown() bool
- func (t *TraceServiceDefinition) GetShowBreakdownOk() (bool, bool)
- func (t *TraceServiceDefinition) GetShowDistribution() bool
- func (t *TraceServiceDefinition) GetShowDistributionOk() (bool, bool)
- func (t *TraceServiceDefinition) GetShowErrors() bool
- func (t *TraceServiceDefinition) GetShowErrorsOk() (bool, bool)
- func (t *TraceServiceDefinition) GetShowHits() bool
- func (t *TraceServiceDefinition) GetShowHitsOk() (bool, bool)
- func (t *TraceServiceDefinition) GetShowLatency() bool
- func (t *TraceServiceDefinition) GetShowLatencyOk() (bool, bool)
- func (t *TraceServiceDefinition) GetShowResourceList() bool
- func (t *TraceServiceDefinition) GetShowResourceListOk() (bool, bool)
- func (t *TraceServiceDefinition) GetSizeFormat() string
- func (t *TraceServiceDefinition) GetSizeFormatOk() (string, bool)
- func (t *TraceServiceDefinition) GetSpanName() string
- func (t *TraceServiceDefinition) GetSpanNameOk() (string, bool)
- func (t *TraceServiceDefinition) GetTime() WidgetTime
- func (t *TraceServiceDefinition) GetTimeOk() (WidgetTime, bool)
- func (t *TraceServiceDefinition) GetTitle() string
- func (t *TraceServiceDefinition) GetTitleAlign() string
- func (t *TraceServiceDefinition) GetTitleAlignOk() (string, bool)
- func (t *TraceServiceDefinition) GetTitleOk() (string, bool)
- func (t *TraceServiceDefinition) GetTitleSize() string
- func (t *TraceServiceDefinition) GetTitleSizeOk() (string, bool)
- func (t *TraceServiceDefinition) GetType() string
- func (t *TraceServiceDefinition) GetTypeOk() (string, bool)
- func (t *TraceServiceDefinition) HasDisplayFormat() bool
- func (t *TraceServiceDefinition) HasEnv() bool
- func (t *TraceServiceDefinition) HasService() bool
- func (t *TraceServiceDefinition) HasShowBreakdown() bool
- func (t *TraceServiceDefinition) HasShowDistribution() bool
- func (t *TraceServiceDefinition) HasShowErrors() bool
- func (t *TraceServiceDefinition) HasShowHits() bool
- func (t *TraceServiceDefinition) HasShowLatency() bool
- func (t *TraceServiceDefinition) HasShowResourceList() bool
- func (t *TraceServiceDefinition) HasSizeFormat() bool
- func (t *TraceServiceDefinition) HasSpanName() bool
- func (t *TraceServiceDefinition) HasTime() bool
- func (t *TraceServiceDefinition) HasTitle() bool
- func (t *TraceServiceDefinition) HasTitleAlign() bool
- func (t *TraceServiceDefinition) HasTitleSize() bool
- func (t *TraceServiceDefinition) HasType() bool
- func (t *TraceServiceDefinition) SetDisplayFormat(v string)
- func (t *TraceServiceDefinition) SetEnv(v string)
- func (t *TraceServiceDefinition) SetService(v string)
- func (t *TraceServiceDefinition) SetShowBreakdown(v bool)
- func (t *TraceServiceDefinition) SetShowDistribution(v bool)
- func (t *TraceServiceDefinition) SetShowErrors(v bool)
- func (t *TraceServiceDefinition) SetShowHits(v bool)
- func (t *TraceServiceDefinition) SetShowLatency(v bool)
- func (t *TraceServiceDefinition) SetShowResourceList(v bool)
- func (t *TraceServiceDefinition) SetSizeFormat(v string)
- func (t *TraceServiceDefinition) SetSpanName(v string)
- func (t *TraceServiceDefinition) SetTime(v WidgetTime)
- func (t *TraceServiceDefinition) SetTitle(v string)
- func (t *TraceServiceDefinition) SetTitleAlign(v string)
- func (t *TraceServiceDefinition) SetTitleSize(v string)
- func (t *TraceServiceDefinition) SetType(v string)
- 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() PrecisionT
- func (w *Widget) GetPrecisionOk() (PrecisionT, 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 PrecisionT)
- 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 WidgetApmOrLogQuery
- func (w *WidgetApmOrLogQuery) GetCompute() ApmOrLogQueryCompute
- func (w *WidgetApmOrLogQuery) GetComputeOk() (ApmOrLogQueryCompute, bool)
- func (w *WidgetApmOrLogQuery) GetIndex() string
- func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool)
- func (w *WidgetApmOrLogQuery) GetSearch() ApmOrLogQuerySearch
- func (w *WidgetApmOrLogQuery) GetSearchOk() (ApmOrLogQuerySearch, bool)
- func (w *WidgetApmOrLogQuery) HasCompute() bool
- func (w *WidgetApmOrLogQuery) HasIndex() bool
- func (w *WidgetApmOrLogQuery) HasSearch() bool
- func (w *WidgetApmOrLogQuery) SetCompute(v ApmOrLogQueryCompute)
- func (w *WidgetApmOrLogQuery) SetIndex(v string)
- func (w *WidgetApmOrLogQuery) SetSearch(v ApmOrLogQuerySearch)
- type WidgetAxis
- func (w *WidgetAxis) GetIncludeZero() bool
- func (w *WidgetAxis) GetIncludeZeroOk() (bool, bool)
- func (w *WidgetAxis) GetLabel() string
- func (w *WidgetAxis) GetLabelOk() (string, bool)
- func (w *WidgetAxis) GetMax() string
- func (w *WidgetAxis) GetMaxOk() (string, bool)
- func (w *WidgetAxis) GetMin() string
- func (w *WidgetAxis) GetMinOk() (string, bool)
- func (w *WidgetAxis) GetScale() string
- func (w *WidgetAxis) GetScaleOk() (string, bool)
- func (w *WidgetAxis) HasIncludeZero() bool
- func (w *WidgetAxis) HasLabel() bool
- func (w *WidgetAxis) HasMax() bool
- func (w *WidgetAxis) HasMin() bool
- func (w *WidgetAxis) HasScale() bool
- func (w *WidgetAxis) SetIncludeZero(v bool)
- func (w *WidgetAxis) SetLabel(v string)
- func (w *WidgetAxis) SetMax(v string)
- func (w *WidgetAxis) SetMin(v string)
- func (w *WidgetAxis) SetScale(v string)
- type WidgetConditionalFormat
- func (w *WidgetConditionalFormat) GetComparator() string
- func (w *WidgetConditionalFormat) GetComparatorOk() (string, bool)
- func (w *WidgetConditionalFormat) GetCustomBgColor() string
- func (w *WidgetConditionalFormat) GetCustomBgColorOk() (string, bool)
- func (w *WidgetConditionalFormat) GetCustomFgColor() string
- func (w *WidgetConditionalFormat) GetCustomFgColorOk() (string, bool)
- func (w *WidgetConditionalFormat) GetHideValue() bool
- func (w *WidgetConditionalFormat) GetHideValueOk() (bool, bool)
- func (w *WidgetConditionalFormat) GetImageUrl() string
- func (w *WidgetConditionalFormat) GetImageUrlOk() (string, bool)
- func (w *WidgetConditionalFormat) GetPalette() string
- func (w *WidgetConditionalFormat) GetPaletteOk() (string, bool)
- func (w *WidgetConditionalFormat) GetTimeframe() string
- func (w *WidgetConditionalFormat) GetTimeframeOk() (string, bool)
- func (w *WidgetConditionalFormat) GetValue() float64
- func (w *WidgetConditionalFormat) GetValueOk() (float64, bool)
- func (w *WidgetConditionalFormat) HasComparator() bool
- func (w *WidgetConditionalFormat) HasCustomBgColor() bool
- func (w *WidgetConditionalFormat) HasCustomFgColor() bool
- func (w *WidgetConditionalFormat) HasHideValue() bool
- func (w *WidgetConditionalFormat) HasImageUrl() bool
- func (w *WidgetConditionalFormat) HasPalette() bool
- func (w *WidgetConditionalFormat) HasTimeframe() bool
- func (w *WidgetConditionalFormat) HasValue() bool
- func (w *WidgetConditionalFormat) SetComparator(v string)
- func (w *WidgetConditionalFormat) SetCustomBgColor(v string)
- func (w *WidgetConditionalFormat) SetCustomFgColor(v string)
- func (w *WidgetConditionalFormat) SetHideValue(v bool)
- func (w *WidgetConditionalFormat) SetImageUrl(v string)
- func (w *WidgetConditionalFormat) SetPalette(v string)
- func (w *WidgetConditionalFormat) SetTimeframe(v string)
- func (w *WidgetConditionalFormat) SetValue(v float64)
- type WidgetEvent
- type WidgetLayout
- func (w *WidgetLayout) GetHeight() float64
- func (w *WidgetLayout) GetHeightOk() (float64, bool)
- func (w *WidgetLayout) GetWidth() float64
- func (w *WidgetLayout) GetWidthOk() (float64, bool)
- func (w *WidgetLayout) GetX() float64
- func (w *WidgetLayout) GetXOk() (float64, bool)
- func (w *WidgetLayout) GetY() float64
- func (w *WidgetLayout) GetYOk() (float64, bool)
- func (w *WidgetLayout) HasHeight() bool
- func (w *WidgetLayout) HasWidth() bool
- func (w *WidgetLayout) HasX() bool
- func (w *WidgetLayout) HasY() bool
- func (w *WidgetLayout) SetHeight(v float64)
- func (w *WidgetLayout) SetWidth(v float64)
- func (w *WidgetLayout) SetX(v float64)
- func (w *WidgetLayout) SetY(v float64)
- type WidgetMarker
- func (w *WidgetMarker) GetDisplayType() string
- func (w *WidgetMarker) GetDisplayTypeOk() (string, bool)
- func (w *WidgetMarker) GetLabel() string
- func (w *WidgetMarker) GetLabelOk() (string, bool)
- func (w *WidgetMarker) GetValue() string
- func (w *WidgetMarker) GetValueOk() (string, bool)
- func (w *WidgetMarker) HasDisplayType() bool
- func (w *WidgetMarker) HasLabel() bool
- func (w *WidgetMarker) HasValue() bool
- func (w *WidgetMarker) SetDisplayType(v string)
- func (w *WidgetMarker) SetLabel(v string)
- func (w *WidgetMarker) SetValue(v string)
- type WidgetMetadata
- func (w *WidgetMetadata) GetAliasName() string
- func (w *WidgetMetadata) GetAliasNameOk() (string, bool)
- func (w *WidgetMetadata) GetExpression() string
- func (w *WidgetMetadata) GetExpressionOk() (string, bool)
- func (w *WidgetMetadata) HasAliasName() bool
- func (w *WidgetMetadata) HasExpression() bool
- func (w *WidgetMetadata) SetAliasName(v string)
- func (w *WidgetMetadata) SetExpression(v string)
- type WidgetProcessQuery
- func (w *WidgetProcessQuery) GetLimit() int
- func (w *WidgetProcessQuery) GetLimitOk() (int, bool)
- func (w *WidgetProcessQuery) GetMetric() string
- func (w *WidgetProcessQuery) GetMetricOk() (string, bool)
- func (w *WidgetProcessQuery) GetSearchBy() string
- func (w *WidgetProcessQuery) GetSearchByOk() (string, bool)
- func (w *WidgetProcessQuery) HasLimit() bool
- func (w *WidgetProcessQuery) HasMetric() bool
- func (w *WidgetProcessQuery) HasSearchBy() bool
- func (w *WidgetProcessQuery) SetLimit(v int)
- func (w *WidgetProcessQuery) SetMetric(v string)
- func (w *WidgetProcessQuery) SetSearchBy(v string)
- type WidgetRequestStyle
- type WidgetTime
- type Yaxis
- func (y *Yaxis) GetIncludeUnits() bool
- func (y *Yaxis) GetIncludeUnitsOk() (bool, bool)
- func (y *Yaxis) GetIncludeZero() bool
- func (y *Yaxis) GetIncludeZeroOk() (bool, bool)
- 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) HasIncludeUnits() bool
- func (y *Yaxis) HasIncludeZero() bool
- func (y *Yaxis) HasMax() bool
- func (y *Yaxis) HasMin() bool
- func (y *Yaxis) HasScale() bool
- func (y *Yaxis) SetIncludeUnits(v bool)
- func (y *Yaxis) SetIncludeZero(v 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 ( ALERT_GRAPH_WIDGET = "alert_graph" ALERT_VALUE_WIDGET = "alert_value" CHANGE_WIDGET = "change" CHECK_STATUS_WIDGET = "check_status" DISTRIBUTION_WIDGET = "distribution" EVENT_STREAM_WIDGET = "event_stream" EVENT_TIMELINE_WIDGET = "event_timeline" FREE_TEXT_WIDGET = "free_text" GROUP_WIDGET = "group" HEATMAP_WIDGET = "heatmap" HOSTMAP_WIDGET = "hostmap" IFRAME_WIDGET = "iframe" IMAGE_WIDGET = "image" LOG_STREAM_WIDGET = "log_stream" MANAGE_STATUS_WIDGET = "manage_status" NOTE_WIDGET = "note" QUERY_VALUE_WIDGET = "query_value" SCATTERPLOT_WIDGET = "scatterplot" TIMESERIES_WIDGET = "timeseries" TOPLIST_WIDGET = "toplist" TRACE_SERVICE_WIDGET = "trace_service" )
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 ¶
GetIntOk is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func GetJsonNumberOk ¶
GetJsonNumberOk is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func GetStringId ¶
GetStringId is a helper routine that allows screenboards and timeboards to be retrieved by either the legacy numerical format or the new string format. It returns the id as is if it is a string, converts it to a string if it is an integer. It return an error if the type is neither string or an integer
func GetStringOk ¶
GetStringOk 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 APIKey ¶
type APIKey struct { CreatedBy *string `json:"created_by,omitempty"` Name *string `json:"name,omitemtpy"` Key *string `json:"key,omitempty"` Created *time.Time `json:"created,omitempty"` }
APIKey represents and API key
func (*APIKey) GetCreated ¶
GetCreated returns the Created field if non-nil, zero value otherwise.
func (*APIKey) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (*APIKey) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*APIKey) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*APIKey) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*APIKey) 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 (*APIKey) HasCreated ¶
HasCreated returns a boolean if a field has been set.
func (*APIKey) HasCreatedBy ¶
HasCreatedBy returns a boolean if a field has been set.
func (APIKey) MarshalJSON ¶
MarshalJSON is a custom method for handling datetime marshalling
func (*APIKey) SetCreated ¶
SetCreated allocates a new a.Created and returns the pointer to it.
func (*APIKey) SetCreatedBy ¶
SetCreatedBy allocates a new a.CreatedBy and returns the pointer to it.
func (*APIKey) UnmarshalJSON ¶
UnmarshalJSON is a custom method for handling datetime unmarshalling
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 AlertGraphDefinition ¶
type AlertGraphDefinition struct { Type *string `json:"type"` AlertId *string `json:"alert_id"` VizType *string `json:"viz_type"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
AlertGraphDefinition represents the definition for an Alert Graph widget
func (*AlertGraphDefinition) GetAlertId ¶
func (a *AlertGraphDefinition) GetAlertId() string
GetAlertId returns the AlertId field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetAlertIdOk ¶
func (a *AlertGraphDefinition) GetAlertIdOk() (string, bool)
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 (*AlertGraphDefinition) GetTime ¶
func (a *AlertGraphDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetTimeOk ¶
func (a *AlertGraphDefinition) GetTimeOk() (WidgetTime, bool)
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 (*AlertGraphDefinition) GetTitle ¶
func (a *AlertGraphDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetTitleAlign ¶
func (a *AlertGraphDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetTitleAlignOk ¶
func (a *AlertGraphDefinition) GetTitleAlignOk() (string, bool)
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 (*AlertGraphDefinition) GetTitleOk ¶
func (a *AlertGraphDefinition) 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 (*AlertGraphDefinition) GetTitleSize ¶
func (a *AlertGraphDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetTitleSizeOk ¶
func (a *AlertGraphDefinition) GetTitleSizeOk() (string, bool)
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 (*AlertGraphDefinition) GetType ¶
func (a *AlertGraphDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetTypeOk ¶
func (a *AlertGraphDefinition) 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 (*AlertGraphDefinition) GetVizType ¶
func (a *AlertGraphDefinition) GetVizType() string
GetVizType returns the VizType field if non-nil, zero value otherwise.
func (*AlertGraphDefinition) GetVizTypeOk ¶
func (a *AlertGraphDefinition) GetVizTypeOk() (string, bool)
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 (*AlertGraphDefinition) HasAlertId ¶
func (a *AlertGraphDefinition) HasAlertId() bool
HasAlertId returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasTime ¶
func (a *AlertGraphDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasTitle ¶
func (a *AlertGraphDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasTitleAlign ¶
func (a *AlertGraphDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasTitleSize ¶
func (a *AlertGraphDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasType ¶
func (a *AlertGraphDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*AlertGraphDefinition) HasVizType ¶
func (a *AlertGraphDefinition) HasVizType() bool
HasVizType returns a boolean if a field has been set.
func (*AlertGraphDefinition) SetAlertId ¶
func (a *AlertGraphDefinition) SetAlertId(v string)
SetAlertId allocates a new a.AlertId and returns the pointer to it.
func (*AlertGraphDefinition) SetTime ¶
func (a *AlertGraphDefinition) SetTime(v WidgetTime)
SetTime allocates a new a.Time and returns the pointer to it.
func (*AlertGraphDefinition) SetTitle ¶
func (a *AlertGraphDefinition) SetTitle(v string)
SetTitle allocates a new a.Title and returns the pointer to it.
func (*AlertGraphDefinition) SetTitleAlign ¶
func (a *AlertGraphDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
func (*AlertGraphDefinition) SetTitleSize ¶
func (a *AlertGraphDefinition) SetTitleSize(v string)
SetTitleSize allocates a new a.TitleSize and returns the pointer to it.
func (*AlertGraphDefinition) SetType ¶
func (a *AlertGraphDefinition) SetType(v string)
SetType allocates a new a.Type and returns the pointer to it.
func (*AlertGraphDefinition) SetVizType ¶
func (a *AlertGraphDefinition) SetVizType(v string)
SetVizType allocates a new a.VizType and returns the pointer to it.
type AlertValueDefinition ¶
type AlertValueDefinition struct { Type *string `json:"type"` AlertId *string `json:"alert_id"` Precision *int `json:"precision,omitempty"` Unit *string `json:"unit,omitempty"` TextAlign *string `json:"text_align,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` }
AlertValueDefinition represents the definition for an Alert Value widget
func (*AlertValueDefinition) GetAlertId ¶
func (a *AlertValueDefinition) GetAlertId() string
GetAlertId returns the AlertId field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetAlertIdOk ¶
func (a *AlertValueDefinition) GetAlertIdOk() (string, bool)
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 (*AlertValueDefinition) GetPrecision ¶
func (a *AlertValueDefinition) GetPrecision() int
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetPrecisionOk ¶
func (a *AlertValueDefinition) GetPrecisionOk() (int, 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 (*AlertValueDefinition) GetTextAlign ¶
func (a *AlertValueDefinition) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetTextAlignOk ¶
func (a *AlertValueDefinition) 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 (*AlertValueDefinition) GetTitle ¶
func (a *AlertValueDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetTitleAlign ¶
func (a *AlertValueDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetTitleAlignOk ¶
func (a *AlertValueDefinition) GetTitleAlignOk() (string, bool)
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 (*AlertValueDefinition) GetTitleOk ¶
func (a *AlertValueDefinition) 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 (*AlertValueDefinition) GetTitleSize ¶
func (a *AlertValueDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetTitleSizeOk ¶
func (a *AlertValueDefinition) GetTitleSizeOk() (string, bool)
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 (*AlertValueDefinition) GetType ¶
func (a *AlertValueDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetTypeOk ¶
func (a *AlertValueDefinition) 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 (*AlertValueDefinition) GetUnit ¶
func (a *AlertValueDefinition) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (*AlertValueDefinition) GetUnitOk ¶
func (a *AlertValueDefinition) 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 (*AlertValueDefinition) HasAlertId ¶
func (a *AlertValueDefinition) HasAlertId() bool
HasAlertId returns a boolean if a field has been set.
func (*AlertValueDefinition) HasPrecision ¶
func (a *AlertValueDefinition) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*AlertValueDefinition) HasTextAlign ¶
func (a *AlertValueDefinition) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*AlertValueDefinition) HasTitle ¶
func (a *AlertValueDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*AlertValueDefinition) HasTitleAlign ¶
func (a *AlertValueDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*AlertValueDefinition) HasTitleSize ¶
func (a *AlertValueDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*AlertValueDefinition) HasType ¶
func (a *AlertValueDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*AlertValueDefinition) HasUnit ¶
func (a *AlertValueDefinition) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (*AlertValueDefinition) SetAlertId ¶
func (a *AlertValueDefinition) SetAlertId(v string)
SetAlertId allocates a new a.AlertId and returns the pointer to it.
func (*AlertValueDefinition) SetPrecision ¶
func (a *AlertValueDefinition) SetPrecision(v int)
SetPrecision allocates a new a.Precision and returns the pointer to it.
func (*AlertValueDefinition) SetTextAlign ¶
func (a *AlertValueDefinition) SetTextAlign(v string)
SetTextAlign allocates a new a.TextAlign and returns the pointer to it.
func (*AlertValueDefinition) SetTitle ¶
func (a *AlertValueDefinition) SetTitle(v string)
SetTitle allocates a new a.Title and returns the pointer to it.
func (*AlertValueDefinition) SetTitleAlign ¶
func (a *AlertValueDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
func (*AlertValueDefinition) SetTitleSize ¶
func (a *AlertValueDefinition) SetTitleSize(v string)
SetTitleSize allocates a new a.TitleSize and returns the pointer to it.
func (*AlertValueDefinition) SetType ¶
func (a *AlertValueDefinition) SetType(v string)
SetType allocates a new a.Type and returns the pointer to it.
func (*AlertValueDefinition) SetUnit ¶
func (a *AlertValueDefinition) SetUnit(v string)
SetUnit allocates a new a.Unit and returns the pointer to it.
type ApmOrLogQueryCompute ¶
type ApmOrLogQueryCompute struct { Aggregation *string `json:"aggregation"` Facet *string `json:"facet,omitempty"` Interval *int `json:"interval,omitempty"` }
func (*ApmOrLogQueryCompute) GetAggregation ¶
func (a *ApmOrLogQueryCompute) GetAggregation() string
GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
func (*ApmOrLogQueryCompute) GetAggregationOk ¶
func (a *ApmOrLogQueryCompute) GetAggregationOk() (string, bool)
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 (*ApmOrLogQueryCompute) GetFacet ¶
func (a *ApmOrLogQueryCompute) GetFacet() string
GetFacet returns the Facet field if non-nil, zero value otherwise.
func (*ApmOrLogQueryCompute) GetFacetOk ¶
func (a *ApmOrLogQueryCompute) GetFacetOk() (string, bool)
GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ApmOrLogQueryCompute) GetInterval ¶
func (a *ApmOrLogQueryCompute) GetInterval() int
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (*ApmOrLogQueryCompute) GetIntervalOk ¶
func (a *ApmOrLogQueryCompute) GetIntervalOk() (int, bool)
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 (*ApmOrLogQueryCompute) HasAggregation ¶
func (a *ApmOrLogQueryCompute) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*ApmOrLogQueryCompute) HasFacet ¶
func (a *ApmOrLogQueryCompute) HasFacet() bool
HasFacet returns a boolean if a field has been set.
func (*ApmOrLogQueryCompute) HasInterval ¶
func (a *ApmOrLogQueryCompute) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*ApmOrLogQueryCompute) SetAggregation ¶
func (a *ApmOrLogQueryCompute) SetAggregation(v string)
SetAggregation allocates a new a.Aggregation and returns the pointer to it.
func (*ApmOrLogQueryCompute) SetFacet ¶
func (a *ApmOrLogQueryCompute) SetFacet(v string)
SetFacet allocates a new a.Facet and returns the pointer to it.
func (*ApmOrLogQueryCompute) SetInterval ¶
func (a *ApmOrLogQueryCompute) SetInterval(v int)
SetInterval allocates a new a.Interval and returns the pointer to it.
type ApmOrLogQueryGroupBy ¶
type ApmOrLogQueryGroupBy struct { Facet *string `json:"facet"` Limit *int `json:"limit,omitempty"` Sort *ApmOrLogQueryGroupBySort `json:"sort,omitempty"` }
func (*ApmOrLogQueryGroupBy) GetFacet ¶
func (a *ApmOrLogQueryGroupBy) GetFacet() string
GetFacet returns the Facet field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBy) GetFacetOk ¶
func (a *ApmOrLogQueryGroupBy) GetFacetOk() (string, bool)
GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ApmOrLogQueryGroupBy) GetLimit ¶
func (a *ApmOrLogQueryGroupBy) GetLimit() int
GetLimit returns the Limit field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBy) GetLimitOk ¶
func (a *ApmOrLogQueryGroupBy) 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 (*ApmOrLogQueryGroupBy) GetSort ¶
func (a *ApmOrLogQueryGroupBy) GetSort() ApmOrLogQueryGroupBySort
GetSort returns the Sort field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBy) GetSortOk ¶
func (a *ApmOrLogQueryGroupBy) GetSortOk() (ApmOrLogQueryGroupBySort, bool)
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 (*ApmOrLogQueryGroupBy) HasFacet ¶
func (a *ApmOrLogQueryGroupBy) HasFacet() bool
HasFacet returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBy) HasLimit ¶
func (a *ApmOrLogQueryGroupBy) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBy) HasSort ¶
func (a *ApmOrLogQueryGroupBy) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBy) SetFacet ¶
func (a *ApmOrLogQueryGroupBy) SetFacet(v string)
SetFacet allocates a new a.Facet and returns the pointer to it.
func (*ApmOrLogQueryGroupBy) SetLimit ¶
func (a *ApmOrLogQueryGroupBy) SetLimit(v int)
SetLimit allocates a new a.Limit and returns the pointer to it.
func (*ApmOrLogQueryGroupBy) SetSort ¶
func (a *ApmOrLogQueryGroupBy) SetSort(v ApmOrLogQueryGroupBySort)
SetSort allocates a new a.Sort and returns the pointer to it.
type ApmOrLogQueryGroupBySort ¶
type ApmOrLogQueryGroupBySort struct { Aggregation *string `json:"aggregation"` Order *string `json:"order"` Facet *string `json:"facet,omitempty"` }
func (*ApmOrLogQueryGroupBySort) GetAggregation ¶
func (a *ApmOrLogQueryGroupBySort) GetAggregation() string
GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBySort) GetAggregationOk ¶
func (a *ApmOrLogQueryGroupBySort) GetAggregationOk() (string, bool)
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 (*ApmOrLogQueryGroupBySort) GetFacet ¶
func (a *ApmOrLogQueryGroupBySort) GetFacet() string
GetFacet returns the Facet field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBySort) GetFacetOk ¶
func (a *ApmOrLogQueryGroupBySort) GetFacetOk() (string, bool)
GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ApmOrLogQueryGroupBySort) GetOrder ¶
func (a *ApmOrLogQueryGroupBySort) GetOrder() string
GetOrder returns the Order field if non-nil, zero value otherwise.
func (*ApmOrLogQueryGroupBySort) GetOrderOk ¶
func (a *ApmOrLogQueryGroupBySort) GetOrderOk() (string, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ApmOrLogQueryGroupBySort) HasAggregation ¶
func (a *ApmOrLogQueryGroupBySort) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBySort) HasFacet ¶
func (a *ApmOrLogQueryGroupBySort) HasFacet() bool
HasFacet returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBySort) HasOrder ¶
func (a *ApmOrLogQueryGroupBySort) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*ApmOrLogQueryGroupBySort) SetAggregation ¶
func (a *ApmOrLogQueryGroupBySort) SetAggregation(v string)
SetAggregation allocates a new a.Aggregation and returns the pointer to it.
func (*ApmOrLogQueryGroupBySort) SetFacet ¶
func (a *ApmOrLogQueryGroupBySort) SetFacet(v string)
SetFacet allocates a new a.Facet and returns the pointer to it.
func (*ApmOrLogQueryGroupBySort) SetOrder ¶
func (a *ApmOrLogQueryGroupBySort) SetOrder(v string)
SetOrder allocates a new a.Order and returns the pointer to it.
type ApmOrLogQuerySearch ¶
type ApmOrLogQuerySearch struct {
Query *string `json:"query"`
}
func (*ApmOrLogQuerySearch) GetQuery ¶
func (a *ApmOrLogQuerySearch) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*ApmOrLogQuerySearch) GetQueryOk ¶
func (a *ApmOrLogQuerySearch) 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 (*ApmOrLogQuerySearch) HasQuery ¶
func (a *ApmOrLogQuerySearch) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*ApmOrLogQuerySearch) SetQuery ¶
func (a *ApmOrLogQuerySearch) SetQuery(v string)
SetQuery allocates a new a.Query and returns the pointer to it.
type Board ¶
type Board struct { Title *string `json:"title"` Widgets []BoardWidget `json:"widgets"` LayoutType *string `json:"layout_type"` Id *string `json:"id,omitempty"` Description *string `json:"description,omitempty"` TemplateVariables []TemplateVariable `json:"template_variables,omitempty"` IsReadOnly *bool `json:"is_read_only,omitempty"` NotifyList []string `json:"notify_list,omitempty"` AuthorHandle *string `json:"author_handle,omitempty"` Url *string `json:"url,omitempty"` CreatedAt *string `json:"created_at,omitempty"` ModifiedAt *string `json:"modified_at,omitempty"` }
Board represents a user created dashboard. This is the full dashboard struct when we load a dashboard in detail.
func (*Board) GetAuthorHandle ¶
GetAuthorHandle returns the AuthorHandle field if non-nil, zero value otherwise.
func (*Board) GetAuthorHandleOk ¶
GetAuthorHandleOk returns a tuple with the AuthorHandle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Board) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (*Board) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Board) GetDescription ¶
GetDescription returns the Description field if non-nil, zero value otherwise.
func (*Board) 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 (*Board) 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 (*Board) GetIsReadOnly ¶
GetIsReadOnly returns the IsReadOnly field if non-nil, zero value otherwise.
func (*Board) GetIsReadOnlyOk ¶
GetIsReadOnlyOk returns a tuple with the IsReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Board) GetLayoutType ¶
GetLayoutType returns the LayoutType field if non-nil, zero value otherwise.
func (*Board) GetLayoutTypeOk ¶
GetLayoutTypeOk returns a tuple with the LayoutType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Board) GetModifiedAt ¶
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (*Board) GetModifiedAtOk ¶
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Board) 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 (*Board) 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 (*Board) HasAuthorHandle ¶
HasAuthorHandle returns a boolean if a field has been set.
func (*Board) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Board) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Board) HasIsReadOnly ¶
HasIsReadOnly returns a boolean if a field has been set.
func (*Board) HasLayoutType ¶
HasLayoutType returns a boolean if a field has been set.
func (*Board) HasModifiedAt ¶
HasModifiedAt returns a boolean if a field has been set.
func (*Board) SetAuthorHandle ¶
SetAuthorHandle allocates a new b.AuthorHandle and returns the pointer to it.
func (*Board) SetCreatedAt ¶
SetCreatedAt allocates a new b.CreatedAt and returns the pointer to it.
func (*Board) SetDescription ¶
SetDescription allocates a new b.Description and returns the pointer to it.
func (*Board) SetIsReadOnly ¶
SetIsReadOnly allocates a new b.IsReadOnly and returns the pointer to it.
func (*Board) SetLayoutType ¶
SetLayoutType allocates a new b.LayoutType and returns the pointer to it.
func (*Board) SetModifiedAt ¶
SetModifiedAt allocates a new b.ModifiedAt and returns the pointer to it.
type BoardWidget ¶
type BoardWidget struct { Definition interface{} `json:"definition"` Id *int `json:"id,omitempty"` Layout *WidgetLayout `json:"layout,omitempty"` }
BoardWidget represents the structure of any widget. However, the widget Definition structure is different according to widget type.
func (*BoardWidget) GetId ¶
func (b *BoardWidget) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*BoardWidget) GetIdOk ¶
func (b *BoardWidget) 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 (*BoardWidget) GetLayout ¶
func (b *BoardWidget) GetLayout() WidgetLayout
GetLayout returns the Layout field if non-nil, zero value otherwise.
func (*BoardWidget) GetLayoutOk ¶
func (b *BoardWidget) GetLayoutOk() (WidgetLayout, bool)
GetLayoutOk returns a tuple with the Layout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*BoardWidget) GetWidgetType ¶
func (widget *BoardWidget) GetWidgetType() (string, error)
func (*BoardWidget) HasId ¶
func (b *BoardWidget) HasId() bool
HasId returns a boolean if a field has been set.
func (*BoardWidget) HasLayout ¶
func (b *BoardWidget) HasLayout() bool
HasLayout returns a boolean if a field has been set.
func (*BoardWidget) SetId ¶
func (b *BoardWidget) SetId(v int)
SetId allocates a new b.Id and returns the pointer to it.
func (*BoardWidget) SetLayout ¶
func (b *BoardWidget) SetLayout(v WidgetLayout)
SetLayout allocates a new b.Layout and returns the pointer to it.
func (*BoardWidget) UnmarshalJSON ¶
func (widget *BoardWidget) UnmarshalJSON(data []byte) error
UnmarshalJSON is a Custom Unmarshal for BoardWidget. If first tries to unmarshal the data in a light struct that allows to get the widget type. Then based on the widget type, it will try to unmarshal the data using the corresponding widget struct.
type ChangeDefinition ¶
type ChangeDefinition struct { Type *string `json:"type"` Requests []ChangeRequest `json:"requests"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
ChangeDefinition represents the definition for a Change widget
func (*ChangeDefinition) GetTime ¶
func (c *ChangeDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*ChangeDefinition) GetTimeOk ¶
func (c *ChangeDefinition) GetTimeOk() (WidgetTime, bool)
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 (*ChangeDefinition) GetTitle ¶
func (c *ChangeDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ChangeDefinition) GetTitleAlign ¶
func (c *ChangeDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ChangeDefinition) GetTitleAlignOk ¶
func (c *ChangeDefinition) GetTitleAlignOk() (string, bool)
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 (*ChangeDefinition) GetTitleOk ¶
func (c *ChangeDefinition) 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 (*ChangeDefinition) GetTitleSize ¶
func (c *ChangeDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ChangeDefinition) GetTitleSizeOk ¶
func (c *ChangeDefinition) GetTitleSizeOk() (string, bool)
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 (*ChangeDefinition) GetType ¶
func (c *ChangeDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ChangeDefinition) GetTypeOk ¶
func (c *ChangeDefinition) 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 (*ChangeDefinition) HasTime ¶
func (c *ChangeDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*ChangeDefinition) HasTitle ¶
func (c *ChangeDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ChangeDefinition) HasTitleAlign ¶
func (c *ChangeDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ChangeDefinition) HasTitleSize ¶
func (c *ChangeDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ChangeDefinition) HasType ¶
func (c *ChangeDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*ChangeDefinition) SetTime ¶
func (c *ChangeDefinition) SetTime(v WidgetTime)
SetTime allocates a new c.Time and returns the pointer to it.
func (*ChangeDefinition) SetTitle ¶
func (c *ChangeDefinition) SetTitle(v string)
SetTitle allocates a new c.Title and returns the pointer to it.
func (*ChangeDefinition) SetTitleAlign ¶
func (c *ChangeDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
func (*ChangeDefinition) SetTitleSize ¶
func (c *ChangeDefinition) SetTitleSize(v string)
SetTitleSize allocates a new c.TitleSize and returns the pointer to it.
func (*ChangeDefinition) SetType ¶
func (c *ChangeDefinition) SetType(v string)
SetType allocates a new c.Type and returns the pointer to it.
type ChangeRequest ¶
type ChangeRequest struct { ChangeType *string `json:"change_type,omitempty"` CompareTo *string `json:"compare_to,omitempty"` IncreaseGood *bool `json:"increase_good,omitempty"` OrderBy *string `json:"order_by,omitempty"` OrderDir *string `json:"order_dir,omitempty"` ShowPresent *bool `json:"show_present,omitempty"` // A ChangeRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*ChangeRequest) GetApmQuery ¶
func (c *ChangeRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*ChangeRequest) GetApmQueryOk ¶
func (c *ChangeRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeRequest) GetChangeType ¶
func (c *ChangeRequest) GetChangeType() string
GetChangeType returns the ChangeType field if non-nil, zero value otherwise.
func (*ChangeRequest) GetChangeTypeOk ¶
func (c *ChangeRequest) 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 (*ChangeRequest) GetCompareTo ¶
func (c *ChangeRequest) GetCompareTo() string
GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.
func (*ChangeRequest) GetCompareToOk ¶
func (c *ChangeRequest) 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 (*ChangeRequest) GetIncreaseGood ¶
func (c *ChangeRequest) GetIncreaseGood() bool
GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.
func (*ChangeRequest) GetIncreaseGoodOk ¶
func (c *ChangeRequest) 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 (*ChangeRequest) GetLogQuery ¶
func (c *ChangeRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*ChangeRequest) GetLogQueryOk ¶
func (c *ChangeRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeRequest) GetMetricQuery ¶
func (c *ChangeRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*ChangeRequest) GetMetricQueryOk ¶
func (c *ChangeRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeRequest) GetOrderBy ¶
func (c *ChangeRequest) GetOrderBy() string
GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.
func (*ChangeRequest) GetOrderByOk ¶
func (c *ChangeRequest) 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 (*ChangeRequest) GetOrderDir ¶
func (c *ChangeRequest) GetOrderDir() string
GetOrderDir returns the OrderDir field if non-nil, zero value otherwise.
func (*ChangeRequest) GetOrderDirOk ¶
func (c *ChangeRequest) 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 (*ChangeRequest) GetProcessQuery ¶
func (c *ChangeRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*ChangeRequest) GetProcessQueryOk ¶
func (c *ChangeRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeRequest) GetShowPresent ¶
func (c *ChangeRequest) GetShowPresent() bool
GetShowPresent returns the ShowPresent field if non-nil, zero value otherwise.
func (*ChangeRequest) GetShowPresentOk ¶
func (c *ChangeRequest) GetShowPresentOk() (bool, bool)
GetShowPresentOk returns a tuple with the ShowPresent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ChangeRequest) HasApmQuery ¶
func (c *ChangeRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*ChangeRequest) HasChangeType ¶
func (c *ChangeRequest) HasChangeType() bool
HasChangeType returns a boolean if a field has been set.
func (*ChangeRequest) HasCompareTo ¶
func (c *ChangeRequest) HasCompareTo() bool
HasCompareTo returns a boolean if a field has been set.
func (*ChangeRequest) HasIncreaseGood ¶
func (c *ChangeRequest) HasIncreaseGood() bool
HasIncreaseGood returns a boolean if a field has been set.
func (*ChangeRequest) HasLogQuery ¶
func (c *ChangeRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*ChangeRequest) HasMetricQuery ¶
func (c *ChangeRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*ChangeRequest) HasOrderBy ¶
func (c *ChangeRequest) HasOrderBy() bool
HasOrderBy returns a boolean if a field has been set.
func (*ChangeRequest) HasOrderDir ¶
func (c *ChangeRequest) HasOrderDir() bool
HasOrderDir returns a boolean if a field has been set.
func (*ChangeRequest) HasProcessQuery ¶
func (c *ChangeRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*ChangeRequest) HasShowPresent ¶
func (c *ChangeRequest) HasShowPresent() bool
HasShowPresent returns a boolean if a field has been set.
func (*ChangeRequest) SetApmQuery ¶
func (c *ChangeRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new c.ApmQuery and returns the pointer to it.
func (*ChangeRequest) SetChangeType ¶
func (c *ChangeRequest) SetChangeType(v string)
SetChangeType allocates a new c.ChangeType and returns the pointer to it.
func (*ChangeRequest) SetCompareTo ¶
func (c *ChangeRequest) SetCompareTo(v string)
SetCompareTo allocates a new c.CompareTo and returns the pointer to it.
func (*ChangeRequest) SetIncreaseGood ¶
func (c *ChangeRequest) SetIncreaseGood(v bool)
SetIncreaseGood allocates a new c.IncreaseGood and returns the pointer to it.
func (*ChangeRequest) SetLogQuery ¶
func (c *ChangeRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new c.LogQuery and returns the pointer to it.
func (*ChangeRequest) SetMetricQuery ¶
func (c *ChangeRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new c.MetricQuery and returns the pointer to it.
func (*ChangeRequest) SetOrderBy ¶
func (c *ChangeRequest) SetOrderBy(v string)
SetOrderBy allocates a new c.OrderBy and returns the pointer to it.
func (*ChangeRequest) SetOrderDir ¶
func (c *ChangeRequest) SetOrderDir(v string)
SetOrderDir allocates a new c.OrderDir and returns the pointer to it.
func (*ChangeRequest) SetProcessQuery ¶
func (c *ChangeRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new c.ProcessQuery and returns the pointer to it.
func (*ChangeRequest) SetShowPresent ¶
func (c *ChangeRequest) SetShowPresent(v bool)
SetShowPresent allocates a new c.ShowPresent 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 CheckStatusDefinition ¶
type CheckStatusDefinition struct { Type *string `json:"type"` Check *string `json:"check"` Grouping *string `json:"grouping"` Group *string `json:"group,omitempty"` GroupBy []string `json:"group_by,omitempty"` Tags []string `json:"tags,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
CheckStatusDefinition represents the definition for a Check Status widget
func (*CheckStatusDefinition) GetCheck ¶
func (c *CheckStatusDefinition) GetCheck() string
GetCheck returns the Check field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetCheckOk ¶
func (c *CheckStatusDefinition) GetCheckOk() (string, bool)
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 (*CheckStatusDefinition) GetGroup ¶
func (c *CheckStatusDefinition) GetGroup() string
GetGroup returns the Group field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetGroupOk ¶
func (c *CheckStatusDefinition) GetGroupOk() (string, bool)
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 (*CheckStatusDefinition) GetGrouping ¶
func (c *CheckStatusDefinition) GetGrouping() string
GetGrouping returns the Grouping field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetGroupingOk ¶
func (c *CheckStatusDefinition) GetGroupingOk() (string, bool)
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 (*CheckStatusDefinition) GetTime ¶
func (c *CheckStatusDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetTimeOk ¶
func (c *CheckStatusDefinition) GetTimeOk() (WidgetTime, bool)
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 (*CheckStatusDefinition) GetTitle ¶
func (c *CheckStatusDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetTitleAlign ¶
func (c *CheckStatusDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetTitleAlignOk ¶
func (c *CheckStatusDefinition) GetTitleAlignOk() (string, bool)
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 (*CheckStatusDefinition) GetTitleOk ¶
func (c *CheckStatusDefinition) 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 (*CheckStatusDefinition) GetTitleSize ¶
func (c *CheckStatusDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetTitleSizeOk ¶
func (c *CheckStatusDefinition) GetTitleSizeOk() (string, bool)
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 (*CheckStatusDefinition) GetType ¶
func (c *CheckStatusDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*CheckStatusDefinition) GetTypeOk ¶
func (c *CheckStatusDefinition) 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 (*CheckStatusDefinition) HasCheck ¶
func (c *CheckStatusDefinition) HasCheck() bool
HasCheck returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasGroup ¶
func (c *CheckStatusDefinition) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasGrouping ¶
func (c *CheckStatusDefinition) HasGrouping() bool
HasGrouping returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasTime ¶
func (c *CheckStatusDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasTitle ¶
func (c *CheckStatusDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasTitleAlign ¶
func (c *CheckStatusDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasTitleSize ¶
func (c *CheckStatusDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*CheckStatusDefinition) HasType ¶
func (c *CheckStatusDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*CheckStatusDefinition) SetCheck ¶
func (c *CheckStatusDefinition) SetCheck(v string)
SetCheck allocates a new c.Check and returns the pointer to it.
func (*CheckStatusDefinition) SetGroup ¶
func (c *CheckStatusDefinition) SetGroup(v string)
SetGroup allocates a new c.Group and returns the pointer to it.
func (*CheckStatusDefinition) SetGrouping ¶
func (c *CheckStatusDefinition) SetGrouping(v string)
SetGrouping allocates a new c.Grouping and returns the pointer to it.
func (*CheckStatusDefinition) SetTime ¶
func (c *CheckStatusDefinition) SetTime(v WidgetTime)
SetTime allocates a new c.Time and returns the pointer to it.
func (*CheckStatusDefinition) SetTitle ¶
func (c *CheckStatusDefinition) SetTitle(v string)
SetTitle allocates a new c.Title and returns the pointer to it.
func (*CheckStatusDefinition) SetTitleAlign ¶
func (c *CheckStatusDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
func (*CheckStatusDefinition) SetTitleSize ¶
func (c *CheckStatusDefinition) SetTitleSize(v string)
SetTitleSize allocates a new c.TitleSize and returns the pointer to it.
func (*CheckStatusDefinition) SetType ¶
func (c *CheckStatusDefinition) SetType(v string)
SetType allocates a new c.Type 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) CreateAPIKey ¶
CreateAPIKey creates an API key from given struct and fills the rest of its fields, or returns an error on failure
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) CreateBoard ¶
CreateBoard creates a new dashboard when given a Board struct.
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) CreateIntegrationGCP ¶
func (client *Client) CreateIntegrationGCP(cir *IntegrationGCPCreateRequest) error
CreateIntegrationGCP creates a new Google Cloud Platform Integration.
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) CreateSyntheticsTest ¶
func (client *Client) CreateSyntheticsTest(syntheticsTest *SyntheticsTest) (*SyntheticsTest, error)
CreateSyntheticsTest creates a test
func (*Client) CreateUser ¶
CreateUser creates an user account for an email address
func (*Client) DeleteAPIKey ¶
DeleteAPIKey deletes API key given by key, returns an error
func (*Client) DeleteAlert ¶
DeleteAlert removes an alert from the system.
func (*Client) DeleteBoard ¶
DeleteBoard deletes a dashboard by the identifier.
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) DeleteIntegrationGCP ¶
func (client *Client) DeleteIntegrationGCP(cir *IntegrationGCPDeleteRequest) error
DeleteIntegrationGCP deletes a Google Cloud Platform 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) DeleteSyntheticsTests ¶
DeleteSyntheticsTests deletes tests
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) GetAPIKeys ¶
GetAPIKeys returns all API keys or error on failure
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 ¶
GetMonitorsByName retrieves monitors by name
func (*Client) GetMonitorsByTags ¶
GetMonitorsByTags retrieves monitors by a slice of tags
func (*Client) GetScreenboard ¶
func (client *Client) GetScreenboard(id interface{}) (*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) GetSyntheticsBrowserDevices ¶
func (client *Client) GetSyntheticsBrowserDevices() ([]SyntheticsDevice, error)
GetSyntheticsBrowserDevices get all test devices (for browser)
func (*Client) GetSyntheticsLocations ¶
func (client *Client) GetSyntheticsLocations() ([]SyntheticsLocation, error)
GetSyntheticsLocations get all test locations
func (*Client) GetSyntheticsTest ¶
func (client *Client) GetSyntheticsTest(publicId string) (*SyntheticsTest, error)
GetSyntheticsTest get test by public id
func (*Client) GetSyntheticsTests ¶
func (client *Client) GetSyntheticsTests() ([]SyntheticsTest, error)
GetSyntheticsTests get all tests of type API
func (*Client) GetSyntheticsTestsByType ¶
func (client *Client) GetSyntheticsTestsByType(testType string) ([]SyntheticsTest, error)
GetSyntheticsTestsByType get all tests by type (e.g. api or browser)
func (*Client) InviteUsers ¶
InviteUsers takes a slice of email addresses and sends invitations to them.
func (*Client) ListIntegrationGCP ¶
func (client *Client) ListIntegrationGCP() ([]*IntegrationGCP, error)
ListIntegrationGCP gets all Google Cloud Platform Integrations.
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) PauseSyntheticsTest ¶
PauseSyntheticsTest set a test status to live
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) ResumeSyntheticsTest ¶
ResumeSyntheticsTest set a test status to live
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) UpdateAPIKey ¶
UpdateAPIKey updates given API key (only Name can be updated), returns an error
func (*Client) UpdateAlert ¶
UpdateAlert takes an alert that was previously retrieved through some method and sends it back to the server.
func (*Client) UpdateBoard ¶
UpdateBoard takes a Board struct and persists it back to the server. Use this if you've updated your local and need to push it back.
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) UpdateIntegrationGCP ¶
func (client *Client) UpdateIntegrationGCP(cir *IntegrationGCPUpdateRequest) error
UpdateIntegrationGCP updates a Google Cloud Platform Integration.
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) UpdateSyntheticsTest ¶
func (client *Client) UpdateSyntheticsTest(publicId string, syntheticsTest *SyntheticsTest) (*SyntheticsTest, error)
UpdateSyntheticsTest updates a test
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 CreatedBy ¶
type CreatedBy struct { Disabled *bool `json:"disabled,omitempty"` Handle *string `json:"handle,omitempty"` Name *string `json:"name,omitempty"` IsAdmin *bool `json:"is_admin,omitempty"` Role *string `json:"role,omitempty"` AccessRole *string `json:"access_role,omitempty"` Verified *bool `json:"verified,omitempty"` Email *string `json:"email,omitempty"` Icon *string `json:"icon,omitempty"` }
CreatedBy represents a field from DashboardLite.
func (*CreatedBy) GetAccessRole ¶
GetAccessRole returns the AccessRole field if non-nil, zero value otherwise.
func (*CreatedBy) 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 (*CreatedBy) GetDisabled ¶
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
func (*CreatedBy) 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 (*CreatedBy) 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 (*CreatedBy) 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 (*CreatedBy) GetIconOk ¶
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*CreatedBy) GetIsAdmin ¶
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
func (*CreatedBy) 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 (*CreatedBy) 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 (*CreatedBy) 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 (*CreatedBy) GetVerified ¶
GetVerified returns the Verified field if non-nil, zero value otherwise.
func (*CreatedBy) 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 (*CreatedBy) HasAccessRole ¶
HasAccessRole returns a boolean if a field has been set.
func (*CreatedBy) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (*CreatedBy) HasIsAdmin ¶
HasIsAdmin returns a boolean if a field has been set.
func (*CreatedBy) HasVerified ¶
HasVerified returns a boolean if a field has been set.
func (*CreatedBy) SetAccessRole ¶
SetAccessRole allocates a new c.AccessRole and returns the pointer to it.
func (*CreatedBy) SetDisabled ¶
SetDisabled allocates a new c.Disabled and returns the pointer to it.
func (*CreatedBy) SetIsAdmin ¶
SetIsAdmin allocates a new c.IsAdmin and returns the pointer to it.
func (*CreatedBy) SetVerified ¶
SetVerified allocates a new c.Verified 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"` NewId *string `json:"new_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) GetNewIdOk ¶
GetNewIdOk returns a tuple with the NewId 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"` ReadOnly *bool `json:"read_only,omitempty"` Created *string `json:"created,omitempty"` Modified *string `json:"modified,omitempty"` CreatedBy *CreatedBy `json:"created_by,omitempty"` }
DashboardLite represents a user created dashboard. This is the mini struct when we load the summaries.
func (*DashboardLite) GetCreated ¶
func (d *DashboardLite) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (*DashboardLite) GetCreatedBy ¶
func (d *DashboardLite) GetCreatedBy() CreatedBy
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (*DashboardLite) GetCreatedByOk ¶
func (d *DashboardLite) GetCreatedByOk() (CreatedBy, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) GetCreatedOk ¶
func (d *DashboardLite) GetCreatedOk() (string, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
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) GetModified ¶
func (d *DashboardLite) GetModified() string
GetModified returns the Modified field if non-nil, zero value otherwise.
func (*DashboardLite) GetModifiedOk ¶
func (d *DashboardLite) GetModifiedOk() (string, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DashboardLite) GetReadOnly ¶
func (d *DashboardLite) GetReadOnly() bool
GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
func (*DashboardLite) GetReadOnlyOk ¶
func (d *DashboardLite) 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 (*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) HasCreated ¶
func (d *DashboardLite) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*DashboardLite) HasCreatedBy ¶
func (d *DashboardLite) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field 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) HasModified ¶
func (d *DashboardLite) HasModified() bool
HasModified returns a boolean if a field has been set.
func (*DashboardLite) HasReadOnly ¶
func (d *DashboardLite) HasReadOnly() bool
HasReadOnly 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) SetCreated ¶
func (d *DashboardLite) SetCreated(v string)
SetCreated allocates a new d.Created and returns the pointer to it.
func (*DashboardLite) SetCreatedBy ¶
func (d *DashboardLite) SetCreatedBy(v CreatedBy)
SetCreatedBy allocates a new d.CreatedBy and returns the pointer to it.
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) SetModified ¶
func (d *DashboardLite) SetModified(v string)
SetModified allocates a new d.Modified and returns the pointer to it.
func (*DashboardLite) SetReadOnly ¶
func (d *DashboardLite) SetReadOnly(v bool)
SetReadOnly allocates a new d.ReadOnly 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 DeleteSyntheticsTestsPayload ¶
type DeleteSyntheticsTestsPayload struct {
PublicIds []string `json:"public_ids,omitempty"`
}
string array of public_id
type DistributionDefinition ¶
type DistributionDefinition struct { Type *string `json:"type"` Requests []DistributionRequest `json:"requests"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
DistributionDefinition represents the definition for a Distribution widget
func (*DistributionDefinition) GetTime ¶
func (d *DistributionDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*DistributionDefinition) GetTimeOk ¶
func (d *DistributionDefinition) GetTimeOk() (WidgetTime, bool)
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 (*DistributionDefinition) GetTitle ¶
func (d *DistributionDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*DistributionDefinition) GetTitleAlign ¶
func (d *DistributionDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*DistributionDefinition) GetTitleAlignOk ¶
func (d *DistributionDefinition) GetTitleAlignOk() (string, bool)
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 (*DistributionDefinition) GetTitleOk ¶
func (d *DistributionDefinition) 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 (*DistributionDefinition) GetTitleSize ¶
func (d *DistributionDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*DistributionDefinition) GetTitleSizeOk ¶
func (d *DistributionDefinition) GetTitleSizeOk() (string, bool)
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 (*DistributionDefinition) GetType ¶
func (d *DistributionDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*DistributionDefinition) GetTypeOk ¶
func (d *DistributionDefinition) 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 (*DistributionDefinition) HasTime ¶
func (d *DistributionDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*DistributionDefinition) HasTitle ¶
func (d *DistributionDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*DistributionDefinition) HasTitleAlign ¶
func (d *DistributionDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*DistributionDefinition) HasTitleSize ¶
func (d *DistributionDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*DistributionDefinition) HasType ¶
func (d *DistributionDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*DistributionDefinition) SetTime ¶
func (d *DistributionDefinition) SetTime(v WidgetTime)
SetTime allocates a new d.Time and returns the pointer to it.
func (*DistributionDefinition) SetTitle ¶
func (d *DistributionDefinition) SetTitle(v string)
SetTitle allocates a new d.Title and returns the pointer to it.
func (*DistributionDefinition) SetTitleAlign ¶
func (d *DistributionDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new d.TitleAlign and returns the pointer to it.
func (*DistributionDefinition) SetTitleSize ¶
func (d *DistributionDefinition) SetTitleSize(v string)
SetTitleSize allocates a new d.TitleSize and returns the pointer to it.
func (*DistributionDefinition) SetType ¶
func (d *DistributionDefinition) SetType(v string)
SetType allocates a new d.Type and returns the pointer to it.
type DistributionRequest ¶
type DistributionRequest struct { Style *WidgetRequestStyle `json:"style,omitempty"` // A DistributionRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*DistributionRequest) GetApmQuery ¶
func (d *DistributionRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*DistributionRequest) GetApmQueryOk ¶
func (d *DistributionRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DistributionRequest) GetLogQuery ¶
func (d *DistributionRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*DistributionRequest) GetLogQueryOk ¶
func (d *DistributionRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DistributionRequest) GetMetricQuery ¶
func (d *DistributionRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*DistributionRequest) GetMetricQueryOk ¶
func (d *DistributionRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DistributionRequest) GetProcessQuery ¶
func (d *DistributionRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*DistributionRequest) GetProcessQueryOk ¶
func (d *DistributionRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*DistributionRequest) GetStyle ¶
func (d *DistributionRequest) GetStyle() WidgetRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*DistributionRequest) GetStyleOk ¶
func (d *DistributionRequest) GetStyleOk() (WidgetRequestStyle, 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 (*DistributionRequest) HasApmQuery ¶
func (d *DistributionRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*DistributionRequest) HasLogQuery ¶
func (d *DistributionRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*DistributionRequest) HasMetricQuery ¶
func (d *DistributionRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*DistributionRequest) HasProcessQuery ¶
func (d *DistributionRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*DistributionRequest) HasStyle ¶
func (d *DistributionRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*DistributionRequest) SetApmQuery ¶
func (d *DistributionRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new d.ApmQuery and returns the pointer to it.
func (*DistributionRequest) SetLogQuery ¶
func (d *DistributionRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new d.LogQuery and returns the pointer to it.
func (*DistributionRequest) SetMetricQuery ¶
func (d *DistributionRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new d.MetricQuery and returns the pointer to it.
func (*DistributionRequest) SetProcessQuery ¶
func (d *DistributionRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new d.ProcessQuery and returns the pointer to it.
func (*DistributionRequest) SetStyle ¶
func (d *DistributionRequest) SetStyle(v WidgetRequestStyle)
SetStyle allocates a new d.Style and returns the pointer to it.
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"` Message *string `json:"message,omitempty"` MonitorId *int `json:"monitor_id,omitempty"` MonitorTags []string `json:"monitor_tags,omitempty"` ParentId *int `json:"parent_id,omitempty"` Timezone *string `jsonm:"timezone,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) GetParentId ¶
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (*Downtime) GetParentIdOk ¶
GetParentIdOk returns a tuple with the ParentId 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) GetTimezone ¶
GetTimezone returns the Timezone field if non-nil, zero value otherwise.
func (*Downtime) GetTimezoneOk ¶
GetTimezoneOk returns a tuple with the Timezone 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) HasParentId ¶
HasParentId returns a boolean if a field has been set.
func (*Downtime) HasRecurrence ¶
HasRecurrence returns a boolean if a field has been set.
func (*Downtime) HasTimezone ¶
HasTimezone 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) SetParentId ¶
SetParentId allocates a new d.ParentId 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.
func (*Downtime) SetTimezone ¶
SetTimezone allocates a new d.Timezone 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 EventStreamDefinition ¶
type EventStreamDefinition struct { Type *string `json:"type"` Query *string `json:"query"` EventSize *string `json:"event_size,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
EventStreamDefinition represents the definition for an Event Stream widget
func (*EventStreamDefinition) GetEventSize ¶
func (e *EventStreamDefinition) GetEventSize() string
GetEventSize returns the EventSize field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetEventSizeOk ¶
func (e *EventStreamDefinition) GetEventSizeOk() (string, bool)
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 (*EventStreamDefinition) GetQuery ¶
func (e *EventStreamDefinition) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetQueryOk ¶
func (e *EventStreamDefinition) 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 (*EventStreamDefinition) GetTime ¶
func (e *EventStreamDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetTimeOk ¶
func (e *EventStreamDefinition) GetTimeOk() (WidgetTime, bool)
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 (*EventStreamDefinition) GetTitle ¶
func (e *EventStreamDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetTitleAlign ¶
func (e *EventStreamDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetTitleAlignOk ¶
func (e *EventStreamDefinition) GetTitleAlignOk() (string, bool)
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 (*EventStreamDefinition) GetTitleOk ¶
func (e *EventStreamDefinition) 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 (*EventStreamDefinition) GetTitleSize ¶
func (e *EventStreamDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetTitleSizeOk ¶
func (e *EventStreamDefinition) GetTitleSizeOk() (string, bool)
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 (*EventStreamDefinition) GetType ¶
func (e *EventStreamDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*EventStreamDefinition) GetTypeOk ¶
func (e *EventStreamDefinition) 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 (*EventStreamDefinition) HasEventSize ¶
func (e *EventStreamDefinition) HasEventSize() bool
HasEventSize returns a boolean if a field has been set.
func (*EventStreamDefinition) HasQuery ¶
func (e *EventStreamDefinition) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*EventStreamDefinition) HasTime ¶
func (e *EventStreamDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*EventStreamDefinition) HasTitle ¶
func (e *EventStreamDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*EventStreamDefinition) HasTitleAlign ¶
func (e *EventStreamDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*EventStreamDefinition) HasTitleSize ¶
func (e *EventStreamDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*EventStreamDefinition) HasType ¶
func (e *EventStreamDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*EventStreamDefinition) SetEventSize ¶
func (e *EventStreamDefinition) SetEventSize(v string)
SetEventSize allocates a new e.EventSize and returns the pointer to it.
func (*EventStreamDefinition) SetQuery ¶
func (e *EventStreamDefinition) SetQuery(v string)
SetQuery allocates a new e.Query and returns the pointer to it.
func (*EventStreamDefinition) SetTime ¶
func (e *EventStreamDefinition) SetTime(v WidgetTime)
SetTime allocates a new e.Time and returns the pointer to it.
func (*EventStreamDefinition) SetTitle ¶
func (e *EventStreamDefinition) SetTitle(v string)
SetTitle allocates a new e.Title and returns the pointer to it.
func (*EventStreamDefinition) SetTitleAlign ¶
func (e *EventStreamDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
func (*EventStreamDefinition) SetTitleSize ¶
func (e *EventStreamDefinition) SetTitleSize(v string)
SetTitleSize allocates a new e.TitleSize and returns the pointer to it.
func (*EventStreamDefinition) SetType ¶
func (e *EventStreamDefinition) SetType(v string)
SetType allocates a new e.Type and returns the pointer to it.
type EventTimelineDefinition ¶
type EventTimelineDefinition struct { Type *string `json:"type"` Query *string `json:"query"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
EventTimelineDefinition represents the definition for an Event Timeline widget
func (*EventTimelineDefinition) GetQuery ¶
func (e *EventTimelineDefinition) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetQueryOk ¶
func (e *EventTimelineDefinition) 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 (*EventTimelineDefinition) GetTime ¶
func (e *EventTimelineDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetTimeOk ¶
func (e *EventTimelineDefinition) GetTimeOk() (WidgetTime, bool)
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 (*EventTimelineDefinition) GetTitle ¶
func (e *EventTimelineDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetTitleAlign ¶
func (e *EventTimelineDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetTitleAlignOk ¶
func (e *EventTimelineDefinition) GetTitleAlignOk() (string, bool)
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 (*EventTimelineDefinition) GetTitleOk ¶
func (e *EventTimelineDefinition) 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 (*EventTimelineDefinition) GetTitleSize ¶
func (e *EventTimelineDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetTitleSizeOk ¶
func (e *EventTimelineDefinition) GetTitleSizeOk() (string, bool)
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 (*EventTimelineDefinition) GetType ¶
func (e *EventTimelineDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*EventTimelineDefinition) GetTypeOk ¶
func (e *EventTimelineDefinition) 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 (*EventTimelineDefinition) HasQuery ¶
func (e *EventTimelineDefinition) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*EventTimelineDefinition) HasTime ¶
func (e *EventTimelineDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*EventTimelineDefinition) HasTitle ¶
func (e *EventTimelineDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*EventTimelineDefinition) HasTitleAlign ¶
func (e *EventTimelineDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*EventTimelineDefinition) HasTitleSize ¶
func (e *EventTimelineDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*EventTimelineDefinition) HasType ¶
func (e *EventTimelineDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*EventTimelineDefinition) SetQuery ¶
func (e *EventTimelineDefinition) SetQuery(v string)
SetQuery allocates a new e.Query and returns the pointer to it.
func (*EventTimelineDefinition) SetTime ¶
func (e *EventTimelineDefinition) SetTime(v WidgetTime)
SetTime allocates a new e.Time and returns the pointer to it.
func (*EventTimelineDefinition) SetTitle ¶
func (e *EventTimelineDefinition) SetTitle(v string)
SetTitle allocates a new e.Title and returns the pointer to it.
func (*EventTimelineDefinition) SetTitleAlign ¶
func (e *EventTimelineDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
func (*EventTimelineDefinition) SetTitleSize ¶
func (e *EventTimelineDefinition) SetTitleSize(v string)
SetTitleSize allocates a new e.TitleSize and returns the pointer to it.
func (*EventTimelineDefinition) SetType ¶
func (e *EventTimelineDefinition) SetType(v string)
SetType allocates a new e.Type and returns the pointer to it.
type FreeTextDefinition ¶
type FreeTextDefinition struct { Type *string `json:"type"` Text *string `json:"text"` Color *string `json:"color,omitempty"` FontSize *string `json:"font_size,omitempty"` TextAlign *string `json:"text_align,omitempty"` }
FreeTextDefinition represents the definition for a Free Text widget
func (*FreeTextDefinition) GetColor ¶
func (f *FreeTextDefinition) GetColor() string
GetColor returns the Color field if non-nil, zero value otherwise.
func (*FreeTextDefinition) GetColorOk ¶
func (f *FreeTextDefinition) 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 (*FreeTextDefinition) GetFontSize ¶
func (f *FreeTextDefinition) GetFontSize() string
GetFontSize returns the FontSize field if non-nil, zero value otherwise.
func (*FreeTextDefinition) GetFontSizeOk ¶
func (f *FreeTextDefinition) GetFontSizeOk() (string, bool)
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 (*FreeTextDefinition) GetText ¶
func (f *FreeTextDefinition) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
func (*FreeTextDefinition) GetTextAlign ¶
func (f *FreeTextDefinition) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*FreeTextDefinition) GetTextAlignOk ¶
func (f *FreeTextDefinition) 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 (*FreeTextDefinition) GetTextOk ¶
func (f *FreeTextDefinition) GetTextOk() (string, bool)
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 (*FreeTextDefinition) GetType ¶
func (f *FreeTextDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*FreeTextDefinition) GetTypeOk ¶
func (f *FreeTextDefinition) 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 (*FreeTextDefinition) HasColor ¶
func (f *FreeTextDefinition) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*FreeTextDefinition) HasFontSize ¶
func (f *FreeTextDefinition) HasFontSize() bool
HasFontSize returns a boolean if a field has been set.
func (*FreeTextDefinition) HasText ¶
func (f *FreeTextDefinition) HasText() bool
HasText returns a boolean if a field has been set.
func (*FreeTextDefinition) HasTextAlign ¶
func (f *FreeTextDefinition) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*FreeTextDefinition) HasType ¶
func (f *FreeTextDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*FreeTextDefinition) SetColor ¶
func (f *FreeTextDefinition) SetColor(v string)
SetColor allocates a new f.Color and returns the pointer to it.
func (*FreeTextDefinition) SetFontSize ¶
func (f *FreeTextDefinition) SetFontSize(v string)
SetFontSize allocates a new f.FontSize and returns the pointer to it.
func (*FreeTextDefinition) SetText ¶
func (f *FreeTextDefinition) SetText(v string)
SetText allocates a new f.Text and returns the pointer to it.
func (*FreeTextDefinition) SetTextAlign ¶
func (f *FreeTextDefinition) SetTextAlign(v string)
SetTextAlign allocates a new f.TextAlign and returns the pointer to it.
func (*FreeTextDefinition) SetType ¶
func (f *FreeTextDefinition) SetType(v string)
SetType allocates a new f.Type 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 *PrecisionT `json:"precision,omitempty"` CustomUnit *string `json:"custom_unit,omitempty"` // For hostmaps Style *Style `json:"style,omitempty"` Groups []string `json:"group,omitempty"` IncludeNoMetricHosts *bool `json:"noMetricHosts,omitempty"` Scopes []string `json:"scope,omitempty"` IncludeUngroupedHosts *bool `json:"noGroupHosts,omitempty"` 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() PrecisionT
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*GraphDefinition) GetPrecisionOk ¶
func (g *GraphDefinition) GetPrecisionOk() (PrecisionT, 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 PrecisionT)
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 GroupDefinition ¶
type GroupDefinition struct { Type *string `json:"type"` LayoutType *string `json:"layout_type"` Widgets []BoardWidget `json:"widgets"` Title *string `json:"title,omitempty"` }
GroupDefinition represents the definition for an Group widget
func (*GroupDefinition) GetLayoutType ¶
func (g *GroupDefinition) GetLayoutType() string
GetLayoutType returns the LayoutType field if non-nil, zero value otherwise.
func (*GroupDefinition) GetLayoutTypeOk ¶
func (g *GroupDefinition) GetLayoutTypeOk() (string, bool)
GetLayoutTypeOk returns a tuple with the LayoutType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*GroupDefinition) GetTitle ¶
func (g *GroupDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*GroupDefinition) GetTitleOk ¶
func (g *GroupDefinition) 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 (*GroupDefinition) GetType ¶
func (g *GroupDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*GroupDefinition) GetTypeOk ¶
func (g *GroupDefinition) 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 (*GroupDefinition) HasLayoutType ¶
func (g *GroupDefinition) HasLayoutType() bool
HasLayoutType returns a boolean if a field has been set.
func (*GroupDefinition) HasTitle ¶
func (g *GroupDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*GroupDefinition) HasType ¶
func (g *GroupDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*GroupDefinition) SetLayoutType ¶
func (g *GroupDefinition) SetLayoutType(v string)
SetLayoutType allocates a new g.LayoutType and returns the pointer to it.
func (*GroupDefinition) SetTitle ¶
func (g *GroupDefinition) SetTitle(v string)
SetTitle allocates a new g.Title and returns the pointer to it.
func (*GroupDefinition) SetType ¶
func (g *GroupDefinition) SetType(v string)
SetType allocates a new g.Type and returns the pointer to it.
type HeatmapDefinition ¶
type HeatmapDefinition struct { Type *string `json:"type"` Requests []HeatmapRequest `json:"requests"` Yaxis *WidgetAxis `json:"yaxis,omitempty"` Events []WidgetEvent `json:"events,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
HeatmapDefinition represents the definition for a Heatmap widget
func (*HeatmapDefinition) GetTime ¶
func (h *HeatmapDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetTimeOk ¶
func (h *HeatmapDefinition) GetTimeOk() (WidgetTime, bool)
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 (*HeatmapDefinition) GetTitle ¶
func (h *HeatmapDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetTitleAlign ¶
func (h *HeatmapDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetTitleAlignOk ¶
func (h *HeatmapDefinition) GetTitleAlignOk() (string, bool)
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 (*HeatmapDefinition) GetTitleOk ¶
func (h *HeatmapDefinition) 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 (*HeatmapDefinition) GetTitleSize ¶
func (h *HeatmapDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetTitleSizeOk ¶
func (h *HeatmapDefinition) GetTitleSizeOk() (string, bool)
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 (*HeatmapDefinition) GetType ¶
func (h *HeatmapDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetTypeOk ¶
func (h *HeatmapDefinition) 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 (*HeatmapDefinition) GetYaxis ¶
func (h *HeatmapDefinition) GetYaxis() WidgetAxis
GetYaxis returns the Yaxis field if non-nil, zero value otherwise.
func (*HeatmapDefinition) GetYaxisOk ¶
func (h *HeatmapDefinition) GetYaxisOk() (WidgetAxis, bool)
GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HeatmapDefinition) HasTime ¶
func (h *HeatmapDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*HeatmapDefinition) HasTitle ¶
func (h *HeatmapDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*HeatmapDefinition) HasTitleAlign ¶
func (h *HeatmapDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*HeatmapDefinition) HasTitleSize ¶
func (h *HeatmapDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*HeatmapDefinition) HasType ¶
func (h *HeatmapDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*HeatmapDefinition) HasYaxis ¶
func (h *HeatmapDefinition) HasYaxis() bool
HasYaxis returns a boolean if a field has been set.
func (*HeatmapDefinition) SetTime ¶
func (h *HeatmapDefinition) SetTime(v WidgetTime)
SetTime allocates a new h.Time and returns the pointer to it.
func (*HeatmapDefinition) SetTitle ¶
func (h *HeatmapDefinition) SetTitle(v string)
SetTitle allocates a new h.Title and returns the pointer to it.
func (*HeatmapDefinition) SetTitleAlign ¶
func (h *HeatmapDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.
func (*HeatmapDefinition) SetTitleSize ¶
func (h *HeatmapDefinition) SetTitleSize(v string)
SetTitleSize allocates a new h.TitleSize and returns the pointer to it.
func (*HeatmapDefinition) SetType ¶
func (h *HeatmapDefinition) SetType(v string)
SetType allocates a new h.Type and returns the pointer to it.
func (*HeatmapDefinition) SetYaxis ¶
func (h *HeatmapDefinition) SetYaxis(v WidgetAxis)
SetYaxis allocates a new h.Yaxis and returns the pointer to it.
type HeatmapRequest ¶
type HeatmapRequest struct { Style *WidgetRequestStyle `json:"style,omitempty"` // A HeatmapRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*HeatmapRequest) GetApmQuery ¶
func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*HeatmapRequest) GetApmQueryOk ¶
func (h *HeatmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HeatmapRequest) GetLogQuery ¶
func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*HeatmapRequest) GetLogQueryOk ¶
func (h *HeatmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HeatmapRequest) GetMetricQuery ¶
func (h *HeatmapRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*HeatmapRequest) GetMetricQueryOk ¶
func (h *HeatmapRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HeatmapRequest) GetProcessQuery ¶
func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*HeatmapRequest) GetProcessQueryOk ¶
func (h *HeatmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HeatmapRequest) GetStyle ¶
func (h *HeatmapRequest) GetStyle() WidgetRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*HeatmapRequest) GetStyleOk ¶
func (h *HeatmapRequest) GetStyleOk() (WidgetRequestStyle, 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 (*HeatmapRequest) HasApmQuery ¶
func (h *HeatmapRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*HeatmapRequest) HasLogQuery ¶
func (h *HeatmapRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*HeatmapRequest) HasMetricQuery ¶
func (h *HeatmapRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*HeatmapRequest) HasProcessQuery ¶
func (h *HeatmapRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*HeatmapRequest) HasStyle ¶
func (h *HeatmapRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*HeatmapRequest) SetApmQuery ¶
func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new h.ApmQuery and returns the pointer to it.
func (*HeatmapRequest) SetLogQuery ¶
func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new h.LogQuery and returns the pointer to it.
func (*HeatmapRequest) SetMetricQuery ¶
func (h *HeatmapRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it.
func (*HeatmapRequest) SetProcessQuery ¶
func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it.
func (*HeatmapRequest) SetStyle ¶
func (h *HeatmapRequest) SetStyle(v WidgetRequestStyle)
SetStyle allocates a new h.Style 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 HostmapDefinition ¶
type HostmapDefinition struct { Type *string `json:"type"` Requests *HostmapRequests `json:"requests"` NodeType *string `json:"node_type,omitempty"` NoMetricHosts *bool `json:"no_metric_hosts,omitempty"` NoGroupHosts *bool `json:"no_group_hosts,omitempty"` Group []string `json:"group,omitempty"` Scope []string `json:"scope,omitempty"` Style *HostmapStyle `json:"style,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` }
HostmapDefinition represents the definition for a Heatmap widget
func (*HostmapDefinition) GetNoGroupHosts ¶
func (h *HostmapDefinition) GetNoGroupHosts() bool
GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetNoGroupHostsOk ¶
func (h *HostmapDefinition) GetNoGroupHostsOk() (bool, bool)
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 (*HostmapDefinition) GetNoMetricHosts ¶
func (h *HostmapDefinition) GetNoMetricHosts() bool
GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetNoMetricHostsOk ¶
func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool)
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 (*HostmapDefinition) GetNodeType ¶
func (h *HostmapDefinition) GetNodeType() string
GetNodeType returns the NodeType field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetNodeTypeOk ¶
func (h *HostmapDefinition) 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 (*HostmapDefinition) GetRequests ¶
func (h *HostmapDefinition) GetRequests() HostmapRequests
GetRequests returns the Requests field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetRequestsOk ¶
func (h *HostmapDefinition) GetRequestsOk() (HostmapRequests, bool)
GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapDefinition) GetStyle ¶
func (h *HostmapDefinition) GetStyle() HostmapStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetStyleOk ¶
func (h *HostmapDefinition) GetStyleOk() (HostmapStyle, 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 (*HostmapDefinition) GetTitle ¶
func (h *HostmapDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetTitleAlign ¶
func (h *HostmapDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetTitleAlignOk ¶
func (h *HostmapDefinition) GetTitleAlignOk() (string, bool)
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 (*HostmapDefinition) GetTitleOk ¶
func (h *HostmapDefinition) 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 (*HostmapDefinition) GetTitleSize ¶
func (h *HostmapDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetTitleSizeOk ¶
func (h *HostmapDefinition) GetTitleSizeOk() (string, bool)
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 (*HostmapDefinition) GetType ¶
func (h *HostmapDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*HostmapDefinition) GetTypeOk ¶
func (h *HostmapDefinition) 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 (*HostmapDefinition) HasNoGroupHosts ¶
func (h *HostmapDefinition) HasNoGroupHosts() bool
HasNoGroupHosts returns a boolean if a field has been set.
func (*HostmapDefinition) HasNoMetricHosts ¶
func (h *HostmapDefinition) HasNoMetricHosts() bool
HasNoMetricHosts returns a boolean if a field has been set.
func (*HostmapDefinition) HasNodeType ¶
func (h *HostmapDefinition) HasNodeType() bool
HasNodeType returns a boolean if a field has been set.
func (*HostmapDefinition) HasRequests ¶
func (h *HostmapDefinition) HasRequests() bool
HasRequests returns a boolean if a field has been set.
func (*HostmapDefinition) HasStyle ¶
func (h *HostmapDefinition) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*HostmapDefinition) HasTitle ¶
func (h *HostmapDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*HostmapDefinition) HasTitleAlign ¶
func (h *HostmapDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*HostmapDefinition) HasTitleSize ¶
func (h *HostmapDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*HostmapDefinition) HasType ¶
func (h *HostmapDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*HostmapDefinition) SetNoGroupHosts ¶
func (h *HostmapDefinition) SetNoGroupHosts(v bool)
SetNoGroupHosts allocates a new h.NoGroupHosts and returns the pointer to it.
func (*HostmapDefinition) SetNoMetricHosts ¶
func (h *HostmapDefinition) SetNoMetricHosts(v bool)
SetNoMetricHosts allocates a new h.NoMetricHosts and returns the pointer to it.
func (*HostmapDefinition) SetNodeType ¶
func (h *HostmapDefinition) SetNodeType(v string)
SetNodeType allocates a new h.NodeType and returns the pointer to it.
func (*HostmapDefinition) SetRequests ¶
func (h *HostmapDefinition) SetRequests(v HostmapRequests)
SetRequests allocates a new h.Requests and returns the pointer to it.
func (*HostmapDefinition) SetStyle ¶
func (h *HostmapDefinition) SetStyle(v HostmapStyle)
SetStyle allocates a new h.Style and returns the pointer to it.
func (*HostmapDefinition) SetTitle ¶
func (h *HostmapDefinition) SetTitle(v string)
SetTitle allocates a new h.Title and returns the pointer to it.
func (*HostmapDefinition) SetTitleAlign ¶
func (h *HostmapDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.
func (*HostmapDefinition) SetTitleSize ¶
func (h *HostmapDefinition) SetTitleSize(v string)
SetTitleSize allocates a new h.TitleSize and returns the pointer to it.
func (*HostmapDefinition) SetType ¶
func (h *HostmapDefinition) SetType(v string)
SetType allocates a new h.Type and returns the pointer to it.
type HostmapRequest ¶
type HostmapRequest struct { // A HostmapRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*HostmapRequest) GetApmQuery ¶
func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*HostmapRequest) GetApmQueryOk ¶
func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequest) GetLogQuery ¶
func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*HostmapRequest) GetLogQueryOk ¶
func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequest) GetMetricQuery ¶
func (h *HostmapRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*HostmapRequest) GetMetricQueryOk ¶
func (h *HostmapRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequest) GetProcessQuery ¶
func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*HostmapRequest) GetProcessQueryOk ¶
func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequest) HasApmQuery ¶
func (h *HostmapRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*HostmapRequest) HasLogQuery ¶
func (h *HostmapRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*HostmapRequest) HasMetricQuery ¶
func (h *HostmapRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*HostmapRequest) HasProcessQuery ¶
func (h *HostmapRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*HostmapRequest) SetApmQuery ¶
func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new h.ApmQuery and returns the pointer to it.
func (*HostmapRequest) SetLogQuery ¶
func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new h.LogQuery and returns the pointer to it.
func (*HostmapRequest) SetMetricQuery ¶
func (h *HostmapRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it.
func (*HostmapRequest) SetProcessQuery ¶
func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it.
type HostmapRequests ¶
type HostmapRequests struct { Fill *HostmapRequest `json:"fill,omitempty"` Size *HostmapRequest `json:"size,omitempty"` }
func (*HostmapRequests) GetFill ¶
func (h *HostmapRequests) GetFill() HostmapRequest
GetFill returns the Fill field if non-nil, zero value otherwise.
func (*HostmapRequests) GetFillOk ¶
func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool)
GetFillOk returns a tuple with the Fill field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequests) GetSize ¶
func (h *HostmapRequests) GetSize() HostmapRequest
GetSize returns the Size field if non-nil, zero value otherwise.
func (*HostmapRequests) GetSizeOk ¶
func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*HostmapRequests) HasFill ¶
func (h *HostmapRequests) HasFill() bool
HasFill returns a boolean if a field has been set.
func (*HostmapRequests) HasSize ¶
func (h *HostmapRequests) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*HostmapRequests) SetFill ¶
func (h *HostmapRequests) SetFill(v HostmapRequest)
SetFill allocates a new h.Fill and returns the pointer to it.
func (*HostmapRequests) SetSize ¶
func (h *HostmapRequests) SetSize(v HostmapRequest)
SetSize allocates a new h.Size and returns the pointer to it.
type HostmapStyle ¶
type HostmapStyle struct { Palette *string `json:"palette,omitempty"` PaletteFlip *bool `json:"palette_flip,omitempty"` FillMin *string `json:"fill_min,omitempty"` FillMax *string `json:"fill_max,omitempty"` }
func (*HostmapStyle) GetFillMax ¶
func (h *HostmapStyle) GetFillMax() string
GetFillMax returns the FillMax field if non-nil, zero value otherwise.
func (*HostmapStyle) GetFillMaxOk ¶
func (h *HostmapStyle) 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 (*HostmapStyle) GetFillMin ¶
func (h *HostmapStyle) GetFillMin() string
GetFillMin returns the FillMin field if non-nil, zero value otherwise.
func (*HostmapStyle) GetFillMinOk ¶
func (h *HostmapStyle) 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 (*HostmapStyle) GetPalette ¶
func (h *HostmapStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*HostmapStyle) GetPaletteFlip ¶
func (h *HostmapStyle) GetPaletteFlip() bool
GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.
func (*HostmapStyle) GetPaletteFlipOk ¶
func (h *HostmapStyle) GetPaletteFlipOk() (bool, 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 (*HostmapStyle) GetPaletteOk ¶
func (h *HostmapStyle) 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 (*HostmapStyle) HasFillMax ¶
func (h *HostmapStyle) HasFillMax() bool
HasFillMax returns a boolean if a field has been set.
func (*HostmapStyle) HasFillMin ¶
func (h *HostmapStyle) HasFillMin() bool
HasFillMin returns a boolean if a field has been set.
func (*HostmapStyle) HasPalette ¶
func (h *HostmapStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*HostmapStyle) HasPaletteFlip ¶
func (h *HostmapStyle) HasPaletteFlip() bool
HasPaletteFlip returns a boolean if a field has been set.
func (*HostmapStyle) SetFillMax ¶
func (h *HostmapStyle) SetFillMax(v string)
SetFillMax allocates a new h.FillMax and returns the pointer to it.
func (*HostmapStyle) SetFillMin ¶
func (h *HostmapStyle) SetFillMin(v string)
SetFillMin allocates a new h.FillMin and returns the pointer to it.
func (*HostmapStyle) SetPalette ¶
func (h *HostmapStyle) SetPalette(v string)
SetPalette allocates a new h.Palette and returns the pointer to it.
func (*HostmapStyle) SetPaletteFlip ¶
func (h *HostmapStyle) SetPaletteFlip(v bool)
SetPaletteFlip allocates a new h.PaletteFlip and returns the pointer to it.
type IframeDefinition ¶
IframeDefinition represents the definition for an Iframe widget
func (*IframeDefinition) GetType ¶
func (i *IframeDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*IframeDefinition) GetTypeOk ¶
func (i *IframeDefinition) 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 (*IframeDefinition) GetUrl ¶
func (i *IframeDefinition) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*IframeDefinition) GetUrlOk ¶
func (i *IframeDefinition) 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 (*IframeDefinition) HasType ¶
func (i *IframeDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*IframeDefinition) HasUrl ¶
func (i *IframeDefinition) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*IframeDefinition) SetType ¶
func (i *IframeDefinition) SetType(v string)
SetType allocates a new i.Type and returns the pointer to it.
func (*IframeDefinition) SetUrl ¶
func (i *IframeDefinition) SetUrl(v string)
SetUrl allocates a new i.Url and returns the pointer to it.
type ImageDefinition ¶
type ImageDefinition struct { Type *string `json:"type"` Url *string `json:"url"` Sizing *string `json:"sizing,omitempty"` Margin *string `json:"margin,omitempty"` }
ImageDefinition represents the definition for an Image widget
func (*ImageDefinition) GetMargin ¶
func (i *ImageDefinition) GetMargin() string
GetMargin returns the Margin field if non-nil, zero value otherwise.
func (*ImageDefinition) GetMarginOk ¶
func (i *ImageDefinition) GetMarginOk() (string, bool)
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 (*ImageDefinition) GetSizing ¶
func (i *ImageDefinition) GetSizing() string
GetSizing returns the Sizing field if non-nil, zero value otherwise.
func (*ImageDefinition) GetSizingOk ¶
func (i *ImageDefinition) GetSizingOk() (string, bool)
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 (*ImageDefinition) GetType ¶
func (i *ImageDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ImageDefinition) GetTypeOk ¶
func (i *ImageDefinition) 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 (*ImageDefinition) GetUrl ¶
func (i *ImageDefinition) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*ImageDefinition) GetUrlOk ¶
func (i *ImageDefinition) 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 (*ImageDefinition) HasMargin ¶
func (i *ImageDefinition) HasMargin() bool
HasMargin returns a boolean if a field has been set.
func (*ImageDefinition) HasSizing ¶
func (i *ImageDefinition) HasSizing() bool
HasSizing returns a boolean if a field has been set.
func (*ImageDefinition) HasType ¶
func (i *ImageDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*ImageDefinition) HasUrl ¶
func (i *ImageDefinition) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*ImageDefinition) SetMargin ¶
func (i *ImageDefinition) SetMargin(v string)
SetMargin allocates a new i.Margin and returns the pointer to it.
func (*ImageDefinition) SetSizing ¶
func (i *ImageDefinition) SetSizing(v string)
SetSizing allocates a new i.Sizing and returns the pointer to it.
func (*ImageDefinition) SetType ¶
func (i *ImageDefinition) SetType(v string)
SetType allocates a new i.Type and returns the pointer to it.
func (*ImageDefinition) SetUrl ¶
func (i *ImageDefinition) SetUrl(v string)
SetUrl allocates a new i.Url and returns the pointer to it.
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 IntegrationGCP ¶
type IntegrationGCP struct { ProjectID *string `json:"project_id"` ClientEmail *string `json:"client_email"` HostFilters *string `json:"host_filters"` }
IntegrationGCP defines the response for listing Datadog-Google CloudPlatform integration.
func (*IntegrationGCP) GetClientEmail ¶
func (i *IntegrationGCP) GetClientEmail() string
GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.
func (*IntegrationGCP) GetClientEmailOk ¶
func (i *IntegrationGCP) GetClientEmailOk() (string, bool)
GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCP) GetHostFilters ¶
func (i *IntegrationGCP) GetHostFilters() string
GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.
func (*IntegrationGCP) GetHostFiltersOk ¶
func (i *IntegrationGCP) GetHostFiltersOk() (string, bool)
GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCP) GetProjectID ¶
func (i *IntegrationGCP) GetProjectID() string
GetProjectID returns the ProjectID field if non-nil, zero value otherwise.
func (*IntegrationGCP) GetProjectIDOk ¶
func (i *IntegrationGCP) GetProjectIDOk() (string, bool)
GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCP) HasClientEmail ¶
func (i *IntegrationGCP) HasClientEmail() bool
HasClientEmail returns a boolean if a field has been set.
func (*IntegrationGCP) HasHostFilters ¶
func (i *IntegrationGCP) HasHostFilters() bool
HasHostFilters returns a boolean if a field has been set.
func (*IntegrationGCP) HasProjectID ¶
func (i *IntegrationGCP) HasProjectID() bool
HasProjectID returns a boolean if a field has been set.
func (*IntegrationGCP) SetClientEmail ¶
func (i *IntegrationGCP) SetClientEmail(v string)
SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.
func (*IntegrationGCP) SetHostFilters ¶
func (i *IntegrationGCP) SetHostFilters(v string)
SetHostFilters allocates a new i.HostFilters and returns the pointer to it.
func (*IntegrationGCP) SetProjectID ¶
func (i *IntegrationGCP) SetProjectID(v string)
SetProjectID allocates a new i.ProjectID and returns the pointer to it.
type IntegrationGCPCreateRequest ¶
type IntegrationGCPCreateRequest struct { Type *string `json:"type"` // Should be service_account ProjectID *string `json:"project_id"` PrivateKeyID *string `json:"private_key_id"` PrivateKey *string `json:"private_key"` ClientEmail *string `json:"client_email"` ClientID *string `json:"client_id"` AuthURI *string `json:"auth_uri"` // Should be https://accounts.google.com/o/oauth2/auth TokenURI *string `json:"token_uri"` // Should be https://accounts.google.com/o/oauth2/token AuthProviderX509CertURL *string `json:"auth_provider_x509_cert_url"` // Should be https://www.googleapis.com/oauth2/v1/certs ClientX509CertURL *string `json:"client_x509_cert_url"` // https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL> HostFilters *string `json:"host_filters,omitempty"` }
IntegrationGCPCreateRequest defines the request payload for creating Datadog-Google CloudPlatform integration.
func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURL ¶
func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string
GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk ¶
func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool)
GetAuthProviderX509CertURLOk returns a tuple with the AuthProviderX509CertURL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetAuthURI ¶
func (i *IntegrationGCPCreateRequest) GetAuthURI() string
GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetAuthURIOk ¶
func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool)
GetAuthURIOk returns a tuple with the AuthURI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetClientEmail ¶
func (i *IntegrationGCPCreateRequest) GetClientEmail() string
GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetClientEmailOk ¶
func (i *IntegrationGCPCreateRequest) GetClientEmailOk() (string, bool)
GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetClientID ¶
func (i *IntegrationGCPCreateRequest) GetClientID() string
GetClientID returns the ClientID field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetClientIDOk ¶
func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool)
GetClientIDOk returns a tuple with the ClientID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetClientX509CertURL ¶
func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string
GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetClientX509CertURLOk ¶
func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool)
GetClientX509CertURLOk returns a tuple with the ClientX509CertURL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetHostFilters ¶
func (i *IntegrationGCPCreateRequest) GetHostFilters() string
GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetHostFiltersOk ¶
func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool)
GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetPrivateKey ¶
func (i *IntegrationGCPCreateRequest) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetPrivateKeyID ¶
func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string
GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetPrivateKeyIDOk ¶
func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool)
GetPrivateKeyIDOk returns a tuple with the PrivateKeyID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetPrivateKeyOk ¶
func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetProjectID ¶
func (i *IntegrationGCPCreateRequest) GetProjectID() string
GetProjectID returns the ProjectID field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetProjectIDOk ¶
func (i *IntegrationGCPCreateRequest) GetProjectIDOk() (string, bool)
GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetTokenURI ¶
func (i *IntegrationGCPCreateRequest) GetTokenURI() string
GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetTokenURIOk ¶
func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool)
GetTokenURIOk returns a tuple with the TokenURI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPCreateRequest) GetType ¶
func (i *IntegrationGCPCreateRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*IntegrationGCPCreateRequest) GetTypeOk ¶
func (i *IntegrationGCPCreateRequest) 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 (*IntegrationGCPCreateRequest) HasAuthProviderX509CertURL ¶
func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool
HasAuthProviderX509CertURL returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasAuthURI ¶
func (i *IntegrationGCPCreateRequest) HasAuthURI() bool
HasAuthURI returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasClientEmail ¶
func (i *IntegrationGCPCreateRequest) HasClientEmail() bool
HasClientEmail returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasClientID ¶
func (i *IntegrationGCPCreateRequest) HasClientID() bool
HasClientID returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasClientX509CertURL ¶
func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool
HasClientX509CertURL returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasHostFilters ¶
func (i *IntegrationGCPCreateRequest) HasHostFilters() bool
HasHostFilters returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasPrivateKey ¶
func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasPrivateKeyID ¶
func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool
HasPrivateKeyID returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasProjectID ¶
func (i *IntegrationGCPCreateRequest) HasProjectID() bool
HasProjectID returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasTokenURI ¶
func (i *IntegrationGCPCreateRequest) HasTokenURI() bool
HasTokenURI returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) HasType ¶
func (i *IntegrationGCPCreateRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (*IntegrationGCPCreateRequest) SetAuthProviderX509CertURL ¶
func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string)
SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetAuthURI ¶
func (i *IntegrationGCPCreateRequest) SetAuthURI(v string)
SetAuthURI allocates a new i.AuthURI and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetClientEmail ¶
func (i *IntegrationGCPCreateRequest) SetClientEmail(v string)
SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetClientID ¶
func (i *IntegrationGCPCreateRequest) SetClientID(v string)
SetClientID allocates a new i.ClientID and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetClientX509CertURL ¶
func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string)
SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetHostFilters ¶
func (i *IntegrationGCPCreateRequest) SetHostFilters(v string)
SetHostFilters allocates a new i.HostFilters and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetPrivateKey ¶
func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string)
SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetPrivateKeyID ¶
func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string)
SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetProjectID ¶
func (i *IntegrationGCPCreateRequest) SetProjectID(v string)
SetProjectID allocates a new i.ProjectID and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetTokenURI ¶
func (i *IntegrationGCPCreateRequest) SetTokenURI(v string)
SetTokenURI allocates a new i.TokenURI and returns the pointer to it.
func (*IntegrationGCPCreateRequest) SetType ¶
func (i *IntegrationGCPCreateRequest) SetType(v string)
SetType allocates a new i.Type and returns the pointer to it.
type IntegrationGCPDeleteRequest ¶
type IntegrationGCPDeleteRequest struct { ProjectID *string `json:"project_id"` ClientEmail *string `json:"client_email"` }
IntegrationGCPDeleteRequest defines the request payload for deleting Datadog-Google CloudPlatform integration.
func (*IntegrationGCPDeleteRequest) GetClientEmail ¶
func (i *IntegrationGCPDeleteRequest) GetClientEmail() string
GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.
func (*IntegrationGCPDeleteRequest) GetClientEmailOk ¶
func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool)
GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPDeleteRequest) GetProjectID ¶
func (i *IntegrationGCPDeleteRequest) GetProjectID() string
GetProjectID returns the ProjectID field if non-nil, zero value otherwise.
func (*IntegrationGCPDeleteRequest) GetProjectIDOk ¶
func (i *IntegrationGCPDeleteRequest) GetProjectIDOk() (string, bool)
GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPDeleteRequest) HasClientEmail ¶
func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool
HasClientEmail returns a boolean if a field has been set.
func (*IntegrationGCPDeleteRequest) HasProjectID ¶
func (i *IntegrationGCPDeleteRequest) HasProjectID() bool
HasProjectID returns a boolean if a field has been set.
func (*IntegrationGCPDeleteRequest) SetClientEmail ¶
func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string)
SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.
func (*IntegrationGCPDeleteRequest) SetProjectID ¶
func (i *IntegrationGCPDeleteRequest) SetProjectID(v string)
SetProjectID allocates a new i.ProjectID and returns the pointer to it.
type IntegrationGCPUpdateRequest ¶
type IntegrationGCPUpdateRequest struct { ProjectID *string `json:"project_id"` ClientEmail *string `json:"client_email"` HostFilters *string `json:"host_filters,omitempty"` }
IntegrationGCPUpdateRequest defines the request payload for updating Datadog-Google CloudPlatform integration.
func (*IntegrationGCPUpdateRequest) GetClientEmail ¶
func (i *IntegrationGCPUpdateRequest) GetClientEmail() string
GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.
func (*IntegrationGCPUpdateRequest) GetClientEmailOk ¶
func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool)
GetClientEmailOk returns a tuple with the ClientEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPUpdateRequest) GetHostFilters ¶
func (i *IntegrationGCPUpdateRequest) GetHostFilters() string
GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.
func (*IntegrationGCPUpdateRequest) GetHostFiltersOk ¶
func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool)
GetHostFiltersOk returns a tuple with the HostFilters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPUpdateRequest) GetProjectID ¶
func (i *IntegrationGCPUpdateRequest) GetProjectID() string
GetProjectID returns the ProjectID field if non-nil, zero value otherwise.
func (*IntegrationGCPUpdateRequest) GetProjectIDOk ¶
func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool)
GetProjectIDOk returns a tuple with the ProjectID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*IntegrationGCPUpdateRequest) HasClientEmail ¶
func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool
HasClientEmail returns a boolean if a field has been set.
func (*IntegrationGCPUpdateRequest) HasHostFilters ¶
func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool
HasHostFilters returns a boolean if a field has been set.
func (*IntegrationGCPUpdateRequest) HasProjectID ¶
func (i *IntegrationGCPUpdateRequest) HasProjectID() bool
HasProjectID returns a boolean if a field has been set.
func (*IntegrationGCPUpdateRequest) SetClientEmail ¶
func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string)
SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.
func (*IntegrationGCPUpdateRequest) SetHostFilters ¶
func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string)
SetHostFilters allocates a new i.HostFilters and returns the pointer to it.
func (*IntegrationGCPUpdateRequest) SetProjectID ¶
func (i *IntegrationGCPUpdateRequest) SetProjectID(v string)
SetProjectID allocates a new i.ProjectID and returns the pointer to it.
type IntegrationPDRequest ¶
type IntegrationPDRequest struct { Services []ServicePDRequest `json:"services,omitempty"` Subdomain *string `json:"subdomain,omitempty"` Schedules []string `json:"schedules,omitempty"` APIToken *string `json:"api_token,omitempty"` RunCheck *bool `json:"run_check,omitempty"` }
IntegrationPDRequest defines the request payload for creating & updating Datadog-PagerDuty integration.
func (*IntegrationPDRequest) GetAPIToken ¶
func (i *IntegrationPDRequest) GetAPIToken() string
GetAPIToken returns the APIToken field if non-nil, zero value otherwise.
func (*IntegrationPDRequest) GetAPITokenOk ¶
func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool)
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 LogSet ¶
func (*LogSet) 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 (*LogSet) 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 LogStreamDefinition ¶
type LogStreamDefinition struct { Type *string `json:"type"` Logset *string `json:"logset"` Query *string `json:"query,omitempty"` Columns []string `json:"columns,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
LogStreamDefinition represents the definition for a Log Stream widget
func (*LogStreamDefinition) GetLogset ¶
func (l *LogStreamDefinition) GetLogset() string
GetLogset returns the Logset field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetLogsetOk ¶
func (l *LogStreamDefinition) GetLogsetOk() (string, bool)
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 (*LogStreamDefinition) GetQuery ¶
func (l *LogStreamDefinition) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetQueryOk ¶
func (l *LogStreamDefinition) 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 (*LogStreamDefinition) GetTime ¶
func (l *LogStreamDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetTimeOk ¶
func (l *LogStreamDefinition) GetTimeOk() (WidgetTime, bool)
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 (*LogStreamDefinition) GetTitle ¶
func (l *LogStreamDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetTitleAlign ¶
func (l *LogStreamDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetTitleAlignOk ¶
func (l *LogStreamDefinition) GetTitleAlignOk() (string, bool)
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 (*LogStreamDefinition) GetTitleOk ¶
func (l *LogStreamDefinition) 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 (*LogStreamDefinition) GetTitleSize ¶
func (l *LogStreamDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetTitleSizeOk ¶
func (l *LogStreamDefinition) GetTitleSizeOk() (string, bool)
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 (*LogStreamDefinition) GetType ¶
func (l *LogStreamDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*LogStreamDefinition) GetTypeOk ¶
func (l *LogStreamDefinition) 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 (*LogStreamDefinition) HasLogset ¶
func (l *LogStreamDefinition) HasLogset() bool
HasLogset returns a boolean if a field has been set.
func (*LogStreamDefinition) HasQuery ¶
func (l *LogStreamDefinition) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*LogStreamDefinition) HasTime ¶
func (l *LogStreamDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*LogStreamDefinition) HasTitle ¶
func (l *LogStreamDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*LogStreamDefinition) HasTitleAlign ¶
func (l *LogStreamDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*LogStreamDefinition) HasTitleSize ¶
func (l *LogStreamDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*LogStreamDefinition) HasType ¶
func (l *LogStreamDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*LogStreamDefinition) SetLogset ¶
func (l *LogStreamDefinition) SetLogset(v string)
SetLogset allocates a new l.Logset and returns the pointer to it.
func (*LogStreamDefinition) SetQuery ¶
func (l *LogStreamDefinition) SetQuery(v string)
SetQuery allocates a new l.Query and returns the pointer to it.
func (*LogStreamDefinition) SetTime ¶
func (l *LogStreamDefinition) SetTime(v WidgetTime)
SetTime allocates a new l.Time and returns the pointer to it.
func (*LogStreamDefinition) SetTitle ¶
func (l *LogStreamDefinition) SetTitle(v string)
SetTitle allocates a new l.Title and returns the pointer to it.
func (*LogStreamDefinition) SetTitleAlign ¶
func (l *LogStreamDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new l.TitleAlign and returns the pointer to it.
func (*LogStreamDefinition) SetTitleSize ¶
func (l *LogStreamDefinition) SetTitleSize(v string)
SetTitleSize allocates a new l.TitleSize and returns the pointer to it.
func (*LogStreamDefinition) SetType ¶
func (l *LogStreamDefinition) SetType(v string)
SetType allocates a new l.Type and returns the pointer to it.
type ManageStatusDefinition ¶
type ManageStatusDefinition struct { Type *string `json:"type"` Query *string `json:"query"` Sort *string `json:"sort,omitempty"` Count *int `json:"count,omitempty"` Start *int `json:"start,omitempty"` DisplayFormat *string `json:"display_format,omitempty"` ColorPreference *string `json:"color_preference,omitempty"` HideZeroCounts *bool `json:"hide_zero_counts,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` }
ManageStatusDefinition represents the definition for a Manage Status widget
func (*ManageStatusDefinition) GetColorPreference ¶
func (m *ManageStatusDefinition) GetColorPreference() string
GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetColorPreferenceOk ¶
func (m *ManageStatusDefinition) GetColorPreferenceOk() (string, bool)
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 (*ManageStatusDefinition) GetCount ¶
func (m *ManageStatusDefinition) GetCount() int
GetCount returns the Count field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetCountOk ¶
func (m *ManageStatusDefinition) GetCountOk() (int, bool)
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 (*ManageStatusDefinition) GetDisplayFormat ¶
func (m *ManageStatusDefinition) GetDisplayFormat() string
GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetDisplayFormatOk ¶
func (m *ManageStatusDefinition) GetDisplayFormatOk() (string, bool)
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 (*ManageStatusDefinition) GetHideZeroCounts ¶
func (m *ManageStatusDefinition) GetHideZeroCounts() bool
GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetHideZeroCountsOk ¶
func (m *ManageStatusDefinition) GetHideZeroCountsOk() (bool, bool)
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 (*ManageStatusDefinition) GetQuery ¶
func (m *ManageStatusDefinition) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetQueryOk ¶
func (m *ManageStatusDefinition) 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 (*ManageStatusDefinition) GetSort ¶
func (m *ManageStatusDefinition) GetSort() string
GetSort returns the Sort field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetSortOk ¶
func (m *ManageStatusDefinition) GetSortOk() (string, bool)
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 (*ManageStatusDefinition) GetStart ¶
func (m *ManageStatusDefinition) GetStart() int
GetStart returns the Start field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetStartOk ¶
func (m *ManageStatusDefinition) GetStartOk() (int, bool)
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 (*ManageStatusDefinition) GetTitle ¶
func (m *ManageStatusDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetTitleAlign ¶
func (m *ManageStatusDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetTitleAlignOk ¶
func (m *ManageStatusDefinition) GetTitleAlignOk() (string, bool)
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 (*ManageStatusDefinition) GetTitleOk ¶
func (m *ManageStatusDefinition) 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 (*ManageStatusDefinition) GetTitleSize ¶
func (m *ManageStatusDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetTitleSizeOk ¶
func (m *ManageStatusDefinition) GetTitleSizeOk() (string, bool)
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 (*ManageStatusDefinition) GetType ¶
func (m *ManageStatusDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ManageStatusDefinition) GetTypeOk ¶
func (m *ManageStatusDefinition) 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 (*ManageStatusDefinition) HasColorPreference ¶
func (m *ManageStatusDefinition) HasColorPreference() bool
HasColorPreference returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasCount ¶
func (m *ManageStatusDefinition) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasDisplayFormat ¶
func (m *ManageStatusDefinition) HasDisplayFormat() bool
HasDisplayFormat returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasHideZeroCounts ¶
func (m *ManageStatusDefinition) HasHideZeroCounts() bool
HasHideZeroCounts returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasQuery ¶
func (m *ManageStatusDefinition) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasSort ¶
func (m *ManageStatusDefinition) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasStart ¶
func (m *ManageStatusDefinition) HasStart() bool
HasStart returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasTitle ¶
func (m *ManageStatusDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasTitleAlign ¶
func (m *ManageStatusDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasTitleSize ¶
func (m *ManageStatusDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ManageStatusDefinition) HasType ¶
func (m *ManageStatusDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*ManageStatusDefinition) SetColorPreference ¶
func (m *ManageStatusDefinition) SetColorPreference(v string)
SetColorPreference allocates a new m.ColorPreference and returns the pointer to it.
func (*ManageStatusDefinition) SetCount ¶
func (m *ManageStatusDefinition) SetCount(v int)
SetCount allocates a new m.Count and returns the pointer to it.
func (*ManageStatusDefinition) SetDisplayFormat ¶
func (m *ManageStatusDefinition) SetDisplayFormat(v string)
SetDisplayFormat allocates a new m.DisplayFormat and returns the pointer to it.
func (*ManageStatusDefinition) SetHideZeroCounts ¶
func (m *ManageStatusDefinition) SetHideZeroCounts(v bool)
SetHideZeroCounts allocates a new m.HideZeroCounts and returns the pointer to it.
func (*ManageStatusDefinition) SetQuery ¶
func (m *ManageStatusDefinition) SetQuery(v string)
SetQuery allocates a new m.Query and returns the pointer to it.
func (*ManageStatusDefinition) SetSort ¶
func (m *ManageStatusDefinition) SetSort(v string)
SetSort allocates a new m.Sort and returns the pointer to it.
func (*ManageStatusDefinition) SetStart ¶
func (m *ManageStatusDefinition) SetStart(v int)
SetStart allocates a new m.Start and returns the pointer to it.
func (*ManageStatusDefinition) SetTitle ¶
func (m *ManageStatusDefinition) SetTitle(v string)
SetTitle allocates a new m.Title and returns the pointer to it.
func (*ManageStatusDefinition) SetTitleAlign ¶
func (m *ManageStatusDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new m.TitleAlign and returns the pointer to it.
func (*ManageStatusDefinition) SetTitleSize ¶
func (m *ManageStatusDefinition) SetTitleSize(v string)
SetTitleSize allocates a new m.TitleSize and returns the pointer to it.
func (*ManageStatusDefinition) SetType ¶
func (m *ManageStatusDefinition) SetType(v string)
SetType allocates a new m.Type 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 NoteDefinition ¶
type NoteDefinition struct { Type *string `json:"type"` Content *string `json:"content"` BackgroundColor *string `json:"background_color,omitempty"` FontSize *string `json:"font_size,omitempty"` TextAlign *string `json:"text_align,omitempty"` ShowTick *bool `json:"show_tick,omitempty"` TickPos *string `json:"tick_pos,omitempty"` TickEdge *string `json:"tick_edge,omitempty"` }
NoteDefinition represents the definition for a Note widget
func (*NoteDefinition) GetBackgroundColor ¶
func (n *NoteDefinition) GetBackgroundColor() string
GetBackgroundColor returns the BackgroundColor field if non-nil, zero value otherwise.
func (*NoteDefinition) GetBackgroundColorOk ¶
func (n *NoteDefinition) GetBackgroundColorOk() (string, bool)
GetBackgroundColorOk returns a tuple with the BackgroundColor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteDefinition) GetContent ¶
func (n *NoteDefinition) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
func (*NoteDefinition) GetContentOk ¶
func (n *NoteDefinition) GetContentOk() (string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteDefinition) GetFontSize ¶
func (n *NoteDefinition) GetFontSize() string
GetFontSize returns the FontSize field if non-nil, zero value otherwise.
func (*NoteDefinition) GetFontSizeOk ¶
func (n *NoteDefinition) GetFontSizeOk() (string, bool)
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 (*NoteDefinition) GetShowTick ¶
func (n *NoteDefinition) GetShowTick() bool
GetShowTick returns the ShowTick field if non-nil, zero value otherwise.
func (*NoteDefinition) GetShowTickOk ¶
func (n *NoteDefinition) GetShowTickOk() (bool, bool)
GetShowTickOk returns a tuple with the ShowTick field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*NoteDefinition) GetTextAlign ¶
func (n *NoteDefinition) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*NoteDefinition) GetTextAlignOk ¶
func (n *NoteDefinition) 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 (*NoteDefinition) GetTickEdge ¶
func (n *NoteDefinition) GetTickEdge() string
GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.
func (*NoteDefinition) GetTickEdgeOk ¶
func (n *NoteDefinition) GetTickEdgeOk() (string, bool)
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 (*NoteDefinition) GetTickPos ¶
func (n *NoteDefinition) GetTickPos() string
GetTickPos returns the TickPos field if non-nil, zero value otherwise.
func (*NoteDefinition) GetTickPosOk ¶
func (n *NoteDefinition) GetTickPosOk() (string, bool)
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 (*NoteDefinition) GetType ¶
func (n *NoteDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*NoteDefinition) GetTypeOk ¶
func (n *NoteDefinition) 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 (*NoteDefinition) HasBackgroundColor ¶
func (n *NoteDefinition) HasBackgroundColor() bool
HasBackgroundColor returns a boolean if a field has been set.
func (*NoteDefinition) HasContent ¶
func (n *NoteDefinition) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*NoteDefinition) HasFontSize ¶
func (n *NoteDefinition) HasFontSize() bool
HasFontSize returns a boolean if a field has been set.
func (*NoteDefinition) HasShowTick ¶
func (n *NoteDefinition) HasShowTick() bool
HasShowTick returns a boolean if a field has been set.
func (*NoteDefinition) HasTextAlign ¶
func (n *NoteDefinition) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*NoteDefinition) HasTickEdge ¶
func (n *NoteDefinition) HasTickEdge() bool
HasTickEdge returns a boolean if a field has been set.
func (*NoteDefinition) HasTickPos ¶
func (n *NoteDefinition) HasTickPos() bool
HasTickPos returns a boolean if a field has been set.
func (*NoteDefinition) HasType ¶
func (n *NoteDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*NoteDefinition) SetBackgroundColor ¶
func (n *NoteDefinition) SetBackgroundColor(v string)
SetBackgroundColor allocates a new n.BackgroundColor and returns the pointer to it.
func (*NoteDefinition) SetContent ¶
func (n *NoteDefinition) SetContent(v string)
SetContent allocates a new n.Content and returns the pointer to it.
func (*NoteDefinition) SetFontSize ¶
func (n *NoteDefinition) SetFontSize(v string)
SetFontSize allocates a new n.FontSize and returns the pointer to it.
func (*NoteDefinition) SetShowTick ¶
func (n *NoteDefinition) SetShowTick(v bool)
SetShowTick allocates a new n.ShowTick and returns the pointer to it.
func (*NoteDefinition) SetTextAlign ¶
func (n *NoteDefinition) SetTextAlign(v string)
SetTextAlign allocates a new n.TextAlign and returns the pointer to it.
func (*NoteDefinition) SetTickEdge ¶
func (n *NoteDefinition) SetTickEdge(v string)
SetTickEdge allocates a new n.TickEdge and returns the pointer to it.
func (*NoteDefinition) SetTickPos ¶
func (n *NoteDefinition) SetTickPos(v string)
SetTickPos allocates a new n.TickPos and returns the pointer to it.
func (*NoteDefinition) SetType ¶
func (n *NoteDefinition) SetType(v string)
SetType allocates a new n.Type and returns the pointer to it.
type Options ¶
type Options struct { NoDataTimeframe NoDataTimeframe `json:"no_data_timeframe,omitempty"` NotifyAudit *bool `json:"notify_audit,omitempty"` NotifyNoData *bool `json:"notify_no_data,omitempty"` RenotifyInterval *int `json:"renotify_interval,omitempty"` NewHostDelay *int `json:"new_host_delay,omitempty"` EvaluationDelay *int `json:"evaluation_delay,omitempty"` Silenced map[string]int `json:"silenced,omitempty"` TimeoutH *int `json:"timeout_h,omitempty"` EscalationMessage *string `json:"escalation_message,omitempty"` Thresholds *ThresholdCount `json:"thresholds,omitempty"` ThresholdWindows *ThresholdWindows `json:"threshold_windows,omitempty"` IncludeTags *bool `json:"include_tags,omitempty"` RequireFullWindow *bool `json:"require_full_window,omitempty"` Locked *bool `json:"locked,omitempty"` EnableLogsSample *bool `json:"enable_logs_sample,omitempty"` QueryConfig *QueryConfig `json:"queryConfig,omitempty"` }
func (*Options) GetEnableLogsSample ¶
GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise.
func (*Options) GetEnableLogsSampleOk ¶
GetEnableLogsSampleOk returns a tuple with the EnableLogsSample field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
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) GetQueryConfig ¶
func (o *Options) GetQueryConfig() QueryConfig
GetQueryConfig returns the QueryConfig field if non-nil, zero value otherwise.
func (*Options) GetQueryConfigOk ¶
func (o *Options) GetQueryConfigOk() (QueryConfig, bool)
GetQueryConfigOk returns a tuple with the QueryConfig 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) GetThresholdWindows ¶
func (o *Options) GetThresholdWindows() ThresholdWindows
GetThresholdWindows returns the ThresholdWindows field if non-nil, zero value otherwise.
func (*Options) GetThresholdWindowsOk ¶
func (o *Options) GetThresholdWindowsOk() (ThresholdWindows, bool)
GetThresholdWindowsOk returns a tuple with the ThresholdWindows 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) HasEnableLogsSample ¶
HasEnableLogsSample returns a boolean if a field 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) HasQueryConfig ¶
HasQueryConfig 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) HasThresholdWindows ¶
HasThresholdWindows 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) SetEnableLogsSample ¶
SetEnableLogsSample allocates a new o.EnableLogsSample and returns the pointer to it.
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) SetQueryConfig ¶
func (o *Options) SetQueryConfig(v QueryConfig)
SetQueryConfig allocates a new o.QueryConfig 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) SetThresholdWindows ¶
func (o *Options) SetThresholdWindows(v ThresholdWindows)
SetThresholdWindows allocates a new o.ThresholdWindows 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 Period ¶
type Period struct { Seconds *json.Number `json:"seconds,omitempty"` Text *string `json:"text,omitempty"` Value *string `json:"value,omitempty"` Name *string `json:"name,omitempty"` Unit *string `json:"unit,omitempty"` }
func (*Period) 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 (*Period) GetSeconds ¶
GetSeconds returns the Seconds field if non-nil, zero value otherwise.
func (*Period) GetSecondsOk ¶
GetSecondsOk returns a tuple with the Seconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Period) 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 (*Period) 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 (*Period) GetValueOk ¶
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 (*Period) HasSeconds ¶
HasSeconds returns a boolean if a field has been set.
func (*Period) SetSeconds ¶
SetSeconds allocates a new p.Seconds and returns the pointer to it.
type PrecisionT ¶
type PrecisionT string
func GetPrecision ¶
func GetPrecision(v *PrecisionT) (PrecisionT, bool)
GetPrecision is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.
func Precision ¶
func Precision(v PrecisionT) *PrecisionT
Precision is a helper routine that allocates a new precision value to store v and returns a pointer to it.
func (*PrecisionT) UnmarshalJSON ¶
func (p *PrecisionT) UnmarshalJSON(data []byte) error
UnmarshalJSON is a Custom Unmarshal for PrecisionT. The Datadog API can return 1 (int), "1" (number, but a string type) or something like "100%" or "*" (string).
type QueryConfig ¶
type QueryConfig struct { LogSet *LogSet `json:"logset,omitempty"` TimeRange *TimeRange `json:"timeRange,omitempty"` QueryString *string `json:"queryString,omitempty"` QueryIsFailed *bool `json:"queryIsFailed,omitempty"` }
func (*QueryConfig) GetLogSet ¶
func (q *QueryConfig) GetLogSet() LogSet
GetLogSet returns the LogSet field if non-nil, zero value otherwise.
func (*QueryConfig) GetLogSetOk ¶
func (q *QueryConfig) GetLogSetOk() (LogSet, bool)
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 (*QueryConfig) GetQueryIsFailed ¶
func (q *QueryConfig) GetQueryIsFailed() bool
GetQueryIsFailed returns the QueryIsFailed field if non-nil, zero value otherwise.
func (*QueryConfig) GetQueryIsFailedOk ¶
func (q *QueryConfig) GetQueryIsFailedOk() (bool, bool)
GetQueryIsFailedOk returns a tuple with the QueryIsFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryConfig) GetQueryString ¶
func (q *QueryConfig) GetQueryString() string
GetQueryString returns the QueryString field if non-nil, zero value otherwise.
func (*QueryConfig) GetQueryStringOk ¶
func (q *QueryConfig) GetQueryStringOk() (string, bool)
GetQueryStringOk returns a tuple with the QueryString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryConfig) GetTimeRange ¶
func (q *QueryConfig) GetTimeRange() TimeRange
GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.
func (*QueryConfig) GetTimeRangeOk ¶
func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool)
GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryConfig) HasLogSet ¶
func (q *QueryConfig) HasLogSet() bool
HasLogSet returns a boolean if a field has been set.
func (*QueryConfig) HasQueryIsFailed ¶
func (q *QueryConfig) HasQueryIsFailed() bool
HasQueryIsFailed returns a boolean if a field has been set.
func (*QueryConfig) HasQueryString ¶
func (q *QueryConfig) HasQueryString() bool
HasQueryString returns a boolean if a field has been set.
func (*QueryConfig) HasTimeRange ¶
func (q *QueryConfig) HasTimeRange() bool
HasTimeRange returns a boolean if a field has been set.
func (*QueryConfig) SetLogSet ¶
func (q *QueryConfig) SetLogSet(v LogSet)
SetLogSet allocates a new q.LogSet and returns the pointer to it.
func (*QueryConfig) SetQueryIsFailed ¶
func (q *QueryConfig) SetQueryIsFailed(v bool)
SetQueryIsFailed allocates a new q.QueryIsFailed and returns the pointer to it.
func (*QueryConfig) SetQueryString ¶
func (q *QueryConfig) SetQueryString(v string)
SetQueryString allocates a new q.QueryString and returns the pointer to it.
func (*QueryConfig) SetTimeRange ¶
func (q *QueryConfig) SetTimeRange(v TimeRange)
SetTimeRange allocates a new q.TimeRange and returns the pointer to it.
type QueryValueDefinition ¶
type QueryValueDefinition struct { Type *string `json:"type"` Requests []QueryValueRequest `json:"requests"` Autoscale *bool `json:"autoscale,omitempty"` CustomUnit *string `json:"custom_unit,omitempty"` Precision *int `json:"precision,omitempty"` TextAlign *string `json:"text_align,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
QueryValueDefinition represents the definition for a Query Value widget
func (*QueryValueDefinition) GetAutoscale ¶
func (q *QueryValueDefinition) GetAutoscale() bool
GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetAutoscaleOk ¶
func (q *QueryValueDefinition) 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 (*QueryValueDefinition) GetCustomUnit ¶
func (q *QueryValueDefinition) GetCustomUnit() string
GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetCustomUnitOk ¶
func (q *QueryValueDefinition) 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 (*QueryValueDefinition) GetPrecision ¶
func (q *QueryValueDefinition) GetPrecision() int
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetPrecisionOk ¶
func (q *QueryValueDefinition) GetPrecisionOk() (int, 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 (*QueryValueDefinition) GetTextAlign ¶
func (q *QueryValueDefinition) GetTextAlign() string
GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTextAlignOk ¶
func (q *QueryValueDefinition) 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 (*QueryValueDefinition) GetTime ¶
func (q *QueryValueDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTimeOk ¶
func (q *QueryValueDefinition) GetTimeOk() (WidgetTime, bool)
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 (*QueryValueDefinition) GetTitle ¶
func (q *QueryValueDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTitleAlign ¶
func (q *QueryValueDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTitleAlignOk ¶
func (q *QueryValueDefinition) GetTitleAlignOk() (string, bool)
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 (*QueryValueDefinition) GetTitleOk ¶
func (q *QueryValueDefinition) 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 (*QueryValueDefinition) GetTitleSize ¶
func (q *QueryValueDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTitleSizeOk ¶
func (q *QueryValueDefinition) GetTitleSizeOk() (string, bool)
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 (*QueryValueDefinition) GetType ¶
func (q *QueryValueDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*QueryValueDefinition) GetTypeOk ¶
func (q *QueryValueDefinition) 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 (*QueryValueDefinition) HasAutoscale ¶
func (q *QueryValueDefinition) HasAutoscale() bool
HasAutoscale returns a boolean if a field has been set.
func (*QueryValueDefinition) HasCustomUnit ¶
func (q *QueryValueDefinition) HasCustomUnit() bool
HasCustomUnit returns a boolean if a field has been set.
func (*QueryValueDefinition) HasPrecision ¶
func (q *QueryValueDefinition) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (*QueryValueDefinition) HasTextAlign ¶
func (q *QueryValueDefinition) HasTextAlign() bool
HasTextAlign returns a boolean if a field has been set.
func (*QueryValueDefinition) HasTime ¶
func (q *QueryValueDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*QueryValueDefinition) HasTitle ¶
func (q *QueryValueDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*QueryValueDefinition) HasTitleAlign ¶
func (q *QueryValueDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*QueryValueDefinition) HasTitleSize ¶
func (q *QueryValueDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*QueryValueDefinition) HasType ¶
func (q *QueryValueDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*QueryValueDefinition) SetAutoscale ¶
func (q *QueryValueDefinition) SetAutoscale(v bool)
SetAutoscale allocates a new q.Autoscale and returns the pointer to it.
func (*QueryValueDefinition) SetCustomUnit ¶
func (q *QueryValueDefinition) SetCustomUnit(v string)
SetCustomUnit allocates a new q.CustomUnit and returns the pointer to it.
func (*QueryValueDefinition) SetPrecision ¶
func (q *QueryValueDefinition) SetPrecision(v int)
SetPrecision allocates a new q.Precision and returns the pointer to it.
func (*QueryValueDefinition) SetTextAlign ¶
func (q *QueryValueDefinition) SetTextAlign(v string)
SetTextAlign allocates a new q.TextAlign and returns the pointer to it.
func (*QueryValueDefinition) SetTime ¶
func (q *QueryValueDefinition) SetTime(v WidgetTime)
SetTime allocates a new q.Time and returns the pointer to it.
func (*QueryValueDefinition) SetTitle ¶
func (q *QueryValueDefinition) SetTitle(v string)
SetTitle allocates a new q.Title and returns the pointer to it.
func (*QueryValueDefinition) SetTitleAlign ¶
func (q *QueryValueDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.
func (*QueryValueDefinition) SetTitleSize ¶
func (q *QueryValueDefinition) SetTitleSize(v string)
SetTitleSize allocates a new q.TitleSize and returns the pointer to it.
func (*QueryValueDefinition) SetType ¶
func (q *QueryValueDefinition) SetType(v string)
SetType allocates a new q.Type and returns the pointer to it.
type QueryValueRequest ¶
type QueryValueRequest struct { ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"` Aggregator *string `json:"aggregator,omitempty"` // A QueryValueRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*QueryValueRequest) GetAggregator ¶
func (q *QueryValueRequest) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*QueryValueRequest) GetAggregatorOk ¶
func (q *QueryValueRequest) 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 (*QueryValueRequest) GetApmQuery ¶
func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*QueryValueRequest) GetApmQueryOk ¶
func (q *QueryValueRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueRequest) GetLogQuery ¶
func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*QueryValueRequest) GetLogQueryOk ¶
func (q *QueryValueRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueRequest) GetMetricQuery ¶
func (q *QueryValueRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*QueryValueRequest) GetMetricQueryOk ¶
func (q *QueryValueRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueRequest) GetProcessQuery ¶
func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*QueryValueRequest) GetProcessQueryOk ¶
func (q *QueryValueRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*QueryValueRequest) HasAggregator ¶
func (q *QueryValueRequest) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*QueryValueRequest) HasApmQuery ¶
func (q *QueryValueRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*QueryValueRequest) HasLogQuery ¶
func (q *QueryValueRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*QueryValueRequest) HasMetricQuery ¶
func (q *QueryValueRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*QueryValueRequest) HasProcessQuery ¶
func (q *QueryValueRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*QueryValueRequest) SetAggregator ¶
func (q *QueryValueRequest) SetAggregator(v string)
SetAggregator allocates a new q.Aggregator and returns the pointer to it.
func (*QueryValueRequest) SetApmQuery ¶
func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new q.ApmQuery and returns the pointer to it.
func (*QueryValueRequest) SetLogQuery ¶
func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new q.LogQuery and returns the pointer to it.
func (*QueryValueRequest) SetMetricQuery ¶
func (q *QueryValueRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it.
func (*QueryValueRequest) SetProcessQuery ¶
func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it.
type Recurrence ¶
type Recurrence struct { Period *int `json:"period,omitempty"` Type *string `json:"type,omitempty"` UntilDate *int `json:"until_date,omitempty"` UntilOccurrences *int `json:"until_occurrences,omitempty"` WeekDays []string `json:"week_days,omitempty"` }
func (*Recurrence) GetPeriod ¶
func (r *Recurrence) GetPeriod() int
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (*Recurrence) GetPeriodOk ¶
func (r *Recurrence) GetPeriodOk() (int, bool)
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 ScatterplotDefinition ¶
type ScatterplotDefinition struct { Type *string `json:"type"` Requests *ScatterplotRequests `json:"requests"` Xaxis *WidgetAxis `json:"xaxis,omitempty"` Yaxis *WidgetAxis `json:"yaxis,omitempty"` ColorByGroups []string `json:"color_by_groups,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
ScatterplotDefinition represents the definition for a Heatmap widget
func (*ScatterplotDefinition) GetRequests ¶
func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests
GetRequests returns the Requests field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetRequestsOk ¶
func (s *ScatterplotDefinition) GetRequestsOk() (ScatterplotRequests, bool)
GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotDefinition) GetTime ¶
func (s *ScatterplotDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetTimeOk ¶
func (s *ScatterplotDefinition) GetTimeOk() (WidgetTime, bool)
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 (*ScatterplotDefinition) GetTitle ¶
func (s *ScatterplotDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetTitleAlign ¶
func (s *ScatterplotDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetTitleAlignOk ¶
func (s *ScatterplotDefinition) GetTitleAlignOk() (string, bool)
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 (*ScatterplotDefinition) GetTitleOk ¶
func (s *ScatterplotDefinition) 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 (*ScatterplotDefinition) GetTitleSize ¶
func (s *ScatterplotDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetTitleSizeOk ¶
func (s *ScatterplotDefinition) GetTitleSizeOk() (string, bool)
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 (*ScatterplotDefinition) GetType ¶
func (s *ScatterplotDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetTypeOk ¶
func (s *ScatterplotDefinition) 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 (*ScatterplotDefinition) GetXaxis ¶
func (s *ScatterplotDefinition) GetXaxis() WidgetAxis
GetXaxis returns the Xaxis field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetXaxisOk ¶
func (s *ScatterplotDefinition) GetXaxisOk() (WidgetAxis, bool)
GetXaxisOk returns a tuple with the Xaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotDefinition) GetYaxis ¶
func (s *ScatterplotDefinition) GetYaxis() WidgetAxis
GetYaxis returns the Yaxis field if non-nil, zero value otherwise.
func (*ScatterplotDefinition) GetYaxisOk ¶
func (s *ScatterplotDefinition) GetYaxisOk() (WidgetAxis, bool)
GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotDefinition) HasRequests ¶
func (s *ScatterplotDefinition) HasRequests() bool
HasRequests returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasTime ¶
func (s *ScatterplotDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasTitle ¶
func (s *ScatterplotDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasTitleAlign ¶
func (s *ScatterplotDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasTitleSize ¶
func (s *ScatterplotDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasType ¶
func (s *ScatterplotDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasXaxis ¶
func (s *ScatterplotDefinition) HasXaxis() bool
HasXaxis returns a boolean if a field has been set.
func (*ScatterplotDefinition) HasYaxis ¶
func (s *ScatterplotDefinition) HasYaxis() bool
HasYaxis returns a boolean if a field has been set.
func (*ScatterplotDefinition) SetRequests ¶
func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests)
SetRequests allocates a new s.Requests and returns the pointer to it.
func (*ScatterplotDefinition) SetTime ¶
func (s *ScatterplotDefinition) SetTime(v WidgetTime)
SetTime allocates a new s.Time and returns the pointer to it.
func (*ScatterplotDefinition) SetTitle ¶
func (s *ScatterplotDefinition) SetTitle(v string)
SetTitle allocates a new s.Title and returns the pointer to it.
func (*ScatterplotDefinition) SetTitleAlign ¶
func (s *ScatterplotDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it.
func (*ScatterplotDefinition) SetTitleSize ¶
func (s *ScatterplotDefinition) SetTitleSize(v string)
SetTitleSize allocates a new s.TitleSize and returns the pointer to it.
func (*ScatterplotDefinition) SetType ¶
func (s *ScatterplotDefinition) SetType(v string)
SetType allocates a new s.Type and returns the pointer to it.
func (*ScatterplotDefinition) SetXaxis ¶
func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis)
SetXaxis allocates a new s.Xaxis and returns the pointer to it.
func (*ScatterplotDefinition) SetYaxis ¶
func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis)
SetYaxis allocates a new s.Yaxis and returns the pointer to it.
type ScatterplotRequest ¶
type ScatterplotRequest struct { Aggregator *string `json:"aggregator,omitempty"` // A ScatterplotRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*ScatterplotRequest) GetAggregator ¶
func (s *ScatterplotRequest) GetAggregator() string
GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
func (*ScatterplotRequest) GetAggregatorOk ¶
func (s *ScatterplotRequest) 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 (*ScatterplotRequest) GetApmQuery ¶
func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*ScatterplotRequest) GetApmQueryOk ¶
func (s *ScatterplotRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotRequest) GetLogQuery ¶
func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*ScatterplotRequest) GetLogQueryOk ¶
func (s *ScatterplotRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotRequest) GetMetricQuery ¶
func (s *ScatterplotRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*ScatterplotRequest) GetMetricQueryOk ¶
func (s *ScatterplotRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotRequest) GetProcessQuery ¶
func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*ScatterplotRequest) GetProcessQueryOk ¶
func (s *ScatterplotRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ScatterplotRequest) HasAggregator ¶
func (s *ScatterplotRequest) HasAggregator() bool
HasAggregator returns a boolean if a field has been set.
func (*ScatterplotRequest) HasApmQuery ¶
func (s *ScatterplotRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*ScatterplotRequest) HasLogQuery ¶
func (s *ScatterplotRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*ScatterplotRequest) HasMetricQuery ¶
func (s *ScatterplotRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*ScatterplotRequest) HasProcessQuery ¶
func (s *ScatterplotRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*ScatterplotRequest) SetAggregator ¶
func (s *ScatterplotRequest) SetAggregator(v string)
SetAggregator allocates a new s.Aggregator and returns the pointer to it.
func (*ScatterplotRequest) SetApmQuery ¶
func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new s.ApmQuery and returns the pointer to it.
func (*ScatterplotRequest) SetLogQuery ¶
func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new s.LogQuery and returns the pointer to it.
func (*ScatterplotRequest) SetMetricQuery ¶
func (s *ScatterplotRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new s.MetricQuery and returns the pointer to it.
func (*ScatterplotRequest) SetProcessQuery ¶
func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new s.ProcessQuery and returns the pointer to it.
type ScatterplotRequests ¶
type ScatterplotRequests struct { X *ScatterplotRequest `json:"x"` Y *ScatterplotRequest `json:"y"` }
func (*ScatterplotRequests) GetX ¶
func (s *ScatterplotRequests) GetX() ScatterplotRequest
GetX returns the X field if non-nil, zero value otherwise.
func (*ScatterplotRequests) GetXOk ¶
func (s *ScatterplotRequests) GetXOk() (ScatterplotRequest, bool)
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 (*ScatterplotRequests) GetY ¶
func (s *ScatterplotRequests) GetY() ScatterplotRequest
GetY returns the Y field if non-nil, zero value otherwise.
func (*ScatterplotRequests) GetYOk ¶
func (s *ScatterplotRequests) GetYOk() (ScatterplotRequest, bool)
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 (*ScatterplotRequests) HasX ¶
func (s *ScatterplotRequests) HasX() bool
HasX returns a boolean if a field has been set.
func (*ScatterplotRequests) HasY ¶
func (s *ScatterplotRequests) HasY() bool
HasY returns a boolean if a field has been set.
func (*ScatterplotRequests) SetX ¶
func (s *ScatterplotRequests) SetX(v ScatterplotRequest)
SetX allocates a new s.X and returns the pointer to it.
func (*ScatterplotRequests) SetY ¶
func (s *ScatterplotRequests) SetY(v ScatterplotRequest)
SetY allocates a new s.Y and returns the pointer to it.
type ScreenShareResponse ¶
type ScreenShareResponse struct {}
type Screenboard ¶
type Screenboard struct { Id *int `json:"id,omitempty"` NewId *string `json:"new_id,omitempty"` Title *string `json:"board_title,omitempty"` Height *int `json:"height,omitempty"` Width *int `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() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*Screenboard) GetHeightOk ¶
func (s *Screenboard) GetHeightOk() (int, 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) GetNewId ¶
func (s *Screenboard) GetNewId() string
GetNewId returns the NewId field if non-nil, zero value otherwise.
func (*Screenboard) GetNewIdOk ¶
func (s *Screenboard) GetNewIdOk() (string, bool)
GetNewIdOk returns a tuple with the NewId 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() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*Screenboard) GetWidthOk ¶
func (s *Screenboard) GetWidthOk() (int, 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) HasNewId ¶
func (s *Screenboard) HasNewId() bool
HasNewId 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 int)
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) SetNewId ¶
func (s *Screenboard) SetNewId(v string)
SetNewId allocates a new s.NewId 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 int)
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"` FillMin *json.Number `json:"fillMin,omitempty"` FillMax *json.Number `json:"fillMax,omitempty"` }
func (*Style) GetFillMax ¶
GetFillMax returns the FillMax field if non-nil, zero value otherwise.
func (*Style) GetFillMaxOk ¶
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 (*Style) GetFillMin ¶
GetFillMin returns the FillMin field if non-nil, zero value otherwise.
func (*Style) GetFillMinOk ¶
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 (*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) HasFillMax ¶
HasFillMax returns a boolean if a field has been set.
func (*Style) HasFillMin ¶
HasFillMin returns a boolean if a field 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) SetFillMax ¶
SetFillMax allocates a new s.FillMax and returns the pointer to it.
func (*Style) SetFillMin ¶
SetFillMin allocates a new s.FillMin and returns the pointer to it.
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 SyntheticsAssertion ¶
type SyntheticsAssertion struct { Operator *string `json:"operator,omitempty"` Property *string `json:"property,omitempty"` Type *string `json:"type,omitempty"` // sometimes target is string ( like "text/html; charset=UTF-8" for header content-type ) // and sometimes target is int ( like 1200 for responseTime, 200 for statusCode ) Target interface{} `json:"target,omitempty"` }
func (*SyntheticsAssertion) GetOperator ¶
func (s *SyntheticsAssertion) GetOperator() string
GetOperator returns the Operator field if non-nil, zero value otherwise.
func (*SyntheticsAssertion) GetOperatorOk ¶
func (s *SyntheticsAssertion) GetOperatorOk() (string, bool)
GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsAssertion) GetProperty ¶
func (s *SyntheticsAssertion) GetProperty() string
GetProperty returns the Property field if non-nil, zero value otherwise.
func (*SyntheticsAssertion) GetPropertyOk ¶
func (s *SyntheticsAssertion) GetPropertyOk() (string, bool)
GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsAssertion) GetType ¶
func (s *SyntheticsAssertion) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*SyntheticsAssertion) GetTypeOk ¶
func (s *SyntheticsAssertion) 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 (*SyntheticsAssertion) HasOperator ¶
func (s *SyntheticsAssertion) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*SyntheticsAssertion) HasProperty ¶
func (s *SyntheticsAssertion) HasProperty() bool
HasProperty returns a boolean if a field has been set.
func (*SyntheticsAssertion) HasType ¶
func (s *SyntheticsAssertion) HasType() bool
HasType returns a boolean if a field has been set.
func (*SyntheticsAssertion) SetOperator ¶
func (s *SyntheticsAssertion) SetOperator(v string)
SetOperator allocates a new s.Operator and returns the pointer to it.
func (*SyntheticsAssertion) SetProperty ¶
func (s *SyntheticsAssertion) SetProperty(v string)
SetProperty allocates a new s.Property and returns the pointer to it.
func (*SyntheticsAssertion) SetType ¶
func (s *SyntheticsAssertion) SetType(v string)
SetType allocates a new s.Type and returns the pointer to it.
type SyntheticsConfig ¶
type SyntheticsConfig struct { Request *SyntheticsRequest `json:"request,omitempty"` Assertions []SyntheticsAssertion `json:"assertions,omitempty"` Variables []interface{} `json:"variables,omitempty"` }
func (*SyntheticsConfig) GetRequest ¶
func (s *SyntheticsConfig) GetRequest() SyntheticsRequest
GetRequest returns the Request field if non-nil, zero value otherwise.
func (*SyntheticsConfig) GetRequestOk ¶
func (s *SyntheticsConfig) GetRequestOk() (SyntheticsRequest, bool)
GetRequestOk returns a tuple with the Request field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsConfig) HasRequest ¶
func (s *SyntheticsConfig) HasRequest() bool
HasRequest returns a boolean if a field has been set.
func (*SyntheticsConfig) SetRequest ¶
func (s *SyntheticsConfig) SetRequest(v SyntheticsRequest)
SetRequest allocates a new s.Request and returns the pointer to it.
type SyntheticsDevice ¶
type SyntheticsDevice struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Height *int `json:"height,omitempty"` Width *int `json:"width,omitempty"` IsLandscape *bool `json:"isLandscape,omitempty"` IsMobile *bool `json:"isMobile,omitempty"` UserAgent *string `json:"userAgent,omitempty"` }
func (*SyntheticsDevice) GetHeight ¶
func (s *SyntheticsDevice) GetHeight() int
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetHeightOk ¶
func (s *SyntheticsDevice) GetHeightOk() (int, 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 (*SyntheticsDevice) GetId ¶
func (s *SyntheticsDevice) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetIdOk ¶
func (s *SyntheticsDevice) GetIdOk() (string, 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 (*SyntheticsDevice) GetIsLandscape ¶
func (s *SyntheticsDevice) GetIsLandscape() bool
GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetIsLandscapeOk ¶
func (s *SyntheticsDevice) GetIsLandscapeOk() (bool, bool)
GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsDevice) GetIsMobile ¶
func (s *SyntheticsDevice) GetIsMobile() bool
GetIsMobile returns the IsMobile field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetIsMobileOk ¶
func (s *SyntheticsDevice) GetIsMobileOk() (bool, bool)
GetIsMobileOk returns a tuple with the IsMobile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsDevice) GetName ¶
func (s *SyntheticsDevice) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetNameOk ¶
func (s *SyntheticsDevice) 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 (*SyntheticsDevice) GetUserAgent ¶
func (s *SyntheticsDevice) GetUserAgent() string
GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetUserAgentOk ¶
func (s *SyntheticsDevice) GetUserAgentOk() (string, bool)
GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsDevice) GetWidth ¶
func (s *SyntheticsDevice) GetWidth() int
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*SyntheticsDevice) GetWidthOk ¶
func (s *SyntheticsDevice) GetWidthOk() (int, 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 (*SyntheticsDevice) HasHeight ¶
func (s *SyntheticsDevice) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*SyntheticsDevice) HasId ¶
func (s *SyntheticsDevice) HasId() bool
HasId returns a boolean if a field has been set.
func (*SyntheticsDevice) HasIsLandscape ¶
func (s *SyntheticsDevice) HasIsLandscape() bool
HasIsLandscape returns a boolean if a field has been set.
func (*SyntheticsDevice) HasIsMobile ¶
func (s *SyntheticsDevice) HasIsMobile() bool
HasIsMobile returns a boolean if a field has been set.
func (*SyntheticsDevice) HasName ¶
func (s *SyntheticsDevice) HasName() bool
HasName returns a boolean if a field has been set.
func (*SyntheticsDevice) HasUserAgent ¶
func (s *SyntheticsDevice) HasUserAgent() bool
HasUserAgent returns a boolean if a field has been set.
func (*SyntheticsDevice) HasWidth ¶
func (s *SyntheticsDevice) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*SyntheticsDevice) SetHeight ¶
func (s *SyntheticsDevice) SetHeight(v int)
SetHeight allocates a new s.Height and returns the pointer to it.
func (*SyntheticsDevice) SetId ¶
func (s *SyntheticsDevice) SetId(v string)
SetId allocates a new s.Id and returns the pointer to it.
func (*SyntheticsDevice) SetIsLandscape ¶
func (s *SyntheticsDevice) SetIsLandscape(v bool)
SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.
func (*SyntheticsDevice) SetIsMobile ¶
func (s *SyntheticsDevice) SetIsMobile(v bool)
SetIsMobile allocates a new s.IsMobile and returns the pointer to it.
func (*SyntheticsDevice) SetName ¶
func (s *SyntheticsDevice) SetName(v string)
SetName allocates a new s.Name and returns the pointer to it.
func (*SyntheticsDevice) SetUserAgent ¶
func (s *SyntheticsDevice) SetUserAgent(v string)
SetUserAgent allocates a new s.UserAgent and returns the pointer to it.
func (*SyntheticsDevice) SetWidth ¶
func (s *SyntheticsDevice) SetWidth(v int)
SetWidth allocates a new s.Width and returns the pointer to it.
type SyntheticsLocation ¶
type SyntheticsLocation struct { Id *int `json:"id,omitempty"` Name *string `json:"name,omitempty"` DisplayName *string `json:"display_name,omitempty"` Region *string `json:"region,omitempty"` IsLandscape *bool `json:"is_active,omitempty"` }
func (*SyntheticsLocation) GetDisplayName ¶
func (s *SyntheticsLocation) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (*SyntheticsLocation) GetDisplayNameOk ¶
func (s *SyntheticsLocation) GetDisplayNameOk() (string, bool)
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 (*SyntheticsLocation) GetId ¶
func (s *SyntheticsLocation) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*SyntheticsLocation) GetIdOk ¶
func (s *SyntheticsLocation) 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 (*SyntheticsLocation) GetIsLandscape ¶
func (s *SyntheticsLocation) GetIsLandscape() bool
GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.
func (*SyntheticsLocation) GetIsLandscapeOk ¶
func (s *SyntheticsLocation) GetIsLandscapeOk() (bool, bool)
GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsLocation) GetName ¶
func (s *SyntheticsLocation) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*SyntheticsLocation) GetNameOk ¶
func (s *SyntheticsLocation) 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 (*SyntheticsLocation) GetRegion ¶
func (s *SyntheticsLocation) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (*SyntheticsLocation) GetRegionOk ¶
func (s *SyntheticsLocation) GetRegionOk() (string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsLocation) HasDisplayName ¶
func (s *SyntheticsLocation) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*SyntheticsLocation) HasId ¶
func (s *SyntheticsLocation) HasId() bool
HasId returns a boolean if a field has been set.
func (*SyntheticsLocation) HasIsLandscape ¶
func (s *SyntheticsLocation) HasIsLandscape() bool
HasIsLandscape returns a boolean if a field has been set.
func (*SyntheticsLocation) HasName ¶
func (s *SyntheticsLocation) HasName() bool
HasName returns a boolean if a field has been set.
func (*SyntheticsLocation) HasRegion ¶
func (s *SyntheticsLocation) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*SyntheticsLocation) SetDisplayName ¶
func (s *SyntheticsLocation) SetDisplayName(v string)
SetDisplayName allocates a new s.DisplayName and returns the pointer to it.
func (*SyntheticsLocation) SetId ¶
func (s *SyntheticsLocation) SetId(v int)
SetId allocates a new s.Id and returns the pointer to it.
func (*SyntheticsLocation) SetIsLandscape ¶
func (s *SyntheticsLocation) SetIsLandscape(v bool)
SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.
func (*SyntheticsLocation) SetName ¶
func (s *SyntheticsLocation) SetName(v string)
SetName allocates a new s.Name and returns the pointer to it.
func (*SyntheticsLocation) SetRegion ¶
func (s *SyntheticsLocation) SetRegion(v string)
SetRegion allocates a new s.Region and returns the pointer to it.
type SyntheticsOptions ¶
type SyntheticsOptions struct { TickEvery *int `json:"tick_every,omitempty"` FollowRedirects *bool `json:"follow_redirects,omitempty"` MinFailureDuration *int `json:"min_failure_duration,omitempty"` MinLocationFailed *int `json:"min_location_failed,omitempty"` DeviceIds []string `json:"device_ids,omitempty"` }
func (*SyntheticsOptions) GetFollowRedirects ¶
func (s *SyntheticsOptions) GetFollowRedirects() bool
GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise.
func (*SyntheticsOptions) GetFollowRedirectsOk ¶
func (s *SyntheticsOptions) GetFollowRedirectsOk() (bool, bool)
GetFollowRedirectsOk returns a tuple with the FollowRedirects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsOptions) GetMinFailureDuration ¶
func (s *SyntheticsOptions) GetMinFailureDuration() int
GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise.
func (*SyntheticsOptions) GetMinFailureDurationOk ¶
func (s *SyntheticsOptions) GetMinFailureDurationOk() (int, bool)
GetMinFailureDurationOk returns a tuple with the MinFailureDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsOptions) GetMinLocationFailed ¶
func (s *SyntheticsOptions) GetMinLocationFailed() int
GetMinLocationFailed returns the MinLocationFailed field if non-nil, zero value otherwise.
func (*SyntheticsOptions) GetMinLocationFailedOk ¶
func (s *SyntheticsOptions) GetMinLocationFailedOk() (int, bool)
GetMinLocationFailedOk returns a tuple with the MinLocationFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsOptions) GetTickEvery ¶
func (s *SyntheticsOptions) GetTickEvery() int
GetTickEvery returns the TickEvery field if non-nil, zero value otherwise.
func (*SyntheticsOptions) GetTickEveryOk ¶
func (s *SyntheticsOptions) GetTickEveryOk() (int, bool)
GetTickEveryOk returns a tuple with the TickEvery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsOptions) HasFollowRedirects ¶
func (s *SyntheticsOptions) HasFollowRedirects() bool
HasFollowRedirects returns a boolean if a field has been set.
func (*SyntheticsOptions) HasMinFailureDuration ¶
func (s *SyntheticsOptions) HasMinFailureDuration() bool
HasMinFailureDuration returns a boolean if a field has been set.
func (*SyntheticsOptions) HasMinLocationFailed ¶
func (s *SyntheticsOptions) HasMinLocationFailed() bool
HasMinLocationFailed returns a boolean if a field has been set.
func (*SyntheticsOptions) HasTickEvery ¶
func (s *SyntheticsOptions) HasTickEvery() bool
HasTickEvery returns a boolean if a field has been set.
func (*SyntheticsOptions) SetFollowRedirects ¶
func (s *SyntheticsOptions) SetFollowRedirects(v bool)
SetFollowRedirects allocates a new s.FollowRedirects and returns the pointer to it.
func (*SyntheticsOptions) SetMinFailureDuration ¶
func (s *SyntheticsOptions) SetMinFailureDuration(v int)
SetMinFailureDuration allocates a new s.MinFailureDuration and returns the pointer to it.
func (*SyntheticsOptions) SetMinLocationFailed ¶
func (s *SyntheticsOptions) SetMinLocationFailed(v int)
SetMinLocationFailed allocates a new s.MinLocationFailed and returns the pointer to it.
func (*SyntheticsOptions) SetTickEvery ¶
func (s *SyntheticsOptions) SetTickEvery(v int)
SetTickEvery allocates a new s.TickEvery and returns the pointer to it.
type SyntheticsRequest ¶
type SyntheticsRequest struct { Url *string `json:"url,omitempty"` Method *string `json:"method,omitempty"` Timeout *int `json:"timeout,omitempty"` Headers map[string]string `json:"headers,omitempty"` Body *string `json:"body,omitempty"` }
func (*SyntheticsRequest) GetBody ¶
func (s *SyntheticsRequest) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (*SyntheticsRequest) GetBodyOk ¶
func (s *SyntheticsRequest) GetBodyOk() (string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsRequest) GetMethod ¶
func (s *SyntheticsRequest) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
func (*SyntheticsRequest) GetMethodOk ¶
func (s *SyntheticsRequest) GetMethodOk() (string, bool)
GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsRequest) GetTimeout ¶
func (s *SyntheticsRequest) GetTimeout() int
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (*SyntheticsRequest) GetTimeoutOk ¶
func (s *SyntheticsRequest) GetTimeoutOk() (int, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsRequest) GetUrl ¶
func (s *SyntheticsRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (*SyntheticsRequest) GetUrlOk ¶
func (s *SyntheticsRequest) 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 (*SyntheticsRequest) HasBody ¶
func (s *SyntheticsRequest) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*SyntheticsRequest) HasMethod ¶
func (s *SyntheticsRequest) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*SyntheticsRequest) HasTimeout ¶
func (s *SyntheticsRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*SyntheticsRequest) HasUrl ¶
func (s *SyntheticsRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*SyntheticsRequest) SetBody ¶
func (s *SyntheticsRequest) SetBody(v string)
SetBody allocates a new s.Body and returns the pointer to it.
func (*SyntheticsRequest) SetMethod ¶
func (s *SyntheticsRequest) SetMethod(v string)
SetMethod allocates a new s.Method and returns the pointer to it.
func (*SyntheticsRequest) SetTimeout ¶
func (s *SyntheticsRequest) SetTimeout(v int)
SetTimeout allocates a new s.Timeout and returns the pointer to it.
func (*SyntheticsRequest) SetUrl ¶
func (s *SyntheticsRequest) SetUrl(v string)
SetUrl allocates a new s.Url and returns the pointer to it.
type SyntheticsTest ¶
type SyntheticsTest struct { PublicId *string `json:"public_id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Tags []string `json:"tags"` CreatedAt *string `json:"created_at,omitempty"` ModifiedAt *string `json:"modified_at,omitempty"` DeletedAt *string `json:"deleted_at,omitempty"` Config *SyntheticsConfig `json:"config,omitempty"` Message *string `json:"message,omitempty"` Options *SyntheticsOptions `json:"options,omitempty"` Locations []string `json:"locations,omitempty"` CreatedBy *SyntheticsUser `json:"created_by,omitempty"` ModifiedBy *SyntheticsUser `json:"modified_by,omitempty"` Status *string `json:"status,omitempty"` MonitorStatus *string `json:"monitor_status,omitempty"` }
SyntheticsTest represents a synthetics test, either api or browser
func (*SyntheticsTest) GetConfig ¶
func (s *SyntheticsTest) GetConfig() SyntheticsConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetConfigOk ¶
func (s *SyntheticsTest) GetConfigOk() (SyntheticsConfig, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetCreatedAt ¶
func (s *SyntheticsTest) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetCreatedAtOk ¶
func (s *SyntheticsTest) GetCreatedAtOk() (string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetCreatedBy ¶
func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetCreatedByOk ¶
func (s *SyntheticsTest) GetCreatedByOk() (SyntheticsUser, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetDeletedAt ¶
func (s *SyntheticsTest) GetDeletedAt() string
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetDeletedAtOk ¶
func (s *SyntheticsTest) GetDeletedAtOk() (string, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetMessage ¶
func (s *SyntheticsTest) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetMessageOk ¶
func (s *SyntheticsTest) 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 (*SyntheticsTest) GetModifiedAt ¶
func (s *SyntheticsTest) GetModifiedAt() string
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetModifiedAtOk ¶
func (s *SyntheticsTest) GetModifiedAtOk() (string, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetModifiedBy ¶
func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetModifiedByOk ¶
func (s *SyntheticsTest) GetModifiedByOk() (SyntheticsUser, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetMonitorStatus ¶
func (s *SyntheticsTest) GetMonitorStatus() string
GetMonitorStatus returns the MonitorStatus field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetMonitorStatusOk ¶
func (s *SyntheticsTest) GetMonitorStatusOk() (string, bool)
GetMonitorStatusOk returns a tuple with the MonitorStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetName ¶
func (s *SyntheticsTest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetNameOk ¶
func (s *SyntheticsTest) 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 (*SyntheticsTest) GetOptions ¶
func (s *SyntheticsTest) GetOptions() SyntheticsOptions
GetOptions returns the Options field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetOptionsOk ¶
func (s *SyntheticsTest) GetOptionsOk() (SyntheticsOptions, bool)
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 (*SyntheticsTest) GetPublicId ¶
func (s *SyntheticsTest) GetPublicId() string
GetPublicId returns the PublicId field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetPublicIdOk ¶
func (s *SyntheticsTest) GetPublicIdOk() (string, bool)
GetPublicIdOk returns a tuple with the PublicId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*SyntheticsTest) GetStatus ¶
func (s *SyntheticsTest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetStatusOk ¶
func (s *SyntheticsTest) GetStatusOk() (string, bool)
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 (*SyntheticsTest) GetType ¶
func (s *SyntheticsTest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*SyntheticsTest) GetTypeOk ¶
func (s *SyntheticsTest) 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 (*SyntheticsTest) HasConfig ¶
func (s *SyntheticsTest) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*SyntheticsTest) HasCreatedAt ¶
func (s *SyntheticsTest) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SyntheticsTest) HasCreatedBy ¶
func (s *SyntheticsTest) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*SyntheticsTest) HasDeletedAt ¶
func (s *SyntheticsTest) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (*SyntheticsTest) HasMessage ¶
func (s *SyntheticsTest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*SyntheticsTest) HasModifiedAt ¶
func (s *SyntheticsTest) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*SyntheticsTest) HasModifiedBy ¶
func (s *SyntheticsTest) HasModifiedBy() bool
HasModifiedBy returns a boolean if a field has been set.
func (*SyntheticsTest) HasMonitorStatus ¶
func (s *SyntheticsTest) HasMonitorStatus() bool
HasMonitorStatus returns a boolean if a field has been set.
func (*SyntheticsTest) HasName ¶
func (s *SyntheticsTest) HasName() bool
HasName returns a boolean if a field has been set.
func (*SyntheticsTest) HasOptions ¶
func (s *SyntheticsTest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*SyntheticsTest) HasPublicId ¶
func (s *SyntheticsTest) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*SyntheticsTest) HasStatus ¶
func (s *SyntheticsTest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*SyntheticsTest) HasType ¶
func (s *SyntheticsTest) HasType() bool
HasType returns a boolean if a field has been set.
func (*SyntheticsTest) SetConfig ¶
func (s *SyntheticsTest) SetConfig(v SyntheticsConfig)
SetConfig allocates a new s.Config and returns the pointer to it.
func (*SyntheticsTest) SetCreatedAt ¶
func (s *SyntheticsTest) SetCreatedAt(v string)
SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it.
func (*SyntheticsTest) SetCreatedBy ¶
func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser)
SetCreatedBy allocates a new s.CreatedBy and returns the pointer to it.
func (*SyntheticsTest) SetDeletedAt ¶
func (s *SyntheticsTest) SetDeletedAt(v string)
SetDeletedAt allocates a new s.DeletedAt and returns the pointer to it.
func (*SyntheticsTest) SetMessage ¶
func (s *SyntheticsTest) SetMessage(v string)
SetMessage allocates a new s.Message and returns the pointer to it.
func (*SyntheticsTest) SetModifiedAt ¶
func (s *SyntheticsTest) SetModifiedAt(v string)
SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it.
func (*SyntheticsTest) SetModifiedBy ¶
func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser)
SetModifiedBy allocates a new s.ModifiedBy and returns the pointer to it.
func (*SyntheticsTest) SetMonitorStatus ¶
func (s *SyntheticsTest) SetMonitorStatus(v string)
SetMonitorStatus allocates a new s.MonitorStatus and returns the pointer to it.
func (*SyntheticsTest) SetName ¶
func (s *SyntheticsTest) SetName(v string)
SetName allocates a new s.Name and returns the pointer to it.
func (*SyntheticsTest) SetOptions ¶
func (s *SyntheticsTest) SetOptions(v SyntheticsOptions)
SetOptions allocates a new s.Options and returns the pointer to it.
func (*SyntheticsTest) SetPublicId ¶
func (s *SyntheticsTest) SetPublicId(v string)
SetPublicId allocates a new s.PublicId and returns the pointer to it.
func (*SyntheticsTest) SetStatus ¶
func (s *SyntheticsTest) SetStatus(v string)
SetStatus allocates a new s.Status and returns the pointer to it.
func (*SyntheticsTest) SetType ¶
func (s *SyntheticsTest) SetType(v string)
SetType allocates a new s.Type and returns the pointer to it.
type SyntheticsUser ¶
type SyntheticsUser struct { Id *int `json:"id,omitempty"` Name *string `json:"name,omitempty"` Email *string `json:"email,omitempty"` Handle *string `json:"handle,omitempty"` }
func (*SyntheticsUser) GetEmail ¶
func (s *SyntheticsUser) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (*SyntheticsUser) GetEmailOk ¶
func (s *SyntheticsUser) GetEmailOk() (string, bool)
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 (*SyntheticsUser) GetHandle ¶
func (s *SyntheticsUser) GetHandle() string
GetHandle returns the Handle field if non-nil, zero value otherwise.
func (*SyntheticsUser) GetHandleOk ¶
func (s *SyntheticsUser) GetHandleOk() (string, bool)
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 (*SyntheticsUser) GetId ¶
func (s *SyntheticsUser) GetId() int
GetId returns the Id field if non-nil, zero value otherwise.
func (*SyntheticsUser) GetIdOk ¶
func (s *SyntheticsUser) 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 (*SyntheticsUser) GetName ¶
func (s *SyntheticsUser) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (*SyntheticsUser) GetNameOk ¶
func (s *SyntheticsUser) 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 (*SyntheticsUser) HasEmail ¶
func (s *SyntheticsUser) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*SyntheticsUser) HasHandle ¶
func (s *SyntheticsUser) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*SyntheticsUser) HasId ¶
func (s *SyntheticsUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*SyntheticsUser) HasName ¶
func (s *SyntheticsUser) HasName() bool
HasName returns a boolean if a field has been set.
func (*SyntheticsUser) SetEmail ¶
func (s *SyntheticsUser) SetEmail(v string)
SetEmail allocates a new s.Email and returns the pointer to it.
func (*SyntheticsUser) SetHandle ¶
func (s *SyntheticsUser) SetHandle(v string)
SetHandle allocates a new s.Handle and returns the pointer to it.
func (*SyntheticsUser) SetId ¶
func (s *SyntheticsUser) SetId(v int)
SetId allocates a new s.Id and returns the pointer to it.
func (*SyntheticsUser) SetName ¶
func (s *SyntheticsUser) SetName(v string)
SetName allocates a new s.Name 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"` Period *Period `json:"period,omitenmpty"` TimeAggregator *string `json:"timeAggregator,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) GetPeriod ¶
func (t *ThresholdCount) GetPeriod() Period
GetPeriod returns the Period field if non-nil, zero value otherwise.
func (*ThresholdCount) GetPeriodOk ¶
func (t *ThresholdCount) GetPeriodOk() (Period, 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 (*ThresholdCount) GetTimeAggregator ¶
func (t *ThresholdCount) GetTimeAggregator() string
GetTimeAggregator returns the TimeAggregator field if non-nil, zero value otherwise.
func (*ThresholdCount) GetTimeAggregatorOk ¶
func (t *ThresholdCount) GetTimeAggregatorOk() (string, bool)
GetTimeAggregatorOk returns a tuple with the TimeAggregator 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) HasPeriod ¶
func (t *ThresholdCount) HasPeriod() bool
HasPeriod returns a boolean if a field has been set.
func (*ThresholdCount) HasTimeAggregator ¶
func (t *ThresholdCount) HasTimeAggregator() bool
HasTimeAggregator 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) SetPeriod ¶
func (t *ThresholdCount) SetPeriod(v Period)
SetPeriod allocates a new t.Period and returns the pointer to it.
func (*ThresholdCount) SetTimeAggregator ¶
func (t *ThresholdCount) SetTimeAggregator(v string)
SetTimeAggregator allocates a new t.TimeAggregator 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 ThresholdWindows ¶
type ThresholdWindows struct { RecoveryWindow *string `json:"recovery_window,omitempty"` TriggerWindow *string `json:"trigger_window,omitempty"` }
func (*ThresholdWindows) GetRecoveryWindow ¶
func (t *ThresholdWindows) GetRecoveryWindow() string
GetRecoveryWindow returns the RecoveryWindow field if non-nil, zero value otherwise.
func (*ThresholdWindows) GetRecoveryWindowOk ¶
func (t *ThresholdWindows) GetRecoveryWindowOk() (string, bool)
GetRecoveryWindowOk returns a tuple with the RecoveryWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdWindows) GetTriggerWindow ¶
func (t *ThresholdWindows) GetTriggerWindow() string
GetTriggerWindow returns the TriggerWindow field if non-nil, zero value otherwise.
func (*ThresholdWindows) GetTriggerWindowOk ¶
func (t *ThresholdWindows) GetTriggerWindowOk() (string, bool)
GetTriggerWindowOk returns a tuple with the TriggerWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ThresholdWindows) HasRecoveryWindow ¶
func (t *ThresholdWindows) HasRecoveryWindow() bool
HasRecoveryWindow returns a boolean if a field has been set.
func (*ThresholdWindows) HasTriggerWindow ¶
func (t *ThresholdWindows) HasTriggerWindow() bool
HasTriggerWindow returns a boolean if a field has been set.
func (*ThresholdWindows) SetRecoveryWindow ¶
func (t *ThresholdWindows) SetRecoveryWindow(v string)
SetRecoveryWindow allocates a new t.RecoveryWindow and returns the pointer to it.
func (*ThresholdWindows) SetTriggerWindow ¶
func (t *ThresholdWindows) SetTriggerWindow(v string)
SetTriggerWindow allocates a new t.TriggerWindow 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 *PrecisionT `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 ¶
func (t *TileDef) GetPrecision() PrecisionT
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*TileDef) GetPrecisionOk ¶
func (t *TileDef) GetPrecisionOk() (PrecisionT, 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 (*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 ¶
func (t *TileDef) SetPrecision(v PrecisionT)
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 *json.Number `json:"fillMin,omitempty"` FillMax *json.Number `json:"fillMax,omitempty"` }
func (*TileDefStyle) GetFillMax ¶
func (t *TileDefStyle) GetFillMax() json.Number
GetFillMax returns the FillMax field if non-nil, zero value otherwise.
func (*TileDefStyle) GetFillMaxOk ¶
func (t *TileDefStyle) GetFillMaxOk() (json.Number, 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() json.Number
GetFillMin returns the FillMin field if non-nil, zero value otherwise.
func (*TileDefStyle) GetFillMinOk ¶
func (t *TileDefStyle) GetFillMinOk() (json.Number, 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 json.Number)
SetFillMax allocates a new t.FillMax and returns the pointer to it.
func (*TileDefStyle) SetFillMin ¶
func (t *TileDefStyle) SetFillMin(v json.Number)
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 TimeRange ¶
type TimeRange struct { To *json.Number `json:"to,omitempty"` From *json.Number `json:"from,omitempty"` Live *bool `json:"live,omitempty"` }
func (*TimeRange) GetFromOk ¶
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeRange) GetLiveOk ¶
GetLiveOk returns a tuple with the Live field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeRange) GetToOk ¶
GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
type TimeseriesDefinition ¶
type TimeseriesDefinition struct { Type *string `json:"type"` Requests []TimeseriesRequest `json:"requests"` Yaxis *WidgetAxis `json:"yaxis,omitempty"` Events []WidgetEvent `json:"events,omitempty"` Markers []WidgetMarker `json:"markers,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` ShowLegend *bool `json:"show_legend,omitempty"` LegendSize *string `json:"legend_size,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
TimeseriesDefinition represents the definition for a Timeseries widget
func (*TimeseriesDefinition) GetLegendSize ¶
func (t *TimeseriesDefinition) GetLegendSize() string
GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetLegendSizeOk ¶
func (t *TimeseriesDefinition) GetLegendSizeOk() (string, bool)
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 (*TimeseriesDefinition) GetShowLegend ¶
func (t *TimeseriesDefinition) GetShowLegend() bool
GetShowLegend returns the ShowLegend field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetShowLegendOk ¶
func (t *TimeseriesDefinition) GetShowLegendOk() (bool, bool)
GetShowLegendOk returns a tuple with the ShowLegend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesDefinition) GetTime ¶
func (t *TimeseriesDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetTimeOk ¶
func (t *TimeseriesDefinition) GetTimeOk() (WidgetTime, bool)
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 (*TimeseriesDefinition) GetTitle ¶
func (t *TimeseriesDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetTitleAlign ¶
func (t *TimeseriesDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetTitleAlignOk ¶
func (t *TimeseriesDefinition) GetTitleAlignOk() (string, bool)
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 (*TimeseriesDefinition) GetTitleOk ¶
func (t *TimeseriesDefinition) 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 (*TimeseriesDefinition) GetTitleSize ¶
func (t *TimeseriesDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetTitleSizeOk ¶
func (t *TimeseriesDefinition) GetTitleSizeOk() (string, bool)
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 (*TimeseriesDefinition) GetType ¶
func (t *TimeseriesDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetTypeOk ¶
func (t *TimeseriesDefinition) 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 (*TimeseriesDefinition) GetYaxis ¶
func (t *TimeseriesDefinition) GetYaxis() WidgetAxis
GetYaxis returns the Yaxis field if non-nil, zero value otherwise.
func (*TimeseriesDefinition) GetYaxisOk ¶
func (t *TimeseriesDefinition) GetYaxisOk() (WidgetAxis, bool)
GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesDefinition) HasLegendSize ¶
func (t *TimeseriesDefinition) HasLegendSize() bool
HasLegendSize returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasShowLegend ¶
func (t *TimeseriesDefinition) HasShowLegend() bool
HasShowLegend returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasTime ¶
func (t *TimeseriesDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasTitle ¶
func (t *TimeseriesDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasTitleAlign ¶
func (t *TimeseriesDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasTitleSize ¶
func (t *TimeseriesDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasType ¶
func (t *TimeseriesDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*TimeseriesDefinition) HasYaxis ¶
func (t *TimeseriesDefinition) HasYaxis() bool
HasYaxis returns a boolean if a field has been set.
func (*TimeseriesDefinition) SetLegendSize ¶
func (t *TimeseriesDefinition) SetLegendSize(v string)
SetLegendSize allocates a new t.LegendSize and returns the pointer to it.
func (*TimeseriesDefinition) SetShowLegend ¶
func (t *TimeseriesDefinition) SetShowLegend(v bool)
SetShowLegend allocates a new t.ShowLegend and returns the pointer to it.
func (*TimeseriesDefinition) SetTime ¶
func (t *TimeseriesDefinition) SetTime(v WidgetTime)
SetTime allocates a new t.Time and returns the pointer to it.
func (*TimeseriesDefinition) SetTitle ¶
func (t *TimeseriesDefinition) SetTitle(v string)
SetTitle allocates a new t.Title and returns the pointer to it.
func (*TimeseriesDefinition) SetTitleAlign ¶
func (t *TimeseriesDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
func (*TimeseriesDefinition) SetTitleSize ¶
func (t *TimeseriesDefinition) SetTitleSize(v string)
SetTitleSize allocates a new t.TitleSize and returns the pointer to it.
func (*TimeseriesDefinition) SetType ¶
func (t *TimeseriesDefinition) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
func (*TimeseriesDefinition) SetYaxis ¶
func (t *TimeseriesDefinition) SetYaxis(v WidgetAxis)
SetYaxis allocates a new t.Yaxis and returns the pointer to it.
type TimeseriesRequest ¶
type TimeseriesRequest struct { Style *TimeseriesRequestStyle `json:"style,omitempty"` Metadata []WidgetMetadata `json:"metadata,omitempty"` DisplayType *string `json:"display_type,omitempty"` // A TimeseriesRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*TimeseriesRequest) GetApmQuery ¶
func (t *TimeseriesRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetApmQueryOk ¶
func (t *TimeseriesRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetDisplayType ¶
func (t *TimeseriesRequest) GetDisplayType() string
GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetDisplayTypeOk ¶
func (t *TimeseriesRequest) GetDisplayTypeOk() (string, bool)
GetDisplayTypeOk returns a tuple with the DisplayType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetLogQuery ¶
func (t *TimeseriesRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetLogQueryOk ¶
func (t *TimeseriesRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetMetricQuery ¶
func (t *TimeseriesRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetMetricQueryOk ¶
func (t *TimeseriesRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetProcessQuery ¶
func (t *TimeseriesRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetProcessQueryOk ¶
func (t *TimeseriesRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequest) GetStyle ¶
func (t *TimeseriesRequest) GetStyle() TimeseriesRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*TimeseriesRequest) GetStyleOk ¶
func (t *TimeseriesRequest) GetStyleOk() (TimeseriesRequestStyle, bool)
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 (*TimeseriesRequest) HasApmQuery ¶
func (t *TimeseriesRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*TimeseriesRequest) HasDisplayType ¶
func (t *TimeseriesRequest) HasDisplayType() bool
HasDisplayType returns a boolean if a field has been set.
func (*TimeseriesRequest) HasLogQuery ¶
func (t *TimeseriesRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*TimeseriesRequest) HasMetricQuery ¶
func (t *TimeseriesRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*TimeseriesRequest) HasProcessQuery ¶
func (t *TimeseriesRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*TimeseriesRequest) HasStyle ¶
func (t *TimeseriesRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*TimeseriesRequest) SetApmQuery ¶
func (t *TimeseriesRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.
func (*TimeseriesRequest) SetDisplayType ¶
func (t *TimeseriesRequest) SetDisplayType(v string)
SetDisplayType allocates a new t.DisplayType and returns the pointer to it.
func (*TimeseriesRequest) SetLogQuery ¶
func (t *TimeseriesRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new t.LogQuery and returns the pointer to it.
func (*TimeseriesRequest) SetMetricQuery ¶
func (t *TimeseriesRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.
func (*TimeseriesRequest) SetProcessQuery ¶
func (t *TimeseriesRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.
func (*TimeseriesRequest) SetStyle ¶
func (t *TimeseriesRequest) SetStyle(v TimeseriesRequestStyle)
SetStyle allocates a new t.Style and returns the pointer to it.
type TimeseriesRequestStyle ¶
type TimeseriesRequestStyle struct { Palette *string `json:"palette,omitempty"` LineType *string `json:"line_type,omitempty"` LineWidth *string `json:"line_width,omitempty"` }
func (*TimeseriesRequestStyle) GetLineType ¶
func (t *TimeseriesRequestStyle) GetLineType() string
GetLineType returns the LineType field if non-nil, zero value otherwise.
func (*TimeseriesRequestStyle) GetLineTypeOk ¶
func (t *TimeseriesRequestStyle) GetLineTypeOk() (string, bool)
GetLineTypeOk returns a tuple with the LineType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequestStyle) GetLineWidth ¶
func (t *TimeseriesRequestStyle) GetLineWidth() string
GetLineWidth returns the LineWidth field if non-nil, zero value otherwise.
func (*TimeseriesRequestStyle) GetLineWidthOk ¶
func (t *TimeseriesRequestStyle) GetLineWidthOk() (string, bool)
GetLineWidthOk returns a tuple with the LineWidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TimeseriesRequestStyle) GetPalette ¶
func (t *TimeseriesRequestStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*TimeseriesRequestStyle) GetPaletteOk ¶
func (t *TimeseriesRequestStyle) GetPaletteOk() (string, bool)
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 (*TimeseriesRequestStyle) HasLineType ¶
func (t *TimeseriesRequestStyle) HasLineType() bool
HasLineType returns a boolean if a field has been set.
func (*TimeseriesRequestStyle) HasLineWidth ¶
func (t *TimeseriesRequestStyle) HasLineWidth() bool
HasLineWidth returns a boolean if a field has been set.
func (*TimeseriesRequestStyle) HasPalette ¶
func (t *TimeseriesRequestStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*TimeseriesRequestStyle) SetLineType ¶
func (t *TimeseriesRequestStyle) SetLineType(v string)
SetLineType allocates a new t.LineType and returns the pointer to it.
func (*TimeseriesRequestStyle) SetLineWidth ¶
func (t *TimeseriesRequestStyle) SetLineWidth(v string)
SetLineWidth allocates a new t.LineWidth and returns the pointer to it.
func (*TimeseriesRequestStyle) SetPalette ¶
func (t *TimeseriesRequestStyle) SetPalette(v string)
SetPalette allocates a new t.Palette and returns the pointer to it.
type ToggleStatus ¶
type ToggleStatus struct {
NewStatus *string `json:"new_status,omitempty"`
}
func (*ToggleStatus) GetNewStatus ¶
func (t *ToggleStatus) GetNewStatus() string
GetNewStatus returns the NewStatus field if non-nil, zero value otherwise.
func (*ToggleStatus) GetNewStatusOk ¶
func (t *ToggleStatus) GetNewStatusOk() (string, bool)
GetNewStatusOk returns a tuple with the NewStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToggleStatus) HasNewStatus ¶
func (t *ToggleStatus) HasNewStatus() bool
HasNewStatus returns a boolean if a field has been set.
func (*ToggleStatus) SetNewStatus ¶
func (t *ToggleStatus) SetNewStatus(v string)
SetNewStatus allocates a new t.NewStatus and returns the pointer to it.
type ToplistDefinition ¶
type ToplistDefinition struct { Type *string `json:"type"` Requests []ToplistRequest `json:"requests"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
ToplistDefinition represents the definition for a Distribution widget
func (*ToplistDefinition) GetTime ¶
func (t *ToplistDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*ToplistDefinition) GetTimeOk ¶
func (t *ToplistDefinition) GetTimeOk() (WidgetTime, bool)
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 (*ToplistDefinition) GetTitle ¶
func (t *ToplistDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*ToplistDefinition) GetTitleAlign ¶
func (t *ToplistDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*ToplistDefinition) GetTitleAlignOk ¶
func (t *ToplistDefinition) GetTitleAlignOk() (string, bool)
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 (*ToplistDefinition) GetTitleOk ¶
func (t *ToplistDefinition) 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 (*ToplistDefinition) GetTitleSize ¶
func (t *ToplistDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*ToplistDefinition) GetTitleSizeOk ¶
func (t *ToplistDefinition) GetTitleSizeOk() (string, bool)
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 (*ToplistDefinition) GetType ¶
func (t *ToplistDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*ToplistDefinition) GetTypeOk ¶
func (t *ToplistDefinition) 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 (*ToplistDefinition) HasTime ¶
func (t *ToplistDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*ToplistDefinition) HasTitle ¶
func (t *ToplistDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ToplistDefinition) HasTitleAlign ¶
func (t *ToplistDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*ToplistDefinition) HasTitleSize ¶
func (t *ToplistDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*ToplistDefinition) HasType ¶
func (t *ToplistDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*ToplistDefinition) SetTime ¶
func (t *ToplistDefinition) SetTime(v WidgetTime)
SetTime allocates a new t.Time and returns the pointer to it.
func (*ToplistDefinition) SetTitle ¶
func (t *ToplistDefinition) SetTitle(v string)
SetTitle allocates a new t.Title and returns the pointer to it.
func (*ToplistDefinition) SetTitleAlign ¶
func (t *ToplistDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
func (*ToplistDefinition) SetTitleSize ¶
func (t *ToplistDefinition) SetTitleSize(v string)
SetTitleSize allocates a new t.TitleSize and returns the pointer to it.
func (*ToplistDefinition) SetType ¶
func (t *ToplistDefinition) SetType(v string)
SetType allocates a new t.Type and returns the pointer to it.
type ToplistRequest ¶
type ToplistRequest struct { ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"` Style *WidgetRequestStyle `json:"style,omitempty"` // A ToplistRequest should implement exactly one of the following query types MetricQuery *string `json:"q,omitempty"` ApmQuery *WidgetApmOrLogQuery `json:"apm_query,omitempty"` LogQuery *WidgetApmOrLogQuery `json:"log_query,omitempty"` ProcessQuery *WidgetProcessQuery `json:"process_query,omitempty"` }
func (*ToplistRequest) GetApmQuery ¶
func (t *ToplistRequest) GetApmQuery() WidgetApmOrLogQuery
GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.
func (*ToplistRequest) GetApmQueryOk ¶
func (t *ToplistRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)
GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistRequest) GetLogQuery ¶
func (t *ToplistRequest) GetLogQuery() WidgetApmOrLogQuery
GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.
func (*ToplistRequest) GetLogQueryOk ¶
func (t *ToplistRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)
GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistRequest) GetMetricQuery ¶
func (t *ToplistRequest) GetMetricQuery() string
GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.
func (*ToplistRequest) GetMetricQueryOk ¶
func (t *ToplistRequest) GetMetricQueryOk() (string, bool)
GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistRequest) GetProcessQuery ¶
func (t *ToplistRequest) GetProcessQuery() WidgetProcessQuery
GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.
func (*ToplistRequest) GetProcessQueryOk ¶
func (t *ToplistRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)
GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*ToplistRequest) GetStyle ¶
func (t *ToplistRequest) GetStyle() WidgetRequestStyle
GetStyle returns the Style field if non-nil, zero value otherwise.
func (*ToplistRequest) GetStyleOk ¶
func (t *ToplistRequest) GetStyleOk() (WidgetRequestStyle, 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 (*ToplistRequest) HasApmQuery ¶
func (t *ToplistRequest) HasApmQuery() bool
HasApmQuery returns a boolean if a field has been set.
func (*ToplistRequest) HasLogQuery ¶
func (t *ToplistRequest) HasLogQuery() bool
HasLogQuery returns a boolean if a field has been set.
func (*ToplistRequest) HasMetricQuery ¶
func (t *ToplistRequest) HasMetricQuery() bool
HasMetricQuery returns a boolean if a field has been set.
func (*ToplistRequest) HasProcessQuery ¶
func (t *ToplistRequest) HasProcessQuery() bool
HasProcessQuery returns a boolean if a field has been set.
func (*ToplistRequest) HasStyle ¶
func (t *ToplistRequest) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*ToplistRequest) SetApmQuery ¶
func (t *ToplistRequest) SetApmQuery(v WidgetApmOrLogQuery)
SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.
func (*ToplistRequest) SetLogQuery ¶
func (t *ToplistRequest) SetLogQuery(v WidgetApmOrLogQuery)
SetLogQuery allocates a new t.LogQuery and returns the pointer to it.
func (*ToplistRequest) SetMetricQuery ¶
func (t *ToplistRequest) SetMetricQuery(v string)
SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.
func (*ToplistRequest) SetProcessQuery ¶
func (t *ToplistRequest) SetProcessQuery(v WidgetProcessQuery)
SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.
func (*ToplistRequest) SetStyle ¶
func (t *ToplistRequest) SetStyle(v WidgetRequestStyle)
SetStyle allocates a new t.Style and returns the pointer to it.
type TraceServiceDefinition ¶
type TraceServiceDefinition struct { Type *string `json:"type"` Env *string `json:"env"` Service *string `json:"service"` SpanName *string `json:"span_name"` ShowHits *bool `json:"show_hits,omitempty"` ShowErrors *bool `json:"show_errors,omitempty"` ShowLatency *bool `json:"show_latency,omitempty"` ShowBreakdown *bool `json:"show_breakdown,omitempty"` ShowDistribution *bool `json:"show_distribution,omitempty"` ShowResourceList *bool `json:"show_resource_list,omitempty"` SizeFormat *string `json:"size_format,omitempty"` DisplayFormat *string `json:"display_format,omitempty"` Title *string `json:"title,omitempty"` TitleSize *string `json:"title_size,omitempty"` TitleAlign *string `json:"title_align,omitempty"` Time *WidgetTime `json:"time,omitempty"` }
TraceServiceDefinition represents the definition for a Trace Service widget
func (*TraceServiceDefinition) GetDisplayFormat ¶
func (t *TraceServiceDefinition) GetDisplayFormat() string
GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetDisplayFormatOk ¶
func (t *TraceServiceDefinition) GetDisplayFormatOk() (string, bool)
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 (*TraceServiceDefinition) GetEnv ¶
func (t *TraceServiceDefinition) GetEnv() string
GetEnv returns the Env field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetEnvOk ¶
func (t *TraceServiceDefinition) GetEnvOk() (string, bool)
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 (*TraceServiceDefinition) GetService ¶
func (t *TraceServiceDefinition) GetService() string
GetService returns the Service field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetServiceOk ¶
func (t *TraceServiceDefinition) GetServiceOk() (string, bool)
GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowBreakdown ¶
func (t *TraceServiceDefinition) GetShowBreakdown() bool
GetShowBreakdown returns the ShowBreakdown field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowBreakdownOk ¶
func (t *TraceServiceDefinition) GetShowBreakdownOk() (bool, bool)
GetShowBreakdownOk returns a tuple with the ShowBreakdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowDistribution ¶
func (t *TraceServiceDefinition) GetShowDistribution() bool
GetShowDistribution returns the ShowDistribution field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowDistributionOk ¶
func (t *TraceServiceDefinition) GetShowDistributionOk() (bool, bool)
GetShowDistributionOk returns a tuple with the ShowDistribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowErrors ¶
func (t *TraceServiceDefinition) GetShowErrors() bool
GetShowErrors returns the ShowErrors field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowErrorsOk ¶
func (t *TraceServiceDefinition) GetShowErrorsOk() (bool, bool)
GetShowErrorsOk returns a tuple with the ShowErrors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowHits ¶
func (t *TraceServiceDefinition) GetShowHits() bool
GetShowHits returns the ShowHits field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowHitsOk ¶
func (t *TraceServiceDefinition) GetShowHitsOk() (bool, bool)
GetShowHitsOk returns a tuple with the ShowHits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowLatency ¶
func (t *TraceServiceDefinition) GetShowLatency() bool
GetShowLatency returns the ShowLatency field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowLatencyOk ¶
func (t *TraceServiceDefinition) GetShowLatencyOk() (bool, bool)
GetShowLatencyOk returns a tuple with the ShowLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetShowResourceList ¶
func (t *TraceServiceDefinition) GetShowResourceList() bool
GetShowResourceList returns the ShowResourceList field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetShowResourceListOk ¶
func (t *TraceServiceDefinition) GetShowResourceListOk() (bool, bool)
GetShowResourceListOk returns a tuple with the ShowResourceList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetSizeFormat ¶
func (t *TraceServiceDefinition) GetSizeFormat() string
GetSizeFormat returns the SizeFormat field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetSizeFormatOk ¶
func (t *TraceServiceDefinition) GetSizeFormatOk() (string, bool)
GetSizeFormatOk returns a tuple with the SizeFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetSpanName ¶
func (t *TraceServiceDefinition) GetSpanName() string
GetSpanName returns the SpanName field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetSpanNameOk ¶
func (t *TraceServiceDefinition) GetSpanNameOk() (string, bool)
GetSpanNameOk returns a tuple with the SpanName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*TraceServiceDefinition) GetTime ¶
func (t *TraceServiceDefinition) GetTime() WidgetTime
GetTime returns the Time field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetTimeOk ¶
func (t *TraceServiceDefinition) GetTimeOk() (WidgetTime, bool)
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 (*TraceServiceDefinition) GetTitle ¶
func (t *TraceServiceDefinition) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetTitleAlign ¶
func (t *TraceServiceDefinition) GetTitleAlign() string
GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetTitleAlignOk ¶
func (t *TraceServiceDefinition) GetTitleAlignOk() (string, bool)
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 (*TraceServiceDefinition) GetTitleOk ¶
func (t *TraceServiceDefinition) 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 (*TraceServiceDefinition) GetTitleSize ¶
func (t *TraceServiceDefinition) GetTitleSize() string
GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetTitleSizeOk ¶
func (t *TraceServiceDefinition) GetTitleSizeOk() (string, bool)
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 (*TraceServiceDefinition) GetType ¶
func (t *TraceServiceDefinition) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (*TraceServiceDefinition) GetTypeOk ¶
func (t *TraceServiceDefinition) 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 (*TraceServiceDefinition) HasDisplayFormat ¶
func (t *TraceServiceDefinition) HasDisplayFormat() bool
HasDisplayFormat returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasEnv ¶
func (t *TraceServiceDefinition) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasService ¶
func (t *TraceServiceDefinition) HasService() bool
HasService returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowBreakdown ¶
func (t *TraceServiceDefinition) HasShowBreakdown() bool
HasShowBreakdown returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowDistribution ¶
func (t *TraceServiceDefinition) HasShowDistribution() bool
HasShowDistribution returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowErrors ¶
func (t *TraceServiceDefinition) HasShowErrors() bool
HasShowErrors returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowHits ¶
func (t *TraceServiceDefinition) HasShowHits() bool
HasShowHits returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowLatency ¶
func (t *TraceServiceDefinition) HasShowLatency() bool
HasShowLatency returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasShowResourceList ¶
func (t *TraceServiceDefinition) HasShowResourceList() bool
HasShowResourceList returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasSizeFormat ¶
func (t *TraceServiceDefinition) HasSizeFormat() bool
HasSizeFormat returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasSpanName ¶
func (t *TraceServiceDefinition) HasSpanName() bool
HasSpanName returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasTime ¶
func (t *TraceServiceDefinition) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasTitle ¶
func (t *TraceServiceDefinition) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasTitleAlign ¶
func (t *TraceServiceDefinition) HasTitleAlign() bool
HasTitleAlign returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasTitleSize ¶
func (t *TraceServiceDefinition) HasTitleSize() bool
HasTitleSize returns a boolean if a field has been set.
func (*TraceServiceDefinition) HasType ¶
func (t *TraceServiceDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*TraceServiceDefinition) SetDisplayFormat ¶
func (t *TraceServiceDefinition) SetDisplayFormat(v string)
SetDisplayFormat allocates a new t.DisplayFormat and returns the pointer to it.
func (*TraceServiceDefinition) SetEnv ¶
func (t *TraceServiceDefinition) SetEnv(v string)
SetEnv allocates a new t.Env and returns the pointer to it.
func (*TraceServiceDefinition) SetService ¶
func (t *TraceServiceDefinition) SetService(v string)
SetService allocates a new t.Service and returns the pointer to it.
func (*TraceServiceDefinition) SetShowBreakdown ¶
func (t *TraceServiceDefinition) SetShowBreakdown(v bool)
SetShowBreakdown allocates a new t.ShowBreakdown and returns the pointer to it.
func (*TraceServiceDefinition) SetShowDistribution ¶
func (t *TraceServiceDefinition) SetShowDistribution(v bool)
SetShowDistribution allocates a new t.ShowDistribution and returns the pointer to it.
func (*TraceServiceDefinition) SetShowErrors ¶
func (t *TraceServiceDefinition) SetShowErrors(v bool)
SetShowErrors allocates a new t.ShowErrors and returns the pointer to it.
func (*TraceServiceDefinition) SetShowHits ¶
func (t *TraceServiceDefinition) SetShowHits(v bool)
SetShowHits allocates a new t.ShowHits and returns the pointer to it.
func (*TraceServiceDefinition) SetShowLatency ¶
func (t *TraceServiceDefinition) SetShowLatency(v bool)
SetShowLatency allocates a new t.ShowLatency and returns the pointer to it.
func (*TraceServiceDefinition) SetShowResourceList ¶
func (t *TraceServiceDefinition) SetShowResourceList(v bool)
SetShowResourceList allocates a new t.ShowResourceList and returns the pointer to it.
func (*TraceServiceDefinition) SetSizeFormat ¶
func (t *TraceServiceDefinition) SetSizeFormat(v string)
SetSizeFormat allocates a new t.SizeFormat and returns the pointer to it.
func (*TraceServiceDefinition) SetSpanName ¶
func (t *TraceServiceDefinition) SetSpanName(v string)
SetSpanName allocates a new t.SpanName and returns the pointer to it.
func (*TraceServiceDefinition) SetTime ¶
func (t *TraceServiceDefinition) SetTime(v WidgetTime)
SetTime allocates a new t.Time and returns the pointer to it.
func (*TraceServiceDefinition) SetTitle ¶
func (t *TraceServiceDefinition) SetTitle(v string)
SetTitle allocates a new t.Title and returns the pointer to it.
func (*TraceServiceDefinition) SetTitleAlign ¶
func (t *TraceServiceDefinition) SetTitleAlign(v string)
SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
func (*TraceServiceDefinition) SetTitleSize ¶
func (t *TraceServiceDefinition) SetTitleSize(v string)
SetTitleSize allocates a new t.TitleSize and returns the pointer to it.
func (*TraceServiceDefinition) SetType ¶
func (t *TraceServiceDefinition) SetType(v string)
SetType allocates a new t.Type 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:"x,omitempty"` Y *int `json:"y,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 *PrecisionT `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 ¶
func (w *Widget) GetPrecision() PrecisionT
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (*Widget) GetPrecisionOk ¶
func (w *Widget) GetPrecisionOk() (PrecisionT, 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 (*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 ¶
func (w *Widget) SetPrecision(v PrecisionT)
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 WidgetApmOrLogQuery ¶
type WidgetApmOrLogQuery struct { Index *string `json:"index"` Compute *ApmOrLogQueryCompute `json:"compute"` Search *ApmOrLogQuerySearch `json:"search,omitempty"` GroupBy []ApmOrLogQueryGroupBy `json:"group_by,omitempty"` }
WidgetApmOrLogQuery represents an APM or a Log query
func (*WidgetApmOrLogQuery) GetCompute ¶
func (w *WidgetApmOrLogQuery) GetCompute() ApmOrLogQueryCompute
GetCompute returns the Compute field if non-nil, zero value otherwise.
func (*WidgetApmOrLogQuery) GetComputeOk ¶
func (w *WidgetApmOrLogQuery) GetComputeOk() (ApmOrLogQueryCompute, bool)
GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetApmOrLogQuery) GetIndex ¶
func (w *WidgetApmOrLogQuery) GetIndex() string
GetIndex returns the Index field if non-nil, zero value otherwise.
func (*WidgetApmOrLogQuery) GetIndexOk ¶
func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetApmOrLogQuery) GetSearch ¶
func (w *WidgetApmOrLogQuery) GetSearch() ApmOrLogQuerySearch
GetSearch returns the Search field if non-nil, zero value otherwise.
func (*WidgetApmOrLogQuery) GetSearchOk ¶
func (w *WidgetApmOrLogQuery) GetSearchOk() (ApmOrLogQuerySearch, bool)
GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetApmOrLogQuery) HasCompute ¶
func (w *WidgetApmOrLogQuery) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*WidgetApmOrLogQuery) HasIndex ¶
func (w *WidgetApmOrLogQuery) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*WidgetApmOrLogQuery) HasSearch ¶
func (w *WidgetApmOrLogQuery) HasSearch() bool
HasSearch returns a boolean if a field has been set.
func (*WidgetApmOrLogQuery) SetCompute ¶
func (w *WidgetApmOrLogQuery) SetCompute(v ApmOrLogQueryCompute)
SetCompute allocates a new w.Compute and returns the pointer to it.
func (*WidgetApmOrLogQuery) SetIndex ¶
func (w *WidgetApmOrLogQuery) SetIndex(v string)
SetIndex allocates a new w.Index and returns the pointer to it.
func (*WidgetApmOrLogQuery) SetSearch ¶
func (w *WidgetApmOrLogQuery) SetSearch(v ApmOrLogQuerySearch)
SetSearch allocates a new w.Search and returns the pointer to it.
type WidgetAxis ¶
type WidgetAxis struct { Label *string `json:"label,omitempty"` Scale *string `json:"scale,omitempty"` Min *string `json:"min,omitempty"` Max *string `json:"max,omitempty"` IncludeZero *bool `json:"include_zero,omitempty"` }
func (*WidgetAxis) GetIncludeZero ¶
func (w *WidgetAxis) GetIncludeZero() bool
GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.
func (*WidgetAxis) GetIncludeZeroOk ¶
func (w *WidgetAxis) GetIncludeZeroOk() (bool, bool)
GetIncludeZeroOk returns a tuple with the IncludeZero field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetAxis) GetLabel ¶
func (w *WidgetAxis) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (*WidgetAxis) GetLabelOk ¶
func (w *WidgetAxis) 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 (*WidgetAxis) GetMax ¶
func (w *WidgetAxis) GetMax() string
GetMax returns the Max field if non-nil, zero value otherwise.
func (*WidgetAxis) GetMaxOk ¶
func (w *WidgetAxis) GetMaxOk() (string, 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 (*WidgetAxis) GetMin ¶
func (w *WidgetAxis) GetMin() string
GetMin returns the Min field if non-nil, zero value otherwise.
func (*WidgetAxis) GetMinOk ¶
func (w *WidgetAxis) GetMinOk() (string, 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 (*WidgetAxis) GetScale ¶
func (w *WidgetAxis) GetScale() string
GetScale returns the Scale field if non-nil, zero value otherwise.
func (*WidgetAxis) GetScaleOk ¶
func (w *WidgetAxis) GetScaleOk() (string, bool)
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 (*WidgetAxis) HasIncludeZero ¶
func (w *WidgetAxis) HasIncludeZero() bool
HasIncludeZero returns a boolean if a field has been set.
func (*WidgetAxis) HasLabel ¶
func (w *WidgetAxis) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*WidgetAxis) HasMax ¶
func (w *WidgetAxis) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*WidgetAxis) HasMin ¶
func (w *WidgetAxis) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*WidgetAxis) HasScale ¶
func (w *WidgetAxis) HasScale() bool
HasScale returns a boolean if a field has been set.
func (*WidgetAxis) SetIncludeZero ¶
func (w *WidgetAxis) SetIncludeZero(v bool)
SetIncludeZero allocates a new w.IncludeZero and returns the pointer to it.
func (*WidgetAxis) SetLabel ¶
func (w *WidgetAxis) SetLabel(v string)
SetLabel allocates a new w.Label and returns the pointer to it.
func (*WidgetAxis) SetMax ¶
func (w *WidgetAxis) SetMax(v string)
SetMax allocates a new w.Max and returns the pointer to it.
func (*WidgetAxis) SetMin ¶
func (w *WidgetAxis) SetMin(v string)
SetMin allocates a new w.Min and returns the pointer to it.
func (*WidgetAxis) SetScale ¶
func (w *WidgetAxis) SetScale(v string)
SetScale allocates a new w.Scale and returns the pointer to it.
type WidgetConditionalFormat ¶
type WidgetConditionalFormat struct { Comparator *string `json:"comparator"` Value *float64 `json:"value"` Palette *string `json:"palette"` CustomBgColor *string `json:"custom_bg_color,omitempty"` CustomFgColor *string `json:"custom_fg_color,omitempty"` ImageUrl *string `json:"image_url,omitempty"` HideValue *bool `json:"hide_value,omitempty"` Timeframe *string `json:"timeframe,omitempty"` }
func (*WidgetConditionalFormat) GetComparator ¶
func (w *WidgetConditionalFormat) GetComparator() string
GetComparator returns the Comparator field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetComparatorOk ¶
func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetCustomBgColor ¶
func (w *WidgetConditionalFormat) GetCustomBgColor() string
GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetCustomBgColorOk ¶
func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetCustomFgColor ¶
func (w *WidgetConditionalFormat) GetCustomFgColor() string
GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetCustomFgColorOk ¶
func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetHideValue ¶
func (w *WidgetConditionalFormat) GetHideValue() bool
GetHideValue returns the HideValue field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetHideValueOk ¶
func (w *WidgetConditionalFormat) GetHideValueOk() (bool, bool)
GetHideValueOk returns a tuple with the HideValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetConditionalFormat) GetImageUrl ¶
func (w *WidgetConditionalFormat) GetImageUrl() string
GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetImageUrlOk ¶
func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetPalette ¶
func (w *WidgetConditionalFormat) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetPaletteOk ¶
func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetTimeframe ¶
func (w *WidgetConditionalFormat) GetTimeframe() string
GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetTimeframeOk ¶
func (w *WidgetConditionalFormat) GetTimeframeOk() (string, bool)
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 (*WidgetConditionalFormat) GetValue ¶
func (w *WidgetConditionalFormat) GetValue() float64
GetValue returns the Value field if non-nil, zero value otherwise.
func (*WidgetConditionalFormat) GetValueOk ¶
func (w *WidgetConditionalFormat) GetValueOk() (float64, 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 (*WidgetConditionalFormat) HasComparator ¶
func (w *WidgetConditionalFormat) HasComparator() bool
HasComparator returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasCustomBgColor ¶
func (w *WidgetConditionalFormat) HasCustomBgColor() bool
HasCustomBgColor returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasCustomFgColor ¶
func (w *WidgetConditionalFormat) HasCustomFgColor() bool
HasCustomFgColor returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasHideValue ¶
func (w *WidgetConditionalFormat) HasHideValue() bool
HasHideValue returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasImageUrl ¶
func (w *WidgetConditionalFormat) HasImageUrl() bool
HasImageUrl returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasPalette ¶
func (w *WidgetConditionalFormat) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasTimeframe ¶
func (w *WidgetConditionalFormat) HasTimeframe() bool
HasTimeframe returns a boolean if a field has been set.
func (*WidgetConditionalFormat) HasValue ¶
func (w *WidgetConditionalFormat) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*WidgetConditionalFormat) SetComparator ¶
func (w *WidgetConditionalFormat) SetComparator(v string)
SetComparator allocates a new w.Comparator and returns the pointer to it.
func (*WidgetConditionalFormat) SetCustomBgColor ¶
func (w *WidgetConditionalFormat) SetCustomBgColor(v string)
SetCustomBgColor allocates a new w.CustomBgColor and returns the pointer to it.
func (*WidgetConditionalFormat) SetCustomFgColor ¶
func (w *WidgetConditionalFormat) SetCustomFgColor(v string)
SetCustomFgColor allocates a new w.CustomFgColor and returns the pointer to it.
func (*WidgetConditionalFormat) SetHideValue ¶
func (w *WidgetConditionalFormat) SetHideValue(v bool)
SetHideValue allocates a new w.HideValue and returns the pointer to it.
func (*WidgetConditionalFormat) SetImageUrl ¶
func (w *WidgetConditionalFormat) SetImageUrl(v string)
SetImageUrl allocates a new w.ImageUrl and returns the pointer to it.
func (*WidgetConditionalFormat) SetPalette ¶
func (w *WidgetConditionalFormat) SetPalette(v string)
SetPalette allocates a new w.Palette and returns the pointer to it.
func (*WidgetConditionalFormat) SetTimeframe ¶
func (w *WidgetConditionalFormat) SetTimeframe(v string)
SetTimeframe allocates a new w.Timeframe and returns the pointer to it.
func (*WidgetConditionalFormat) SetValue ¶
func (w *WidgetConditionalFormat) SetValue(v float64)
SetValue allocates a new w.Value and returns the pointer to it.
type WidgetEvent ¶
type WidgetEvent struct {
Query *string `json:"q"`
}
func (*WidgetEvent) GetQuery ¶
func (w *WidgetEvent) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
func (*WidgetEvent) GetQueryOk ¶
func (w *WidgetEvent) 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 (*WidgetEvent) HasQuery ¶
func (w *WidgetEvent) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*WidgetEvent) SetQuery ¶
func (w *WidgetEvent) SetQuery(v string)
SetQuery allocates a new w.Query and returns the pointer to it.
type WidgetLayout ¶
type WidgetLayout struct { X *float64 `json:"x,omitempty"` Y *float64 `json:"y,omitempty"` Height *float64 `json:"height,omitempty"` Width *float64 `json:"width,omitempty"` }
WidgetLayout represents the layout for a widget on a "free" dashboard
func (*WidgetLayout) GetHeight ¶
func (w *WidgetLayout) GetHeight() float64
GetHeight returns the Height field if non-nil, zero value otherwise.
func (*WidgetLayout) GetHeightOk ¶
func (w *WidgetLayout) GetHeightOk() (float64, 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 (*WidgetLayout) GetWidth ¶
func (w *WidgetLayout) GetWidth() float64
GetWidth returns the Width field if non-nil, zero value otherwise.
func (*WidgetLayout) GetWidthOk ¶
func (w *WidgetLayout) GetWidthOk() (float64, 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 (*WidgetLayout) GetX ¶
func (w *WidgetLayout) GetX() float64
GetX returns the X field if non-nil, zero value otherwise.
func (*WidgetLayout) GetXOk ¶
func (w *WidgetLayout) GetXOk() (float64, bool)
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 (*WidgetLayout) GetY ¶
func (w *WidgetLayout) GetY() float64
GetY returns the Y field if non-nil, zero value otherwise.
func (*WidgetLayout) GetYOk ¶
func (w *WidgetLayout) GetYOk() (float64, bool)
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 (*WidgetLayout) HasHeight ¶
func (w *WidgetLayout) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*WidgetLayout) HasWidth ¶
func (w *WidgetLayout) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (*WidgetLayout) HasX ¶
func (w *WidgetLayout) HasX() bool
HasX returns a boolean if a field has been set.
func (*WidgetLayout) HasY ¶
func (w *WidgetLayout) HasY() bool
HasY returns a boolean if a field has been set.
func (*WidgetLayout) SetHeight ¶
func (w *WidgetLayout) SetHeight(v float64)
SetHeight allocates a new w.Height and returns the pointer to it.
func (*WidgetLayout) SetWidth ¶
func (w *WidgetLayout) SetWidth(v float64)
SetWidth allocates a new w.Width and returns the pointer to it.
func (*WidgetLayout) SetX ¶
func (w *WidgetLayout) SetX(v float64)
SetX allocates a new w.X and returns the pointer to it.
func (*WidgetLayout) SetY ¶
func (w *WidgetLayout) SetY(v float64)
SetY allocates a new w.Y and returns the pointer to it.
type WidgetMarker ¶
type WidgetMarker struct { Value *string `json:"value"` DisplayType *string `json:"display_type,omitempty"` Label *string `json:"label,omitempty"` }
func (*WidgetMarker) GetDisplayType ¶
func (w *WidgetMarker) GetDisplayType() string
GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.
func (*WidgetMarker) GetDisplayTypeOk ¶
func (w *WidgetMarker) GetDisplayTypeOk() (string, bool)
GetDisplayTypeOk returns a tuple with the DisplayType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetMarker) GetLabel ¶
func (w *WidgetMarker) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (*WidgetMarker) GetLabelOk ¶
func (w *WidgetMarker) 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 (*WidgetMarker) GetValue ¶
func (w *WidgetMarker) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (*WidgetMarker) GetValueOk ¶
func (w *WidgetMarker) 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 (*WidgetMarker) HasDisplayType ¶
func (w *WidgetMarker) HasDisplayType() bool
HasDisplayType returns a boolean if a field has been set.
func (*WidgetMarker) HasLabel ¶
func (w *WidgetMarker) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*WidgetMarker) HasValue ¶
func (w *WidgetMarker) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*WidgetMarker) SetDisplayType ¶
func (w *WidgetMarker) SetDisplayType(v string)
SetDisplayType allocates a new w.DisplayType and returns the pointer to it.
func (*WidgetMarker) SetLabel ¶
func (w *WidgetMarker) SetLabel(v string)
SetLabel allocates a new w.Label and returns the pointer to it.
func (*WidgetMarker) SetValue ¶
func (w *WidgetMarker) SetValue(v string)
SetValue allocates a new w.Value and returns the pointer to it.
type WidgetMetadata ¶
type WidgetMetadata struct { Expression *string `json:"expression"` AliasName *string `json:"alias_name,omitempty"` }
func (*WidgetMetadata) GetAliasName ¶
func (w *WidgetMetadata) GetAliasName() string
GetAliasName returns the AliasName field if non-nil, zero value otherwise.
func (*WidgetMetadata) GetAliasNameOk ¶
func (w *WidgetMetadata) GetAliasNameOk() (string, bool)
GetAliasNameOk returns a tuple with the AliasName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetMetadata) GetExpression ¶
func (w *WidgetMetadata) GetExpression() string
GetExpression returns the Expression field if non-nil, zero value otherwise.
func (*WidgetMetadata) GetExpressionOk ¶
func (w *WidgetMetadata) GetExpressionOk() (string, bool)
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 (*WidgetMetadata) HasAliasName ¶
func (w *WidgetMetadata) HasAliasName() bool
HasAliasName returns a boolean if a field has been set.
func (*WidgetMetadata) HasExpression ¶
func (w *WidgetMetadata) HasExpression() bool
HasExpression returns a boolean if a field has been set.
func (*WidgetMetadata) SetAliasName ¶
func (w *WidgetMetadata) SetAliasName(v string)
SetAliasName allocates a new w.AliasName and returns the pointer to it.
func (*WidgetMetadata) SetExpression ¶
func (w *WidgetMetadata) SetExpression(v string)
SetExpression allocates a new w.Expression and returns the pointer to it.
type WidgetProcessQuery ¶
type WidgetProcessQuery struct { Metric *string `json:"metric"` SearchBy *string `json:"search_by,omitempty"` FilterBy []string `json:"filter_by,omitempty"` Limit *int `json:"limit,omitempty"` }
WidgetProcessQuery represents a Process query
func (*WidgetProcessQuery) GetLimit ¶
func (w *WidgetProcessQuery) GetLimit() int
GetLimit returns the Limit field if non-nil, zero value otherwise.
func (*WidgetProcessQuery) GetLimitOk ¶
func (w *WidgetProcessQuery) 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 (*WidgetProcessQuery) GetMetric ¶
func (w *WidgetProcessQuery) GetMetric() string
GetMetric returns the Metric field if non-nil, zero value otherwise.
func (*WidgetProcessQuery) GetMetricOk ¶
func (w *WidgetProcessQuery) 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 (*WidgetProcessQuery) GetSearchBy ¶
func (w *WidgetProcessQuery) GetSearchBy() string
GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.
func (*WidgetProcessQuery) GetSearchByOk ¶
func (w *WidgetProcessQuery) GetSearchByOk() (string, bool)
GetSearchByOk returns a tuple with the SearchBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*WidgetProcessQuery) HasLimit ¶
func (w *WidgetProcessQuery) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*WidgetProcessQuery) HasMetric ¶
func (w *WidgetProcessQuery) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*WidgetProcessQuery) HasSearchBy ¶
func (w *WidgetProcessQuery) HasSearchBy() bool
HasSearchBy returns a boolean if a field has been set.
func (*WidgetProcessQuery) SetLimit ¶
func (w *WidgetProcessQuery) SetLimit(v int)
SetLimit allocates a new w.Limit and returns the pointer to it.
func (*WidgetProcessQuery) SetMetric ¶
func (w *WidgetProcessQuery) SetMetric(v string)
SetMetric allocates a new w.Metric and returns the pointer to it.
func (*WidgetProcessQuery) SetSearchBy ¶
func (w *WidgetProcessQuery) SetSearchBy(v string)
SetSearchBy allocates a new w.SearchBy and returns the pointer to it.
type WidgetRequestStyle ¶
type WidgetRequestStyle struct {
Palette *string `json:"palette,omitempty"`
}
WidgetRequestStyle represents the style that can be apply to a request
func (*WidgetRequestStyle) GetPalette ¶
func (w *WidgetRequestStyle) GetPalette() string
GetPalette returns the Palette field if non-nil, zero value otherwise.
func (*WidgetRequestStyle) GetPaletteOk ¶
func (w *WidgetRequestStyle) 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 (*WidgetRequestStyle) HasPalette ¶
func (w *WidgetRequestStyle) HasPalette() bool
HasPalette returns a boolean if a field has been set.
func (*WidgetRequestStyle) SetPalette ¶
func (w *WidgetRequestStyle) SetPalette(v string)
SetPalette allocates a new w.Palette and returns the pointer to it.
type WidgetTime ¶
type WidgetTime struct {
LiveSpan *string `json:"live_span,omitempty"`
}
func (*WidgetTime) GetLiveSpan ¶
func (w *WidgetTime) GetLiveSpan() string
GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.
func (*WidgetTime) GetLiveSpanOk ¶
func (w *WidgetTime) GetLiveSpanOk() (string, bool)
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 (*WidgetTime) HasLiveSpan ¶
func (w *WidgetTime) HasLiveSpan() bool
HasLiveSpan returns a boolean if a field has been set.
func (*WidgetTime) SetLiveSpan ¶
func (w *WidgetTime) SetLiveSpan(v string)
SetLiveSpan allocates a new w.LiveSpan 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"` IncludeZero *bool `json:"includeZero,omitempty"` IncludeUnits *bool `json:"units,omitempty"` }
func (*Yaxis) GetIncludeUnits ¶
GetIncludeUnits returns the IncludeUnits field if non-nil, zero value otherwise.
func (*Yaxis) GetIncludeUnitsOk ¶
GetIncludeUnitsOk returns a tuple with the IncludeUnits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (*Yaxis) GetIncludeZero ¶
GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.
func (*Yaxis) GetIncludeZeroOk ¶
GetIncludeZeroOk returns a tuple with the IncludeZero field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
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) HasIncludeUnits ¶
HasIncludeUnits returns a boolean if a field has been set.
func (*Yaxis) HasIncludeZero ¶
HasIncludeZero returns a boolean if a field has been set.
func (*Yaxis) SetIncludeUnits ¶
SetIncludeUnits allocates a new y.IncludeUnits and returns the pointer to it.
func (*Yaxis) SetIncludeZero ¶
SetIncludeZero allocates a new y.IncludeZero and returns the pointer to it.
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.
Source Files ¶
- alerts.go
- api_keys.go
- board_widgets.go
- boards.go
- checks.go
- client.go
- comments.go
- dashboard_lists.go
- dashboards.go
- datadog-accessors.go
- downtimes.go
- events.go
- generate.go
- helpers.go
- hosts.go
- integrations.go
- metric_metadata.go
- monitors.go
- request.go
- screen_widgets.go
- screenboards.go
- search.go
- series.go
- snapshot.go
- synthetics.go
- tags.go
- users.go