datadog

package module
v2.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: BSD-3-Clause Imports: 16 Imported by: 58

README

GoDoc License Build status Go Report Card

Datadog API in Go

This is the v2.0 version of the API, and has breaking changes. Use the v1.0 branch if you need legacy code to be supported.

A Go wrapper for the Datadog API. Use this library if you need to interact with the Datadog system. You can post metrics with it if you want, but this library is probably mostly used for automating dashboards/alerting and retrieving data (events, etc).

The source API documentation is here: http://docs.datadoghq.com/api/

Installation

To use the default branch, include it in your code like:

    import "github.com/zorkian/go-datadog-api"

Or, if you need to control which version to use, import using gopkg.in. Like so:

    import "gopkg.in/zorkian/go-datadog-api.v2"

Using go get:

go get gopkg.in/zorkian/go-datadog-api.v2

USAGE

This library uses pointers to be able to verify if values are set or not (vs the default value for the type). Like protobuf there are helpers to enhance the API. You can decide to not use them, but you'll have to be careful handling nil pointers.

Using the client:

    client := datadog.NewClient("api key", "application key")

    dash, err := client.GetDashboard(*datadog.Int(10880))
    if err != nil {
        log.Fatalf("fatal: %s\n", err)
    }
    
    log.Printf("dashboard %d: %s\n", dash.GetId(), dash.GetTitle())

An example using datadog.String(), which allocates a pointer for you:

	m := datadog.Monitor{
		Name: datadog.String("Monitor other things"),
		Creator: &datadog.Creator{
			Name: datadog.String("Joe Creator"),
		},
	}

An example using the SetXx, HasXx, GetXx and GetXxOk accessors:

	m := datadog.Monitor{}
	m.SetName("Monitor all the things")
	m.SetMessage("Electromagnetic energy loss")

	// Use HasMessage(), to verify we have interest in the message.
	// Using GetMessage() always safe as it returns the actual or, if never set, default value for that type.
	if m.HasMessage() {
		fmt.Printf("Found message %s\n", m.GetMessage())
	}

	// Alternatively, use GetMessageOk(), it returns a tuple with the (default) value and a boolean expressing
	// if it was set at all:
	if v, ok := m.GetMessageOk(); ok {
		fmt.Printf("Found message %s\n", v)
	}

Check out the Godoc link for the available API methods and, if you can't find the one you need, let us know (or patches welcome)!

DOCUMENTATION

Please see: https://godoc.org/gopkg.in/zorkian/go-datadog-api.v2

BUGS/PROBLEMS/CONTRIBUTING

There are certainly some, but presently no known major bugs. If you do find something that doesn't work as expected, please file an issue on Github:

https://github.com/zorkian/go-datadog-api/issues

Thanks in advance! And, as always, patches welcome!

DEVELOPMENT

Running tests
  • Run tests tests with make test.
  • Integration tests can be run with make testacc. Run specific integration tests with make testacc TESTARGS='-run=TestCreateAndDeleteMonitor'

The acceptance tests require DATADOG_API_KEY and DATADOG_APP_KEY to be available in your environment variables.

Warning: the integrations tests will create and remove real resources in your Datadog account.

Regenerating code

Accessors HasXx, GetXx, GetOkXx and SetXx are generated for each struct field type type that contains pointers. When structs are updated a contributor has to regenerate these using go generate and commit these changes. Optionally there is a make target for the generation:

make generate

Please see the LICENSE file for the included license information.

Copyright 2013-2019 by authors and contributors.

Documentation

Index

Constants

View Source
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"
	QUERY_TABLE_WIDGET             = "query_table"
	SCATTERPLOT_WIDGET             = "scatterplot"
	SERVICE_LEVEL_OBJECTIVE_WIDGET = "slo"
	TIMESERIES_WIDGET              = "timeseries"
	TOPLIST_WIDGET                 = "toplist"
	TRACE_SERVICE_WIDGET           = "trace_service"
)
View Source
const (
	DashboardListItemCustomTimeboard        = "custom_timeboard"
	DashboardListItemCustomScreenboard      = "custom_screenboard"
	DashboardListItemIntegerationTimeboard  = "integration_timeboard"
	DashboardListItemIntegrationScreenboard = "integration_screenboard"
	DashboardListItemHostTimeboard          = "host_timeboard"
)
View Source
const (
	ArithmeticProcessorType    = "arithmetic-processor"
	AttributeRemapperType      = "attribute-remapper"
	CategoryProcessorType      = "category-processor"
	DateRemapperType           = "date-remapper"
	GeoIPParserType            = "geo-ip-parser"
	GrokParserType             = "grok-parser"
	LookupProcessorType        = "lookup-processor"
	MessageRemapperType        = "message-remapper"
	NestedPipelineType         = "pipeline"
	ServiceRemapperType        = "service-remapper"
	StatusRemapperType         = "status-remapper"
	StringBuilderProcessorType = "string-builder-processor"
	TraceIdRemapperType        = "trace-id-remapper"
	UrlParserType              = "url-parser"
	UserAgentParserType        = "user-agent-parser"
)
View Source
const (
	ServiceLevelObjectiveTypeMonitorID int = 0
	ServiceLevelObjectiveTypeMetricID  int = 1
)

Define the available machine-readable SLO types

Variables

View Source
var (
	ServiceLevelObjectiveTypeMonitor = "monitor"
	ServiceLevelObjectiveTypeMetric  = "metric"
)

Define the available human-readable SLO types

ServiceLevelObjectiveTypeFromID maps machine-readable type to human-readable type

ServiceLevelObjectiveTypeToID maps human-readable type to machine-readable type

Functions

func Bool

func Bool(v bool) *bool

Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.

func Float64 added in v2.22.0

func Float64(v float64) *float64

Float64 is a helper routine that allocates a new float64 value to store v and returns a pointer to it.

func Float64AlmostEqual added in v2.22.0

func Float64AlmostEqual(a, b, tolerance float64) bool

Float64AlmostEqual will return true if two floats are within a certain tolerance of each other

func GetBool

func GetBool(v *bool) (bool, bool)

GetBool is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.

func GetFloat64Ok added in v2.22.0

func GetFloat64Ok(v *float64) (float64, bool)

GetFloat64Ok is a helper routine that returns a boolean representing if a value was set, and if so, dereferences the pointer to it.

func GetFloatFromInterface added in v2.28.0

func GetFloatFromInterface(intf *interface{}) (*float64, bool, error)

func GetIntOk

func GetIntOk(v *int) (int, bool)

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

func GetJsonNumberOk(v *json.Number) (json.Number, bool)

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 added in v2.20.0

func GetStringId(id interface{}) (string, error)

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

func GetStringOk(v *string) (string, bool)

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

func Int(v int) *int

Int is a helper routine that allocates a new int value to store v and returns a pointer to it.

func Int64 added in v2.24.0

func Int64(v int64) *int64

Int64 is a helper routine that allocates a new int64 value to store v and return a pointer to it.

func JsonNumber

func JsonNumber(v json.Number) *json.Number

JsonNumber is a helper routine that allocates a new string value to store v and returns a pointer to it.

func ServiceLevelObjectiveTimeFrameToDuration added in v2.22.0

func ServiceLevelObjectiveTimeFrameToDuration(timeframe string) (time.Duration, error)

ServiceLevelObjectiveTimeFrameToDuration will convert a timeframe into a duration

func String

func String(v string) *string

String is a helper routine that allocates a new string value to store v and returns a pointer to it.

Types

type APIKey added in v2.20.0

type APIKey struct {
	CreatedBy *string    `json:"created_by,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Key       *string    `json:"key,omitempty"`
	Created   *time.Time `json:"created,omitempty"`
}

APIKey represents and API key

func (*APIKey) GetCreated added in v2.20.0

func (a *APIKey) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

func (*APIKey) GetCreatedBy added in v2.20.0

func (a *APIKey) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

func (*APIKey) GetCreatedByOk added in v2.20.0

func (a *APIKey) GetCreatedByOk() (string, 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 (*APIKey) GetCreatedOk added in v2.20.0

func (a *APIKey) GetCreatedOk() (time.Time, 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 (*APIKey) GetKey added in v2.20.0

func (a *APIKey) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

func (*APIKey) GetKeyOk added in v2.20.0

func (a *APIKey) GetKeyOk() (string, bool)

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) GetName added in v2.20.0

func (a *APIKey) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*APIKey) GetNameOk added in v2.20.0

func (a *APIKey) 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 (*APIKey) HasCreated added in v2.20.0

func (a *APIKey) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*APIKey) HasCreatedBy added in v2.20.0

func (a *APIKey) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*APIKey) HasKey added in v2.20.0

func (a *APIKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*APIKey) HasName added in v2.20.0

func (a *APIKey) HasName() bool

HasName returns a boolean if a field has been set.

func (APIKey) MarshalJSON added in v2.20.0

func (k APIKey) MarshalJSON() ([]byte, error)

MarshalJSON is a custom method for handling datetime marshalling

func (*APIKey) SetCreated added in v2.20.0

func (a *APIKey) SetCreated(v time.Time)

SetCreated allocates a new a.Created and returns the pointer to it.

func (*APIKey) SetCreatedBy added in v2.20.0

func (a *APIKey) SetCreatedBy(v string)

SetCreatedBy allocates a new a.CreatedBy and returns the pointer to it.

func (*APIKey) SetKey added in v2.20.0

func (a *APIKey) SetKey(v string)

SetKey allocates a new a.Key and returns the pointer to it.

func (*APIKey) SetName added in v2.20.0

func (a *APIKey) SetName(v string)

SetName allocates a new a.Name and returns the pointer to it.

func (*APIKey) UnmarshalJSON added in v2.20.0

func (k *APIKey) UnmarshalJSON(data []byte) error

UnmarshalJSON is a custom method for handling datetime unmarshalling

type APPKey added in v2.22.0

type APPKey struct {
	Owner *string `json:"owner,omitempty"`
	Name  *string `json:"name,omitempty"`
	Hash  *string `json:"hash,omitempty"`
}

APPKey represents an APP key

func (*APPKey) GetHash added in v2.22.0

func (a *APPKey) GetHash() string

GetHash returns the Hash field if non-nil, zero value otherwise.

func (*APPKey) GetHashOk added in v2.22.0

func (a *APPKey) GetHashOk() (string, bool)

GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*APPKey) GetName added in v2.22.0

func (a *APPKey) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*APPKey) GetNameOk added in v2.22.0

func (a *APPKey) 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 (*APPKey) GetOwner added in v2.22.0

func (a *APPKey) GetOwner() string

GetOwner returns the Owner field if non-nil, zero value otherwise.

func (*APPKey) GetOwnerOk added in v2.22.0

func (a *APPKey) GetOwnerOk() (string, bool)

GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*APPKey) HasHash added in v2.22.0

func (a *APPKey) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*APPKey) HasName added in v2.22.0

func (a *APPKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*APPKey) HasOwner added in v2.22.0

func (a *APPKey) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*APPKey) SetHash added in v2.22.0

func (a *APPKey) SetHash(v string)

SetHash allocates a new a.Hash and returns the pointer to it.

func (*APPKey) SetName added in v2.22.0

func (a *APPKey) SetName(v string)

SetName allocates a new a.Name and returns the pointer to it.

func (*APPKey) SetOwner added in v2.22.0

func (a *APPKey) SetOwner(v string)

SetOwner allocates a new a.Owner and returns the pointer to it.

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

func (a *Alert) GetCreator() int

GetCreator returns the Creator field if non-nil, zero value otherwise.

func (*Alert) GetCreatorOk

func (a *Alert) GetCreatorOk() (int, bool)

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) GetId

func (a *Alert) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Alert) GetIdOk

func (a *Alert) 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 (*Alert) GetMessage

func (a *Alert) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*Alert) GetMessageOk

func (a *Alert) 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 (*Alert) GetName

func (a *Alert) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Alert) GetNameOk

func (a *Alert) 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 (*Alert) GetNotifyNoData

func (a *Alert) GetNotifyNoData() bool

GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.

func (*Alert) GetNotifyNoDataOk

func (a *Alert) GetNotifyNoDataOk() (bool, bool)

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) GetQuery

func (a *Alert) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*Alert) GetQueryOk

func (a *Alert) 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 (*Alert) GetSilenced

func (a *Alert) GetSilenced() bool

GetSilenced returns the Silenced field if non-nil, zero value otherwise.

func (*Alert) GetSilencedOk

func (a *Alert) GetSilencedOk() (bool, bool)

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) GetState

func (a *Alert) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

func (*Alert) GetStateOk

func (a *Alert) GetStateOk() (string, bool)

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

func (a *Alert) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Alert) HasId

func (a *Alert) HasId() bool

HasId returns a boolean if a field has been set.

func (*Alert) HasMessage

func (a *Alert) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Alert) HasName

func (a *Alert) HasName() bool

HasName returns a boolean if a field has been set.

func (*Alert) HasNotifyNoData

func (a *Alert) HasNotifyNoData() bool

HasNotifyNoData returns a boolean if a field has been set.

func (*Alert) HasQuery

func (a *Alert) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Alert) HasSilenced

func (a *Alert) HasSilenced() bool

HasSilenced returns a boolean if a field has been set.

func (*Alert) HasState

func (a *Alert) HasState() bool

HasState returns a boolean if a field has been set.

func (*Alert) SetCreator

func (a *Alert) SetCreator(v int)

SetCreator allocates a new a.Creator and returns the pointer to it.

func (*Alert) SetId

func (a *Alert) SetId(v int)

SetId allocates a new a.Id and returns the pointer to it.

func (*Alert) SetMessage

func (a *Alert) SetMessage(v string)

SetMessage allocates a new a.Message and returns the pointer to it.

func (*Alert) SetName

func (a *Alert) SetName(v string)

SetName allocates a new a.Name and returns the pointer to it.

func (*Alert) SetNotifyNoData

func (a *Alert) SetNotifyNoData(v bool)

SetNotifyNoData allocates a new a.NotifyNoData and returns the pointer to it.

func (*Alert) SetQuery

func (a *Alert) SetQuery(v string)

SetQuery allocates a new a.Query and returns the pointer to it.

func (*Alert) SetSilenced

func (a *Alert) SetSilenced(v bool)

SetSilenced allocates a new a.Silenced and returns the pointer to it.

func (*Alert) SetState

func (a *Alert) SetState(v string)

SetState allocates a new a.State and returns the pointer to it.

type AlertGraphDefinition added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetAlertId() string

GetAlertId returns the AlertId field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetAlertIdOk added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetTitleAlign added in v2.20.0

func (a *AlertGraphDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) GetVizType() string

GetVizType returns the VizType field if non-nil, zero value otherwise.

func (*AlertGraphDefinition) GetVizTypeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertGraphDefinition) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTime added in v2.20.0

func (a *AlertGraphDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitle added in v2.20.0

func (a *AlertGraphDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitleAlign added in v2.20.0

func (a *AlertGraphDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitleSize added in v2.20.0

func (a *AlertGraphDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasType added in v2.20.0

func (a *AlertGraphDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasVizType added in v2.20.0

func (a *AlertGraphDefinition) HasVizType() bool

HasVizType returns a boolean if a field has been set.

func (*AlertGraphDefinition) SetAlertId added in v2.20.0

func (a *AlertGraphDefinition) SetAlertId(v string)

SetAlertId allocates a new a.AlertId and returns the pointer to it.

func (*AlertGraphDefinition) SetTime added in v2.20.0

func (a *AlertGraphDefinition) SetTime(v WidgetTime)

SetTime allocates a new a.Time and returns the pointer to it.

func (*AlertGraphDefinition) SetTitle added in v2.20.0

func (a *AlertGraphDefinition) SetTitle(v string)

SetTitle allocates a new a.Title and returns the pointer to it.

func (*AlertGraphDefinition) SetTitleAlign added in v2.20.0

func (a *AlertGraphDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.

func (*AlertGraphDefinition) SetTitleSize added in v2.20.0

func (a *AlertGraphDefinition) SetTitleSize(v string)

SetTitleSize allocates a new a.TitleSize and returns the pointer to it.

func (*AlertGraphDefinition) SetType added in v2.20.0

func (a *AlertGraphDefinition) SetType(v string)

SetType allocates a new a.Type and returns the pointer to it.

func (*AlertGraphDefinition) SetVizType added in v2.20.0

func (a *AlertGraphDefinition) SetVizType(v string)

SetVizType allocates a new a.VizType and returns the pointer to it.

type AlertValueDefinition added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetAlertId() string

GetAlertId returns the AlertId field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetAlertIdOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetPrecision() int

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetPrecisionOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetTextAlignOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetTitleAlign added in v2.20.0

func (a *AlertValueDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

func (*AlertValueDefinition) GetUnitOk added in v2.20.0

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 added in v2.20.0

func (a *AlertValueDefinition) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertValueDefinition) HasPrecision added in v2.20.0

func (a *AlertValueDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTextAlign added in v2.20.0

func (a *AlertValueDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitle added in v2.20.0

func (a *AlertValueDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitleAlign added in v2.20.0

func (a *AlertValueDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitleSize added in v2.20.0

func (a *AlertValueDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertValueDefinition) HasType added in v2.20.0

func (a *AlertValueDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertValueDefinition) HasUnit added in v2.20.0

func (a *AlertValueDefinition) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AlertValueDefinition) SetAlertId added in v2.20.0

func (a *AlertValueDefinition) SetAlertId(v string)

SetAlertId allocates a new a.AlertId and returns the pointer to it.

func (*AlertValueDefinition) SetPrecision added in v2.20.0

func (a *AlertValueDefinition) SetPrecision(v int)

SetPrecision allocates a new a.Precision and returns the pointer to it.

func (*AlertValueDefinition) SetTextAlign added in v2.20.0

func (a *AlertValueDefinition) SetTextAlign(v string)

SetTextAlign allocates a new a.TextAlign and returns the pointer to it.

func (*AlertValueDefinition) SetTitle added in v2.20.0

func (a *AlertValueDefinition) SetTitle(v string)

SetTitle allocates a new a.Title and returns the pointer to it.

func (*AlertValueDefinition) SetTitleAlign added in v2.20.0

func (a *AlertValueDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.

func (*AlertValueDefinition) SetTitleSize added in v2.20.0

func (a *AlertValueDefinition) SetTitleSize(v string)

SetTitleSize allocates a new a.TitleSize and returns the pointer to it.

func (*AlertValueDefinition) SetType added in v2.20.0

func (a *AlertValueDefinition) SetType(v string)

SetType allocates a new a.Type and returns the pointer to it.

func (*AlertValueDefinition) SetUnit added in v2.20.0

func (a *AlertValueDefinition) SetUnit(v string)

SetUnit allocates a new a.Unit and returns the pointer to it.

type ApmOrLogQueryCompute added in v2.20.0

type ApmOrLogQueryCompute struct {
	Aggregation *string `json:"aggregation"`
	Facet       *string `json:"facet,omitempty"`
	Interval    *int    `json:"interval,omitempty"`
}

func (*ApmOrLogQueryCompute) GetAggregation added in v2.20.0

func (a *ApmOrLogQueryCompute) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*ApmOrLogQueryCompute) GetAggregationOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryCompute) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*ApmOrLogQueryCompute) GetFacetOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryCompute) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*ApmOrLogQueryCompute) GetIntervalOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) HasFacet added in v2.20.0

func (a *ApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) HasInterval added in v2.20.0

func (a *ApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) SetAggregation added in v2.20.0

func (a *ApmOrLogQueryCompute) SetAggregation(v string)

SetAggregation allocates a new a.Aggregation and returns the pointer to it.

func (*ApmOrLogQueryCompute) SetFacet added in v2.20.0

func (a *ApmOrLogQueryCompute) SetFacet(v string)

SetFacet allocates a new a.Facet and returns the pointer to it.

func (*ApmOrLogQueryCompute) SetInterval added in v2.20.0

func (a *ApmOrLogQueryCompute) SetInterval(v int)

SetInterval allocates a new a.Interval and returns the pointer to it.

type ApmOrLogQueryGroupBy added in v2.20.0

type ApmOrLogQueryGroupBy struct {
	Facet *string                   `json:"facet"`
	Limit *int                      `json:"limit,omitempty"`
	Sort  *ApmOrLogQueryGroupBySort `json:"sort,omitempty"`
}

func (*ApmOrLogQueryGroupBy) GetFacet added in v2.20.0

func (a *ApmOrLogQueryGroupBy) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBy) GetFacetOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryGroupBy) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBy) GetLimitOk added in v2.20.0

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 added in v2.20.0

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBy) GetSortOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) HasLimit added in v2.20.0

func (a *ApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) HasSort added in v2.20.0

func (a *ApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) SetFacet added in v2.20.0

func (a *ApmOrLogQueryGroupBy) SetFacet(v string)

SetFacet allocates a new a.Facet and returns the pointer to it.

func (*ApmOrLogQueryGroupBy) SetLimit added in v2.20.0

func (a *ApmOrLogQueryGroupBy) SetLimit(v int)

SetLimit allocates a new a.Limit and returns the pointer to it.

func (*ApmOrLogQueryGroupBy) SetSort added in v2.20.0

SetSort allocates a new a.Sort and returns the pointer to it.

type ApmOrLogQueryGroupBySort added in v2.20.0

type ApmOrLogQueryGroupBySort struct {
	Aggregation *string `json:"aggregation"`
	Order       *string `json:"order"`
	Facet       *string `json:"facet,omitempty"`
}

func (*ApmOrLogQueryGroupBySort) GetAggregation added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBySort) GetAggregationOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBySort) GetFacetOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) GetOrder() string

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*ApmOrLogQueryGroupBySort) GetOrderOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) HasFacet added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) HasOrder added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) SetAggregation added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) SetAggregation(v string)

SetAggregation allocates a new a.Aggregation and returns the pointer to it.

func (*ApmOrLogQueryGroupBySort) SetFacet added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) SetFacet(v string)

SetFacet allocates a new a.Facet and returns the pointer to it.

func (*ApmOrLogQueryGroupBySort) SetOrder added in v2.20.0

func (a *ApmOrLogQueryGroupBySort) SetOrder(v string)

SetOrder allocates a new a.Order and returns the pointer to it.

type ApmOrLogQuerySearch added in v2.20.0

type ApmOrLogQuerySearch struct {
	Query *string `json:"query"`
}

func (*ApmOrLogQuerySearch) GetQuery added in v2.20.0

func (a *ApmOrLogQuerySearch) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*ApmOrLogQuerySearch) GetQueryOk added in v2.20.0

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 added in v2.20.0

func (a *ApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ApmOrLogQuerySearch) SetQuery added in v2.20.0

func (a *ApmOrLogQuerySearch) SetQuery(v string)

SetQuery allocates a new a.Query and returns the pointer to it.

type ArithmeticProcessor added in v2.24.0

type ArithmeticProcessor struct {
	Expression       *string `json:"expression"`
	Target           *string `json:"target"`
	IsReplaceMissing *bool   `json:"is_replace_missing"`
}

ArithmeticProcessor struct represents unique part of arithmetic processor object from config API.

func (*ArithmeticProcessor) GetExpression added in v2.24.0

func (a *ArithmeticProcessor) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

func (*ArithmeticProcessor) GetExpressionOk added in v2.24.0

func (a *ArithmeticProcessor) 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 (*ArithmeticProcessor) GetIsReplaceMissing added in v2.24.0

func (a *ArithmeticProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field if non-nil, zero value otherwise.

func (*ArithmeticProcessor) GetIsReplaceMissingOk added in v2.24.0

func (a *ArithmeticProcessor) GetIsReplaceMissingOk() (bool, bool)

GetIsReplaceMissingOk returns a tuple with the IsReplaceMissing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ArithmeticProcessor) GetTarget added in v2.24.0

func (a *ArithmeticProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*ArithmeticProcessor) GetTargetOk added in v2.24.0

func (a *ArithmeticProcessor) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ArithmeticProcessor) HasExpression added in v2.24.0

func (a *ArithmeticProcessor) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*ArithmeticProcessor) HasIsReplaceMissing added in v2.24.0

func (a *ArithmeticProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*ArithmeticProcessor) HasTarget added in v2.24.0

func (a *ArithmeticProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*ArithmeticProcessor) SetExpression added in v2.24.0

func (a *ArithmeticProcessor) SetExpression(v string)

SetExpression allocates a new a.Expression and returns the pointer to it.

func (*ArithmeticProcessor) SetIsReplaceMissing added in v2.24.0

func (a *ArithmeticProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing allocates a new a.IsReplaceMissing and returns the pointer to it.

func (*ArithmeticProcessor) SetTarget added in v2.24.0

func (a *ArithmeticProcessor) SetTarget(v string)

SetTarget allocates a new a.Target and returns the pointer to it.

type AttributeRemapper added in v2.24.0

type AttributeRemapper struct {
	Sources            []string `json:"sources"`
	SourceType         *string  `json:"source_type"`
	Target             *string  `json:"target"`
	TargetType         *string  `json:"target_type"`
	PreserveSource     *bool    `json:"preserve_source"`
	OverrideOnConflict *bool    `json:"override_on_conflict"`
}

AttributeRemapper struct represents unique part of attribute remapper object from config API.

func (*AttributeRemapper) GetOverrideOnConflict added in v2.24.0

func (a *AttributeRemapper) GetOverrideOnConflict() bool

GetOverrideOnConflict returns the OverrideOnConflict field if non-nil, zero value otherwise.

func (*AttributeRemapper) GetOverrideOnConflictOk added in v2.24.0

func (a *AttributeRemapper) GetOverrideOnConflictOk() (bool, bool)

GetOverrideOnConflictOk returns a tuple with the OverrideOnConflict field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*AttributeRemapper) GetPreserveSource added in v2.24.0

func (a *AttributeRemapper) GetPreserveSource() bool

GetPreserveSource returns the PreserveSource field if non-nil, zero value otherwise.

func (*AttributeRemapper) GetPreserveSourceOk added in v2.24.0

func (a *AttributeRemapper) GetPreserveSourceOk() (bool, bool)

GetPreserveSourceOk returns a tuple with the PreserveSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*AttributeRemapper) GetSourceType added in v2.24.0

func (a *AttributeRemapper) GetSourceType() string

GetSourceType returns the SourceType field if non-nil, zero value otherwise.

func (*AttributeRemapper) GetSourceTypeOk added in v2.24.0

func (a *AttributeRemapper) GetSourceTypeOk() (string, bool)

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 (*AttributeRemapper) GetTarget added in v2.24.0

func (a *AttributeRemapper) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*AttributeRemapper) GetTargetOk added in v2.24.0

func (a *AttributeRemapper) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*AttributeRemapper) GetTargetType added in v2.24.0

func (a *AttributeRemapper) GetTargetType() string

GetTargetType returns the TargetType field if non-nil, zero value otherwise.

func (*AttributeRemapper) GetTargetTypeOk added in v2.24.0

func (a *AttributeRemapper) GetTargetTypeOk() (string, bool)

GetTargetTypeOk returns a tuple with the TargetType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*AttributeRemapper) HasOverrideOnConflict added in v2.24.0

func (a *AttributeRemapper) HasOverrideOnConflict() bool

HasOverrideOnConflict returns a boolean if a field has been set.

func (*AttributeRemapper) HasPreserveSource added in v2.24.0

func (a *AttributeRemapper) HasPreserveSource() bool

HasPreserveSource returns a boolean if a field has been set.

func (*AttributeRemapper) HasSourceType added in v2.24.0

func (a *AttributeRemapper) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

func (*AttributeRemapper) HasTarget added in v2.24.0

func (a *AttributeRemapper) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*AttributeRemapper) HasTargetType added in v2.24.0

func (a *AttributeRemapper) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (*AttributeRemapper) SetOverrideOnConflict added in v2.24.0

func (a *AttributeRemapper) SetOverrideOnConflict(v bool)

SetOverrideOnConflict allocates a new a.OverrideOnConflict and returns the pointer to it.

func (*AttributeRemapper) SetPreserveSource added in v2.24.0

func (a *AttributeRemapper) SetPreserveSource(v bool)

SetPreserveSource allocates a new a.PreserveSource and returns the pointer to it.

func (*AttributeRemapper) SetSourceType added in v2.24.0

func (a *AttributeRemapper) SetSourceType(v string)

SetSourceType allocates a new a.SourceType and returns the pointer to it.

func (*AttributeRemapper) SetTarget added in v2.24.0

func (a *AttributeRemapper) SetTarget(v string)

SetTarget allocates a new a.Target and returns the pointer to it.

func (*AttributeRemapper) SetTargetType added in v2.24.0

func (a *AttributeRemapper) SetTargetType(v string)

SetTargetType allocates a new a.TargetType and returns the pointer to it.

type Board added in v2.20.0

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"`
	TemplateVariablePresets []TemplateVariablePreset `json:"template_variable_presets,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 added in v2.20.0

func (b *Board) GetAuthorHandle() string

GetAuthorHandle returns the AuthorHandle field if non-nil, zero value otherwise.

func (*Board) GetAuthorHandleOk added in v2.20.0

func (b *Board) GetAuthorHandleOk() (string, bool)

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 added in v2.20.0

func (b *Board) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*Board) GetCreatedAtOk added in v2.20.0

func (b *Board) 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 (*Board) GetDescription added in v2.20.0

func (b *Board) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

func (*Board) GetDescriptionOk added in v2.20.0

func (b *Board) 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 (*Board) GetId added in v2.20.0

func (b *Board) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

func (*Board) GetIdOk added in v2.20.0

func (b *Board) 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 (*Board) GetIsReadOnly added in v2.20.0

func (b *Board) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field if non-nil, zero value otherwise.

func (*Board) GetIsReadOnlyOk added in v2.20.0

func (b *Board) GetIsReadOnlyOk() (bool, bool)

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 added in v2.20.0

func (b *Board) GetLayoutType() string

GetLayoutType returns the LayoutType field if non-nil, zero value otherwise.

func (*Board) GetLayoutTypeOk added in v2.20.0

func (b *Board) 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 (*Board) GetModifiedAt added in v2.20.0

func (b *Board) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*Board) GetModifiedAtOk added in v2.20.0

func (b *Board) 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 (*Board) GetTitle added in v2.20.0

func (b *Board) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Board) GetTitleOk added in v2.20.0

func (b *Board) 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 (*Board) GetUrl added in v2.20.0

func (b *Board) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*Board) GetUrlOk added in v2.20.0

func (b *Board) 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 (*Board) HasAuthorHandle added in v2.20.0

func (b *Board) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*Board) HasCreatedAt added in v2.20.0

func (b *Board) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Board) HasDescription added in v2.20.0

func (b *Board) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Board) HasId added in v2.20.0

func (b *Board) HasId() bool

HasId returns a boolean if a field has been set.

func (*Board) HasIsReadOnly added in v2.20.0

func (b *Board) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*Board) HasLayoutType added in v2.20.0

func (b *Board) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*Board) HasModifiedAt added in v2.20.0

func (b *Board) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*Board) HasTitle added in v2.20.0

func (b *Board) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Board) HasUrl added in v2.20.0

func (b *Board) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Board) SetAuthorHandle added in v2.20.0

func (b *Board) SetAuthorHandle(v string)

SetAuthorHandle allocates a new b.AuthorHandle and returns the pointer to it.

func (*Board) SetCreatedAt added in v2.20.0

func (b *Board) SetCreatedAt(v string)

SetCreatedAt allocates a new b.CreatedAt and returns the pointer to it.

func (*Board) SetDescription added in v2.20.0

func (b *Board) SetDescription(v string)

SetDescription allocates a new b.Description and returns the pointer to it.

func (*Board) SetId added in v2.20.0

func (b *Board) SetId(v string)

SetId allocates a new b.Id and returns the pointer to it.

func (*Board) SetIsReadOnly added in v2.20.0

func (b *Board) SetIsReadOnly(v bool)

SetIsReadOnly allocates a new b.IsReadOnly and returns the pointer to it.

func (*Board) SetLayoutType added in v2.20.0

func (b *Board) SetLayoutType(v string)

SetLayoutType allocates a new b.LayoutType and returns the pointer to it.

func (*Board) SetModifiedAt added in v2.20.0

func (b *Board) SetModifiedAt(v string)

SetModifiedAt allocates a new b.ModifiedAt and returns the pointer to it.

func (*Board) SetTitle added in v2.20.0

func (b *Board) SetTitle(v string)

SetTitle allocates a new b.Title and returns the pointer to it.

func (*Board) SetUrl added in v2.20.0

func (b *Board) SetUrl(v string)

SetUrl allocates a new b.Url and returns the pointer to it.

type BoardLite added in v2.22.0

type BoardLite struct {
	Title        *string `json:"title,omitempty"`
	Description  *string `json:"description,omitempty"`
	LayoutType   *string `json:"layout_type,omitempty"`
	Id           *string `json:"id,omitempty"`
	Url          *string `json:"url,omitempty"`
	AuthorHandle *string `json:"author_handle,omitempty"`
	IsReadOnly   *bool   `json:"is_read_only,omitempty"`
	CreatedAt    *string `json:"created_at,omitempty"`
	ModifiedAt   *string `json:"modified_at,omitempty"`
}

BoardLite represents a simplify dashboard (without widgets, notify list, ...) It's used when we load all boards.

func (*BoardLite) GetAuthorHandle added in v2.22.0

func (b *BoardLite) GetAuthorHandle() string

GetAuthorHandle returns the AuthorHandle field if non-nil, zero value otherwise.

func (*BoardLite) GetAuthorHandleOk added in v2.22.0

func (b *BoardLite) GetAuthorHandleOk() (string, bool)

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 (*BoardLite) GetCreatedAt added in v2.22.0

func (b *BoardLite) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*BoardLite) GetCreatedAtOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetDescription added in v2.22.0

func (b *BoardLite) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

func (*BoardLite) GetDescriptionOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetId added in v2.22.0

func (b *BoardLite) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

func (*BoardLite) GetIdOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetIsReadOnly added in v2.22.0

func (b *BoardLite) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field if non-nil, zero value otherwise.

func (*BoardLite) GetIsReadOnlyOk added in v2.22.0

func (b *BoardLite) GetIsReadOnlyOk() (bool, bool)

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 (*BoardLite) GetLayoutType added in v2.22.0

func (b *BoardLite) GetLayoutType() string

GetLayoutType returns the LayoutType field if non-nil, zero value otherwise.

func (*BoardLite) GetLayoutTypeOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetModifiedAt added in v2.22.0

func (b *BoardLite) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*BoardLite) GetModifiedAtOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetTitle added in v2.22.0

func (b *BoardLite) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*BoardLite) GetTitleOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) GetUrl added in v2.22.0

func (b *BoardLite) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*BoardLite) GetUrlOk added in v2.22.0

func (b *BoardLite) 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 (*BoardLite) HasAuthorHandle added in v2.22.0

func (b *BoardLite) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*BoardLite) HasCreatedAt added in v2.22.0

func (b *BoardLite) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BoardLite) HasDescription added in v2.22.0

func (b *BoardLite) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*BoardLite) HasId added in v2.22.0

func (b *BoardLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*BoardLite) HasIsReadOnly added in v2.22.0

func (b *BoardLite) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*BoardLite) HasLayoutType added in v2.22.0

func (b *BoardLite) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*BoardLite) HasModifiedAt added in v2.22.0

func (b *BoardLite) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*BoardLite) HasTitle added in v2.22.0

func (b *BoardLite) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*BoardLite) HasUrl added in v2.22.0

func (b *BoardLite) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*BoardLite) SetAuthorHandle added in v2.22.0

func (b *BoardLite) SetAuthorHandle(v string)

SetAuthorHandle allocates a new b.AuthorHandle and returns the pointer to it.

func (*BoardLite) SetCreatedAt added in v2.22.0

func (b *BoardLite) SetCreatedAt(v string)

SetCreatedAt allocates a new b.CreatedAt and returns the pointer to it.

func (*BoardLite) SetDescription added in v2.22.0

func (b *BoardLite) SetDescription(v string)

SetDescription allocates a new b.Description and returns the pointer to it.

func (*BoardLite) SetId added in v2.22.0

func (b *BoardLite) SetId(v string)

SetId allocates a new b.Id and returns the pointer to it.

func (*BoardLite) SetIsReadOnly added in v2.22.0

func (b *BoardLite) SetIsReadOnly(v bool)

SetIsReadOnly allocates a new b.IsReadOnly and returns the pointer to it.

func (*BoardLite) SetLayoutType added in v2.22.0

func (b *BoardLite) SetLayoutType(v string)

SetLayoutType allocates a new b.LayoutType and returns the pointer to it.

func (*BoardLite) SetModifiedAt added in v2.22.0

func (b *BoardLite) SetModifiedAt(v string)

SetModifiedAt allocates a new b.ModifiedAt and returns the pointer to it.

func (*BoardLite) SetTitle added in v2.22.0

func (b *BoardLite) SetTitle(v string)

SetTitle allocates a new b.Title and returns the pointer to it.

func (*BoardLite) SetUrl added in v2.22.0

func (b *BoardLite) SetUrl(v string)

SetUrl allocates a new b.Url and returns the pointer to it.

type BoardWidget added in v2.20.0

type BoardWidget struct {
	Definition interface{}   `json:"definition"`
	Id         *int64        `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 added in v2.20.0

func (b *BoardWidget) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

func (*BoardWidget) GetIdOk added in v2.20.0

func (b *BoardWidget) GetIdOk() (int64, 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 added in v2.20.0

func (b *BoardWidget) GetLayout() WidgetLayout

GetLayout returns the Layout field if non-nil, zero value otherwise.

func (*BoardWidget) GetLayoutOk added in v2.20.0

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 added in v2.20.0

func (widget *BoardWidget) GetWidgetType() (string, error)

func (*BoardWidget) HasId added in v2.20.0

func (b *BoardWidget) HasId() bool

HasId returns a boolean if a field has been set.

func (*BoardWidget) HasLayout added in v2.20.0

func (b *BoardWidget) HasLayout() bool

HasLayout returns a boolean if a field has been set.

func (*BoardWidget) SetId added in v2.20.0

func (b *BoardWidget) SetId(v int64)

SetId allocates a new b.Id and returns the pointer to it.

func (*BoardWidget) SetLayout added in v2.20.0

func (b *BoardWidget) SetLayout(v WidgetLayout)

SetLayout allocates a new b.Layout and returns the pointer to it.

func (*BoardWidget) UnmarshalJSON added in v2.20.0

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 Category added in v2.24.0

type Category struct {
	Name   *string              `json:"name"`
	Filter *FilterConfiguration `json:"filter"`
}

Category represents category object from config API.

func (*Category) GetFilter added in v2.24.0

func (c *Category) GetFilter() FilterConfiguration

GetFilter returns the Filter field if non-nil, zero value otherwise.

func (*Category) GetFilterOk added in v2.24.0

func (c *Category) GetFilterOk() (FilterConfiguration, bool)

GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Category) GetName added in v2.24.0

func (c *Category) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Category) GetNameOk added in v2.24.0

func (c *Category) 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 (*Category) HasFilter added in v2.24.0

func (c *Category) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*Category) HasName added in v2.24.0

func (c *Category) HasName() bool

HasName returns a boolean if a field has been set.

func (*Category) SetFilter added in v2.24.0

func (c *Category) SetFilter(v FilterConfiguration)

SetFilter allocates a new c.Filter and returns the pointer to it.

func (*Category) SetName added in v2.24.0

func (c *Category) SetName(v string)

SetName allocates a new c.Name and returns the pointer to it.

type CategoryProcessor added in v2.24.0

type CategoryProcessor struct {
	Target     *string    `json:"target"`
	Categories []Category `json:"categories"`
}

CategoryProcessor struct represents unique part of category processor object from config API.

func (*CategoryProcessor) GetTarget added in v2.24.0

func (c *CategoryProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*CategoryProcessor) GetTargetOk added in v2.24.0

func (c *CategoryProcessor) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*CategoryProcessor) HasTarget added in v2.24.0

func (c *CategoryProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*CategoryProcessor) SetTarget added in v2.24.0

func (c *CategoryProcessor) SetTarget(v string)

SetTarget allocates a new c.Target and returns the pointer to it.

type ChangeDefinition added in v2.20.0

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 added in v2.20.0

func (c *ChangeDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*ChangeDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ChangeDefinition) GetTitleAlign added in v2.20.0

func (c *ChangeDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ChangeDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (c *ChangeDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ChangeDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ChangeDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitle added in v2.20.0

func (c *ChangeDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitleAlign added in v2.20.0

func (c *ChangeDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitleSize added in v2.20.0

func (c *ChangeDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ChangeDefinition) HasType added in v2.20.0

func (c *ChangeDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ChangeDefinition) SetTime added in v2.20.0

func (c *ChangeDefinition) SetTime(v WidgetTime)

SetTime allocates a new c.Time and returns the pointer to it.

func (*ChangeDefinition) SetTitle added in v2.20.0

func (c *ChangeDefinition) SetTitle(v string)

SetTitle allocates a new c.Title and returns the pointer to it.

func (*ChangeDefinition) SetTitleAlign added in v2.20.0

func (c *ChangeDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.

func (*ChangeDefinition) SetTitleSize added in v2.20.0

func (c *ChangeDefinition) SetTitleSize(v string)

SetTitleSize allocates a new c.TitleSize and returns the pointer to it.

func (*ChangeDefinition) SetType added in v2.20.0

func (c *ChangeDefinition) SetType(v string)

SetType allocates a new c.Type and returns the pointer to it.

type ChangeRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ChangeRequest) GetApmQuery added in v2.20.0

func (c *ChangeRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetChangeType() string

GetChangeType returns the ChangeType field if non-nil, zero value otherwise.

func (*ChangeRequest) GetChangeTypeOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetCompareTo() string

GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.

func (*ChangeRequest) GetCompareToOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetIncreaseGood() bool

GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.

func (*ChangeRequest) GetIncreaseGoodOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetOrderBy() string

GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.

func (*ChangeRequest) GetOrderByOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetOrderDir() string

GetOrderDir returns the OrderDir field if non-nil, zero value otherwise.

func (*ChangeRequest) GetOrderDirOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (c *ChangeRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetRumQueryOk added in v2.28.0

func (c *ChangeRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ChangeRequest) GetSecurityQuery added in v2.28.0

func (c *ChangeRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*ChangeRequest) GetSecurityQueryOk added in v2.28.0

func (c *ChangeRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ChangeRequest) GetShowPresent added in v2.20.0

func (c *ChangeRequest) GetShowPresent() bool

GetShowPresent returns the ShowPresent field if non-nil, zero value otherwise.

func (*ChangeRequest) GetShowPresentOk added in v2.20.0

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 added in v2.20.0

func (c *ChangeRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasChangeType added in v2.20.0

func (c *ChangeRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*ChangeRequest) HasCompareTo added in v2.20.0

func (c *ChangeRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*ChangeRequest) HasIncreaseGood added in v2.20.0

func (c *ChangeRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*ChangeRequest) HasLogQuery added in v2.20.0

func (c *ChangeRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasMetricQuery added in v2.20.0

func (c *ChangeRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasOrderBy added in v2.20.0

func (c *ChangeRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*ChangeRequest) HasOrderDir added in v2.20.0

func (c *ChangeRequest) HasOrderDir() bool

HasOrderDir returns a boolean if a field has been set.

func (*ChangeRequest) HasProcessQuery added in v2.20.0

func (c *ChangeRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasRumQuery added in v2.28.0

func (c *ChangeRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasSecurityQuery added in v2.28.0

func (c *ChangeRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasShowPresent added in v2.20.0

func (c *ChangeRequest) HasShowPresent() bool

HasShowPresent returns a boolean if a field has been set.

func (*ChangeRequest) SetApmQuery added in v2.20.0

func (c *ChangeRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new c.ApmQuery and returns the pointer to it.

func (*ChangeRequest) SetChangeType added in v2.20.0

func (c *ChangeRequest) SetChangeType(v string)

SetChangeType allocates a new c.ChangeType and returns the pointer to it.

func (*ChangeRequest) SetCompareTo added in v2.20.0

func (c *ChangeRequest) SetCompareTo(v string)

SetCompareTo allocates a new c.CompareTo and returns the pointer to it.

func (*ChangeRequest) SetIncreaseGood added in v2.20.0

func (c *ChangeRequest) SetIncreaseGood(v bool)

SetIncreaseGood allocates a new c.IncreaseGood and returns the pointer to it.

func (*ChangeRequest) SetLogQuery added in v2.20.0

func (c *ChangeRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new c.LogQuery and returns the pointer to it.

func (*ChangeRequest) SetMetricQuery added in v2.20.0

func (c *ChangeRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new c.MetricQuery and returns the pointer to it.

func (*ChangeRequest) SetOrderBy added in v2.20.0

func (c *ChangeRequest) SetOrderBy(v string)

SetOrderBy allocates a new c.OrderBy and returns the pointer to it.

func (*ChangeRequest) SetOrderDir added in v2.20.0

func (c *ChangeRequest) SetOrderDir(v string)

SetOrderDir allocates a new c.OrderDir and returns the pointer to it.

func (*ChangeRequest) SetProcessQuery added in v2.20.0

func (c *ChangeRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new c.ProcessQuery and returns the pointer to it.

func (*ChangeRequest) SetRumQuery added in v2.28.0

func (c *ChangeRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new c.RumQuery and returns the pointer to it.

func (*ChangeRequest) SetSecurityQuery added in v2.28.0

func (c *ChangeRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new c.SecurityQuery and returns the pointer to it.

func (*ChangeRequest) SetShowPresent added in v2.20.0

func (c *ChangeRequest) SetShowPresent(v bool)

SetShowPresent allocates a new c.ShowPresent and returns the pointer to it.

type ChannelSlackRequest added in v2.8.4

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 added in v2.8.4

func (c *ChannelSlackRequest) GetAccount() string

GetAccount returns the Account field if non-nil, zero value otherwise.

func (*ChannelSlackRequest) GetAccountOk added in v2.8.4

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 added in v2.8.4

func (c *ChannelSlackRequest) GetChannelName() string

GetChannelName returns the ChannelName field if non-nil, zero value otherwise.

func (*ChannelSlackRequest) GetChannelNameOk added in v2.8.4

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 added in v2.8.4

func (c *ChannelSlackRequest) GetTransferAllUserComments() bool

GetTransferAllUserComments returns the TransferAllUserComments field if non-nil, zero value otherwise.

func (*ChannelSlackRequest) GetTransferAllUserCommentsOk added in v2.8.4

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 added in v2.8.4

func (c *ChannelSlackRequest) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*ChannelSlackRequest) HasChannelName added in v2.8.4

func (c *ChannelSlackRequest) HasChannelName() bool

HasChannelName returns a boolean if a field has been set.

func (*ChannelSlackRequest) HasTransferAllUserComments added in v2.8.4

func (c *ChannelSlackRequest) HasTransferAllUserComments() bool

HasTransferAllUserComments returns a boolean if a field has been set.

func (*ChannelSlackRequest) SetAccount added in v2.8.4

func (c *ChannelSlackRequest) SetAccount(v string)

SetAccount allocates a new c.Account and returns the pointer to it.

func (*ChannelSlackRequest) SetChannelName added in v2.8.4

func (c *ChannelSlackRequest) SetChannelName(v string)

SetChannelName allocates a new c.ChannelName and returns the pointer to it.

func (*ChannelSlackRequest) SetTransferAllUserComments added in v2.8.4

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) GetCheck

func (c *Check) GetCheck() string

GetCheck returns the Check field if non-nil, zero value otherwise.

func (*Check) GetCheckOk

func (c *Check) 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 (*Check) GetHostName

func (c *Check) GetHostName() string

GetHostName returns the HostName field if non-nil, zero value otherwise.

func (*Check) GetHostNameOk

func (c *Check) GetHostNameOk() (string, bool)

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

func (c *Check) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*Check) GetMessageOk

func (c *Check) 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 (*Check) GetStatus

func (c *Check) GetStatus() Status

GetStatus returns the Status field if non-nil, zero value otherwise.

func (*Check) GetStatusOk

func (c *Check) GetStatusOk() (Status, 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 (*Check) GetTimestamp

func (c *Check) GetTimestamp() string

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

func (*Check) GetTimestampOk

func (c *Check) GetTimestampOk() (string, bool)

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) HasCheck

func (c *Check) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*Check) HasHostName

func (c *Check) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Check) HasMessage

func (c *Check) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Check) HasStatus

func (c *Check) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Check) HasTimestamp

func (c *Check) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*Check) SetCheck

func (c *Check) SetCheck(v string)

SetCheck allocates a new c.Check and returns the pointer to it.

func (*Check) SetHostName

func (c *Check) SetHostName(v string)

SetHostName allocates a new c.HostName and returns the pointer to it.

func (*Check) SetMessage

func (c *Check) SetMessage(v string)

SetMessage allocates a new c.Message and returns the pointer to it.

func (*Check) SetStatus

func (c *Check) SetStatus(v Status)

SetStatus allocates a new c.Status and returns the pointer to it.

func (*Check) SetTimestamp

func (c *Check) SetTimestamp(v string)

SetTimestamp allocates a new c.Timestamp and returns the pointer to it.

type CheckStatusDefinition added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetCheck() string

GetCheck returns the Check field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetCheckOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetGroup() string

GetGroup returns the Group field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetGroupOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetGrouping() string

GetGrouping returns the Grouping field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetGroupingOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetTitleAlign added in v2.20.0

func (c *CheckStatusDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*CheckStatusDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (c *CheckStatusDefinition) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasGroup added in v2.20.0

func (c *CheckStatusDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasGrouping added in v2.20.0

func (c *CheckStatusDefinition) HasGrouping() bool

HasGrouping returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTime added in v2.20.0

func (c *CheckStatusDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitle added in v2.20.0

func (c *CheckStatusDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitleAlign added in v2.20.0

func (c *CheckStatusDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitleSize added in v2.20.0

func (c *CheckStatusDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasType added in v2.20.0

func (c *CheckStatusDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*CheckStatusDefinition) SetCheck added in v2.20.0

func (c *CheckStatusDefinition) SetCheck(v string)

SetCheck allocates a new c.Check and returns the pointer to it.

func (*CheckStatusDefinition) SetGroup added in v2.20.0

func (c *CheckStatusDefinition) SetGroup(v string)

SetGroup allocates a new c.Group and returns the pointer to it.

func (*CheckStatusDefinition) SetGrouping added in v2.20.0

func (c *CheckStatusDefinition) SetGrouping(v string)

SetGrouping allocates a new c.Grouping and returns the pointer to it.

func (*CheckStatusDefinition) SetTime added in v2.20.0

func (c *CheckStatusDefinition) SetTime(v WidgetTime)

SetTime allocates a new c.Time and returns the pointer to it.

func (*CheckStatusDefinition) SetTitle added in v2.20.0

func (c *CheckStatusDefinition) SetTitle(v string)

SetTitle allocates a new c.Title and returns the pointer to it.

func (*CheckStatusDefinition) SetTitleAlign added in v2.20.0

func (c *CheckStatusDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.

func (*CheckStatusDefinition) SetTitleSize added in v2.20.0

func (c *CheckStatusDefinition) SetTitleSize(v string)

SetTitleSize allocates a new c.TitleSize and returns the pointer to it.

func (*CheckStatusDefinition) SetType added in v2.20.0

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

	//Option to specify extra headers like User-Agent
	ExtraHeader map[string]string
	// 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

func NewClient(apiKey, appKey string) *Client

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 added in v2.10.0

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) AddDashboardListItemsV2 added in v2.23.0

func (client *Client) AddDashboardListItemsV2(dashboardListID int, items []DashboardListItemV2) ([]DashboardListItemV2, error)

AddDashboardListItemsV2 adds dashboards to an existing dashboard list.

Any items already in the list are ignored (not added twice).

func (*Client) AddTagsToHost

func (client *Client) AddTagsToHost(host, source string, tags []string) error

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) AttachLambdaARNIntegrationAWS added in v2.25.0

func (client *Client) AttachLambdaARNIntegrationAWS(lambdaARN *IntegrationAWSLambdaARNRequest) error

AttachLambdaARNIntegrationAWS attach a lambda ARN to an AWS account ID to enable log collection

func (*Client) CheckCanDeleteServiceLevelObjectives added in v2.25.0

func (client *Client) CheckCanDeleteServiceLevelObjectives(ids []string) (*ServiceLevelObjectivesCanDeleteResponse, error)

CheckCanDeleteServiceLevelObjectives checks if the SLO is referenced within Datadog. This is useful to prevent accidental deletion.

func (*Client) CreateAPIKey added in v2.20.0

func (client *Client) CreateAPIKey(name string) (*APIKey, error)

CreateAPIKey creates an API key from given struct and fills the rest of its fields, or returns an error on failure

func (*Client) CreateAPPKey added in v2.22.0

func (client *Client) CreateAPPKey(name string) (*APPKey, error)

CreateAPPKey creates an APP key from given name and fills the rest of its fields, or returns an error on failure

func (*Client) CreateAlert

func (client *Client) CreateAlert(alert *Alert) (*Alert, error)

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 added in v2.20.0

func (client *Client) CreateBoard(board *Board) (*Board, error)

CreateBoard creates a new dashboard when given a Board struct.

func (*Client) CreateComment

func (client *Client) CreateComment(handle, message string) (*Comment, error)

CreateComment adds a new comment to the system.

func (*Client) CreateDashboard

func (client *Client) CreateDashboard(dash *Dashboard) (*Dashboard, error)

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 added in v2.10.0

func (client *Client) CreateDashboardList(list *DashboardList) (*DashboardList, error)

CreateDashboardList returns a single dashboard list created on this account.

func (*Client) CreateDowntime

func (client *Client) CreateDowntime(downtime *Downtime) (*Downtime, error)

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 added in v2.11.0

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 added in v2.17.0

func (client *Client) CreateIntegrationGCP(cir *IntegrationGCPCreateRequest) error

CreateIntegrationGCP creates a new Google Cloud Platform Integration.

func (*Client) CreateIntegrationPD added in v2.8.3

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) CreateIntegrationPDService added in v2.22.0

func (client *Client) CreateIntegrationPDService(serviceObject *ServicePDRequest) error

CreateIntegrationPDService creates a single service object in the PagerDuty integration Note that creating a service object requires the integration to be activated

func (*Client) CreateIntegrationSlack added in v2.8.4

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) CreateIntegrationWebhook added in v2.27.0

func (client *Client) CreateIntegrationWebhook(webhookIntegration *IntegrationWebhookRequest) error

CreateIntegrationWebhook creates new webhook integration object(s).

func (*Client) CreateLogsPipeline added in v2.24.0

func (client *Client) CreateLogsPipeline(pipeline *LogsPipeline) (*LogsPipeline, error)

CreateLogsPipeline sends pipeline creation request to Config API

func (*Client) CreateMonitor

func (client *Client) CreateMonitor(monitor *Monitor) (*Monitor, error)

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

func (client *Client) CreateRelatedComment(handle, message string,
	relid int) (*Comment, error)

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) CreateServiceLevelObjective added in v2.22.0

func (client *Client) CreateServiceLevelObjective(slo *ServiceLevelObjective) (*ServiceLevelObjective, error)

CreateServiceLevelObjective adds a new service level objective to the system. This returns a pointer to the service level objective so you can pass that to UpdateServiceLevelObjective or DeleteServiceLevelObjective later if needed.

func (*Client) CreateSyntheticsTest added in v2.20.0

func (client *Client) CreateSyntheticsTest(syntheticsTest *SyntheticsTest) (*SyntheticsTest, error)

CreateSyntheticsTest creates a test

func (*Client) CreateUser

func (self *Client) CreateUser(handle, name *string) (*User, error)

CreateUser creates an user account for an email address

func (*Client) DeleteAPIKey added in v2.20.0

func (client *Client) DeleteAPIKey(key string) error

DeleteAPIKey deletes API key given by key, returns an error

func (*Client) DeleteAPPKey added in v2.22.0

func (client *Client) DeleteAPPKey(hash string) error

DeleteAPPKey deletes APP key given by hash, returns an error

func (*Client) DeleteAWSLogCollection added in v2.25.0

func (client *Client) DeleteAWSLogCollection(lambdaARN *IntegrationAWSLambdaARNRequest) error

DeleteAWSLogCollection removes the log collection configuration for a given ARN and AWS account

func (*Client) DeleteAlert

func (client *Client) DeleteAlert(id int) error

DeleteAlert removes an alert from the system.

func (*Client) DeleteBoard added in v2.20.0

func (client *Client) DeleteBoard(id string) error

DeleteBoard deletes a dashboard by the identifier.

func (*Client) DeleteComment

func (client *Client) DeleteComment(id int) error

DeleteComment does exactly what you expect.

func (*Client) DeleteDashboard

func (client *Client) DeleteDashboard(id int) error

DeleteDashboard deletes a dashboard by the identifier.

func (*Client) DeleteDashboardList added in v2.10.0

func (client *Client) DeleteDashboardList(id int) error

DeleteDashboardList deletes a dashboard list by the identifier.

func (*Client) DeleteDashboardListItems added in v2.10.0

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) DeleteDashboardListItemsV2 added in v2.23.0

func (client *Client) DeleteDashboardListItemsV2(dashboardListID int, items []DashboardListItemV2) ([]DashboardListItemV2, error)

DeleteDashboardListItemsV2 deletes dashboards from an existing dashboard list.

Deletes any dashboards in the list of items from the dashboard list.

func (*Client) DeleteDowntime

func (client *Client) DeleteDowntime(id int) error

DeleteDowntime removes an downtime from the system.

func (*Client) DeleteIntegrationAWS added in v2.11.0

func (client *Client) DeleteIntegrationAWS(awsAccount *IntegrationAWSAccountDeleteRequest) error

DeleteIntegrationAWS removes a specific AWS Account from the AWS Integration.

func (*Client) DeleteIntegrationGCP added in v2.17.0

func (client *Client) DeleteIntegrationGCP(cir *IntegrationGCPDeleteRequest) error

DeleteIntegrationGCP deletes a Google Cloud Platform Integration.

func (*Client) DeleteIntegrationPD added in v2.8.3

func (client *Client) DeleteIntegrationPD() error

DeleteIntegrationPD removes the PagerDuty Integration from the system.

func (*Client) DeleteIntegrationPDService added in v2.22.0

func (client *Client) DeleteIntegrationPDService(serviceName string) error

DeleteIntegrationPDService deletes a single service object in the PagerDuty integration

func (*Client) DeleteIntegrationSlack added in v2.8.4

func (client *Client) DeleteIntegrationSlack() error

DeleteIntegrationSlack removes the Slack Integration from the system.

func (*Client) DeleteIntegrationWebhook added in v2.27.0

func (client *Client) DeleteIntegrationWebhook() error

DeleteIntegrationWebhook removes the Webhook Integration from Datadog.

func (*Client) DeleteLogsPipeline added in v2.24.0

func (client *Client) DeleteLogsPipeline(id string) error

DeleteLogsPipeline deletes the pipeline for a given id, returns 200 OK when operation succeed

func (*Client) DeleteMonitor

func (client *Client) DeleteMonitor(id int) error

DeleteMonitor removes a monitor from the system

func (*Client) DeleteScreenboard

func (client *Client) DeleteScreenboard(id int) error

DeleteScreenboard deletes a screenboard by the identifier.

func (*Client) DeleteServiceLevelObjective added in v2.22.0

func (client *Client) DeleteServiceLevelObjective(id string) error

DeleteServiceLevelObjective removes an service level objective from the system.

func (*Client) DeleteServiceLevelObjectiveTimeFrames added in v2.22.0

func (client *Client) DeleteServiceLevelObjectiveTimeFrames(timeframeByID map[string][]string) (*ServiceLevelObjectiveDeleteTimeFramesResponse, error)

DeleteServiceLevelObjectiveTimeFrames will delete SLO timeframes individually. This is useful if you have a SLO with 3 time windows and only need to delete some of the time windows. It will do a full delete if all time windows are removed as a result.

Example:

   SLO `12345678901234567890123456789012` was defined with 2 time frames: "7d" and "30d"
	  SLO `abcdefabcdefabcdefabcdefabcdefab` was defined with 2 time frames: "30d" and "90d"

		When we delete `7d` from `12345678901234567890123456789012` we still have `30d` timeframe remaining, hence this is "updated"
		When we delete `30d` and `90d` from `abcdefabcdefabcdefabcdefabcdefab` we are left with 0 time frames, hence this is "deleted"
		     and the entire SLO config is deleted

func (*Client) DeleteServiceLevelObjectives added in v2.22.0

func (client *Client) DeleteServiceLevelObjectives(ids []string) error

DeleteServiceLevelObjectives removes multiple service level objective from the system by id.

func (*Client) DeleteSyntheticsTests added in v2.20.0

func (client *Client) DeleteSyntheticsTests(publicIds []string) error

DeleteSyntheticsTests deletes tests

func (*Client) DeleteUser

func (client *Client) DeleteUser(handle string) error

DeleteUser deletes a user and returns an error if deletion failed

func (*Client) EditComment

func (client *Client) EditComment(id int, handle, message string) error

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) EnableLogCollectionAWSServices added in v2.25.0

func (client *Client) EnableLogCollectionAWSServices(services *IntegrationAWSServicesLogCollection) error

EnableLogCollectionAWSServices enables the log collection for the given AWS services

func (*Client) ForceDeleteMonitor added in v2.28.0

func (client *Client) ForceDeleteMonitor(id int) error

ForceDeleteMonitor removes a monitor from the system, even if it's linked to SLOs or group monitors

func (*Client) GetAPIKey added in v2.20.0

func (client *Client) GetAPIKey(key string) (*APIKey, error)

GetAPIKey returns a single API key or error on failure

func (*Client) GetAPIKeys added in v2.20.0

func (client *Client) GetAPIKeys() ([]APIKey, error)

GetAPIKeys returns all API keys or error on failure

func (*Client) GetAPPKey added in v2.22.0

func (client *Client) GetAPPKey(hash string) (*APPKey, error)

GetAPPKey returns a single APP key or error on failure

func (*Client) GetAPPKeys added in v2.22.0

func (client *Client) GetAPPKeys() ([]APPKey, error)

GetAPPKeys returns all APP keys or error on failure

func (*Client) GetAlert

func (client *Client) GetAlert(id int) (*Alert, error)

GetAlert retrieves an alert by identifier.

func (*Client) GetAlerts

func (client *Client) GetAlerts() ([]Alert, error)

GetAlerts returns a slice of all alerts.

func (*Client) GetBaseUrl added in v2.8.2

func (c *Client) GetBaseUrl() string

GetBaseUrl returns the baseUrl.

func (*Client) GetBoard added in v2.20.0

func (client *Client) GetBoard(id string) (*Board, error)

GetBoard returns a single dashboard created on this account.

func (*Client) GetBoards added in v2.22.0

func (client *Client) GetBoards() ([]BoardLite, error)

GetBoards returns all Dashboards.

func (*Client) GetDashboard

func (client *Client) GetDashboard(id interface{}) (*Dashboard, error)

GetDashboard returns a single dashboard created on this account.

func (*Client) GetDashboardList added in v2.10.0

func (client *Client) GetDashboardList(id int) (*DashboardList, error)

GetDashboardList returns a single dashboard list created on this account.

func (*Client) GetDashboardListItems added in v2.10.0

func (client *Client) GetDashboardListItems(id int) ([]DashboardListItem, error)

GetDashboardListItems fetches the dashboard list's dashboard definitions.

func (*Client) GetDashboardListItemsV2 added in v2.23.0

func (client *Client) GetDashboardListItemsV2(id int) ([]DashboardListItemV2, error)

GetDashboardListItemsV2 fetches the dashboard list's dashboard definitions.

func (*Client) GetDashboardLists added in v2.10.0

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

func (client *Client) GetDowntime(id int) (*Downtime, error)

Getdowntime retrieves an downtime by identifier.

func (*Client) GetDowntimes

func (client *Client) GetDowntimes() ([]Downtime, error)

GetDowntimes returns a slice of all downtimes.

func (*Client) GetEvent

func (client *Client) GetEvent(id int) (*Event, error)

GetEvent gets a single event given an identifier.

func (*Client) GetEvents

func (client *Client) GetEvents(start, end int,
	priority, sources, tags string) ([]Event, error)

GetEvents returns a slice of events from the query stream.

func (*Client) GetHostTags

func (client *Client) GetHostTags(host, source string) ([]string, error)

GetHostTags returns a slice of tags for a given host and source.

func (*Client) GetHostTagsBySource

func (client *Client) GetHostTagsBySource(host, source string) (TagMap, error)

GetHostTagsBySource is a different way of viewing the tags. It returns a map of source:[tag,tag].

func (*Client) GetHostTotals added in v2.24.0

func (client *Client) GetHostTotals() (*HostTotalsResp, error)

GetHostTotals returns number of total active hosts and total up hosts. Active means the host has reported in the past hour, and up means it has reported in the past two hours.

func (*Client) GetIPRanges added in v2.24.0

func (client *Client) GetIPRanges() (*IPRangesResp, error)

GetIPRanges returns all IP addresses by section: agents, api, apm, logs, process, synthetics, webhooks

func (*Client) GetIntegrationAWS added in v2.11.0

func (client *Client) GetIntegrationAWS() (*[]IntegrationAWSAccount, error)

GetIntegrationAWS gets all the AWS Accounts in the AWS Integrations from Datadog.

func (*Client) GetIntegrationAWSLogCollection added in v2.25.0

func (client *Client) GetIntegrationAWSLogCollection() (*[]IntegrationAWSLogCollection, error)

GetIntegrationAWSLogCollection gets all the configuration for the AWS log collection

func (*Client) GetIntegrationPD added in v2.8.3

func (client *Client) GetIntegrationPD() (*integrationPD, error)

GetIntegrationPD gets all the PagerDuty Integrations from the system.

func (*Client) GetIntegrationPDService added in v2.22.0

func (client *Client) GetIntegrationPDService(serviceName string) (*ServicePDRequest, error)

GetIntegrationPDService gets a single service object in the PagerDuty integration NOTE: the service key is never returned by the API, so it won't be set

func (*Client) GetIntegrationSlack added in v2.8.4

func (client *Client) GetIntegrationSlack() (*IntegrationSlackRequest, error)

GetIntegrationSlack gets all the Slack Integrations from the system.

func (*Client) GetIntegrationWebhook added in v2.27.0

func (client *Client) GetIntegrationWebhook() (*IntegrationWebhookRequest, error)

GetIntegrationWebhook gets all the Webhook Integrations from Datadog.

func (*Client) GetLogsIndex added in v2.24.0

func (client *Client) GetLogsIndex(name string) (*LogsIndex, error)

GetLogsIndex gets the specific logs index by specific name.

func (*Client) GetLogsIndexList added in v2.24.0

func (client *Client) GetLogsIndexList() (*LogsIndexList, error)

GetLogsIndexList gets the full list of available indexes by their names.

func (*Client) GetLogsList added in v2.26.0

func (client *Client) GetLogsList(logsRequest *LogsListRequest) (logsList *LogsList, err error)

GetLogsList gets a page of log entries based on the values in the provided LogListRequest

func (*Client) GetLogsListPages added in v2.26.0

func (client *Client) GetLogsListPages(logsRequest *LogsListRequest, maxResults int) (logs []Logs, err error)

GetLogsListPages calls GetLogsList and handles the pagination performed by the 'logs-queries/list' API

func (*Client) GetLogsPipeline added in v2.24.0

func (client *Client) GetLogsPipeline(id string) (*LogsPipeline, error)

GetLogsPipeline queries Logs Public Config API with given a pipeline id for the complete pipeline object.

func (*Client) GetLogsPipelineList added in v2.24.0

func (client *Client) GetLogsPipelineList() (*LogsPipelineList, error)

GetLogsPipelineList get the full list of created pipelines.

func (*Client) GetMonitor

func (client *Client) GetMonitor(id int) (*Monitor, error)

GetMonitor retrieves a monitor by identifier

func (*Client) GetMonitors

func (client *Client) GetMonitors() ([]Monitor, error)

GetMonitors returns a slice of all monitors

func (*Client) GetMonitorsByMonitorTags added in v2.25.0

func (client *Client) GetMonitorsByMonitorTags(tags []string) ([]Monitor, error)

GetMonitorsByMonitorTags retrieves monitors by a slice of monitor tags

func (*Client) GetMonitorsByName

func (client *Client) GetMonitorsByName(name string) ([]Monitor, error)

GetMonitorsByName retrieves monitors by name

func (*Client) GetMonitorsByTags

func (client *Client) GetMonitorsByTags(tags []string) ([]Monitor, error)

GetMonitorsByTags retrieves monitors by a slice of tags

func (*Client) GetMonitorsWithOptions added in v2.24.0

func (client *Client) GetMonitorsWithOptions(opts MonitorQueryOpts) ([]Monitor, error)

GetMonitorsWithOptions returns a slice of all monitors It supports all the options for querying

func (*Client) GetRateLimitStats added in v2.26.0

func (client *Client) GetRateLimitStats() map[string]RateLimit

GetRateLimitStats is a threadsafe getter to retrieve the rate limiting stats associated with the Client.

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) GetServiceLevelObjective added in v2.22.0

func (client *Client) GetServiceLevelObjective(id string) (*ServiceLevelObjective, error)

GetServiceLevelObjective retrieves an service level objective by identifier.

func (*Client) GetServiceLevelObjectiveHistory added in v2.25.0

func (client *Client) GetServiceLevelObjectiveHistory(id string, fromTs time.Time, toTs time.Time) (*ServiceLevelObjectiveHistoryResponse, error)

GetServiceLevelObjectiveHistory will retrieve the history data for a given SLO and provided from/to times

func (*Client) GetSyntheticsBrowserDevices added in v2.20.0

func (client *Client) GetSyntheticsBrowserDevices() ([]SyntheticsDevice, error)

GetSyntheticsBrowserDevices get all test devices (for browser)

func (*Client) GetSyntheticsLocations added in v2.20.0

func (client *Client) GetSyntheticsLocations() ([]SyntheticsLocation, error)

GetSyntheticsLocations get all test locations

func (*Client) GetSyntheticsTest added in v2.20.0

func (client *Client) GetSyntheticsTest(publicId string) (*SyntheticsTest, error)

GetSyntheticsTest get test by public id

func (*Client) GetSyntheticsTests added in v2.20.0

func (client *Client) GetSyntheticsTests() ([]SyntheticsTest, error)

GetSyntheticsTests get all tests of type API

func (*Client) GetSyntheticsTestsByType added in v2.20.0

func (client *Client) GetSyntheticsTestsByType(testType string) ([]SyntheticsTest, error)

GetSyntheticsTestsByType get all tests by type (e.g. api or browser)

func (*Client) GetTags

func (client *Client) GetTags(source string) (TagMap, error)

GetTags returns a map of tags.

func (*Client) GetUser

func (client *Client) GetUser(handle string) (user User, err error)

GetUser returns the user that match a handle, or an error if not found

func (*Client) GetUsers

func (client *Client) GetUsers() (users []User, err error)

GetUsers returns all user, or an error if not found

func (*Client) InviteUsers

func (client *Client) InviteUsers(emails []string) error

InviteUsers takes a slice of email addresses and sends invitations to them.

func (*Client) ListIntegrationGCP added in v2.17.0

func (client *Client) ListIntegrationGCP() ([]*IntegrationGCP, error)

ListIntegrationGCP gets all Google Cloud Platform Integrations.

func (*Client) MuteAlerts

func (client *Client) MuteAlerts() error

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

func (client *Client) MuteMonitor(id int) error

MuteMonitor turns off monitoring notifications for a monitor

func (*Client) MuteMonitorScope added in v2.21.0

func (client *Client) MuteMonitorScope(id int, muteMonitorScope *MuteMonitorScope) error

MuteMonitorScope turns off monitoring notifications for a monitor for a given scope

func (*Client) MuteMonitors

func (client *Client) MuteMonitors() error

MuteMonitors turns off monitoring notifications

func (*Client) PauseSyntheticsTest added in v2.20.0

func (client *Client) PauseSyntheticsTest(publicId string) (*bool, error)

PauseSyntheticsTest set a test status to paused

func (*Client) PostCheck

func (client *Client) PostCheck(check Check) error

PostCheck posts the result of a check run to the server

func (*Client) PostEvent

func (client *Client) PostEvent(event *Event) (*Event, error)

PostEvent takes as input an event and then posts it to the server.

func (*Client) PostMetrics

func (client *Client) PostMetrics(series []Metric) error

PostMetrics takes as input a slice of metrics and then posts them up to the server for posting data.

func (*Client) QueryMetrics

func (client *Client) QueryMetrics(from, to int64, query string) ([]Series, error)

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

func (client *Client) RemoveHostTags(host, source string) error

RemoveHostTags removes all tags from a host for the given source. If none is given, the API defaults to "users".

func (*Client) ResumeSyntheticsTest added in v2.20.0

func (client *Client) ResumeSyntheticsTest(publicId string) (*bool, error)

ResumeSyntheticsTest set a test status to live

func (*Client) RevokeScreenboard

func (client *Client) RevokeScreenboard(id int) error

RevokeScreenboard revokes a currently shared screenboard

func (*Client) SearchHosts

func (client *Client) SearchHosts(search string) ([]string, error)

SearchHosts searches through the hosts facet, returning matching hostnames.

func (*Client) SearchMetrics

func (client *Client) SearchMetrics(search string) ([]string, error)

SearchMetrics searches through the metrics facet, returning matching ones.

func (*Client) SearchServiceLevelObjectives added in v2.22.0

func (client *Client) SearchServiceLevelObjectives(limit int, offset int, query string, ids []string) ([]*ServiceLevelObjective, error)

SearchServiceLevelObjectives searches for service level objectives by search criteria. limit will limit the amount of SLO's returned, the API will enforce a maximum and default to a minimum if not specified

func (*Client) SetBaseUrl added in v2.8.2

func (c *Client) SetBaseUrl(baseUrl string)

SetBaseUrl changes the value of baseUrl.

func (*Client) SetKeys

func (c *Client) SetKeys(apiKey, appKey string)

SetKeys changes the value of apiKey and appKey.

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) URLIPRanges added in v2.24.0

func (client *Client) URLIPRanges() (string, error)

URLIPRanges returns the IP Ranges URL used to whitelist IP addresses in use to send data to Datadog agents, api, apm, logs, process, synthetics, webhooks

func (*Client) UnmuteAlerts

func (client *Client) UnmuteAlerts() error

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

func (client *Client) UnmuteMonitor(id int) error

UnmuteMonitor turns on monitoring notifications for a monitor

func (*Client) UnmuteMonitorScopes added in v2.21.0

func (client *Client) UnmuteMonitorScopes(id int, unmuteMonitorScopes *UnmuteMonitorScopes) error

UnmuteMonitorScopes is similar to UnmuteMonitor, but provides finer-grained control to unmuting

func (*Client) UnmuteMonitors

func (client *Client) UnmuteMonitors() error

UnmuteMonitors turns on monitoring notifications

func (*Client) UpdateAPIKey added in v2.20.0

func (client *Client) UpdateAPIKey(apikey *APIKey) error

UpdateAPIKey updates given API key (only Name can be updated), returns an error

func (*Client) UpdateAPPKey added in v2.22.0

func (client *Client) UpdateAPPKey(appkey *APPKey) error

UpdateAPPKey updates given APP key (only Name can be updated), returns an error

func (*Client) UpdateAlert

func (client *Client) UpdateAlert(alert *Alert) error

UpdateAlert takes an alert that was previously retrieved through some method and sends it back to the server.

func (*Client) UpdateBoard added in v2.20.0

func (client *Client) UpdateBoard(board *Board) error

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

func (client *Client) UpdateDashboard(dash *Dashboard) error

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 added in v2.10.0

func (client *Client) UpdateDashboardList(list *DashboardList) error

UpdateDashboardList returns a single dashboard list created on this account.

func (*Client) UpdateDashboardListItems added in v2.10.0

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) UpdateDashboardListItemsV2 added in v2.23.0

func (client *Client) UpdateDashboardListItemsV2(dashboardListID int, items []DashboardListItemV2) ([]DashboardListItemV2, error)

UpdateDashboardListItemsV2 updates dashboards of an existing dashboard list.

This will set the list of dashboards to contain only the items in items.

func (*Client) UpdateDowntime

func (client *Client) UpdateDowntime(downtime *Downtime) error

UpdateDowntime takes a downtime that was previously retrieved through some method and sends it back to the server.

func (*Client) UpdateHostTags

func (client *Client) UpdateHostTags(host, source string, tags []string) error

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) UpdateIntegrationAWS added in v2.25.0

func (client *Client) UpdateIntegrationAWS(awsAccount *IntegrationAWSAccount) error

UpdateIntegrationAWS updates an already existing AWS Account in the AWS Integration

func (*Client) UpdateIntegrationGCP added in v2.17.0

func (client *Client) UpdateIntegrationGCP(cir *IntegrationGCPUpdateRequest) error

UpdateIntegrationGCP updates a Google Cloud Platform Integration project.

func (*Client) UpdateIntegrationPD added in v2.8.3

func (client *Client) UpdateIntegrationPD(pdIntegration *IntegrationPDRequest) error

UpdateIntegrationPD updates the PagerDuty Integration. This will replace the existing values with the new values.

func (*Client) UpdateIntegrationPDService added in v2.22.0

func (client *Client) UpdateIntegrationPDService(serviceObject *ServicePDRequest) error

UpdateIntegrationPDService updates a single service object in the PagerDuty integration

func (*Client) UpdateIntegrationSlack added in v2.8.4

func (client *Client) UpdateIntegrationSlack(slackIntegration *IntegrationSlackRequest) error

UpdateIntegrationSlack updates the Slack Integration. This will replace the existing values with the new values.

func (*Client) UpdateIntegrationWebhook added in v2.27.0

func (client *Client) UpdateIntegrationWebhook(webhookIntegration *IntegrationWebhookRequest) error

UpdateIntegrationWebhook updates the Webhook Integration. It replaces the existing configuration with the configuration sent in this request.

func (*Client) UpdateLogsIndex added in v2.24.0

func (client *Client) UpdateLogsIndex(name string, index *LogsIndex) (*LogsIndex, error)

UpdateLogsIndex updates the specific index by it's name.

func (*Client) UpdateLogsIndexList added in v2.24.0

func (client *Client) UpdateLogsIndexList(indexList *LogsIndexList) (*LogsIndexList, error)

UpdateLogsIndexList updates the order of indexes.

func (*Client) UpdateLogsPipeline added in v2.24.0

func (client *Client) UpdateLogsPipeline(id string, pipeline *LogsPipeline) (*LogsPipeline, error)

UpdateLogsPipeline updates the pipeline object of a given pipeline id.

func (*Client) UpdateLogsPipelineList added in v2.24.0

func (client *Client) UpdateLogsPipelineList(pipelineList *LogsPipelineList) (*LogsPipelineList, error)

UpdateLogsPipelineList updates the pipeline list order, it returns error (422 Unprocessable Entity) if one tries to delete or add pipeline.

func (*Client) UpdateMonitor

func (client *Client) UpdateMonitor(monitor *Monitor) error

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) UpdateServiceLevelObjective added in v2.22.0

func (client *Client) UpdateServiceLevelObjective(slo *ServiceLevelObjective) (*ServiceLevelObjective, error)

UpdateServiceLevelObjective takes a service level objective that was previously retrieved through some method and sends it back to the server.

func (*Client) UpdateSyntheticsTest added in v2.20.0

func (client *Client) UpdateSyntheticsTest(publicId string, syntheticsTest *SyntheticsTest) (*SyntheticsTest, error)

UpdateSyntheticsTest updates a test

func (*Client) UpdateUser

func (client *Client) UpdateUser(user User) error

UpdateUser updates a user with the content of `user`, and returns an error if the update failed

func (*Client) Validate

func (client *Client) Validate() (bool, error)

Validate checks if the API key (not the APP key) is valid.

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) GetHandle

func (c *Comment) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*Comment) GetHandleOk

func (c *Comment) 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 (*Comment) GetId

func (c *Comment) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Comment) GetIdOk

func (c *Comment) 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 (*Comment) GetMessage

func (c *Comment) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*Comment) GetMessageOk

func (c *Comment) 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 (*Comment) GetRelatedId

func (c *Comment) GetRelatedId() int

GetRelatedId returns the RelatedId field if non-nil, zero value otherwise.

func (*Comment) GetRelatedIdOk

func (c *Comment) GetRelatedIdOk() (int, bool)

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

func (c *Comment) GetResource() string

GetResource returns the Resource field if non-nil, zero value otherwise.

func (*Comment) GetResourceOk

func (c *Comment) 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 (*Comment) GetUrl

func (c *Comment) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*Comment) GetUrlOk

func (c *Comment) 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 (*Comment) HasHandle

func (c *Comment) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Comment) HasId

func (c *Comment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Comment) HasMessage

func (c *Comment) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Comment) HasRelatedId

func (c *Comment) HasRelatedId() bool

HasRelatedId returns a boolean if a field has been set.

func (*Comment) HasResource

func (c *Comment) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*Comment) HasUrl

func (c *Comment) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Comment) SetHandle

func (c *Comment) SetHandle(v string)

SetHandle allocates a new c.Handle and returns the pointer to it.

func (*Comment) SetId

func (c *Comment) SetId(v int)

SetId allocates a new c.Id and returns the pointer to it.

func (*Comment) SetMessage

func (c *Comment) SetMessage(v string)

SetMessage allocates a new c.Message and returns the pointer to it.

func (*Comment) SetRelatedId

func (c *Comment) SetRelatedId(v int)

SetRelatedId allocates a new c.RelatedId and returns the pointer to it.

func (*Comment) SetResource

func (c *Comment) SetResource(v string)

SetResource allocates a new c.Resource and returns the pointer to it.

func (*Comment) SetUrl

func (c *Comment) SetUrl(v string)

SetUrl allocates a new c.Url and returns the pointer to it.

type ConditionalFormat

type ConditionalFormat struct {
	Color         *string `json:"custom_fg_color,omitempty"`
	Palette       *string `json:"palette,omitempty"`
	Comparator    *string `json:"comparator,omitempty"`
	Invert        *bool   `json:"invert,omitempty"`
	CustomBgColor *string `json:"custom_bg_color,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) GetCustomBgColor added in v2.21.0

func (c *ConditionalFormat) GetCustomBgColor() string

GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetCustomBgColorOk added in v2.21.0

func (c *ConditionalFormat) 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 (*ConditionalFormat) GetImageURL added in v2.13.0

func (c *ConditionalFormat) GetImageURL() string

GetImageURL returns the ImageURL field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetImageURLOk added in v2.13.0

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 added in v2.13.0

func (c *ConditionalFormat) GetInvert() bool

GetInvert returns the Invert field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetInvertOk added in v2.13.0

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 added in v2.13.0

func (c *ConditionalFormat) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetPaletteOk added in v2.13.0

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) HasCustomBgColor added in v2.21.0

func (c *ConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*ConditionalFormat) HasImageURL added in v2.13.0

func (c *ConditionalFormat) HasImageURL() bool

HasImageURL returns a boolean if a field has been set.

func (*ConditionalFormat) HasInvert added in v2.13.0

func (c *ConditionalFormat) HasInvert() bool

HasInvert returns a boolean if a field has been set.

func (*ConditionalFormat) HasPalette added in v2.13.0

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) SetCustomBgColor added in v2.21.0

func (c *ConditionalFormat) SetCustomBgColor(v string)

SetCustomBgColor allocates a new c.CustomBgColor and returns the pointer to it.

func (*ConditionalFormat) SetImageURL added in v2.13.0

func (c *ConditionalFormat) SetImageURL(v string)

SetImageURL allocates a new c.ImageURL and returns the pointer to it.

func (*ConditionalFormat) SetInvert added in v2.13.0

func (c *ConditionalFormat) SetInvert(v bool)

SetInvert allocates a new c.Invert and returns the pointer to it.

func (*ConditionalFormat) SetPalette added in v2.13.0

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 added in v2.17.0

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 added in v2.17.0

func (c *CreatedBy) GetAccessRole() string

GetAccessRole returns the AccessRole field if non-nil, zero value otherwise.

func (*CreatedBy) GetAccessRoleOk added in v2.17.0

func (c *CreatedBy) GetAccessRoleOk() (string, bool)

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 added in v2.17.0

func (c *CreatedBy) GetDisabled() bool

GetDisabled returns the Disabled field if non-nil, zero value otherwise.

func (*CreatedBy) GetDisabledOk added in v2.17.0

func (c *CreatedBy) GetDisabledOk() (bool, bool)

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) GetEmail added in v2.17.0

func (c *CreatedBy) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

func (*CreatedBy) GetEmailOk added in v2.17.0

func (c *CreatedBy) 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 (*CreatedBy) GetHandle added in v2.17.0

func (c *CreatedBy) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*CreatedBy) GetHandleOk added in v2.17.0

func (c *CreatedBy) 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 (*CreatedBy) GetIcon added in v2.17.0

func (c *CreatedBy) GetIcon() string

GetIcon returns the Icon field if non-nil, zero value otherwise.

func (*CreatedBy) GetIconOk added in v2.17.0

func (c *CreatedBy) GetIconOk() (string, bool)

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 added in v2.17.0

func (c *CreatedBy) GetIsAdmin() bool

GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.

func (*CreatedBy) GetIsAdminOk added in v2.17.0

func (c *CreatedBy) GetIsAdminOk() (bool, bool)

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) GetName added in v2.17.0

func (c *CreatedBy) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*CreatedBy) GetNameOk added in v2.17.0

func (c *CreatedBy) 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 (*CreatedBy) GetRole added in v2.17.0

func (c *CreatedBy) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

func (*CreatedBy) GetRoleOk added in v2.17.0

func (c *CreatedBy) GetRoleOk() (string, bool)

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 added in v2.17.0

func (c *CreatedBy) GetVerified() bool

GetVerified returns the Verified field if non-nil, zero value otherwise.

func (*CreatedBy) GetVerifiedOk added in v2.17.0

func (c *CreatedBy) GetVerifiedOk() (bool, bool)

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 added in v2.17.0

func (c *CreatedBy) HasAccessRole() bool

HasAccessRole returns a boolean if a field has been set.

func (*CreatedBy) HasDisabled added in v2.17.0

func (c *CreatedBy) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*CreatedBy) HasEmail added in v2.17.0

func (c *CreatedBy) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CreatedBy) HasHandle added in v2.17.0

func (c *CreatedBy) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*CreatedBy) HasIcon added in v2.17.0

func (c *CreatedBy) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*CreatedBy) HasIsAdmin added in v2.17.0

func (c *CreatedBy) HasIsAdmin() bool

HasIsAdmin returns a boolean if a field has been set.

func (*CreatedBy) HasName added in v2.17.0

func (c *CreatedBy) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreatedBy) HasRole added in v2.17.0

func (c *CreatedBy) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*CreatedBy) HasVerified added in v2.17.0

func (c *CreatedBy) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (*CreatedBy) SetAccessRole added in v2.17.0

func (c *CreatedBy) SetAccessRole(v string)

SetAccessRole allocates a new c.AccessRole and returns the pointer to it.

func (*CreatedBy) SetDisabled added in v2.17.0

func (c *CreatedBy) SetDisabled(v bool)

SetDisabled allocates a new c.Disabled and returns the pointer to it.

func (*CreatedBy) SetEmail added in v2.17.0

func (c *CreatedBy) SetEmail(v string)

SetEmail allocates a new c.Email and returns the pointer to it.

func (*CreatedBy) SetHandle added in v2.17.0

func (c *CreatedBy) SetHandle(v string)

SetHandle allocates a new c.Handle and returns the pointer to it.

func (*CreatedBy) SetIcon added in v2.17.0

func (c *CreatedBy) SetIcon(v string)

SetIcon allocates a new c.Icon and returns the pointer to it.

func (*CreatedBy) SetIsAdmin added in v2.17.0

func (c *CreatedBy) SetIsAdmin(v bool)

SetIsAdmin allocates a new c.IsAdmin and returns the pointer to it.

func (*CreatedBy) SetName added in v2.17.0

func (c *CreatedBy) SetName(v string)

SetName allocates a new c.Name and returns the pointer to it.

func (*CreatedBy) SetRole added in v2.17.0

func (c *CreatedBy) SetRole(v string)

SetRole allocates a new c.Role and returns the pointer to it.

func (*CreatedBy) SetVerified added in v2.17.0

func (c *CreatedBy) SetVerified(v bool)

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) GetEmail

func (c *Creator) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

func (*Creator) GetEmailOk

func (c *Creator) 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 (*Creator) GetHandle

func (c *Creator) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*Creator) GetHandleOk

func (c *Creator) 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 (*Creator) GetId

func (c *Creator) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Creator) GetIdOk

func (c *Creator) 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 (*Creator) GetName

func (c *Creator) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Creator) GetNameOk

func (c *Creator) 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 (*Creator) HasEmail

func (c *Creator) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Creator) HasHandle

func (c *Creator) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Creator) HasId

func (c *Creator) HasId() bool

HasId returns a boolean if a field has been set.

func (*Creator) HasName

func (c *Creator) HasName() bool

HasName returns a boolean if a field has been set.

func (*Creator) SetEmail

func (c *Creator) SetEmail(v string)

SetEmail allocates a new c.Email and returns the pointer to it.

func (*Creator) SetHandle

func (c *Creator) SetHandle(v string)

SetHandle allocates a new c.Handle and returns the pointer to it.

func (*Creator) SetId

func (c *Creator) SetId(v int)

SetId allocates a new c.Id and returns the pointer to it.

func (*Creator) SetName

func (c *Creator) SetName(v string)

SetName allocates a new c.Name and returns the pointer to it.

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

func (d *Dashboard) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

func (*Dashboard) GetDescriptionOk

func (d *Dashboard) 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 (*Dashboard) GetId

func (d *Dashboard) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Dashboard) GetIdOk

func (d *Dashboard) 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 (*Dashboard) GetNewId added in v2.20.0

func (d *Dashboard) GetNewId() string

GetNewId returns the NewId field if non-nil, zero value otherwise.

func (*Dashboard) GetNewIdOk added in v2.20.0

func (d *Dashboard) 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 (*Dashboard) GetReadOnly

func (d *Dashboard) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

func (*Dashboard) GetReadOnlyOk

func (d *Dashboard) 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 (*Dashboard) GetTitle

func (d *Dashboard) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Dashboard) GetTitleOk

func (d *Dashboard) 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 (*Dashboard) HasDescription

func (d *Dashboard) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Dashboard) HasId

func (d *Dashboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dashboard) HasNewId added in v2.20.0

func (d *Dashboard) HasNewId() bool

HasNewId returns a boolean if a field has been set.

func (*Dashboard) HasReadOnly

func (d *Dashboard) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*Dashboard) HasTitle

func (d *Dashboard) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Dashboard) SetDescription

func (d *Dashboard) SetDescription(v string)

SetDescription allocates a new d.Description and returns the pointer to it.

func (*Dashboard) SetId

func (d *Dashboard) SetId(v int)

SetId allocates a new d.Id and returns the pointer to it.

func (*Dashboard) SetNewId added in v2.20.0

func (d *Dashboard) SetNewId(v string)

SetNewId allocates a new d.NewId and returns the pointer to it.

func (*Dashboard) SetReadOnly

func (d *Dashboard) SetReadOnly(v bool)

SetReadOnly allocates a new d.ReadOnly and returns the pointer to it.

func (*Dashboard) SetTitle

func (d *Dashboard) SetTitle(v string)

SetTitle allocates a new d.Title 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 added in v2.10.0

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 added in v2.10.0

func (d *DashboardList) GetDashboardCount() int

GetDashboardCount returns the DashboardCount field if non-nil, zero value otherwise.

func (*DashboardList) GetDashboardCountOk added in v2.10.0

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 added in v2.10.0

func (d *DashboardList) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*DashboardList) GetIdOk added in v2.10.0

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 added in v2.10.0

func (d *DashboardList) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*DashboardList) GetNameOk added in v2.10.0

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 added in v2.10.0

func (d *DashboardList) HasDashboardCount() bool

HasDashboardCount returns a boolean if a field has been set.

func (*DashboardList) HasId added in v2.10.0

func (d *DashboardList) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardList) HasName added in v2.10.0

func (d *DashboardList) HasName() bool

HasName returns a boolean if a field has been set.

func (*DashboardList) SetDashboardCount added in v2.10.0

func (d *DashboardList) SetDashboardCount(v int)

SetDashboardCount allocates a new d.DashboardCount and returns the pointer to it.

func (*DashboardList) SetId added in v2.10.0

func (d *DashboardList) SetId(v int)

SetId allocates a new d.Id and returns the pointer to it.

func (*DashboardList) SetName added in v2.10.0

func (d *DashboardList) SetName(v string)

SetName allocates a new d.Name and returns the pointer to it.

type DashboardListItem added in v2.10.0

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 added in v2.10.0

func (d *DashboardListItem) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*DashboardListItem) GetIdOk added in v2.10.0

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 added in v2.10.0

func (d *DashboardListItem) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*DashboardListItem) GetTypeOk added in v2.10.0

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 added in v2.10.0

func (d *DashboardListItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardListItem) HasType added in v2.10.0

func (d *DashboardListItem) HasType() bool

HasType returns a boolean if a field has been set.

func (*DashboardListItem) SetId added in v2.10.0

func (d *DashboardListItem) SetId(v int)

SetId allocates a new d.Id and returns the pointer to it.

func (*DashboardListItem) SetType added in v2.10.0

func (d *DashboardListItem) SetType(v string)

SetType allocates a new d.Type and returns the pointer to it.

type DashboardListItemV2 added in v2.23.0

type DashboardListItemV2 struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
}

DashboardListItemV2 represents a single dashboard in a dashboard list.

func (*DashboardListItemV2) GetID added in v2.23.0

func (d *DashboardListItemV2) GetID() string

GetID returns the ID field if non-nil, zero value otherwise.

func (*DashboardListItemV2) GetIDOk added in v2.23.0

func (d *DashboardListItemV2) 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 (*DashboardListItemV2) GetType added in v2.23.0

func (d *DashboardListItemV2) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*DashboardListItemV2) GetTypeOk added in v2.23.0

func (d *DashboardListItemV2) 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 (*DashboardListItemV2) HasID added in v2.23.0

func (d *DashboardListItemV2) HasID() bool

HasID returns a boolean if a field has been set.

func (*DashboardListItemV2) HasType added in v2.23.0

func (d *DashboardListItemV2) HasType() bool

HasType returns a boolean if a field has been set.

func (*DashboardListItemV2) SetID added in v2.23.0

func (d *DashboardListItemV2) SetID(v string)

SetID allocates a new d.ID and returns the pointer to it.

func (*DashboardListItemV2) SetType added in v2.23.0

func (d *DashboardListItemV2) 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 added in v2.17.0

func (d *DashboardLite) GetCreated() string

GetCreated returns the Created field if non-nil, zero value otherwise.

func (*DashboardLite) GetCreatedBy added in v2.17.0

func (d *DashboardLite) GetCreatedBy() CreatedBy

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

func (*DashboardLite) GetCreatedByOk added in v2.17.0

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 added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) GetModified() string

GetModified returns the Modified field if non-nil, zero value otherwise.

func (*DashboardLite) GetModifiedOk added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

func (*DashboardLite) GetReadOnlyOk added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*DashboardLite) HasCreatedBy added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*DashboardLite) HasReadOnly added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) SetCreated(v string)

SetCreated allocates a new d.Created and returns the pointer to it.

func (*DashboardLite) SetCreatedBy added in v2.17.0

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 added in v2.17.0

func (d *DashboardLite) SetModified(v string)

SetModified allocates a new d.Modified and returns the pointer to it.

func (*DashboardLite) SetReadOnly added in v2.17.0

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 added in v2.20.0

type DeleteSyntheticsTestsPayload struct {
	PublicIds []string `json:"public_ids,omitempty"`
}

string array of public_id

type DistributionDefinition added in v2.20.0

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 added in v2.20.0

func (d *DistributionDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*DistributionDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*DistributionDefinition) GetTitleAlign added in v2.20.0

func (d *DistributionDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*DistributionDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (d *DistributionDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*DistributionDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*DistributionDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitle added in v2.20.0

func (d *DistributionDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitleAlign added in v2.20.0

func (d *DistributionDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitleSize added in v2.20.0

func (d *DistributionDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*DistributionDefinition) HasType added in v2.20.0

func (d *DistributionDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*DistributionDefinition) SetTime added in v2.20.0

func (d *DistributionDefinition) SetTime(v WidgetTime)

SetTime allocates a new d.Time and returns the pointer to it.

func (*DistributionDefinition) SetTitle added in v2.20.0

func (d *DistributionDefinition) SetTitle(v string)

SetTitle allocates a new d.Title and returns the pointer to it.

func (*DistributionDefinition) SetTitleAlign added in v2.20.0

func (d *DistributionDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new d.TitleAlign and returns the pointer to it.

func (*DistributionDefinition) SetTitleSize added in v2.20.0

func (d *DistributionDefinition) SetTitleSize(v string)

SetTitleSize allocates a new d.TitleSize and returns the pointer to it.

func (*DistributionDefinition) SetType added in v2.20.0

func (d *DistributionDefinition) SetType(v string)

SetType allocates a new d.Type and returns the pointer to it.

type DistributionRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*DistributionRequest) GetApmQuery added in v2.20.0

func (d *DistributionRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (d *DistributionRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetRumQueryOk added in v2.28.0

func (d *DistributionRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*DistributionRequest) GetSecurityQuery added in v2.28.0

func (d *DistributionRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*DistributionRequest) GetSecurityQueryOk added in v2.28.0

func (d *DistributionRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*DistributionRequest) GetStyle added in v2.20.0

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*DistributionRequest) GetStyleOk added in v2.20.0

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 added in v2.20.0

func (d *DistributionRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasLogQuery added in v2.20.0

func (d *DistributionRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasMetricQuery added in v2.20.0

func (d *DistributionRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasProcessQuery added in v2.20.0

func (d *DistributionRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasRumQuery added in v2.28.0

func (d *DistributionRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasSecurityQuery added in v2.28.0

func (d *DistributionRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasStyle added in v2.20.0

func (d *DistributionRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*DistributionRequest) SetApmQuery added in v2.20.0

func (d *DistributionRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new d.ApmQuery and returns the pointer to it.

func (*DistributionRequest) SetLogQuery added in v2.20.0

func (d *DistributionRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new d.LogQuery and returns the pointer to it.

func (*DistributionRequest) SetMetricQuery added in v2.20.0

func (d *DistributionRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new d.MetricQuery and returns the pointer to it.

func (*DistributionRequest) SetProcessQuery added in v2.20.0

func (d *DistributionRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new d.ProcessQuery and returns the pointer to it.

func (*DistributionRequest) SetRumQuery added in v2.28.0

func (d *DistributionRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new d.RumQuery and returns the pointer to it.

func (*DistributionRequest) SetSecurityQuery added in v2.28.0

func (d *DistributionRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new d.SecurityQuery and returns the pointer to it.

func (*DistributionRequest) SetStyle added in v2.20.0

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     `json:"timezone,omitempty"`
	Recurrence  *Recurrence `json:"recurrence,omitempty"`
	Scope       []string    `json:"scope,omitempty"`
	Start       *int        `json:"start,omitempty"`
	CreatorID   *int        `json:"creator_id,omitempty"`
	UpdaterID   *int        `json:"updater_id,omitempty"`
	Type        *int        `json:"downtime_type,omitempty"`
}

func (*Downtime) DowntimeType added in v2.21.0

func (d *Downtime) DowntimeType() DowntimeType

DowntimeType returns the canonical downtime type classification. This is calculated based on the provided server response, but the logic is copied down here to calculate locally.

func (*Downtime) GetActive

func (d *Downtime) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

func (*Downtime) GetActiveOk

func (d *Downtime) GetActiveOk() (bool, bool)

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

func (d *Downtime) GetCanceled() int

GetCanceled returns the Canceled field if non-nil, zero value otherwise.

func (*Downtime) GetCanceledOk

func (d *Downtime) GetCanceledOk() (int, bool)

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) GetCreatorID added in v2.21.0

func (d *Downtime) GetCreatorID() int

GetCreatorID returns the CreatorID field if non-nil, zero value otherwise.

func (*Downtime) GetCreatorIDOk added in v2.21.0

func (d *Downtime) GetCreatorIDOk() (int, bool)

GetCreatorIDOk returns a tuple with the CreatorID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Downtime) GetDisabled

func (d *Downtime) GetDisabled() bool

GetDisabled returns the Disabled field if non-nil, zero value otherwise.

func (*Downtime) GetDisabledOk

func (d *Downtime) GetDisabledOk() (bool, bool)

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) GetEnd

func (d *Downtime) GetEnd() int

GetEnd returns the End field if non-nil, zero value otherwise.

func (*Downtime) GetEndOk

func (d *Downtime) GetEndOk() (int, bool)

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) GetId

func (d *Downtime) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Downtime) GetIdOk

func (d *Downtime) 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 (*Downtime) GetMessage

func (d *Downtime) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*Downtime) GetMessageOk

func (d *Downtime) 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 (*Downtime) GetMonitorId

func (d *Downtime) GetMonitorId() int

GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.

func (*Downtime) GetMonitorIdOk

func (d *Downtime) GetMonitorIdOk() (int, bool)

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 added in v2.20.0

func (d *Downtime) GetParentId() int

GetParentId returns the ParentId field if non-nil, zero value otherwise.

func (*Downtime) GetParentIdOk added in v2.20.0

func (d *Downtime) GetParentIdOk() (int, bool)

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) GetStart

func (d *Downtime) GetStart() int

GetStart returns the Start field if non-nil, zero value otherwise.

func (*Downtime) GetStartOk

func (d *Downtime) 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 (*Downtime) GetTimezone added in v2.20.0

func (d *Downtime) GetTimezone() string

GetTimezone returns the Timezone field if non-nil, zero value otherwise.

func (*Downtime) GetTimezoneOk added in v2.20.0

func (d *Downtime) GetTimezoneOk() (string, bool)

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) GetType added in v2.21.0

func (d *Downtime) GetType() int

GetType returns the Type field if non-nil, zero value otherwise.

func (*Downtime) GetTypeOk added in v2.21.0

func (d *Downtime) GetTypeOk() (int, 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 (*Downtime) GetUpdaterID added in v2.21.0

func (d *Downtime) GetUpdaterID() int

GetUpdaterID returns the UpdaterID field if non-nil, zero value otherwise.

func (*Downtime) GetUpdaterIDOk added in v2.21.0

func (d *Downtime) GetUpdaterIDOk() (int, bool)

GetUpdaterIDOk returns a tuple with the UpdaterID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Downtime) HasActive

func (d *Downtime) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Downtime) HasCanceled

func (d *Downtime) HasCanceled() bool

HasCanceled returns a boolean if a field has been set.

func (*Downtime) HasCreatorID added in v2.21.0

func (d *Downtime) HasCreatorID() bool

HasCreatorID returns a boolean if a field has been set.

func (*Downtime) HasDisabled

func (d *Downtime) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Downtime) HasEnd

func (d *Downtime) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*Downtime) HasId

func (d *Downtime) HasId() bool

HasId returns a boolean if a field has been set.

func (*Downtime) HasMessage

func (d *Downtime) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Downtime) HasMonitorId

func (d *Downtime) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*Downtime) HasParentId added in v2.20.0

func (d *Downtime) HasParentId() bool

HasParentId returns a boolean if a field has been set.

func (*Downtime) HasRecurrence

func (d *Downtime) HasRecurrence() bool

HasRecurrence returns a boolean if a field has been set.

func (*Downtime) HasStart

func (d *Downtime) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Downtime) HasTimezone added in v2.20.0

func (d *Downtime) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*Downtime) HasType added in v2.21.0

func (d *Downtime) HasType() bool

HasType returns a boolean if a field has been set.

func (*Downtime) HasUpdaterID added in v2.21.0

func (d *Downtime) HasUpdaterID() bool

HasUpdaterID returns a boolean if a field has been set.

func (*Downtime) SetActive

func (d *Downtime) SetActive(v bool)

SetActive allocates a new d.Active and returns the pointer to it.

func (*Downtime) SetCanceled

func (d *Downtime) SetCanceled(v int)

SetCanceled allocates a new d.Canceled and returns the pointer to it.

func (*Downtime) SetCreatorID added in v2.21.0

func (d *Downtime) SetCreatorID(v int)

SetCreatorID allocates a new d.CreatorID and returns the pointer to it.

func (*Downtime) SetDisabled

func (d *Downtime) SetDisabled(v bool)

SetDisabled allocates a new d.Disabled and returns the pointer to it.

func (*Downtime) SetEnd

func (d *Downtime) SetEnd(v int)

SetEnd allocates a new d.End and returns the pointer to it.

func (*Downtime) SetId

func (d *Downtime) SetId(v int)

SetId allocates a new d.Id and returns the pointer to it.

func (*Downtime) SetMessage

func (d *Downtime) SetMessage(v string)

SetMessage allocates a new d.Message and returns the pointer to it.

func (*Downtime) SetMonitorId

func (d *Downtime) SetMonitorId(v int)

SetMonitorId allocates a new d.MonitorId and returns the pointer to it.

func (*Downtime) SetParentId added in v2.20.0

func (d *Downtime) SetParentId(v int)

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) SetStart

func (d *Downtime) SetStart(v int)

SetStart allocates a new d.Start and returns the pointer to it.

func (*Downtime) SetTimezone added in v2.20.0

func (d *Downtime) SetTimezone(v string)

SetTimezone allocates a new d.Timezone and returns the pointer to it.

func (*Downtime) SetType added in v2.21.0

func (d *Downtime) SetType(v int)

SetType allocates a new d.Type and returns the pointer to it.

func (*Downtime) SetUpdaterID added in v2.21.0

func (d *Downtime) SetUpdaterID(v int)

SetUpdaterID allocates a new d.UpdaterID and returns the pointer to it.

type DowntimeType added in v2.21.0

type DowntimeType int

DowntimeType are a classification of a given downtime scope

const (
	StarDowntimeType  DowntimeType = 0
	HostDowntimeType  DowntimeType = 1
	OtherDowntimeType DowntimeType = 2
)

The three downtime type classifications.

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

func (e *Event) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*Event) GetAggregationOk

func (e *Event) 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 (*Event) GetAlertType

func (e *Event) GetAlertType() string

GetAlertType returns the AlertType field if non-nil, zero value otherwise.

func (*Event) GetAlertTypeOk

func (e *Event) GetAlertTypeOk() (string, bool)

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

func (e *Event) GetEventType() string

GetEventType returns the EventType field if non-nil, zero value otherwise.

func (*Event) GetEventTypeOk

func (e *Event) GetEventTypeOk() (string, bool)

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) GetHost

func (e *Event) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*Event) GetHostOk

func (e *Event) GetHostOk() (string, bool)

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) GetId

func (e *Event) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Event) GetIdOk

func (e *Event) 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 (*Event) GetPriority

func (e *Event) GetPriority() string

GetPriority returns the Priority field if non-nil, zero value otherwise.

func (*Event) GetPriorityOk

func (e *Event) GetPriorityOk() (string, bool)

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

func (e *Event) GetResource() string

GetResource returns the Resource field if non-nil, zero value otherwise.

func (*Event) GetResourceOk

func (e *Event) 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 (*Event) GetSourceType

func (e *Event) GetSourceType() string

GetSourceType returns the SourceType field if non-nil, zero value otherwise.

func (*Event) GetSourceTypeOk

func (e *Event) GetSourceTypeOk() (string, bool)

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) GetText

func (e *Event) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Event) GetTextOk

func (e *Event) 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 (*Event) GetTime

func (e *Event) GetTime() int

GetTime returns the Time field if non-nil, zero value otherwise.

func (*Event) GetTimeOk

func (e *Event) GetTimeOk() (int, 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 (*Event) GetTitle

func (e *Event) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Event) GetTitleOk

func (e *Event) 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 (*Event) GetUrl

func (e *Event) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*Event) GetUrlOk

func (e *Event) 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 (*Event) HasAggregation

func (e *Event) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*Event) HasAlertType

func (e *Event) HasAlertType() bool

HasAlertType returns a boolean if a field has been set.

func (*Event) HasEventType

func (e *Event) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*Event) HasHost

func (e *Event) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Event) HasId

func (e *Event) HasId() bool

HasId returns a boolean if a field has been set.

func (*Event) HasPriority

func (e *Event) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Event) HasResource

func (e *Event) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*Event) HasSourceType

func (e *Event) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

func (*Event) HasText

func (e *Event) HasText() bool

HasText returns a boolean if a field has been set.

func (*Event) HasTime

func (e *Event) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*Event) HasTitle

func (e *Event) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Event) HasUrl

func (e *Event) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Event) SetAggregation

func (e *Event) SetAggregation(v string)

SetAggregation allocates a new e.Aggregation and returns the pointer to it.

func (*Event) SetAlertType

func (e *Event) SetAlertType(v string)

SetAlertType allocates a new e.AlertType and returns the pointer to it.

func (*Event) SetEventType

func (e *Event) SetEventType(v string)

SetEventType allocates a new e.EventType and returns the pointer to it.

func (*Event) SetHost

func (e *Event) SetHost(v string)

SetHost allocates a new e.Host and returns the pointer to it.

func (*Event) SetId

func (e *Event) SetId(v int)

SetId allocates a new e.Id and returns the pointer to it.

func (*Event) SetPriority

func (e *Event) SetPriority(v string)

SetPriority allocates a new e.Priority and returns the pointer to it.

func (*Event) SetResource

func (e *Event) SetResource(v string)

SetResource allocates a new e.Resource and returns the pointer to it.

func (*Event) SetSourceType

func (e *Event) SetSourceType(v string)

SetSourceType allocates a new e.SourceType and returns the pointer to it.

func (*Event) SetText

func (e *Event) SetText(v string)

SetText allocates a new e.Text and returns the pointer to it.

func (*Event) SetTime

func (e *Event) SetTime(v int)

SetTime allocates a new e.Time and returns the pointer to it.

func (*Event) SetTitle

func (e *Event) SetTitle(v string)

SetTitle allocates a new e.Title and returns the pointer to it.

func (*Event) SetUrl

func (e *Event) SetUrl(v string)

SetUrl allocates a new e.Url and returns the pointer to it.

type EventStreamDefinition added in v2.20.0

type EventStreamDefinition struct {
	Type          *string     `json:"type"`
	Query         *string     `json:"query"`
	TagsExecution *string     `json:"tags_execution,omitempty"`
	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 added in v2.20.0

func (e *EventStreamDefinition) GetEventSize() string

GetEventSize returns the EventSize field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetEventSizeOk added in v2.20.0

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 added in v2.20.0

func (e *EventStreamDefinition) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetQueryOk added in v2.20.0

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) GetTagsExecution added in v2.28.0

func (e *EventStreamDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTagsExecutionOk added in v2.28.0

func (e *EventStreamDefinition) GetTagsExecutionOk() (string, bool)

GetTagsExecutionOk returns a tuple with the TagsExecution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*EventStreamDefinition) GetTime added in v2.20.0

func (e *EventStreamDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (e *EventStreamDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTitleAlign added in v2.20.0

func (e *EventStreamDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (e *EventStreamDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (e *EventStreamDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (e *EventStreamDefinition) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*EventStreamDefinition) HasQuery added in v2.20.0

func (e *EventStreamDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTagsExecution added in v2.28.0

func (e *EventStreamDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTime added in v2.20.0

func (e *EventStreamDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitle added in v2.20.0

func (e *EventStreamDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitleAlign added in v2.20.0

func (e *EventStreamDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitleSize added in v2.20.0

func (e *EventStreamDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventStreamDefinition) HasType added in v2.20.0

func (e *EventStreamDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventStreamDefinition) SetEventSize added in v2.20.0

func (e *EventStreamDefinition) SetEventSize(v string)

SetEventSize allocates a new e.EventSize and returns the pointer to it.

func (*EventStreamDefinition) SetQuery added in v2.20.0

func (e *EventStreamDefinition) SetQuery(v string)

SetQuery allocates a new e.Query and returns the pointer to it.

func (*EventStreamDefinition) SetTagsExecution added in v2.28.0

func (e *EventStreamDefinition) SetTagsExecution(v string)

SetTagsExecution allocates a new e.TagsExecution and returns the pointer to it.

func (*EventStreamDefinition) SetTime added in v2.20.0

func (e *EventStreamDefinition) SetTime(v WidgetTime)

SetTime allocates a new e.Time and returns the pointer to it.

func (*EventStreamDefinition) SetTitle added in v2.20.0

func (e *EventStreamDefinition) SetTitle(v string)

SetTitle allocates a new e.Title and returns the pointer to it.

func (*EventStreamDefinition) SetTitleAlign added in v2.20.0

func (e *EventStreamDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.

func (*EventStreamDefinition) SetTitleSize added in v2.20.0

func (e *EventStreamDefinition) SetTitleSize(v string)

SetTitleSize allocates a new e.TitleSize and returns the pointer to it.

func (*EventStreamDefinition) SetType added in v2.20.0

func (e *EventStreamDefinition) SetType(v string)

SetType allocates a new e.Type and returns the pointer to it.

type EventTimelineDefinition added in v2.20.0

type EventTimelineDefinition struct {
	Type          *string     `json:"type"`
	Query         *string     `json:"query"`
	TagsExecution *string     `json:"tags_execution,omitempty"`
	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 added in v2.20.0

func (e *EventTimelineDefinition) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetQueryOk added in v2.20.0

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) GetTagsExecution added in v2.28.0

func (e *EventTimelineDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTagsExecutionOk added in v2.28.0

func (e *EventTimelineDefinition) GetTagsExecutionOk() (string, bool)

GetTagsExecutionOk returns a tuple with the TagsExecution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*EventTimelineDefinition) GetTime added in v2.20.0

func (e *EventTimelineDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (e *EventTimelineDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTitleAlign added in v2.20.0

func (e *EventTimelineDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (e *EventTimelineDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (e *EventTimelineDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (e *EventTimelineDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTagsExecution added in v2.28.0

func (e *EventTimelineDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTime added in v2.20.0

func (e *EventTimelineDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitle added in v2.20.0

func (e *EventTimelineDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitleAlign added in v2.20.0

func (e *EventTimelineDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitleSize added in v2.20.0

func (e *EventTimelineDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasType added in v2.20.0

func (e *EventTimelineDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventTimelineDefinition) SetQuery added in v2.20.0

func (e *EventTimelineDefinition) SetQuery(v string)

SetQuery allocates a new e.Query and returns the pointer to it.

func (*EventTimelineDefinition) SetTagsExecution added in v2.28.0

func (e *EventTimelineDefinition) SetTagsExecution(v string)

SetTagsExecution allocates a new e.TagsExecution and returns the pointer to it.

func (*EventTimelineDefinition) SetTime added in v2.20.0

func (e *EventTimelineDefinition) SetTime(v WidgetTime)

SetTime allocates a new e.Time and returns the pointer to it.

func (*EventTimelineDefinition) SetTitle added in v2.20.0

func (e *EventTimelineDefinition) SetTitle(v string)

SetTitle allocates a new e.Title and returns the pointer to it.

func (*EventTimelineDefinition) SetTitleAlign added in v2.20.0

func (e *EventTimelineDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.

func (*EventTimelineDefinition) SetTitleSize added in v2.20.0

func (e *EventTimelineDefinition) SetTitleSize(v string)

SetTitleSize allocates a new e.TitleSize and returns the pointer to it.

func (*EventTimelineDefinition) SetType added in v2.20.0

func (e *EventTimelineDefinition) SetType(v string)

SetType allocates a new e.Type and returns the pointer to it.

type ExclusionFilter added in v2.24.0

type ExclusionFilter struct {
	Name      *string `json:"name"`
	IsEnabled *bool   `json:"is_enabled,omitempty"`
	Filter    *Filter `json:"filter"`
}

ExclusionFilter represents the index exclusion filter object from config API.

func (*ExclusionFilter) GetFilter added in v2.24.0

func (e *ExclusionFilter) GetFilter() Filter

GetFilter returns the Filter field if non-nil, zero value otherwise.

func (*ExclusionFilter) GetFilterOk added in v2.24.0

func (e *ExclusionFilter) GetFilterOk() (Filter, bool)

GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ExclusionFilter) GetIsEnabled added in v2.24.0

func (e *ExclusionFilter) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*ExclusionFilter) GetIsEnabledOk added in v2.24.0

func (e *ExclusionFilter) GetIsEnabledOk() (bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ExclusionFilter) GetName added in v2.24.0

func (e *ExclusionFilter) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*ExclusionFilter) GetNameOk added in v2.24.0

func (e *ExclusionFilter) 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 (*ExclusionFilter) HasFilter added in v2.24.0

func (e *ExclusionFilter) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*ExclusionFilter) HasIsEnabled added in v2.24.0

func (e *ExclusionFilter) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*ExclusionFilter) HasName added in v2.24.0

func (e *ExclusionFilter) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExclusionFilter) SetFilter added in v2.24.0

func (e *ExclusionFilter) SetFilter(v Filter)

SetFilter allocates a new e.Filter and returns the pointer to it.

func (*ExclusionFilter) SetIsEnabled added in v2.24.0

func (e *ExclusionFilter) SetIsEnabled(v bool)

SetIsEnabled allocates a new e.IsEnabled and returns the pointer to it.

func (*ExclusionFilter) SetName added in v2.24.0

func (e *ExclusionFilter) SetName(v string)

SetName allocates a new e.Name and returns the pointer to it.

type Filter added in v2.24.0

type Filter struct {
	Query      *string  `json:"query,omitempty"`
	SampleRate *float64 `json:"sample_rate,omitempty"`
}

Filter represents the index filter object from config API.

func (*Filter) GetQuery added in v2.24.0

func (f *Filter) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*Filter) GetQueryOk added in v2.24.0

func (f *Filter) 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 (*Filter) GetSampleRate added in v2.24.0

func (f *Filter) GetSampleRate() float64

GetSampleRate returns the SampleRate field if non-nil, zero value otherwise.

func (*Filter) GetSampleRateOk added in v2.24.0

func (f *Filter) GetSampleRateOk() (float64, bool)

GetSampleRateOk returns a tuple with the SampleRate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Filter) HasQuery added in v2.24.0

func (f *Filter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Filter) HasSampleRate added in v2.24.0

func (f *Filter) HasSampleRate() bool

HasSampleRate returns a boolean if a field has been set.

func (*Filter) SetQuery added in v2.24.0

func (f *Filter) SetQuery(v string)

SetQuery allocates a new f.Query and returns the pointer to it.

func (*Filter) SetSampleRate added in v2.24.0

func (f *Filter) SetSampleRate(v float64)

SetSampleRate allocates a new f.SampleRate and returns the pointer to it.

type FilterConfiguration added in v2.24.0

type FilterConfiguration struct {
	Query *string `json:"query"`
}

FilterConfiguration struct to represent the json object of filter configuration.

func (*FilterConfiguration) GetQuery added in v2.24.0

func (f *FilterConfiguration) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*FilterConfiguration) GetQueryOk added in v2.24.0

func (f *FilterConfiguration) 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 (*FilterConfiguration) HasQuery added in v2.24.0

func (f *FilterConfiguration) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*FilterConfiguration) SetQuery added in v2.24.0

func (f *FilterConfiguration) SetQuery(v string)

SetQuery allocates a new f.Query and returns the pointer to it.

type FreeTextDefinition added in v2.20.0

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 added in v2.20.0

func (f *FreeTextDefinition) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetColorOk added in v2.20.0

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 added in v2.20.0

func (f *FreeTextDefinition) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetFontSizeOk added in v2.20.0

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 added in v2.20.0

func (f *FreeTextDefinition) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetTextAlign added in v2.20.0

func (f *FreeTextDefinition) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetTextAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (f *FreeTextDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (f *FreeTextDefinition) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*FreeTextDefinition) HasFontSize added in v2.20.0

func (f *FreeTextDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*FreeTextDefinition) HasText added in v2.20.0

func (f *FreeTextDefinition) HasText() bool

HasText returns a boolean if a field has been set.

func (*FreeTextDefinition) HasTextAlign added in v2.20.0

func (f *FreeTextDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*FreeTextDefinition) HasType added in v2.20.0

func (f *FreeTextDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*FreeTextDefinition) SetColor added in v2.20.0

func (f *FreeTextDefinition) SetColor(v string)

SetColor allocates a new f.Color and returns the pointer to it.

func (*FreeTextDefinition) SetFontSize added in v2.20.0

func (f *FreeTextDefinition) SetFontSize(v string)

SetFontSize allocates a new f.FontSize and returns the pointer to it.

func (*FreeTextDefinition) SetText added in v2.20.0

func (f *FreeTextDefinition) SetText(v string)

SetText allocates a new f.Text and returns the pointer to it.

func (*FreeTextDefinition) SetTextAlign added in v2.20.0

func (f *FreeTextDefinition) SetTextAlign(v string)

SetTextAlign allocates a new f.TextAlign and returns the pointer to it.

func (*FreeTextDefinition) SetType added in v2.20.0

func (f *FreeTextDefinition) SetType(v string)

SetType allocates a new f.Type and returns the pointer to it.

type GeoIPParser added in v2.25.0

type GeoIPParser struct {
	Sources []string `json:"sources"`
	Target  *string  `json:"target"`
}

GeoIPParser represents geoIpParser object from config API.

func (*GeoIPParser) GetTarget added in v2.25.0

func (g *GeoIPParser) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*GeoIPParser) GetTargetOk added in v2.25.0

func (g *GeoIPParser) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GeoIPParser) HasTarget added in v2.25.0

func (g *GeoIPParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*GeoIPParser) SetTarget added in v2.25.0

func (g *GeoIPParser) SetTarget(v string)

SetTarget allocates a new g.Target 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) GetTitle

func (g *Graph) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Graph) GetTitleOk

func (g *Graph) 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 (*Graph) HasDefinition

func (g *Graph) HasDefinition() bool

HasDefinition returns a boolean if a field has been set.

func (*Graph) HasTitle

func (g *Graph) HasTitle() bool

HasTitle 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.

func (*Graph) SetTitle

func (g *Graph) SetTitle(v string)

SetTitle allocates a new g.Title and returns the pointer to it.

type GraphApmOrLogQuery added in v2.22.0

type GraphApmOrLogQuery struct {
	Index   *string                     `json:"index"`
	Compute *GraphApmOrLogQueryCompute  `json:"compute"`
	Search  *GraphApmOrLogQuerySearch   `json:"search,omitempty"`
	GroupBy []GraphApmOrLogQueryGroupBy `json:"groupBy,omitempty"`
}

GraphApmOrLogQuery represents an APM or a Log query

func (*GraphApmOrLogQuery) GetCompute added in v2.22.0

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetComputeOk added in v2.22.0

func (g *GraphApmOrLogQuery) GetComputeOk() (GraphApmOrLogQueryCompute, 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 (*GraphApmOrLogQuery) GetIndex added in v2.22.0

func (g *GraphApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetIndexOk added in v2.22.0

func (g *GraphApmOrLogQuery) 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 (*GraphApmOrLogQuery) GetSearch added in v2.22.0

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetSearchOk added in v2.22.0

func (g *GraphApmOrLogQuery) GetSearchOk() (GraphApmOrLogQuerySearch, 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 (*GraphApmOrLogQuery) HasCompute added in v2.22.0

func (g *GraphApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) HasIndex added in v2.22.0

func (g *GraphApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) HasSearch added in v2.22.0

func (g *GraphApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) SetCompute added in v2.22.0

SetCompute allocates a new g.Compute and returns the pointer to it.

func (*GraphApmOrLogQuery) SetIndex added in v2.22.0

func (g *GraphApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new g.Index and returns the pointer to it.

func (*GraphApmOrLogQuery) SetSearch added in v2.22.0

SetSearch allocates a new g.Search and returns the pointer to it.

type GraphApmOrLogQueryCompute added in v2.22.0

type GraphApmOrLogQueryCompute struct {
	Aggregation *string `json:"aggregation"`
	Facet       *string `json:"facet,omitempty"`
	Interval    *int    `json:"interval,omitempty"`
}

func (*GraphApmOrLogQueryCompute) GetAggregation added in v2.22.0

func (g *GraphApmOrLogQueryCompute) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryCompute) GetAggregationOk added in v2.22.0

func (g *GraphApmOrLogQueryCompute) 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 (*GraphApmOrLogQueryCompute) GetFacet added in v2.22.0

func (g *GraphApmOrLogQueryCompute) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryCompute) GetFacetOk added in v2.22.0

func (g *GraphApmOrLogQueryCompute) 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 (*GraphApmOrLogQueryCompute) GetInterval added in v2.22.0

func (g *GraphApmOrLogQueryCompute) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryCompute) GetIntervalOk added in v2.22.0

func (g *GraphApmOrLogQueryCompute) 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 (*GraphApmOrLogQueryCompute) HasAggregation added in v2.22.0

func (g *GraphApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) HasFacet added in v2.22.0

func (g *GraphApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) HasInterval added in v2.22.0

func (g *GraphApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) SetAggregation added in v2.22.0

func (g *GraphApmOrLogQueryCompute) SetAggregation(v string)

SetAggregation allocates a new g.Aggregation and returns the pointer to it.

func (*GraphApmOrLogQueryCompute) SetFacet added in v2.22.0

func (g *GraphApmOrLogQueryCompute) SetFacet(v string)

SetFacet allocates a new g.Facet and returns the pointer to it.

func (*GraphApmOrLogQueryCompute) SetInterval added in v2.22.0

func (g *GraphApmOrLogQueryCompute) SetInterval(v int)

SetInterval allocates a new g.Interval and returns the pointer to it.

type GraphApmOrLogQueryGroupBy added in v2.22.0

type GraphApmOrLogQueryGroupBy struct {
	Facet *string                        `json:"facet"`
	Limit *int                           `json:"limit,omitempty"`
	Sort  *GraphApmOrLogQueryGroupBySort `json:"sort,omitempty"`
}

func (*GraphApmOrLogQueryGroupBy) GetFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBy) GetFacetOk added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) 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 (*GraphApmOrLogQueryGroupBy) GetLimit added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBy) GetLimitOk added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) 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 (*GraphApmOrLogQueryGroupBy) GetSort added in v2.22.0

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBy) GetSortOk added in v2.22.0

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 (*GraphApmOrLogQueryGroupBy) HasFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) HasLimit added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) HasSort added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) SetFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) SetFacet(v string)

SetFacet allocates a new g.Facet and returns the pointer to it.

func (*GraphApmOrLogQueryGroupBy) SetLimit added in v2.22.0

func (g *GraphApmOrLogQueryGroupBy) SetLimit(v int)

SetLimit allocates a new g.Limit and returns the pointer to it.

func (*GraphApmOrLogQueryGroupBy) SetSort added in v2.22.0

SetSort allocates a new g.Sort and returns the pointer to it.

type GraphApmOrLogQueryGroupBySort added in v2.22.0

type GraphApmOrLogQueryGroupBySort struct {
	Aggregation *string `json:"aggregation"`
	Order       *string `json:"order"`
	Facet       *string `json:"facet,omitempty"`
}

func (*GraphApmOrLogQueryGroupBySort) GetAggregation added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBySort) GetAggregationOk added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) 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 (*GraphApmOrLogQueryGroupBySort) GetFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBySort) GetFacetOk added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) 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 (*GraphApmOrLogQueryGroupBySort) GetOrder added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) GetOrder() string

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*GraphApmOrLogQueryGroupBySort) GetOrderOk added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) 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 (*GraphApmOrLogQueryGroupBySort) HasAggregation added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) HasFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) HasOrder added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) SetAggregation added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) SetAggregation(v string)

SetAggregation allocates a new g.Aggregation and returns the pointer to it.

func (*GraphApmOrLogQueryGroupBySort) SetFacet added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) SetFacet(v string)

SetFacet allocates a new g.Facet and returns the pointer to it.

func (*GraphApmOrLogQueryGroupBySort) SetOrder added in v2.22.0

func (g *GraphApmOrLogQueryGroupBySort) SetOrder(v string)

SetOrder allocates a new g.Order and returns the pointer to it.

type GraphApmOrLogQuerySearch added in v2.22.0

type GraphApmOrLogQuerySearch struct {
	Query *string `json:"query"`
}

func (*GraphApmOrLogQuerySearch) GetQuery added in v2.22.0

func (g *GraphApmOrLogQuerySearch) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuerySearch) GetQueryOk added in v2.22.0

func (g *GraphApmOrLogQuerySearch) 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 (*GraphApmOrLogQuerySearch) HasQuery added in v2.22.0

func (g *GraphApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*GraphApmOrLogQuerySearch) SetQuery added in v2.22.0

func (g *GraphApmOrLogQuerySearch) SetQuery(v string)

SetQuery allocates a new g.Query 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 added in v2.15.0

func (g *GraphDefinition) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*GraphDefinition) GetNodeTypeOk added in v2.15.0

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 added in v2.15.0

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 added in v2.15.0

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 GraphDefinitionMetadata added in v2.21.0

type GraphDefinitionMetadata TileDefMetadata

type GraphDefinitionRequest

type GraphDefinitionRequest struct {
	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"`
	Metadata       map[string]GraphDefinitionMetadata `json:"metadata,omitempty"`

	// A Graph can only have one of these types of query.
	Query         *string             `json:"q,omitempty"`
	LogQuery      *GraphApmOrLogQuery `json:"log_query,omitempty"`
	ApmQuery      *GraphApmOrLogQuery `json:"apm_query,omitempty"`
	ProcessQuery  *GraphProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *GraphApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *GraphApmOrLogQuery `json:"security_query,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) GetApmQuery added in v2.22.0

func (g *GraphDefinitionRequest) GetApmQuery() GraphApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetApmQueryOk added in v2.22.0

func (g *GraphDefinitionRequest) GetApmQueryOk() (GraphApmOrLogQuery, 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 (*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) GetLogQuery added in v2.22.0

func (g *GraphDefinitionRequest) GetLogQuery() GraphApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetLogQueryOk added in v2.22.0

func (g *GraphDefinitionRequest) GetLogQueryOk() (GraphApmOrLogQuery, 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 (*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) GetProcessQuery added in v2.22.0

func (g *GraphDefinitionRequest) GetProcessQuery() GraphProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetProcessQueryOk added in v2.22.0

func (g *GraphDefinitionRequest) GetProcessQueryOk() (GraphProcessQuery, 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 (*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) GetRumQuery added in v2.28.0

func (g *GraphDefinitionRequest) GetRumQuery() GraphApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetRumQueryOk added in v2.28.0

func (g *GraphDefinitionRequest) GetRumQueryOk() (GraphApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GraphDefinitionRequest) GetSecurityQuery added in v2.28.0

func (g *GraphDefinitionRequest) GetSecurityQuery() GraphApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetSecurityQueryOk added in v2.28.0

func (g *GraphDefinitionRequest) GetSecurityQueryOk() (GraphApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery 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

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetStyleOk

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) HasApmQuery added in v2.22.0

func (g *GraphDefinitionRequest) HasApmQuery() bool

HasApmQuery 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) HasLogQuery added in v2.22.0

func (g *GraphDefinitionRequest) HasLogQuery() bool

HasLogQuery 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) HasProcessQuery added in v2.22.0

func (g *GraphDefinitionRequest) HasProcessQuery() bool

HasProcessQuery 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) HasRumQuery added in v2.28.0

func (g *GraphDefinitionRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasSecurityQuery added in v2.28.0

func (g *GraphDefinitionRequest) HasSecurityQuery() bool

HasSecurityQuery 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) SetApmQuery added in v2.22.0

func (g *GraphDefinitionRequest) SetApmQuery(v GraphApmOrLogQuery)

SetApmQuery allocates a new g.ApmQuery 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) SetLogQuery added in v2.22.0

func (g *GraphDefinitionRequest) SetLogQuery(v GraphApmOrLogQuery)

SetLogQuery allocates a new g.LogQuery 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) SetProcessQuery added in v2.22.0

func (g *GraphDefinitionRequest) SetProcessQuery(v GraphProcessQuery)

SetProcessQuery allocates a new g.ProcessQuery 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) SetRumQuery added in v2.28.0

func (g *GraphDefinitionRequest) SetRumQuery(v GraphApmOrLogQuery)

SetRumQuery allocates a new g.RumQuery and returns the pointer to it.

func (*GraphDefinitionRequest) SetSecurityQuery added in v2.28.0

func (g *GraphDefinitionRequest) SetSecurityQuery(v GraphApmOrLogQuery)

SetSecurityQuery allocates a new g.SecurityQuery 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

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 GraphProcessQuery added in v2.22.0

type GraphProcessQuery struct {
	Metric   *string  `json:"metric"`
	SearchBy *string  `json:"search_by,omitempty"`
	FilterBy []string `json:"filter_by,omitempty"`
	Limit    *int     `json:"limit,omitempty"`
}

func (*GraphProcessQuery) GetLimit added in v2.22.0

func (g *GraphProcessQuery) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*GraphProcessQuery) GetLimitOk added in v2.22.0

func (g *GraphProcessQuery) 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 (*GraphProcessQuery) GetMetric added in v2.22.0

func (g *GraphProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*GraphProcessQuery) GetMetricOk added in v2.22.0

func (g *GraphProcessQuery) 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 (*GraphProcessQuery) GetSearchBy added in v2.22.0

func (g *GraphProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*GraphProcessQuery) GetSearchByOk added in v2.22.0

func (g *GraphProcessQuery) 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 (*GraphProcessQuery) HasLimit added in v2.22.0

func (g *GraphProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GraphProcessQuery) HasMetric added in v2.22.0

func (g *GraphProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*GraphProcessQuery) HasSearchBy added in v2.22.0

func (g *GraphProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*GraphProcessQuery) SetLimit added in v2.22.0

func (g *GraphProcessQuery) SetLimit(v int)

SetLimit allocates a new g.Limit and returns the pointer to it.

func (*GraphProcessQuery) SetMetric added in v2.22.0

func (g *GraphProcessQuery) SetMetric(v string)

SetMetric allocates a new g.Metric and returns the pointer to it.

func (*GraphProcessQuery) SetSearchBy added in v2.22.0

func (g *GraphProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new g.SearchBy and returns the pointer to it.

type GrokParser added in v2.24.0

type GrokParser struct {
	Source   *string   `json:"source"`
	Samples  []string  `json:"samples"`
	GrokRule *GrokRule `json:"grok"`
}

GrokParser represents the grok parser processor object from config API.

func (*GrokParser) GetGrokRule added in v2.24.0

func (g *GrokParser) GetGrokRule() GrokRule

GetGrokRule returns the GrokRule field if non-nil, zero value otherwise.

func (*GrokParser) GetGrokRuleOk added in v2.24.0

func (g *GrokParser) GetGrokRuleOk() (GrokRule, bool)

GetGrokRuleOk returns a tuple with the GrokRule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GrokParser) GetSource added in v2.24.0

func (g *GrokParser) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

func (*GrokParser) GetSourceOk added in v2.24.0

func (g *GrokParser) GetSourceOk() (string, bool)

GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GrokParser) HasGrokRule added in v2.24.0

func (g *GrokParser) HasGrokRule() bool

HasGrokRule returns a boolean if a field has been set.

func (*GrokParser) HasSource added in v2.24.0

func (g *GrokParser) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*GrokParser) SetGrokRule added in v2.24.0

func (g *GrokParser) SetGrokRule(v GrokRule)

SetGrokRule allocates a new g.GrokRule and returns the pointer to it.

func (*GrokParser) SetSource added in v2.24.0

func (g *GrokParser) SetSource(v string)

SetSource allocates a new g.Source and returns the pointer to it.

type GrokRule added in v2.24.0

type GrokRule struct {
	SupportRules *string `json:"support_rules"`
	MatchRules   *string `json:"match_rules"`
}

GrokRule represents the rules for grok parser from config API.

func (*GrokRule) GetMatchRules added in v2.24.0

func (g *GrokRule) GetMatchRules() string

GetMatchRules returns the MatchRules field if non-nil, zero value otherwise.

func (*GrokRule) GetMatchRulesOk added in v2.24.0

func (g *GrokRule) GetMatchRulesOk() (string, bool)

GetMatchRulesOk returns a tuple with the MatchRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GrokRule) GetSupportRules added in v2.24.0

func (g *GrokRule) GetSupportRules() string

GetSupportRules returns the SupportRules field if non-nil, zero value otherwise.

func (*GrokRule) GetSupportRulesOk added in v2.24.0

func (g *GrokRule) GetSupportRulesOk() (string, bool)

GetSupportRulesOk returns a tuple with the SupportRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*GrokRule) HasMatchRules added in v2.24.0

func (g *GrokRule) HasMatchRules() bool

HasMatchRules returns a boolean if a field has been set.

func (*GrokRule) HasSupportRules added in v2.24.0

func (g *GrokRule) HasSupportRules() bool

HasSupportRules returns a boolean if a field has been set.

func (*GrokRule) SetMatchRules added in v2.24.0

func (g *GrokRule) SetMatchRules(v string)

SetMatchRules allocates a new g.MatchRules and returns the pointer to it.

func (*GrokRule) SetSupportRules added in v2.24.0

func (g *GrokRule) SetSupportRules(v string)

SetSupportRules allocates a new g.SupportRules and returns the pointer to it.

type GroupData added in v2.15.0

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 added in v2.15.0

func (g *GroupData) GetLastNoDataTs() int

GetLastNoDataTs returns the LastNoDataTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastNoDataTsOk added in v2.15.0

func (g *GroupData) GetLastNoDataTsOk() (int, bool)

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 added in v2.15.0

func (g *GroupData) GetLastNotifiedTs() int

GetLastNotifiedTs returns the LastNotifiedTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastNotifiedTsOk added in v2.15.0

func (g *GroupData) GetLastNotifiedTsOk() (int, bool)

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 added in v2.15.0

func (g *GroupData) GetLastResolvedTs() int

GetLastResolvedTs returns the LastResolvedTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastResolvedTsOk added in v2.15.0

func (g *GroupData) GetLastResolvedTsOk() (int, bool)

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 added in v2.15.0

func (g *GroupData) GetLastTriggeredTs() int

GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastTriggeredTsOk added in v2.15.0

func (g *GroupData) GetLastTriggeredTsOk() (int, bool)

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) GetName added in v2.15.0

func (g *GroupData) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*GroupData) GetNameOk added in v2.15.0

func (g *GroupData) 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 (*GroupData) GetStatus added in v2.15.0

func (g *GroupData) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

func (*GroupData) GetStatusOk added in v2.15.0

func (g *GroupData) 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 (*GroupData) GetTriggeringValue added in v2.15.0

func (g *GroupData) GetTriggeringValue() TriggeringValue

GetTriggeringValue returns the TriggeringValue field if non-nil, zero value otherwise.

func (*GroupData) GetTriggeringValueOk added in v2.15.0

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 added in v2.15.0

func (g *GroupData) HasLastNoDataTs() bool

HasLastNoDataTs returns a boolean if a field has been set.

func (*GroupData) HasLastNotifiedTs added in v2.15.0

func (g *GroupData) HasLastNotifiedTs() bool

HasLastNotifiedTs returns a boolean if a field has been set.

func (*GroupData) HasLastResolvedTs added in v2.15.0

func (g *GroupData) HasLastResolvedTs() bool

HasLastResolvedTs returns a boolean if a field has been set.

func (*GroupData) HasLastTriggeredTs added in v2.15.0

func (g *GroupData) HasLastTriggeredTs() bool

HasLastTriggeredTs returns a boolean if a field has been set.

func (*GroupData) HasName added in v2.15.0

func (g *GroupData) HasName() bool

HasName returns a boolean if a field has been set.

func (*GroupData) HasStatus added in v2.15.0

func (g *GroupData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GroupData) HasTriggeringValue added in v2.15.0

func (g *GroupData) HasTriggeringValue() bool

HasTriggeringValue returns a boolean if a field has been set.

func (*GroupData) SetLastNoDataTs added in v2.15.0

func (g *GroupData) SetLastNoDataTs(v int)

SetLastNoDataTs allocates a new g.LastNoDataTs and returns the pointer to it.

func (*GroupData) SetLastNotifiedTs added in v2.15.0

func (g *GroupData) SetLastNotifiedTs(v int)

SetLastNotifiedTs allocates a new g.LastNotifiedTs and returns the pointer to it.

func (*GroupData) SetLastResolvedTs added in v2.15.0

func (g *GroupData) SetLastResolvedTs(v int)

SetLastResolvedTs allocates a new g.LastResolvedTs and returns the pointer to it.

func (*GroupData) SetLastTriggeredTs added in v2.15.0

func (g *GroupData) SetLastTriggeredTs(v int)

SetLastTriggeredTs allocates a new g.LastTriggeredTs and returns the pointer to it.

func (*GroupData) SetName added in v2.15.0

func (g *GroupData) SetName(v string)

SetName allocates a new g.Name and returns the pointer to it.

func (*GroupData) SetStatus added in v2.15.0

func (g *GroupData) SetStatus(v string)

SetStatus allocates a new g.Status and returns the pointer to it.

func (*GroupData) SetTriggeringValue added in v2.15.0

func (g *GroupData) SetTriggeringValue(v TriggeringValue)

SetTriggeringValue allocates a new g.TriggeringValue and returns the pointer to it.

type GroupDefinition added in v2.20.0

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 added in v2.20.0

func (g *GroupDefinition) GetLayoutType() string

GetLayoutType returns the LayoutType field if non-nil, zero value otherwise.

func (*GroupDefinition) GetLayoutTypeOk added in v2.20.0

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 added in v2.20.0

func (g *GroupDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*GroupDefinition) GetTitleOk added in v2.20.0

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 added in v2.20.0

func (g *GroupDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*GroupDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (g *GroupDefinition) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*GroupDefinition) HasTitle added in v2.20.0

func (g *GroupDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GroupDefinition) HasType added in v2.20.0

func (g *GroupDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*GroupDefinition) SetLayoutType added in v2.20.0

func (g *GroupDefinition) SetLayoutType(v string)

SetLayoutType allocates a new g.LayoutType and returns the pointer to it.

func (*GroupDefinition) SetTitle added in v2.20.0

func (g *GroupDefinition) SetTitle(v string)

SetTitle allocates a new g.Title and returns the pointer to it.

func (*GroupDefinition) SetType added in v2.20.0

func (g *GroupDefinition) SetType(v string)

SetType allocates a new g.Type and returns the pointer to it.

type HeatmapDefinition added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetTitleAlign added in v2.20.0

func (h *HeatmapDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetYaxisOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitle added in v2.20.0

func (h *HeatmapDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitleAlign added in v2.20.0

func (h *HeatmapDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitleSize added in v2.20.0

func (h *HeatmapDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HeatmapDefinition) HasType added in v2.20.0

func (h *HeatmapDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*HeatmapDefinition) HasYaxis added in v2.20.0

func (h *HeatmapDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*HeatmapDefinition) SetTime added in v2.20.0

func (h *HeatmapDefinition) SetTime(v WidgetTime)

SetTime allocates a new h.Time and returns the pointer to it.

func (*HeatmapDefinition) SetTitle added in v2.20.0

func (h *HeatmapDefinition) SetTitle(v string)

SetTitle allocates a new h.Title and returns the pointer to it.

func (*HeatmapDefinition) SetTitleAlign added in v2.20.0

func (h *HeatmapDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.

func (*HeatmapDefinition) SetTitleSize added in v2.20.0

func (h *HeatmapDefinition) SetTitleSize(v string)

SetTitleSize allocates a new h.TitleSize and returns the pointer to it.

func (*HeatmapDefinition) SetType added in v2.20.0

func (h *HeatmapDefinition) SetType(v string)

SetType allocates a new h.Type and returns the pointer to it.

func (*HeatmapDefinition) SetYaxis added in v2.20.0

func (h *HeatmapDefinition) SetYaxis(v WidgetAxis)

SetYaxis allocates a new h.Yaxis and returns the pointer to it.

type HeatmapRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*HeatmapRequest) GetApmQuery added in v2.20.0

func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (h *HeatmapRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetRumQueryOk added in v2.28.0

func (h *HeatmapRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HeatmapRequest) GetSecurityQuery added in v2.28.0

func (h *HeatmapRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetSecurityQueryOk added in v2.28.0

func (h *HeatmapRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HeatmapRequest) GetStyle added in v2.20.0

func (h *HeatmapRequest) GetStyle() WidgetRequestStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*HeatmapRequest) GetStyleOk added in v2.20.0

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 added in v2.20.0

func (h *HeatmapRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasLogQuery added in v2.20.0

func (h *HeatmapRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasMetricQuery added in v2.20.0

func (h *HeatmapRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasProcessQuery added in v2.20.0

func (h *HeatmapRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasRumQuery added in v2.28.0

func (h *HeatmapRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasSecurityQuery added in v2.28.0

func (h *HeatmapRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasStyle added in v2.20.0

func (h *HeatmapRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*HeatmapRequest) SetApmQuery added in v2.20.0

func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new h.ApmQuery and returns the pointer to it.

func (*HeatmapRequest) SetLogQuery added in v2.20.0

func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new h.LogQuery and returns the pointer to it.

func (*HeatmapRequest) SetMetricQuery added in v2.20.0

func (h *HeatmapRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it.

func (*HeatmapRequest) SetProcessQuery added in v2.20.0

func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it.

func (*HeatmapRequest) SetRumQuery added in v2.28.0

func (h *HeatmapRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new h.RumQuery and returns the pointer to it.

func (*HeatmapRequest) SetSecurityQuery added in v2.28.0

func (h *HeatmapRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new h.SecurityQuery and returns the pointer to it.

func (*HeatmapRequest) SetStyle added in v2.20.0

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 HostActionResp struct {
	Action   string `json:"action"`
	Hostname string `json:"hostname"`
	Message  string `json:"message,omitempty"`
}

type HostTotalsResp added in v2.24.0

type HostTotalsResp struct {
	TotalUp     *int `json:"total_up"`
	TotalActive *int `json:"total_active"`
}

HostTotalsResp defines response to GET /v1/hosts/totals.

func (*HostTotalsResp) GetTotalActive added in v2.24.0

func (h *HostTotalsResp) GetTotalActive() int

GetTotalActive returns the TotalActive field if non-nil, zero value otherwise.

func (*HostTotalsResp) GetTotalActiveOk added in v2.24.0

func (h *HostTotalsResp) GetTotalActiveOk() (int, bool)

GetTotalActiveOk returns a tuple with the TotalActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HostTotalsResp) GetTotalUp added in v2.24.0

func (h *HostTotalsResp) GetTotalUp() int

GetTotalUp returns the TotalUp field if non-nil, zero value otherwise.

func (*HostTotalsResp) GetTotalUpOk added in v2.24.0

func (h *HostTotalsResp) GetTotalUpOk() (int, bool)

GetTotalUpOk returns a tuple with the TotalUp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HostTotalsResp) HasTotalActive added in v2.24.0

func (h *HostTotalsResp) HasTotalActive() bool

HasTotalActive returns a boolean if a field has been set.

func (*HostTotalsResp) HasTotalUp added in v2.24.0

func (h *HostTotalsResp) HasTotalUp() bool

HasTotalUp returns a boolean if a field has been set.

func (*HostTotalsResp) SetTotalActive added in v2.24.0

func (h *HostTotalsResp) SetTotalActive(v int)

SetTotalActive allocates a new h.TotalActive and returns the pointer to it.

func (*HostTotalsResp) SetTotalUp added in v2.24.0

func (h *HostTotalsResp) SetTotalUp(v int)

SetTotalUp allocates a new h.TotalUp and returns the pointer to it.

type HostmapDefinition added in v2.20.0

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 Hostmap widget

func (*HostmapDefinition) GetNoGroupHosts added in v2.20.0

func (h *HostmapDefinition) GetNoGroupHosts() bool

GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNoGroupHostsOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetNoMetricHosts() bool

GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNoMetricHostsOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNodeTypeOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetRequests() HostmapRequests

GetRequests returns the Requests field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetRequestsOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetStyle() HostmapStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetStyleOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetTitleAlign added in v2.20.0

func (h *HostmapDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapDefinition) HasNoGroupHosts() bool

HasNoGroupHosts returns a boolean if a field has been set.

func (*HostmapDefinition) HasNoMetricHosts added in v2.20.0

func (h *HostmapDefinition) HasNoMetricHosts() bool

HasNoMetricHosts returns a boolean if a field has been set.

func (*HostmapDefinition) HasNodeType added in v2.20.0

func (h *HostmapDefinition) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*HostmapDefinition) HasRequests added in v2.20.0

func (h *HostmapDefinition) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*HostmapDefinition) HasStyle added in v2.20.0

func (h *HostmapDefinition) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitle added in v2.20.0

func (h *HostmapDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitleAlign added in v2.20.0

func (h *HostmapDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitleSize added in v2.20.0

func (h *HostmapDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HostmapDefinition) HasType added in v2.20.0

func (h *HostmapDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*HostmapDefinition) SetNoGroupHosts added in v2.20.0

func (h *HostmapDefinition) SetNoGroupHosts(v bool)

SetNoGroupHosts allocates a new h.NoGroupHosts and returns the pointer to it.

func (*HostmapDefinition) SetNoMetricHosts added in v2.20.0

func (h *HostmapDefinition) SetNoMetricHosts(v bool)

SetNoMetricHosts allocates a new h.NoMetricHosts and returns the pointer to it.

func (*HostmapDefinition) SetNodeType added in v2.20.0

func (h *HostmapDefinition) SetNodeType(v string)

SetNodeType allocates a new h.NodeType and returns the pointer to it.

func (*HostmapDefinition) SetRequests added in v2.20.0

func (h *HostmapDefinition) SetRequests(v HostmapRequests)

SetRequests allocates a new h.Requests and returns the pointer to it.

func (*HostmapDefinition) SetStyle added in v2.20.0

func (h *HostmapDefinition) SetStyle(v HostmapStyle)

SetStyle allocates a new h.Style and returns the pointer to it.

func (*HostmapDefinition) SetTitle added in v2.20.0

func (h *HostmapDefinition) SetTitle(v string)

SetTitle allocates a new h.Title and returns the pointer to it.

func (*HostmapDefinition) SetTitleAlign added in v2.20.0

func (h *HostmapDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.

func (*HostmapDefinition) SetTitleSize added in v2.20.0

func (h *HostmapDefinition) SetTitleSize(v string)

SetTitleSize allocates a new h.TitleSize and returns the pointer to it.

func (*HostmapDefinition) SetType added in v2.20.0

func (h *HostmapDefinition) SetType(v string)

SetType allocates a new h.Type and returns the pointer to it.

type HostmapRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*HostmapRequest) GetApmQuery added in v2.20.0

func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (h *HostmapRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetRumQueryOk added in v2.28.0

func (h *HostmapRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HostmapRequest) GetSecurityQuery added in v2.28.0

func (h *HostmapRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*HostmapRequest) GetSecurityQueryOk added in v2.28.0

func (h *HostmapRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*HostmapRequest) HasApmQuery added in v2.20.0

func (h *HostmapRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasLogQuery added in v2.20.0

func (h *HostmapRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasMetricQuery added in v2.20.0

func (h *HostmapRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasProcessQuery added in v2.20.0

func (h *HostmapRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasRumQuery added in v2.28.0

func (h *HostmapRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasSecurityQuery added in v2.28.0

func (h *HostmapRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*HostmapRequest) SetApmQuery added in v2.20.0

func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new h.ApmQuery and returns the pointer to it.

func (*HostmapRequest) SetLogQuery added in v2.20.0

func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new h.LogQuery and returns the pointer to it.

func (*HostmapRequest) SetMetricQuery added in v2.20.0

func (h *HostmapRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new h.MetricQuery and returns the pointer to it.

func (*HostmapRequest) SetProcessQuery added in v2.20.0

func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new h.ProcessQuery and returns the pointer to it.

func (*HostmapRequest) SetRumQuery added in v2.28.0

func (h *HostmapRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new h.RumQuery and returns the pointer to it.

func (*HostmapRequest) SetSecurityQuery added in v2.28.0

func (h *HostmapRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new h.SecurityQuery and returns the pointer to it.

type HostmapRequests added in v2.20.0

type HostmapRequests struct {
	Fill *HostmapRequest `json:"fill,omitempty"`
	Size *HostmapRequest `json:"size,omitempty"`
}

func (*HostmapRequests) GetFill added in v2.20.0

func (h *HostmapRequests) GetFill() HostmapRequest

GetFill returns the Fill field if non-nil, zero value otherwise.

func (*HostmapRequests) GetFillOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapRequests) GetSize() HostmapRequest

GetSize returns the Size field if non-nil, zero value otherwise.

func (*HostmapRequests) GetSizeOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapRequests) HasFill() bool

HasFill returns a boolean if a field has been set.

func (*HostmapRequests) HasSize added in v2.20.0

func (h *HostmapRequests) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*HostmapRequests) SetFill added in v2.20.0

func (h *HostmapRequests) SetFill(v HostmapRequest)

SetFill allocates a new h.Fill and returns the pointer to it.

func (*HostmapRequests) SetSize added in v2.20.0

func (h *HostmapRequests) SetSize(v HostmapRequest)

SetSize allocates a new h.Size and returns the pointer to it.

type HostmapStyle added in v2.20.0

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 added in v2.20.0

func (h *HostmapStyle) GetFillMax() string

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*HostmapStyle) GetFillMaxOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapStyle) GetFillMin() string

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*HostmapStyle) GetFillMinOk added in v2.20.0

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 added in v2.20.0

func (h *HostmapStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*HostmapStyle) GetPaletteFlip added in v2.20.0

func (h *HostmapStyle) GetPaletteFlip() bool

GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.

func (*HostmapStyle) GetPaletteFlipOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (h *HostmapStyle) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*HostmapStyle) HasFillMin added in v2.20.0

func (h *HostmapStyle) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*HostmapStyle) HasPalette added in v2.20.0

func (h *HostmapStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*HostmapStyle) HasPaletteFlip added in v2.20.0

func (h *HostmapStyle) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (*HostmapStyle) SetFillMax added in v2.20.0

func (h *HostmapStyle) SetFillMax(v string)

SetFillMax allocates a new h.FillMax and returns the pointer to it.

func (*HostmapStyle) SetFillMin added in v2.20.0

func (h *HostmapStyle) SetFillMin(v string)

SetFillMin allocates a new h.FillMin and returns the pointer to it.

func (*HostmapStyle) SetPalette added in v2.20.0

func (h *HostmapStyle) SetPalette(v string)

SetPalette allocates a new h.Palette and returns the pointer to it.

func (*HostmapStyle) SetPaletteFlip added in v2.20.0

func (h *HostmapStyle) SetPaletteFlip(v bool)

SetPaletteFlip allocates a new h.PaletteFlip and returns the pointer to it.

type IPRangesResp added in v2.24.0

type IPRangesResp struct {
	Agents     map[string][]string `json:"agents"`
	API        map[string][]string `json:"api"`
	Apm        map[string][]string `json:"apm"`
	Logs       map[string][]string `json:"logs"`
	Process    map[string][]string `json:"process"`
	Synthetics map[string][]string `json:"synthetics"`
	Webhooks   map[string][]string `json:"webhooks"`
}

IP ranges US: https://ip-ranges.datadoghq.com EU: https://ip-ranges.datadoghq.eu Same structure

type IframeDefinition added in v2.20.0

type IframeDefinition struct {
	Type *string `json:"type"`
	Url  *string `json:"url"`
}

IframeDefinition represents the definition for an Iframe widget

func (*IframeDefinition) GetType added in v2.20.0

func (i *IframeDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*IframeDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (i *IframeDefinition) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*IframeDefinition) GetUrlOk added in v2.20.0

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 added in v2.20.0

func (i *IframeDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*IframeDefinition) HasUrl added in v2.20.0

func (i *IframeDefinition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*IframeDefinition) SetType added in v2.20.0

func (i *IframeDefinition) SetType(v string)

SetType allocates a new i.Type and returns the pointer to it.

func (*IframeDefinition) SetUrl added in v2.20.0

func (i *IframeDefinition) SetUrl(v string)

SetUrl allocates a new i.Url and returns the pointer to it.

type ImageDefinition added in v2.20.0

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 added in v2.20.0

func (i *ImageDefinition) GetMargin() string

GetMargin returns the Margin field if non-nil, zero value otherwise.

func (*ImageDefinition) GetMarginOk added in v2.20.0

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 added in v2.20.0

func (i *ImageDefinition) GetSizing() string

GetSizing returns the Sizing field if non-nil, zero value otherwise.

func (*ImageDefinition) GetSizingOk added in v2.20.0

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 added in v2.20.0

func (i *ImageDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ImageDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (i *ImageDefinition) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*ImageDefinition) GetUrlOk added in v2.20.0

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 added in v2.20.0

func (i *ImageDefinition) HasMargin() bool

HasMargin returns a boolean if a field has been set.

func (*ImageDefinition) HasSizing added in v2.20.0

func (i *ImageDefinition) HasSizing() bool

HasSizing returns a boolean if a field has been set.

func (*ImageDefinition) HasType added in v2.20.0

func (i *ImageDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ImageDefinition) HasUrl added in v2.20.0

func (i *ImageDefinition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*ImageDefinition) SetMargin added in v2.20.0

func (i *ImageDefinition) SetMargin(v string)

SetMargin allocates a new i.Margin and returns the pointer to it.

func (*ImageDefinition) SetSizing added in v2.20.0

func (i *ImageDefinition) SetSizing(v string)

SetSizing allocates a new i.Sizing and returns the pointer to it.

func (*ImageDefinition) SetType added in v2.20.0

func (i *ImageDefinition) SetType(v string)

SetType allocates a new i.Type and returns the pointer to it.

func (*ImageDefinition) SetUrl added in v2.20.0

func (i *ImageDefinition) SetUrl(v string)

SetUrl allocates a new i.Url and returns the pointer to it.

type IntegrationAWSAccount added in v2.11.0

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 added in v2.11.0

func (i *IntegrationAWSAccount) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSAccount) GetAccountIDOk added in v2.11.0

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 added in v2.11.0

func (i *IntegrationAWSAccount) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

func (*IntegrationAWSAccount) GetRoleNameOk added in v2.11.0

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 added in v2.11.0

func (i *IntegrationAWSAccount) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSAccount) HasRoleName added in v2.11.0

func (i *IntegrationAWSAccount) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (*IntegrationAWSAccount) SetAccountID added in v2.11.0

func (i *IntegrationAWSAccount) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSAccount) SetRoleName added in v2.11.0

func (i *IntegrationAWSAccount) SetRoleName(v string)

SetRoleName allocates a new i.RoleName and returns the pointer to it.

type IntegrationAWSAccountCreateResponse added in v2.11.0

type IntegrationAWSAccountCreateResponse struct {
	ExternalID string `json:"external_id"`
}

IntegrationAWSAccountCreateResponse defines the response payload for creating & updating Datadog-AWS integration.

type IntegrationAWSAccountDeleteRequest added in v2.11.0

type IntegrationAWSAccountDeleteRequest struct {
	AccountID *string `json:"account_id"`
	RoleName  *string `json:"role_name"`
}

func (*IntegrationAWSAccountDeleteRequest) GetAccountID added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSAccountDeleteRequest) GetAccountIDOk added in v2.11.0

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 added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

func (*IntegrationAWSAccountDeleteRequest) GetRoleNameOk added in v2.11.0

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 added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSAccountDeleteRequest) HasRoleName added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (*IntegrationAWSAccountDeleteRequest) SetAccountID added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSAccountDeleteRequest) SetRoleName added in v2.11.0

func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string)

SetRoleName allocates a new i.RoleName and returns the pointer to it.

type IntegrationAWSAccountGetResponse added in v2.11.0

type IntegrationAWSAccountGetResponse struct {
	Accounts []IntegrationAWSAccount `json:"accounts"`
}

type IntegrationAWSLambdaARN added in v2.25.0

type IntegrationAWSLambdaARN struct {
	LambdaARN *string `json:"arn"`
}

IntegrationAWSLambdaARN is only defined to properly parse the AWS logs GET response

func (*IntegrationAWSLambdaARN) GetLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARN) GetLambdaARN() string

GetLambdaARN returns the LambdaARN field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARN) GetLambdaARNOk added in v2.25.0

func (i *IntegrationAWSLambdaARN) GetLambdaARNOk() (string, bool)

GetLambdaARNOk returns a tuple with the LambdaARN field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*IntegrationAWSLambdaARN) HasLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARN) HasLambdaARN() bool

HasLambdaARN returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARN) SetLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARN) SetLambdaARN(v string)

SetLambdaARN allocates a new i.LambdaARN and returns the pointer to it.

type IntegrationAWSLambdaARNRequest added in v2.25.0

type IntegrationAWSLambdaARNRequest struct {
	AccountID *string `json:"account_id"`
	LambdaARN *string `json:"lambda_arn"`
}

func (*IntegrationAWSLambdaARNRequest) GetAccountID added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARNRequest) GetAccountIDOk added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) 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 (*IntegrationAWSLambdaARNRequest) GetLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) GetLambdaARN() string

GetLambdaARN returns the LambdaARN field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARNRequest) GetLambdaARNOk added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) GetLambdaARNOk() (string, bool)

GetLambdaARNOk returns a tuple with the LambdaARN field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*IntegrationAWSLambdaARNRequest) HasAccountID added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARNRequest) HasLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) HasLambdaARN() bool

HasLambdaARN returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARNRequest) SetAccountID added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSLambdaARNRequest) SetLambdaARN added in v2.25.0

func (i *IntegrationAWSLambdaARNRequest) SetLambdaARN(v string)

SetLambdaARN allocates a new i.LambdaARN and returns the pointer to it.

type IntegrationAWSLogCollection added in v2.25.0

type IntegrationAWSLogCollection struct {
	AccountID  *string                   `json:"account_id"`
	LambdaARNs []IntegrationAWSLambdaARN `json:"lambdas"`
	Services   []string                  `json:"services"`
}

IntegrationAWSLogs is only defined to properly parse the AWS logs GET response

func (*IntegrationAWSLogCollection) GetAccountID added in v2.25.0

func (i *IntegrationAWSLogCollection) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSLogCollection) GetAccountIDOk added in v2.25.0

func (i *IntegrationAWSLogCollection) 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 (*IntegrationAWSLogCollection) HasAccountID added in v2.25.0

func (i *IntegrationAWSLogCollection) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSLogCollection) SetAccountID added in v2.25.0

func (i *IntegrationAWSLogCollection) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

type IntegrationAWSServicesLogCollection added in v2.25.0

type IntegrationAWSServicesLogCollection struct {
	AccountID *string  `json:"account_id"`
	Services  []string `json:"services"`
}

func (*IntegrationAWSServicesLogCollection) GetAccountID added in v2.25.0

func (i *IntegrationAWSServicesLogCollection) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSServicesLogCollection) GetAccountIDOk added in v2.25.0

func (i *IntegrationAWSServicesLogCollection) 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 (*IntegrationAWSServicesLogCollection) HasAccountID added in v2.25.0

func (i *IntegrationAWSServicesLogCollection) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSServicesLogCollection) SetAccountID added in v2.25.0

func (i *IntegrationAWSServicesLogCollection) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

type IntegrationGCP added in v2.17.0

type IntegrationGCP struct {
	ProjectID   *string `json:"project_id"`
	ClientEmail *string `json:"client_email"`
	HostFilters *string `json:"host_filters"`
	AutoMute    *bool   `json:"automute,omitempty"`
}

IntegrationGCP defines the response for listing Datadog-Google CloudPlatform integration.

func (*IntegrationGCP) GetAutoMute added in v2.26.0

func (i *IntegrationGCP) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetAutoMuteOk added in v2.26.0

func (i *IntegrationGCP) GetAutoMuteOk() (bool, bool)

GetAutoMuteOk returns a tuple with the AutoMute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*IntegrationGCP) GetClientEmail added in v2.17.0

func (i *IntegrationGCP) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetClientEmailOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCP) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetHostFiltersOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCP) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetProjectIDOk added in v2.17.0

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) HasAutoMute added in v2.26.0

func (i *IntegrationGCP) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCP) HasClientEmail added in v2.17.0

func (i *IntegrationGCP) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCP) HasHostFilters added in v2.17.0

func (i *IntegrationGCP) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCP) HasProjectID added in v2.17.0

func (i *IntegrationGCP) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCP) SetAutoMute added in v2.26.0

func (i *IntegrationGCP) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCP) SetClientEmail added in v2.17.0

func (i *IntegrationGCP) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCP) SetHostFilters added in v2.17.0

func (i *IntegrationGCP) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCP) SetProjectID added in v2.17.0

func (i *IntegrationGCP) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

type IntegrationGCPCreateRequest added in v2.17.0

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"`
	AutoMute                *bool   `json:"automute,omitempty"`
}

IntegrationGCPCreateRequest defines the request payload for creating Datadog-Google CloudPlatform integration.

func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURL added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string

GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetAuthURI() string

GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAuthURIOk added in v2.17.0

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) GetAutoMute added in v2.26.0

func (i *IntegrationGCPCreateRequest) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAutoMuteOk added in v2.26.0

func (i *IntegrationGCPCreateRequest) GetAutoMuteOk() (bool, bool)

GetAutoMuteOk returns a tuple with the AutoMute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*IntegrationGCPCreateRequest) GetClientEmail added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientEmailOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetClientID() string

GetClientID returns the ClientID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientIDOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string

GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientX509CertURLOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetHostFiltersOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetPrivateKeyID added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string

GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetPrivateKeyIDOk added in v2.17.0

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 added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetProjectIDOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetTokenURI() string

GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetTokenURIOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetTypeOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool

HasAuthProviderX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasAuthURI added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasAuthURI() bool

HasAuthURI returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasAutoMute added in v2.26.0

func (i *IntegrationGCPCreateRequest) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientEmail added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientID added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasClientID() bool

HasClientID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientX509CertURL added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool

HasClientX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasHostFilters added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasPrivateKey added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasPrivateKeyID added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool

HasPrivateKeyID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasProjectID added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasTokenURI added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasTokenURI() bool

HasTokenURI returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasType added in v2.17.0

func (i *IntegrationGCPCreateRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) SetAuthProviderX509CertURL added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string)

SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetAuthURI added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetAuthURI(v string)

SetAuthURI allocates a new i.AuthURI and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetAutoMute added in v2.26.0

func (i *IntegrationGCPCreateRequest) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientEmail added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientID added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetClientID(v string)

SetClientID allocates a new i.ClientID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientX509CertURL added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string)

SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetHostFilters added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetPrivateKey added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string)

SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetPrivateKeyID added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string)

SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetProjectID added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetTokenURI added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetTokenURI(v string)

SetTokenURI allocates a new i.TokenURI and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetType added in v2.17.0

func (i *IntegrationGCPCreateRequest) SetType(v string)

SetType allocates a new i.Type and returns the pointer to it.

type IntegrationGCPDeleteRequest added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPDeleteRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPDeleteRequest) GetClientEmailOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPDeleteRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPDeleteRequest) GetProjectIDOk added in v2.17.0

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 added in v2.17.0

func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPDeleteRequest) HasProjectID added in v2.17.0

func (i *IntegrationGCPDeleteRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPDeleteRequest) SetClientEmail added in v2.17.0

func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPDeleteRequest) SetProjectID added in v2.17.0

func (i *IntegrationGCPDeleteRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

type IntegrationGCPUpdateRequest added in v2.17.0

type IntegrationGCPUpdateRequest struct {
	Type                    *string `json:"type,omitempty"` // Should be service_account
	ProjectID               *string `json:"project_id"`
	PrivateKeyID            *string `json:"private_key_id,omitempty"`
	PrivateKey              *string `json:"private_key,omitempty"`
	ClientEmail             *string `json:"client_email"`
	ClientID                *string `json:"client_id,omitempty"`
	AuthURI                 *string `json:"auth_uri,omitempty"`                    // Should be https://accounts.google.com/o/oauth2/auth
	TokenURI                *string `json:"token_uri,omitempty"`                   // Should be https://accounts.google.com/o/oauth2/token
	AuthProviderX509CertURL *string `json:"auth_provider_x509_cert_url,omitempty"` // Should be https://www.googleapis.com/oauth2/v1/certs
	ClientX509CertURL       *string `json:"client_x509_cert_url,omitempty"`        // https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL>
	HostFilters             *string `json:"host_filters,omitempty"`
	AutoMute                *bool   `json:"automute,omitempty"`
}

IntegrationGCPUpdateRequest defines the request payload for updating Datadog-Google CloudPlatform integration.

func (*IntegrationGCPUpdateRequest) GetAuthProviderX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetAuthProviderX509CertURL() string

GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAuthProviderX509CertURLOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetAuthURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetAuthURI() string

GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAuthURIOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetAutoMute added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAutoMuteOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetAutoMuteOk() (bool, bool)

GetAutoMuteOk returns a tuple with the AutoMute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*IntegrationGCPUpdateRequest) GetClientEmail added in v2.17.0

func (i *IntegrationGCPUpdateRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientEmailOk added in v2.17.0

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) GetClientID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetClientID() string

GetClientID returns the ClientID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientIDOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetClientX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetClientX509CertURL() string

GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientX509CertURLOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetHostFilters added in v2.17.0

func (i *IntegrationGCPUpdateRequest) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetHostFiltersOk added in v2.17.0

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) GetPrivateKey added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetPrivateKeyID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetPrivateKeyID() string

GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetPrivateKeyIDOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetPrivateKeyOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetProjectID added in v2.17.0

func (i *IntegrationGCPUpdateRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetProjectIDOk added in v2.17.0

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) GetTokenURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetTokenURI() string

GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetTokenURIOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) GetType added in v2.26.0

func (i *IntegrationGCPUpdateRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetTypeOk added in v2.26.0

func (i *IntegrationGCPUpdateRequest) 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 (*IntegrationGCPUpdateRequest) HasAuthProviderX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasAuthProviderX509CertURL() bool

HasAuthProviderX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasAuthURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasAuthURI() bool

HasAuthURI returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasAutoMute added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientEmail added in v2.17.0

func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasClientID() bool

HasClientID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasClientX509CertURL() bool

HasClientX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasHostFilters added in v2.17.0

func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasPrivateKey added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasPrivateKeyID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasPrivateKeyID() bool

HasPrivateKeyID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasProjectID added in v2.17.0

func (i *IntegrationGCPUpdateRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasTokenURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasTokenURI() bool

HasTokenURI returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasType added in v2.26.0

func (i *IntegrationGCPUpdateRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) SetAuthProviderX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetAuthProviderX509CertURL(v string)

SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetAuthURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetAuthURI(v string)

SetAuthURI allocates a new i.AuthURI and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetAutoMute added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientEmail added in v2.17.0

func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetClientID(v string)

SetClientID allocates a new i.ClientID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientX509CertURL added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetClientX509CertURL(v string)

SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetHostFilters added in v2.17.0

func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetPrivateKey added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetPrivateKey(v string)

SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetPrivateKeyID added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetPrivateKeyID(v string)

SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetProjectID added in v2.17.0

func (i *IntegrationGCPUpdateRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetTokenURI added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetTokenURI(v string)

SetTokenURI allocates a new i.TokenURI and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetType added in v2.26.0

func (i *IntegrationGCPUpdateRequest) SetType(v string)

SetType allocates a new i.Type and returns the pointer to it.

type IntegrationPDRequest added in v2.8.3

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 added in v2.8.3

func (i *IntegrationPDRequest) GetAPIToken() string

GetAPIToken returns the APIToken field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetAPITokenOk added in v2.8.3

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 added in v2.8.3

func (i *IntegrationPDRequest) GetRunCheck() bool

GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetRunCheckOk added in v2.8.3

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 added in v2.8.3

func (i *IntegrationPDRequest) GetSubdomain() string

GetSubdomain returns the Subdomain field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetSubdomainOk added in v2.8.3

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 added in v2.8.3

func (i *IntegrationPDRequest) HasAPIToken() bool

HasAPIToken returns a boolean if a field has been set.

func (*IntegrationPDRequest) HasRunCheck added in v2.8.3

func (i *IntegrationPDRequest) HasRunCheck() bool

HasRunCheck returns a boolean if a field has been set.

func (*IntegrationPDRequest) HasSubdomain added in v2.8.3

func (i *IntegrationPDRequest) HasSubdomain() bool

HasSubdomain returns a boolean if a field has been set.

func (*IntegrationPDRequest) SetAPIToken added in v2.8.3

func (i *IntegrationPDRequest) SetAPIToken(v string)

SetAPIToken allocates a new i.APIToken and returns the pointer to it.

func (*IntegrationPDRequest) SetRunCheck added in v2.8.3

func (i *IntegrationPDRequest) SetRunCheck(v bool)

SetRunCheck allocates a new i.RunCheck and returns the pointer to it.

func (*IntegrationPDRequest) SetSubdomain added in v2.8.3

func (i *IntegrationPDRequest) SetSubdomain(v string)

SetSubdomain allocates a new i.Subdomain and returns the pointer to it.

type IntegrationSlackRequest added in v2.8.4

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 added in v2.8.4

func (i *IntegrationSlackRequest) GetRunCheck() bool

GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.

func (*IntegrationSlackRequest) GetRunCheckOk added in v2.8.4

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 added in v2.8.4

func (i *IntegrationSlackRequest) HasRunCheck() bool

HasRunCheck returns a boolean if a field has been set.

func (*IntegrationSlackRequest) SetRunCheck added in v2.8.4

func (i *IntegrationSlackRequest) SetRunCheck(v bool)

SetRunCheck allocates a new i.RunCheck and returns the pointer to it.

type IntegrationWebhookRequest added in v2.27.0

type IntegrationWebhookRequest struct {
	Webhooks []Webhook `json:"hooks"`
}

IntegrationWebhookRequest defines the structure of the a webhook request

type LogSet added in v2.20.0

type LogSet struct {
	ID   *json.Number `json:"id,omitempty"`
	Name *string      `json:"name,omitempty"`
}

func (*LogSet) GetID added in v2.20.0

func (l *LogSet) GetID() json.Number

GetID returns the ID field if non-nil, zero value otherwise.

func (*LogSet) GetIDOk added in v2.20.0

func (l *LogSet) GetIDOk() (json.Number, 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 (*LogSet) GetName added in v2.20.0

func (l *LogSet) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*LogSet) GetNameOk added in v2.20.0

func (l *LogSet) 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 (*LogSet) HasID added in v2.20.0

func (l *LogSet) HasID() bool

HasID returns a boolean if a field has been set.

func (*LogSet) HasName added in v2.20.0

func (l *LogSet) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogSet) SetID added in v2.20.0

func (l *LogSet) SetID(v json.Number)

SetID allocates a new l.ID and returns the pointer to it.

func (*LogSet) SetName added in v2.20.0

func (l *LogSet) SetName(v string)

SetName allocates a new l.Name and returns the pointer to it.

type LogStreamDefinition added in v2.20.0

type LogStreamDefinition struct {
	Type              *string          `json:"type"`
	Logset            *string          `json:"logset"`
	Indexes           []string         `json:"indexes,omitempty"`
	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"`
	ShowDateColumn    *bool            `json:"show_date_column,omitempty"`
	ShowMessageColumn *bool            `json:"show_message_column,omitempty"`
	MessageDisplay    *string          `json:"message_display,omitempty"`
	Sort              *WidgetFieldSort `json:"sort,omitempty"`
}

LogStreamDefinition represents the definition for a Log Stream widget

func (*LogStreamDefinition) GetLogset added in v2.20.0

func (l *LogStreamDefinition) GetLogset() string

GetLogset returns the Logset field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetLogsetOk added in v2.20.0

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) GetMessageDisplay added in v2.29.0

func (l *LogStreamDefinition) GetMessageDisplay() string

GetMessageDisplay returns the MessageDisplay field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetMessageDisplayOk added in v2.29.0

func (l *LogStreamDefinition) GetMessageDisplayOk() (string, bool)

GetMessageDisplayOk returns a tuple with the MessageDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogStreamDefinition) GetQuery added in v2.20.0

func (l *LogStreamDefinition) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetQueryOk added in v2.20.0

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) GetShowDateColumn added in v2.29.0

func (l *LogStreamDefinition) GetShowDateColumn() bool

GetShowDateColumn returns the ShowDateColumn field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetShowDateColumnOk added in v2.29.0

func (l *LogStreamDefinition) GetShowDateColumnOk() (bool, bool)

GetShowDateColumnOk returns a tuple with the ShowDateColumn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogStreamDefinition) GetShowMessageColumn added in v2.29.0

func (l *LogStreamDefinition) GetShowMessageColumn() bool

GetShowMessageColumn returns the ShowMessageColumn field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetShowMessageColumnOk added in v2.29.0

func (l *LogStreamDefinition) GetShowMessageColumnOk() (bool, bool)

GetShowMessageColumnOk returns a tuple with the ShowMessageColumn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogStreamDefinition) GetSort added in v2.29.0

func (l *LogStreamDefinition) GetSort() WidgetFieldSort

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetSortOk added in v2.29.0

func (l *LogStreamDefinition) GetSortOk() (WidgetFieldSort, 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 (*LogStreamDefinition) GetTime added in v2.20.0

func (l *LogStreamDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (l *LogStreamDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetTitleAlign added in v2.20.0

func (l *LogStreamDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (l *LogStreamDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (l *LogStreamDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (l *LogStreamDefinition) HasLogset() bool

HasLogset returns a boolean if a field has been set.

func (*LogStreamDefinition) HasMessageDisplay added in v2.29.0

func (l *LogStreamDefinition) HasMessageDisplay() bool

HasMessageDisplay returns a boolean if a field has been set.

func (*LogStreamDefinition) HasQuery added in v2.20.0

func (l *LogStreamDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogStreamDefinition) HasShowDateColumn added in v2.29.0

func (l *LogStreamDefinition) HasShowDateColumn() bool

HasShowDateColumn returns a boolean if a field has been set.

func (*LogStreamDefinition) HasShowMessageColumn added in v2.29.0

func (l *LogStreamDefinition) HasShowMessageColumn() bool

HasShowMessageColumn returns a boolean if a field has been set.

func (*LogStreamDefinition) HasSort added in v2.29.0

func (l *LogStreamDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTime added in v2.20.0

func (l *LogStreamDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitle added in v2.20.0

func (l *LogStreamDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitleAlign added in v2.20.0

func (l *LogStreamDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitleSize added in v2.20.0

func (l *LogStreamDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*LogStreamDefinition) HasType added in v2.20.0

func (l *LogStreamDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogStreamDefinition) SetLogset added in v2.20.0

func (l *LogStreamDefinition) SetLogset(v string)

SetLogset allocates a new l.Logset and returns the pointer to it.

func (*LogStreamDefinition) SetMessageDisplay added in v2.29.0

func (l *LogStreamDefinition) SetMessageDisplay(v string)

SetMessageDisplay allocates a new l.MessageDisplay and returns the pointer to it.

func (*LogStreamDefinition) SetQuery added in v2.20.0

func (l *LogStreamDefinition) SetQuery(v string)

SetQuery allocates a new l.Query and returns the pointer to it.

func (*LogStreamDefinition) SetShowDateColumn added in v2.29.0

func (l *LogStreamDefinition) SetShowDateColumn(v bool)

SetShowDateColumn allocates a new l.ShowDateColumn and returns the pointer to it.

func (*LogStreamDefinition) SetShowMessageColumn added in v2.29.0

func (l *LogStreamDefinition) SetShowMessageColumn(v bool)

SetShowMessageColumn allocates a new l.ShowMessageColumn and returns the pointer to it.

func (*LogStreamDefinition) SetSort added in v2.29.0

func (l *LogStreamDefinition) SetSort(v WidgetFieldSort)

SetSort allocates a new l.Sort and returns the pointer to it.

func (*LogStreamDefinition) SetTime added in v2.20.0

func (l *LogStreamDefinition) SetTime(v WidgetTime)

SetTime allocates a new l.Time and returns the pointer to it.

func (*LogStreamDefinition) SetTitle added in v2.20.0

func (l *LogStreamDefinition) SetTitle(v string)

SetTitle allocates a new l.Title and returns the pointer to it.

func (*LogStreamDefinition) SetTitleAlign added in v2.20.0

func (l *LogStreamDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new l.TitleAlign and returns the pointer to it.

func (*LogStreamDefinition) SetTitleSize added in v2.20.0

func (l *LogStreamDefinition) SetTitleSize(v string)

SetTitleSize allocates a new l.TitleSize and returns the pointer to it.

func (*LogStreamDefinition) SetType added in v2.20.0

func (l *LogStreamDefinition) SetType(v string)

SetType allocates a new l.Type and returns the pointer to it.

type Logs added in v2.26.0

type Logs struct {
	ID      *string     `json:"id"`
	Content LogsContent `json:"content"`
}

Logs represents the data of a log entry and contains the UUID of that entry (which is used for the StartAt option in an API request) as well as the content of that log

func (*Logs) GetID added in v2.26.0

func (l *Logs) GetID() string

GetID returns the ID field if non-nil, zero value otherwise.

func (*Logs) GetIDOk added in v2.26.0

func (l *Logs) 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 (*Logs) HasID added in v2.26.0

func (l *Logs) HasID() bool

HasID returns a boolean if a field has been set.

func (*Logs) SetID added in v2.26.0

func (l *Logs) SetID(v string)

SetID allocates a new l.ID and returns the pointer to it.

type LogsAttributes added in v2.26.0

type LogsAttributes map[string]interface{}

LogsAttributes represents the Content attribute object from the list API

type LogsContent added in v2.26.0

type LogsContent struct {
	Timestamp  *time.Time     `json:"timestamp"`
	Tags       []string       `json:"tags,omitempty"`
	Attributes LogsAttributes `json:"attributes,omitempty"`
	Host       *string        `json:"host"`
	Service    *string        `json:"service"`
	Message    *string        `json:"message"`
}

LogsContent respresents the actual log content returned by the list API

func (*LogsContent) GetHost added in v2.26.0

func (l *LogsContent) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*LogsContent) GetHostOk added in v2.26.0

func (l *LogsContent) GetHostOk() (string, bool)

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 (*LogsContent) GetMessage added in v2.26.0

func (l *LogsContent) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*LogsContent) GetMessageOk added in v2.26.0

func (l *LogsContent) 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 (*LogsContent) GetService added in v2.26.0

func (l *LogsContent) GetService() string

GetService returns the Service field if non-nil, zero value otherwise.

func (*LogsContent) GetServiceOk added in v2.26.0

func (l *LogsContent) 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 (*LogsContent) GetTimestamp added in v2.26.0

func (l *LogsContent) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

func (*LogsContent) GetTimestampOk added in v2.26.0

func (l *LogsContent) GetTimestampOk() (time.Time, bool)

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 (*LogsContent) HasHost added in v2.26.0

func (l *LogsContent) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*LogsContent) HasMessage added in v2.26.0

func (l *LogsContent) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogsContent) HasService added in v2.26.0

func (l *LogsContent) HasService() bool

HasService returns a boolean if a field has been set.

func (*LogsContent) HasTimestamp added in v2.26.0

func (l *LogsContent) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*LogsContent) SetHost added in v2.26.0

func (l *LogsContent) SetHost(v string)

SetHost allocates a new l.Host and returns the pointer to it.

func (*LogsContent) SetMessage added in v2.26.0

func (l *LogsContent) SetMessage(v string)

SetMessage allocates a new l.Message and returns the pointer to it.

func (*LogsContent) SetService added in v2.26.0

func (l *LogsContent) SetService(v string)

SetService allocates a new l.Service and returns the pointer to it.

func (*LogsContent) SetTimestamp added in v2.26.0

func (l *LogsContent) SetTimestamp(v time.Time)

SetTimestamp allocates a new l.Timestamp and returns the pointer to it.

type LogsIndex added in v2.24.0

type LogsIndex struct {
	Name             *string              `json:"name"`
	NumRetentionDays *int64               `json:"num_retention_days,omitempty"`
	DailyLimit       *int64               `json:"daily_limit,omitempty"`
	IsRateLimited    *bool                `json:"is_rate_limited,omitempty"`
	Filter           *FilterConfiguration `json:"filter"`
	ExclusionFilters []ExclusionFilter    `json:"exclusion_filters"`
}

LogsIndex represents the Logs index object from config API.

func (*LogsIndex) GetDailyLimit added in v2.24.0

func (l *LogsIndex) GetDailyLimit() int64

GetDailyLimit returns the DailyLimit field if non-nil, zero value otherwise.

func (*LogsIndex) GetDailyLimitOk added in v2.24.0

func (l *LogsIndex) GetDailyLimitOk() (int64, bool)

GetDailyLimitOk returns a tuple with the DailyLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetFilter added in v2.24.0

func (l *LogsIndex) GetFilter() FilterConfiguration

GetFilter returns the Filter field if non-nil, zero value otherwise.

func (*LogsIndex) GetFilterOk added in v2.24.0

func (l *LogsIndex) GetFilterOk() (FilterConfiguration, bool)

GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetIsRateLimited added in v2.24.0

func (l *LogsIndex) GetIsRateLimited() bool

GetIsRateLimited returns the IsRateLimited field if non-nil, zero value otherwise.

func (*LogsIndex) GetIsRateLimitedOk added in v2.24.0

func (l *LogsIndex) GetIsRateLimitedOk() (bool, bool)

GetIsRateLimitedOk returns a tuple with the IsRateLimited field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsIndex) GetName added in v2.24.0

func (l *LogsIndex) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*LogsIndex) GetNameOk added in v2.24.0

func (l *LogsIndex) 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 (*LogsIndex) GetNumRetentionDays added in v2.24.0

func (l *LogsIndex) GetNumRetentionDays() int64

GetNumRetentionDays returns the NumRetentionDays field if non-nil, zero value otherwise.

func (*LogsIndex) GetNumRetentionDaysOk added in v2.24.0

func (l *LogsIndex) GetNumRetentionDaysOk() (int64, bool)

GetNumRetentionDaysOk returns a tuple with the NumRetentionDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsIndex) HasDailyLimit added in v2.24.0

func (l *LogsIndex) HasDailyLimit() bool

HasDailyLimit returns a boolean if a field has been set.

func (*LogsIndex) HasFilter added in v2.24.0

func (l *LogsIndex) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsIndex) HasIsRateLimited added in v2.24.0

func (l *LogsIndex) HasIsRateLimited() bool

HasIsRateLimited returns a boolean if a field has been set.

func (*LogsIndex) HasName added in v2.24.0

func (l *LogsIndex) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsIndex) HasNumRetentionDays added in v2.24.0

func (l *LogsIndex) HasNumRetentionDays() bool

HasNumRetentionDays returns a boolean if a field has been set.

func (*LogsIndex) SetDailyLimit added in v2.24.0

func (l *LogsIndex) SetDailyLimit(v int64)

SetDailyLimit allocates a new l.DailyLimit and returns the pointer to it.

func (*LogsIndex) SetFilter added in v2.24.0

func (l *LogsIndex) SetFilter(v FilterConfiguration)

SetFilter allocates a new l.Filter and returns the pointer to it.

func (*LogsIndex) SetIsRateLimited added in v2.24.0

func (l *LogsIndex) SetIsRateLimited(v bool)

SetIsRateLimited allocates a new l.IsRateLimited and returns the pointer to it.

func (*LogsIndex) SetName added in v2.24.0

func (l *LogsIndex) SetName(v string)

SetName allocates a new l.Name and returns the pointer to it.

func (*LogsIndex) SetNumRetentionDays added in v2.24.0

func (l *LogsIndex) SetNumRetentionDays(v int64)

SetNumRetentionDays allocates a new l.NumRetentionDays and returns the pointer to it.

type LogsIndexList added in v2.24.0

type LogsIndexList struct {
	IndexNames []string `json:"index_names"`
}

LogsIndexList represents the index list object from config API.

type LogsList added in v2.26.0

type LogsList struct {
	Logs      []Logs  `json:"logs"`
	NextLogID *string `json:"nextLogId"`
	Status    *string `json:"status"`
}

LogsList represents the base API response returned by the list API

func (*LogsList) GetNextLogID added in v2.26.0

func (l *LogsList) GetNextLogID() string

GetNextLogID returns the NextLogID field if non-nil, zero value otherwise.

func (*LogsList) GetNextLogIDOk added in v2.26.0

func (l *LogsList) GetNextLogIDOk() (string, bool)

GetNextLogIDOk returns a tuple with the NextLogID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsList) GetStatus added in v2.26.0

func (l *LogsList) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

func (*LogsList) GetStatusOk added in v2.26.0

func (l *LogsList) 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 (*LogsList) HasNextLogID added in v2.26.0

func (l *LogsList) HasNextLogID() bool

HasNextLogID returns a boolean if a field has been set.

func (*LogsList) HasStatus added in v2.26.0

func (l *LogsList) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*LogsList) SetNextLogID added in v2.26.0

func (l *LogsList) SetNextLogID(v string)

SetNextLogID allocates a new l.NextLogID and returns the pointer to it.

func (*LogsList) SetStatus added in v2.26.0

func (l *LogsList) SetStatus(v string)

SetStatus allocates a new l.Status and returns the pointer to it.

type LogsListRequest added in v2.26.0

type LogsListRequest struct {
	Index   *string                   `json:"index,omitempty"`
	Limit   *int                      `json:"limit,omitempty"`
	Query   *string                   `json:"query"`
	Sort    *string                   `json:"sort,omitempty"`
	StartAt *string                   `json:"startAt,omitempty"`
	Time    *LogsListRequestQueryTime `json:"time"`
}

LogsListRequest represents the request body sent to the list API

func (*LogsListRequest) GetIndex added in v2.26.0

func (l *LogsListRequest) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*LogsListRequest) GetIndexOk added in v2.26.0

func (l *LogsListRequest) 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 (*LogsListRequest) GetLimit added in v2.26.0

func (l *LogsListRequest) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*LogsListRequest) GetLimitOk added in v2.26.0

func (l *LogsListRequest) 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 (*LogsListRequest) GetQuery added in v2.26.0

func (l *LogsListRequest) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*LogsListRequest) GetQueryOk added in v2.26.0

func (l *LogsListRequest) 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 (*LogsListRequest) GetSort added in v2.26.0

func (l *LogsListRequest) GetSort() string

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*LogsListRequest) GetSortOk added in v2.26.0

func (l *LogsListRequest) 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 (*LogsListRequest) GetStartAt added in v2.26.0

func (l *LogsListRequest) GetStartAt() string

GetStartAt returns the StartAt field if non-nil, zero value otherwise.

func (*LogsListRequest) GetStartAtOk added in v2.26.0

func (l *LogsListRequest) GetStartAtOk() (string, bool)

GetStartAtOk returns a tuple with the StartAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsListRequest) GetTime added in v2.26.0

GetTime returns the Time field if non-nil, zero value otherwise.

func (*LogsListRequest) GetTimeOk added in v2.26.0

func (l *LogsListRequest) GetTimeOk() (LogsListRequestQueryTime, 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 (*LogsListRequest) HasIndex added in v2.26.0

func (l *LogsListRequest) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*LogsListRequest) HasLimit added in v2.26.0

func (l *LogsListRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*LogsListRequest) HasQuery added in v2.26.0

func (l *LogsListRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsListRequest) HasSort added in v2.26.0

func (l *LogsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogsListRequest) HasStartAt added in v2.26.0

func (l *LogsListRequest) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (*LogsListRequest) HasTime added in v2.26.0

func (l *LogsListRequest) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*LogsListRequest) SetIndex added in v2.26.0

func (l *LogsListRequest) SetIndex(v string)

SetIndex allocates a new l.Index and returns the pointer to it.

func (*LogsListRequest) SetLimit added in v2.26.0

func (l *LogsListRequest) SetLimit(v int)

SetLimit allocates a new l.Limit and returns the pointer to it.

func (*LogsListRequest) SetQuery added in v2.26.0

func (l *LogsListRequest) SetQuery(v string)

SetQuery allocates a new l.Query and returns the pointer to it.

func (*LogsListRequest) SetSort added in v2.26.0

func (l *LogsListRequest) SetSort(v string)

SetSort allocates a new l.Sort and returns the pointer to it.

func (*LogsListRequest) SetStartAt added in v2.26.0

func (l *LogsListRequest) SetStartAt(v string)

SetStartAt allocates a new l.StartAt and returns the pointer to it.

func (*LogsListRequest) SetTime added in v2.26.0

SetTime allocates a new l.Time and returns the pointer to it.

type LogsListRequestQueryTime added in v2.26.0

type LogsListRequestQueryTime struct {
	TimeFrom *string `json:"from"`
	TimeTo   *string `json:"to"`
	TimeZone *string `json:"timezone,omitempty"`
	Offset   *int    `json:"offset,omitempty"`
}

LogsListRequestQueryTime represents the time object for the request sent to the list API

func (*LogsListRequestQueryTime) GetOffset added in v2.26.0

func (l *LogsListRequestQueryTime) GetOffset() int

GetOffset returns the Offset field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetOffsetOk added in v2.26.0

func (l *LogsListRequestQueryTime) GetOffsetOk() (int, bool)

GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsListRequestQueryTime) GetTimeFrom added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeFrom() string

GetTimeFrom returns the TimeFrom field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeFromOk added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeFromOk() (string, bool)

GetTimeFromOk returns a tuple with the TimeFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsListRequestQueryTime) GetTimeTo added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeTo() string

GetTimeTo returns the TimeTo field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeToOk added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeToOk() (string, bool)

GetTimeToOk returns a tuple with the TimeTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsListRequestQueryTime) GetTimeZone added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeZone() string

GetTimeZone returns the TimeZone field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeZoneOk added in v2.26.0

func (l *LogsListRequestQueryTime) GetTimeZoneOk() (string, bool)

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 (*LogsListRequestQueryTime) HasOffset added in v2.26.0

func (l *LogsListRequestQueryTime) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeFrom added in v2.26.0

func (l *LogsListRequestQueryTime) HasTimeFrom() bool

HasTimeFrom returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeTo added in v2.26.0

func (l *LogsListRequestQueryTime) HasTimeTo() bool

HasTimeTo returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeZone added in v2.26.0

func (l *LogsListRequestQueryTime) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) SetOffset added in v2.26.0

func (l *LogsListRequestQueryTime) SetOffset(v int)

SetOffset allocates a new l.Offset and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeFrom added in v2.26.0

func (l *LogsListRequestQueryTime) SetTimeFrom(v string)

SetTimeFrom allocates a new l.TimeFrom and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeTo added in v2.26.0

func (l *LogsListRequestQueryTime) SetTimeTo(v string)

SetTimeTo allocates a new l.TimeTo and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeZone added in v2.26.0

func (l *LogsListRequestQueryTime) SetTimeZone(v string)

SetTimeZone allocates a new l.TimeZone and returns the pointer to it.

type LogsPipeline added in v2.24.0

type LogsPipeline struct {
	Id         *string              `json:"id,omitempty"`
	Type       *string              `json:"type,omitempty"`
	Name       *string              `json:"name"`
	IsEnabled  *bool                `json:"is_enabled,omitempty"`
	IsReadOnly *bool                `json:"is_read_only,omitempty"`
	Filter     *FilterConfiguration `json:"filter"`
	Processors []LogsProcessor      `json:"processors,omitempty"`
}

LogsPipeline struct to represent the json object received from Logs Public Config API.

func (*LogsPipeline) GetFilter added in v2.24.0

func (l *LogsPipeline) GetFilter() FilterConfiguration

GetFilter returns the Filter field if non-nil, zero value otherwise.

func (*LogsPipeline) GetFilterOk added in v2.24.0

func (l *LogsPipeline) GetFilterOk() (FilterConfiguration, bool)

GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetId added in v2.24.0

func (l *LogsPipeline) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

func (*LogsPipeline) GetIdOk added in v2.24.0

func (l *LogsPipeline) 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 (*LogsPipeline) GetIsEnabled added in v2.24.0

func (l *LogsPipeline) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*LogsPipeline) GetIsEnabledOk added in v2.24.0

func (l *LogsPipeline) GetIsEnabledOk() (bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsPipeline) GetIsReadOnly added in v2.24.0

func (l *LogsPipeline) GetIsReadOnly() bool

GetIsReadOnly returns the IsReadOnly field if non-nil, zero value otherwise.

func (*LogsPipeline) GetIsReadOnlyOk added in v2.24.0

func (l *LogsPipeline) GetIsReadOnlyOk() (bool, bool)

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 (*LogsPipeline) GetName added in v2.24.0

func (l *LogsPipeline) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*LogsPipeline) GetNameOk added in v2.24.0

func (l *LogsPipeline) 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 (*LogsPipeline) GetType added in v2.24.0

func (l *LogsPipeline) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*LogsPipeline) GetTypeOk added in v2.24.0

func (l *LogsPipeline) 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 (*LogsPipeline) HasFilter added in v2.24.0

func (l *LogsPipeline) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsPipeline) HasId added in v2.24.0

func (l *LogsPipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*LogsPipeline) HasIsEnabled added in v2.24.0

func (l *LogsPipeline) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsPipeline) HasIsReadOnly added in v2.24.0

func (l *LogsPipeline) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*LogsPipeline) HasName added in v2.24.0

func (l *LogsPipeline) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsPipeline) HasType added in v2.24.0

func (l *LogsPipeline) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogsPipeline) SetFilter added in v2.24.0

func (l *LogsPipeline) SetFilter(v FilterConfiguration)

SetFilter allocates a new l.Filter and returns the pointer to it.

func (*LogsPipeline) SetId added in v2.24.0

func (l *LogsPipeline) SetId(v string)

SetId allocates a new l.Id and returns the pointer to it.

func (*LogsPipeline) SetIsEnabled added in v2.24.0

func (l *LogsPipeline) SetIsEnabled(v bool)

SetIsEnabled allocates a new l.IsEnabled and returns the pointer to it.

func (*LogsPipeline) SetIsReadOnly added in v2.24.0

func (l *LogsPipeline) SetIsReadOnly(v bool)

SetIsReadOnly allocates a new l.IsReadOnly and returns the pointer to it.

func (*LogsPipeline) SetName added in v2.24.0

func (l *LogsPipeline) SetName(v string)

SetName allocates a new l.Name and returns the pointer to it.

func (*LogsPipeline) SetType added in v2.24.0

func (l *LogsPipeline) SetType(v string)

SetType allocates a new l.Type and returns the pointer to it.

type LogsPipelineList added in v2.24.0

type LogsPipelineList struct {
	PipelineIds []string `json:"pipeline_ids"`
}

LogsPipelineList struct represents the pipeline order from Logs Public Config API.

type LogsProcessor added in v2.24.0

type LogsProcessor struct {
	Name       *string     `json:"name"`
	IsEnabled  *bool       `json:"is_enabled"`
	Type       *string     `json:"type"`
	Definition interface{} `json:"definition"`
}

LogsProcessor struct represents the processor object from Config API.

func (*LogsProcessor) GetIsEnabled added in v2.24.0

func (l *LogsProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*LogsProcessor) GetIsEnabledOk added in v2.24.0

func (l *LogsProcessor) GetIsEnabledOk() (bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LogsProcessor) GetName added in v2.24.0

func (l *LogsProcessor) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*LogsProcessor) GetNameOk added in v2.24.0

func (l *LogsProcessor) 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 (*LogsProcessor) GetType added in v2.24.0

func (l *LogsProcessor) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*LogsProcessor) GetTypeOk added in v2.24.0

func (l *LogsProcessor) 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 (*LogsProcessor) HasIsEnabled added in v2.24.0

func (l *LogsProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsProcessor) HasName added in v2.24.0

func (l *LogsProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsProcessor) HasType added in v2.24.0

func (l *LogsProcessor) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogsProcessor) MarshalJSON added in v2.24.0

func (processor *LogsProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes logsprocessor struct to config API compatible json object.

func (*LogsProcessor) SetIsEnabled added in v2.24.0

func (l *LogsProcessor) SetIsEnabled(v bool)

SetIsEnabled allocates a new l.IsEnabled and returns the pointer to it.

func (*LogsProcessor) SetName added in v2.24.0

func (l *LogsProcessor) SetName(v string)

SetName allocates a new l.Name and returns the pointer to it.

func (*LogsProcessor) SetType added in v2.24.0

func (l *LogsProcessor) SetType(v string)

SetType allocates a new l.Type and returns the pointer to it.

func (*LogsProcessor) UnmarshalJSON added in v2.24.0

func (processor *LogsProcessor) UnmarshalJSON(data []byte) error

UnmarshalJSON deserializes the config API json object to LogsProcessor struct.

type LookupProcessor added in v2.26.0

type LookupProcessor struct {
	Source        *string  `json:"source"`
	Target        *string  `json:"target"`
	LookupTable   []string `json:"lookup_table"`
	DefaultLookup *string  `json:"default_lookup,omitempty"`
}

LookupProcessor represents the lookup processor from config API.

func (*LookupProcessor) GetDefaultLookup added in v2.26.0

func (l *LookupProcessor) GetDefaultLookup() string

GetDefaultLookup returns the DefaultLookup field if non-nil, zero value otherwise.

func (*LookupProcessor) GetDefaultLookupOk added in v2.26.0

func (l *LookupProcessor) GetDefaultLookupOk() (string, bool)

GetDefaultLookupOk returns a tuple with the DefaultLookup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LookupProcessor) GetSource added in v2.26.0

func (l *LookupProcessor) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

func (*LookupProcessor) GetSourceOk added in v2.26.0

func (l *LookupProcessor) GetSourceOk() (string, bool)

GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LookupProcessor) GetTarget added in v2.26.0

func (l *LookupProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*LookupProcessor) GetTargetOk added in v2.26.0

func (l *LookupProcessor) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*LookupProcessor) HasDefaultLookup added in v2.26.0

func (l *LookupProcessor) HasDefaultLookup() bool

HasDefaultLookup returns a boolean if a field has been set.

func (*LookupProcessor) HasSource added in v2.26.0

func (l *LookupProcessor) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*LookupProcessor) HasTarget added in v2.26.0

func (l *LookupProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*LookupProcessor) SetDefaultLookup added in v2.26.0

func (l *LookupProcessor) SetDefaultLookup(v string)

SetDefaultLookup allocates a new l.DefaultLookup and returns the pointer to it.

func (*LookupProcessor) SetSource added in v2.26.0

func (l *LookupProcessor) SetSource(v string)

SetSource allocates a new l.Source and returns the pointer to it.

func (*LookupProcessor) SetTarget added in v2.26.0

func (l *LookupProcessor) SetTarget(v string)

SetTarget allocates a new l.Target and returns the pointer to it.

type ManageStatusDefinition added in v2.20.0

type ManageStatusDefinition struct {
	Type              *string `json:"type"`
	SummaryType       *string `json:"summary_type,omitempty"`
	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"`
	ShowLastTriggered *bool   `json:"show_last_triggered,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 added in v2.20.0

func (m *ManageStatusDefinition) GetColorPreference() string

GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetColorPreferenceOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetCount() int

GetCount returns the Count field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetCountOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetDisplayFormatOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetHideZeroCounts() bool

GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetHideZeroCountsOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetQueryOk added in v2.20.0

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) GetShowLastTriggered added in v2.26.0

func (m *ManageStatusDefinition) GetShowLastTriggered() bool

GetShowLastTriggered returns the ShowLastTriggered field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetShowLastTriggeredOk added in v2.26.0

func (m *ManageStatusDefinition) GetShowLastTriggeredOk() (bool, bool)

GetShowLastTriggeredOk returns a tuple with the ShowLastTriggered field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ManageStatusDefinition) GetSort added in v2.20.0

func (m *ManageStatusDefinition) GetSort() string

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetSortOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetStart() int

GetStart returns the Start field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetStartOk added in v2.20.0

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) GetSummaryType added in v2.26.0

func (m *ManageStatusDefinition) GetSummaryType() string

GetSummaryType returns the SummaryType field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetSummaryTypeOk added in v2.26.0

func (m *ManageStatusDefinition) GetSummaryTypeOk() (string, bool)

GetSummaryTypeOk returns a tuple with the SummaryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ManageStatusDefinition) GetTitle added in v2.20.0

func (m *ManageStatusDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetTitleAlign added in v2.20.0

func (m *ManageStatusDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (m *ManageStatusDefinition) HasColorPreference() bool

HasColorPreference returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasCount added in v2.20.0

func (m *ManageStatusDefinition) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasDisplayFormat added in v2.20.0

func (m *ManageStatusDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasHideZeroCounts added in v2.20.0

func (m *ManageStatusDefinition) HasHideZeroCounts() bool

HasHideZeroCounts returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasQuery added in v2.20.0

func (m *ManageStatusDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasShowLastTriggered added in v2.26.0

func (m *ManageStatusDefinition) HasShowLastTriggered() bool

HasShowLastTriggered returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasSort added in v2.20.0

func (m *ManageStatusDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasStart added in v2.20.0

func (m *ManageStatusDefinition) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasSummaryType added in v2.26.0

func (m *ManageStatusDefinition) HasSummaryType() bool

HasSummaryType returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitle added in v2.20.0

func (m *ManageStatusDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitleAlign added in v2.20.0

func (m *ManageStatusDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitleSize added in v2.20.0

func (m *ManageStatusDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasType added in v2.20.0

func (m *ManageStatusDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ManageStatusDefinition) SetColorPreference added in v2.20.0

func (m *ManageStatusDefinition) SetColorPreference(v string)

SetColorPreference allocates a new m.ColorPreference and returns the pointer to it.

func (*ManageStatusDefinition) SetCount added in v2.20.0

func (m *ManageStatusDefinition) SetCount(v int)

SetCount allocates a new m.Count and returns the pointer to it.

func (*ManageStatusDefinition) SetDisplayFormat added in v2.20.0

func (m *ManageStatusDefinition) SetDisplayFormat(v string)

SetDisplayFormat allocates a new m.DisplayFormat and returns the pointer to it.

func (*ManageStatusDefinition) SetHideZeroCounts added in v2.20.0

func (m *ManageStatusDefinition) SetHideZeroCounts(v bool)

SetHideZeroCounts allocates a new m.HideZeroCounts and returns the pointer to it.

func (*ManageStatusDefinition) SetQuery added in v2.20.0

func (m *ManageStatusDefinition) SetQuery(v string)

SetQuery allocates a new m.Query and returns the pointer to it.

func (*ManageStatusDefinition) SetShowLastTriggered added in v2.26.0

func (m *ManageStatusDefinition) SetShowLastTriggered(v bool)

SetShowLastTriggered allocates a new m.ShowLastTriggered and returns the pointer to it.

func (*ManageStatusDefinition) SetSort added in v2.20.0

func (m *ManageStatusDefinition) SetSort(v string)

SetSort allocates a new m.Sort and returns the pointer to it.

func (*ManageStatusDefinition) SetStart added in v2.20.0

func (m *ManageStatusDefinition) SetStart(v int)

SetStart allocates a new m.Start and returns the pointer to it.

func (*ManageStatusDefinition) SetSummaryType added in v2.26.0

func (m *ManageStatusDefinition) SetSummaryType(v string)

SetSummaryType allocates a new m.SummaryType and returns the pointer to it.

func (*ManageStatusDefinition) SetTitle added in v2.20.0

func (m *ManageStatusDefinition) SetTitle(v string)

SetTitle allocates a new m.Title and returns the pointer to it.

func (*ManageStatusDefinition) SetTitleAlign added in v2.20.0

func (m *ManageStatusDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new m.TitleAlign and returns the pointer to it.

func (*ManageStatusDefinition) SetTitleSize added in v2.20.0

func (m *ManageStatusDefinition) SetTitleSize(v string)

SetTitleSize allocates a new m.TitleSize and returns the pointer to it.

func (*ManageStatusDefinition) SetType added in v2.20.0

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"`
	Interval *int        `json:"interval,omitempty"`
}

Metric represents a collection of data points that we might send or receive on one single metric line.

func (*Metric) GetHost

func (m *Metric) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*Metric) GetHostOk

func (m *Metric) GetHostOk() (string, bool)

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) GetInterval added in v2.26.0

func (m *Metric) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*Metric) GetIntervalOk added in v2.26.0

func (m *Metric) 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 (*Metric) GetMetric

func (m *Metric) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*Metric) GetMetricOk

func (m *Metric) 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 (*Metric) GetType

func (m *Metric) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*Metric) GetTypeOk

func (m *Metric) 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 (*Metric) GetUnit

func (m *Metric) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

func (*Metric) GetUnitOk

func (m *Metric) 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 (*Metric) HasHost

func (m *Metric) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Metric) HasInterval added in v2.26.0

func (m *Metric) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Metric) HasMetric

func (m *Metric) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*Metric) HasType

func (m *Metric) HasType() bool

HasType returns a boolean if a field has been set.

func (*Metric) HasUnit

func (m *Metric) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Metric) SetHost

func (m *Metric) SetHost(v string)

SetHost allocates a new m.Host and returns the pointer to it.

func (*Metric) SetInterval added in v2.26.0

func (m *Metric) SetInterval(v int)

SetInterval allocates a new m.Interval and returns the pointer to it.

func (*Metric) SetMetric

func (m *Metric) SetMetric(v string)

SetMetric allocates a new m.Metric and returns the pointer to it.

func (*Metric) SetType

func (m *Metric) SetType(v string)

SetType allocates a new m.Type and returns the pointer to it.

func (*Metric) SetUnit

func (m *Metric) SetUnit(v string)

SetUnit allocates a new m.Unit and returns the pointer to it.

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

func (m *Monitor) GetCreator() Creator

GetCreator returns the Creator field if non-nil, zero value otherwise.

func (*Monitor) GetCreatorOk

func (m *Monitor) GetCreatorOk() (Creator, bool)

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) GetId

func (m *Monitor) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*Monitor) GetIdOk

func (m *Monitor) 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 (*Monitor) GetMessage

func (m *Monitor) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*Monitor) GetMessageOk

func (m *Monitor) 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 (*Monitor) GetName

func (m *Monitor) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Monitor) GetNameOk

func (m *Monitor) 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 (*Monitor) GetOptions

func (m *Monitor) GetOptions() Options

GetOptions returns the Options field if non-nil, zero value otherwise.

func (*Monitor) GetOptionsOk

func (m *Monitor) GetOptionsOk() (Options, 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 (*Monitor) GetOverallState added in v2.12.0

func (m *Monitor) GetOverallState() string

GetOverallState returns the OverallState field if non-nil, zero value otherwise.

func (*Monitor) GetOverallStateModified added in v2.15.0

func (m *Monitor) GetOverallStateModified() string

GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise.

func (*Monitor) GetOverallStateModifiedOk added in v2.15.0

func (m *Monitor) GetOverallStateModifiedOk() (string, bool)

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 added in v2.12.0

func (m *Monitor) GetOverallStateOk() (string, bool)

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) GetQuery

func (m *Monitor) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*Monitor) GetQueryOk

func (m *Monitor) 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 (*Monitor) GetType

func (m *Monitor) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*Monitor) GetTypeOk

func (m *Monitor) 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 (*Monitor) HasCreator

func (m *Monitor) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Monitor) HasId

func (m *Monitor) HasId() bool

HasId returns a boolean if a field has been set.

func (*Monitor) HasMessage

func (m *Monitor) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Monitor) HasName

func (m *Monitor) HasName() bool

HasName returns a boolean if a field has been set.

func (*Monitor) HasOptions

func (m *Monitor) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Monitor) HasOverallState added in v2.12.0

func (m *Monitor) HasOverallState() bool

HasOverallState returns a boolean if a field has been set.

func (*Monitor) HasOverallStateModified added in v2.15.0

func (m *Monitor) HasOverallStateModified() bool

HasOverallStateModified returns a boolean if a field has been set.

func (*Monitor) HasQuery

func (m *Monitor) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Monitor) HasType

func (m *Monitor) HasType() bool

HasType returns a boolean if a field has been set.

func (*Monitor) SetCreator

func (m *Monitor) SetCreator(v Creator)

SetCreator allocates a new m.Creator and returns the pointer to it.

func (*Monitor) SetId

func (m *Monitor) SetId(v int)

SetId allocates a new m.Id and returns the pointer to it.

func (*Monitor) SetMessage

func (m *Monitor) SetMessage(v string)

SetMessage allocates a new m.Message and returns the pointer to it.

func (*Monitor) SetName

func (m *Monitor) SetName(v string)

SetName allocates a new m.Name and returns the pointer to it.

func (*Monitor) SetOptions

func (m *Monitor) SetOptions(v Options)

SetOptions allocates a new m.Options and returns the pointer to it.

func (*Monitor) SetOverallState added in v2.12.0

func (m *Monitor) SetOverallState(v string)

SetOverallState allocates a new m.OverallState and returns the pointer to it.

func (*Monitor) SetOverallStateModified added in v2.15.0

func (m *Monitor) SetOverallStateModified(v string)

SetOverallStateModified allocates a new m.OverallStateModified and returns the pointer to it.

func (*Monitor) SetQuery

func (m *Monitor) SetQuery(v string)

SetQuery allocates a new m.Query and returns the pointer to it.

func (*Monitor) SetType

func (m *Monitor) SetType(v string)

SetType allocates a new m.Type and returns the pointer to it.

type MonitorOptions added in v2.27.0

type MonitorOptions struct {
	RenotifyInterval *int `json:"renotify_interval,omitempty"`
}

func (*MonitorOptions) GetRenotifyInterval added in v2.27.0

func (m *MonitorOptions) GetRenotifyInterval() int

GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.

func (*MonitorOptions) GetRenotifyIntervalOk added in v2.27.0

func (m *MonitorOptions) GetRenotifyIntervalOk() (int, bool)

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 (*MonitorOptions) HasRenotifyInterval added in v2.27.0

func (m *MonitorOptions) HasRenotifyInterval() bool

HasRenotifyInterval returns a boolean if a field has been set.

func (*MonitorOptions) SetRenotifyInterval added in v2.27.0

func (m *MonitorOptions) SetRenotifyInterval(v int)

SetRenotifyInterval allocates a new m.RenotifyInterval and returns the pointer to it.

type MonitorQueryOpts added in v2.24.0

type MonitorQueryOpts struct {
	GroupStates   []string
	Name          *string
	Tags          []string
	MonitorTags   []string
	WithDowntimes *bool
}

MonitorQueryOpts contains the options supported by https://docs.datadoghq.com/api/?lang=bash#get-all-monitor-details

func (*MonitorQueryOpts) GetName added in v2.24.0

func (m *MonitorQueryOpts) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*MonitorQueryOpts) GetNameOk added in v2.24.0

func (m *MonitorQueryOpts) 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 (*MonitorQueryOpts) GetWithDowntimes added in v2.24.0

func (m *MonitorQueryOpts) GetWithDowntimes() bool

GetWithDowntimes returns the WithDowntimes field if non-nil, zero value otherwise.

func (*MonitorQueryOpts) GetWithDowntimesOk added in v2.24.0

func (m *MonitorQueryOpts) GetWithDowntimesOk() (bool, bool)

GetWithDowntimesOk returns a tuple with the WithDowntimes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*MonitorQueryOpts) HasName added in v2.24.0

func (m *MonitorQueryOpts) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorQueryOpts) HasWithDowntimes added in v2.24.0

func (m *MonitorQueryOpts) HasWithDowntimes() bool

HasWithDowntimes returns a boolean if a field has been set.

func (*MonitorQueryOpts) SetName added in v2.24.0

func (m *MonitorQueryOpts) SetName(v string)

SetName allocates a new m.Name and returns the pointer to it.

func (*MonitorQueryOpts) SetWithDowntimes added in v2.24.0

func (m *MonitorQueryOpts) SetWithDowntimes(v bool)

SetWithDowntimes allocates a new m.WithDowntimes and returns the pointer to it.

type MuteMonitorScope added in v2.21.0

type MuteMonitorScope struct {
	Scope *string `json:"scope,omitempty"`
	End   *int    `json:"end,omitempty"`
}

MuteMonitorScope specifies which scope to mute and when to end the mute

func (*MuteMonitorScope) GetEnd added in v2.21.0

func (m *MuteMonitorScope) GetEnd() int

GetEnd returns the End field if non-nil, zero value otherwise.

func (*MuteMonitorScope) GetEndOk added in v2.21.0

func (m *MuteMonitorScope) GetEndOk() (int, bool)

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 (*MuteMonitorScope) GetScope added in v2.21.0

func (m *MuteMonitorScope) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

func (*MuteMonitorScope) GetScopeOk added in v2.21.0

func (m *MuteMonitorScope) GetScopeOk() (string, bool)

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 (*MuteMonitorScope) HasEnd added in v2.21.0

func (m *MuteMonitorScope) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*MuteMonitorScope) HasScope added in v2.21.0

func (m *MuteMonitorScope) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*MuteMonitorScope) SetEnd added in v2.21.0

func (m *MuteMonitorScope) SetEnd(v int)

SetEnd allocates a new m.End and returns the pointer to it.

func (*MuteMonitorScope) SetScope added in v2.21.0

func (m *MuteMonitorScope) SetScope(v string)

SetScope allocates a new m.Scope and returns the pointer to it.

type NestedPipeline added in v2.24.0

type NestedPipeline struct {
	Filter     *FilterConfiguration `json:"filter"`
	Processors []LogsProcessor      `json:"processors,omitempty"`
}

NestedPipeline represents the pipeline as processor from config API.

func (*NestedPipeline) GetFilter added in v2.24.0

func (n *NestedPipeline) GetFilter() FilterConfiguration

GetFilter returns the Filter field if non-nil, zero value otherwise.

func (*NestedPipeline) GetFilterOk added in v2.24.0

func (n *NestedPipeline) GetFilterOk() (FilterConfiguration, bool)

GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*NestedPipeline) HasFilter added in v2.24.0

func (n *NestedPipeline) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*NestedPipeline) SetFilter added in v2.24.0

func (n *NestedPipeline) SetFilter(v FilterConfiguration)

SetFilter allocates a new n.Filter and returns the pointer to it.

type NoDataTimeframe

type NoDataTimeframe int

func (*NoDataTimeframe) UnmarshalJSON

func (tf *NoDataTimeframe) UnmarshalJSON(data []byte) error

type NoteDefinition added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetBackgroundColor() string

GetBackgroundColor returns the BackgroundColor field if non-nil, zero value otherwise.

func (*NoteDefinition) GetBackgroundColorOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

func (*NoteDefinition) GetContentOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*NoteDefinition) GetFontSizeOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetShowTick() bool

GetShowTick returns the ShowTick field if non-nil, zero value otherwise.

func (*NoteDefinition) GetShowTickOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTextAlignOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetTickEdge() string

GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTickEdgeOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetTickPos() string

GetTickPos returns the TickPos field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTickPosOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (n *NoteDefinition) HasBackgroundColor() bool

HasBackgroundColor returns a boolean if a field has been set.

func (*NoteDefinition) HasContent added in v2.20.0

func (n *NoteDefinition) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*NoteDefinition) HasFontSize added in v2.20.0

func (n *NoteDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*NoteDefinition) HasShowTick added in v2.20.0

func (n *NoteDefinition) HasShowTick() bool

HasShowTick returns a boolean if a field has been set.

func (*NoteDefinition) HasTextAlign added in v2.20.0

func (n *NoteDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*NoteDefinition) HasTickEdge added in v2.20.0

func (n *NoteDefinition) HasTickEdge() bool

HasTickEdge returns a boolean if a field has been set.

func (*NoteDefinition) HasTickPos added in v2.20.0

func (n *NoteDefinition) HasTickPos() bool

HasTickPos returns a boolean if a field has been set.

func (*NoteDefinition) HasType added in v2.20.0

func (n *NoteDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*NoteDefinition) SetBackgroundColor added in v2.20.0

func (n *NoteDefinition) SetBackgroundColor(v string)

SetBackgroundColor allocates a new n.BackgroundColor and returns the pointer to it.

func (*NoteDefinition) SetContent added in v2.20.0

func (n *NoteDefinition) SetContent(v string)

SetContent allocates a new n.Content and returns the pointer to it.

func (*NoteDefinition) SetFontSize added in v2.20.0

func (n *NoteDefinition) SetFontSize(v string)

SetFontSize allocates a new n.FontSize and returns the pointer to it.

func (*NoteDefinition) SetShowTick added in v2.20.0

func (n *NoteDefinition) SetShowTick(v bool)

SetShowTick allocates a new n.ShowTick and returns the pointer to it.

func (*NoteDefinition) SetTextAlign added in v2.20.0

func (n *NoteDefinition) SetTextAlign(v string)

SetTextAlign allocates a new n.TextAlign and returns the pointer to it.

func (*NoteDefinition) SetTickEdge added in v2.20.0

func (n *NoteDefinition) SetTickEdge(v string)

SetTickEdge allocates a new n.TickEdge and returns the pointer to it.

func (*NoteDefinition) SetTickPos added in v2.20.0

func (n *NoteDefinition) SetTickPos(v string)

SetTickPos allocates a new n.TickPos and returns the pointer to it.

func (*NoteDefinition) SetType added in v2.20.0

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 added in v2.19.0

func (o *Options) GetEnableLogsSample() bool

GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise.

func (*Options) GetEnableLogsSampleOk added in v2.19.0

func (o *Options) GetEnableLogsSampleOk() (bool, bool)

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

func (o *Options) GetEscalationMessage() string

GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise.

func (*Options) GetEscalationMessageOk

func (o *Options) GetEscalationMessageOk() (string, bool)

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

func (o *Options) GetEvaluationDelay() int

GetEvaluationDelay returns the EvaluationDelay field if non-nil, zero value otherwise.

func (*Options) GetEvaluationDelayOk

func (o *Options) GetEvaluationDelayOk() (int, bool)

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

func (o *Options) GetIncludeTags() bool

GetIncludeTags returns the IncludeTags field if non-nil, zero value otherwise.

func (*Options) GetIncludeTagsOk

func (o *Options) GetIncludeTagsOk() (bool, bool)

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) GetLocked

func (o *Options) GetLocked() bool

GetLocked returns the Locked field if non-nil, zero value otherwise.

func (*Options) GetLockedOk

func (o *Options) GetLockedOk() (bool, bool)

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

func (o *Options) GetNewHostDelay() int

GetNewHostDelay returns the NewHostDelay field if non-nil, zero value otherwise.

func (*Options) GetNewHostDelayOk

func (o *Options) GetNewHostDelayOk() (int, bool)

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

func (o *Options) GetNotifyAudit() bool

GetNotifyAudit returns the NotifyAudit field if non-nil, zero value otherwise.

func (*Options) GetNotifyAuditOk

func (o *Options) GetNotifyAuditOk() (bool, bool)

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

func (o *Options) GetNotifyNoData() bool

GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.

func (*Options) GetNotifyNoDataOk

func (o *Options) GetNotifyNoDataOk() (bool, bool)

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 added in v2.20.0

func (o *Options) GetQueryConfig() QueryConfig

GetQueryConfig returns the QueryConfig field if non-nil, zero value otherwise.

func (*Options) GetQueryConfigOk added in v2.20.0

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

func (o *Options) GetRenotifyInterval() int

GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.

func (*Options) GetRenotifyIntervalOk

func (o *Options) GetRenotifyIntervalOk() (int, bool)

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

func (o *Options) GetRequireFullWindow() bool

GetRequireFullWindow returns the RequireFullWindow field if non-nil, zero value otherwise.

func (*Options) GetRequireFullWindowOk

func (o *Options) GetRequireFullWindowOk() (bool, bool)

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 added in v2.18.0

func (o *Options) GetThresholdWindows() ThresholdWindows

GetThresholdWindows returns the ThresholdWindows field if non-nil, zero value otherwise.

func (*Options) GetThresholdWindowsOk added in v2.18.0

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

func (o *Options) GetTimeoutH() int

GetTimeoutH returns the TimeoutH field if non-nil, zero value otherwise.

func (*Options) GetTimeoutHOk

func (o *Options) GetTimeoutHOk() (int, bool)

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 added in v2.19.0

func (o *Options) HasEnableLogsSample() bool

HasEnableLogsSample returns a boolean if a field has been set.

func (*Options) HasEscalationMessage

func (o *Options) HasEscalationMessage() bool

HasEscalationMessage returns a boolean if a field has been set.

func (*Options) HasEvaluationDelay

func (o *Options) HasEvaluationDelay() bool

HasEvaluationDelay returns a boolean if a field has been set.

func (*Options) HasIncludeTags

func (o *Options) HasIncludeTags() bool

HasIncludeTags returns a boolean if a field has been set.

func (*Options) HasLocked

func (o *Options) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*Options) HasNewHostDelay

func (o *Options) HasNewHostDelay() bool

HasNewHostDelay returns a boolean if a field has been set.

func (*Options) HasNotifyAudit

func (o *Options) HasNotifyAudit() bool

HasNotifyAudit returns a boolean if a field has been set.

func (*Options) HasNotifyNoData

func (o *Options) HasNotifyNoData() bool

HasNotifyNoData returns a boolean if a field has been set.

func (*Options) HasQueryConfig added in v2.20.0

func (o *Options) HasQueryConfig() bool

HasQueryConfig returns a boolean if a field has been set.

func (*Options) HasRenotifyInterval

func (o *Options) HasRenotifyInterval() bool

HasRenotifyInterval returns a boolean if a field has been set.

func (*Options) HasRequireFullWindow

func (o *Options) HasRequireFullWindow() bool

HasRequireFullWindow returns a boolean if a field has been set.

func (*Options) HasThresholdWindows added in v2.18.0

func (o *Options) HasThresholdWindows() bool

HasThresholdWindows returns a boolean if a field has been set.

func (*Options) HasThresholds

func (o *Options) HasThresholds() bool

HasThresholds returns a boolean if a field has been set.

func (*Options) HasTimeoutH

func (o *Options) HasTimeoutH() bool

HasTimeoutH returns a boolean if a field has been set.

func (*Options) SetEnableLogsSample added in v2.19.0

func (o *Options) SetEnableLogsSample(v bool)

SetEnableLogsSample allocates a new o.EnableLogsSample and returns the pointer to it.

func (*Options) SetEscalationMessage

func (o *Options) SetEscalationMessage(v string)

SetEscalationMessage allocates a new o.EscalationMessage and returns the pointer to it.

func (*Options) SetEvaluationDelay

func (o *Options) SetEvaluationDelay(v int)

SetEvaluationDelay allocates a new o.EvaluationDelay and returns the pointer to it.

func (*Options) SetIncludeTags

func (o *Options) SetIncludeTags(v bool)

SetIncludeTags allocates a new o.IncludeTags and returns the pointer to it.

func (*Options) SetLocked

func (o *Options) SetLocked(v bool)

SetLocked allocates a new o.Locked and returns the pointer to it.

func (*Options) SetNewHostDelay

func (o *Options) SetNewHostDelay(v int)

SetNewHostDelay allocates a new o.NewHostDelay and returns the pointer to it.

func (*Options) SetNotifyAudit

func (o *Options) SetNotifyAudit(v bool)

SetNotifyAudit allocates a new o.NotifyAudit and returns the pointer to it.

func (*Options) SetNotifyNoData

func (o *Options) SetNotifyNoData(v bool)

SetNotifyNoData allocates a new o.NotifyNoData and returns the pointer to it.

func (*Options) SetQueryConfig added in v2.20.0

func (o *Options) SetQueryConfig(v QueryConfig)

SetQueryConfig allocates a new o.QueryConfig and returns the pointer to it.

func (*Options) SetRenotifyInterval

func (o *Options) SetRenotifyInterval(v int)

SetRenotifyInterval allocates a new o.RenotifyInterval and returns the pointer to it.

func (*Options) SetRequireFullWindow

func (o *Options) SetRequireFullWindow(v bool)

SetRequireFullWindow allocates a new o.RequireFullWindow and returns the pointer to it.

func (*Options) SetThresholdWindows added in v2.18.0

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

func (o *Options) SetTimeoutH(v int)

SetTimeoutH allocates a new o.TimeoutH and returns the pointer to it.

type Params added in v2.13.0

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) GetCount added in v2.13.0

func (p *Params) GetCount() string

GetCount returns the Count field if non-nil, zero value otherwise.

func (*Params) GetCountOk added in v2.13.0

func (p *Params) GetCountOk() (string, 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 (*Params) GetSort added in v2.13.0

func (p *Params) GetSort() string

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*Params) GetSortOk added in v2.13.0

func (p *Params) 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 (*Params) GetStart added in v2.13.0

func (p *Params) GetStart() string

GetStart returns the Start field if non-nil, zero value otherwise.

func (*Params) GetStartOk added in v2.13.0

func (p *Params) GetStartOk() (string, 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 (*Params) GetText added in v2.13.0

func (p *Params) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Params) GetTextOk added in v2.13.0

func (p *Params) 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 (*Params) HasCount added in v2.13.0

func (p *Params) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Params) HasSort added in v2.13.0

func (p *Params) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*Params) HasStart added in v2.13.0

func (p *Params) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Params) HasText added in v2.13.0

func (p *Params) HasText() bool

HasText returns a boolean if a field has been set.

func (*Params) SetCount added in v2.13.0

func (p *Params) SetCount(v string)

SetCount allocates a new p.Count and returns the pointer to it.

func (*Params) SetSort added in v2.13.0

func (p *Params) SetSort(v string)

SetSort allocates a new p.Sort and returns the pointer to it.

func (*Params) SetStart added in v2.13.0

func (p *Params) SetStart(v string)

SetStart allocates a new p.Start and returns the pointer to it.

func (*Params) SetText added in v2.13.0

func (p *Params) SetText(v string)

SetText allocates a new p.Text and returns the pointer to it.

type Period added in v2.20.0

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) GetName added in v2.20.0

func (p *Period) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Period) GetNameOk added in v2.20.0

func (p *Period) 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 (*Period) GetSeconds added in v2.20.0

func (p *Period) GetSeconds() json.Number

GetSeconds returns the Seconds field if non-nil, zero value otherwise.

func (*Period) GetSecondsOk added in v2.20.0

func (p *Period) GetSecondsOk() (json.Number, bool)

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) GetText added in v2.20.0

func (p *Period) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Period) GetTextOk added in v2.20.0

func (p *Period) 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 (*Period) GetUnit added in v2.20.0

func (p *Period) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

func (*Period) GetUnitOk added in v2.20.0

func (p *Period) 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 (*Period) GetValue added in v2.20.0

func (p *Period) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*Period) GetValueOk added in v2.20.0

func (p *Period) 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 (*Period) HasName added in v2.20.0

func (p *Period) HasName() bool

HasName returns a boolean if a field has been set.

func (*Period) HasSeconds added in v2.20.0

func (p *Period) HasSeconds() bool

HasSeconds returns a boolean if a field has been set.

func (*Period) HasText added in v2.20.0

func (p *Period) HasText() bool

HasText returns a boolean if a field has been set.

func (*Period) HasUnit added in v2.20.0

func (p *Period) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Period) HasValue added in v2.20.0

func (p *Period) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Period) SetName added in v2.20.0

func (p *Period) SetName(v string)

SetName allocates a new p.Name and returns the pointer to it.

func (*Period) SetSeconds added in v2.20.0

func (p *Period) SetSeconds(v json.Number)

SetSeconds allocates a new p.Seconds and returns the pointer to it.

func (*Period) SetText added in v2.20.0

func (p *Period) SetText(v string)

SetText allocates a new p.Text and returns the pointer to it.

func (*Period) SetUnit added in v2.20.0

func (p *Period) SetUnit(v string)

SetUnit allocates a new p.Unit and returns the pointer to it.

func (*Period) SetValue added in v2.20.0

func (p *Period) SetValue(v string)

SetValue allocates a new p.Value and returns the pointer to it.

type PrecisionT added in v2.19.0

type PrecisionT string

func GetPrecision added in v2.19.0

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 added in v2.19.0

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 added in v2.19.0

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 added in v2.20.0

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 added in v2.20.0

func (q *QueryConfig) GetLogSet() LogSet

GetLogSet returns the LogSet field if non-nil, zero value otherwise.

func (*QueryConfig) GetLogSetOk added in v2.20.0

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 added in v2.20.0

func (q *QueryConfig) GetQueryIsFailed() bool

GetQueryIsFailed returns the QueryIsFailed field if non-nil, zero value otherwise.

func (*QueryConfig) GetQueryIsFailedOk added in v2.20.0

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 added in v2.20.0

func (q *QueryConfig) GetQueryString() string

GetQueryString returns the QueryString field if non-nil, zero value otherwise.

func (*QueryConfig) GetQueryStringOk added in v2.20.0

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 added in v2.20.0

func (q *QueryConfig) GetTimeRange() TimeRange

GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.

func (*QueryConfig) GetTimeRangeOk added in v2.20.0

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 added in v2.20.0

func (q *QueryConfig) HasLogSet() bool

HasLogSet returns a boolean if a field has been set.

func (*QueryConfig) HasQueryIsFailed added in v2.20.0

func (q *QueryConfig) HasQueryIsFailed() bool

HasQueryIsFailed returns a boolean if a field has been set.

func (*QueryConfig) HasQueryString added in v2.20.0

func (q *QueryConfig) HasQueryString() bool

HasQueryString returns a boolean if a field has been set.

func (*QueryConfig) HasTimeRange added in v2.20.0

func (q *QueryConfig) HasTimeRange() bool

HasTimeRange returns a boolean if a field has been set.

func (*QueryConfig) SetLogSet added in v2.20.0

func (q *QueryConfig) SetLogSet(v LogSet)

SetLogSet allocates a new q.LogSet and returns the pointer to it.

func (*QueryConfig) SetQueryIsFailed added in v2.20.0

func (q *QueryConfig) SetQueryIsFailed(v bool)

SetQueryIsFailed allocates a new q.QueryIsFailed and returns the pointer to it.

func (*QueryConfig) SetQueryString added in v2.20.0

func (q *QueryConfig) SetQueryString(v string)

SetQueryString allocates a new q.QueryString and returns the pointer to it.

func (*QueryConfig) SetTimeRange added in v2.20.0

func (q *QueryConfig) SetTimeRange(v TimeRange)

SetTimeRange allocates a new q.TimeRange and returns the pointer to it.

type QueryTableDefinition added in v2.23.0

type QueryTableDefinition struct {
	Type       *string             `json:"type"`
	Requests   []QueryTableRequest `json:"requests"`
	Title      *string             `json:"title,omitempty"`
	TitleSize  *string             `json:"title_size,omitempty"`
	TitleAlign *string             `json:"title_align,omitempty"`
	Time       *WidgetTime         `json:"time,omitempty"`
}

QueryTableDefinition represents the definition for a Table widget

func (*QueryTableDefinition) GetTime added in v2.23.0

func (q *QueryTableDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*QueryTableDefinition) GetTimeOk added in v2.23.0

func (q *QueryTableDefinition) 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 (*QueryTableDefinition) GetTitle added in v2.23.0

func (q *QueryTableDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*QueryTableDefinition) GetTitleAlign added in v2.23.0

func (q *QueryTableDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*QueryTableDefinition) GetTitleAlignOk added in v2.23.0

func (q *QueryTableDefinition) 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 (*QueryTableDefinition) GetTitleOk added in v2.23.0

func (q *QueryTableDefinition) 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 (*QueryTableDefinition) GetTitleSize added in v2.23.0

func (q *QueryTableDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*QueryTableDefinition) GetTitleSizeOk added in v2.23.0

func (q *QueryTableDefinition) 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 (*QueryTableDefinition) GetType added in v2.23.0

func (q *QueryTableDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*QueryTableDefinition) GetTypeOk added in v2.23.0

func (q *QueryTableDefinition) 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 (*QueryTableDefinition) HasTime added in v2.23.0

func (q *QueryTableDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitle added in v2.23.0

func (q *QueryTableDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitleAlign added in v2.23.0

func (q *QueryTableDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitleSize added in v2.23.0

func (q *QueryTableDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*QueryTableDefinition) HasType added in v2.23.0

func (q *QueryTableDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*QueryTableDefinition) SetTime added in v2.23.0

func (q *QueryTableDefinition) SetTime(v WidgetTime)

SetTime allocates a new q.Time and returns the pointer to it.

func (*QueryTableDefinition) SetTitle added in v2.23.0

func (q *QueryTableDefinition) SetTitle(v string)

SetTitle allocates a new q.Title and returns the pointer to it.

func (*QueryTableDefinition) SetTitleAlign added in v2.23.0

func (q *QueryTableDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.

func (*QueryTableDefinition) SetTitleSize added in v2.23.0

func (q *QueryTableDefinition) SetTitleSize(v string)

SetTitleSize allocates a new q.TitleSize and returns the pointer to it.

func (*QueryTableDefinition) SetType added in v2.23.0

func (q *QueryTableDefinition) SetType(v string)

SetType allocates a new q.Type and returns the pointer to it.

type QueryTableRequest added in v2.23.0

type QueryTableRequest struct {
	Alias              *string                   `json:"alias,omitempty"`
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	Aggregator         *string                   `json:"aggregator,omitempty"`
	Limit              *int                      `json:"limit,omitempty"`
	Order              *string                   `json:"order,omitempty"`
	// A QueryTableRequest 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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*QueryTableRequest) GetAggregator added in v2.23.0

func (q *QueryTableRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetAggregatorOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetAlias added in v2.23.0

func (q *QueryTableRequest) GetAlias() string

GetAlias returns the Alias field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetAliasOk added in v2.23.0

func (q *QueryTableRequest) GetAliasOk() (string, bool)

GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryTableRequest) GetApmQuery added in v2.23.0

func (q *QueryTableRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetApmQueryOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetLimit added in v2.23.0

func (q *QueryTableRequest) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetLimitOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetLogQuery added in v2.23.0

func (q *QueryTableRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetLogQueryOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetMetricQuery added in v2.23.0

func (q *QueryTableRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetMetricQueryOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetOrder added in v2.23.0

func (q *QueryTableRequest) GetOrder() string

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetOrderOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetProcessQuery added in v2.23.0

func (q *QueryTableRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetProcessQueryOk added in v2.23.0

func (q *QueryTableRequest) 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 (*QueryTableRequest) GetRumQuery added in v2.28.0

func (q *QueryTableRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetRumQueryOk added in v2.28.0

func (q *QueryTableRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryTableRequest) GetSecurityQuery added in v2.28.0

func (q *QueryTableRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetSecurityQueryOk added in v2.28.0

func (q *QueryTableRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryTableRequest) HasAggregator added in v2.23.0

func (q *QueryTableRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*QueryTableRequest) HasAlias added in v2.23.0

func (q *QueryTableRequest) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*QueryTableRequest) HasApmQuery added in v2.23.0

func (q *QueryTableRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasLimit added in v2.23.0

func (q *QueryTableRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*QueryTableRequest) HasLogQuery added in v2.23.0

func (q *QueryTableRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasMetricQuery added in v2.23.0

func (q *QueryTableRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasOrder added in v2.23.0

func (q *QueryTableRequest) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*QueryTableRequest) HasProcessQuery added in v2.23.0

func (q *QueryTableRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasRumQuery added in v2.28.0

func (q *QueryTableRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasSecurityQuery added in v2.28.0

func (q *QueryTableRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*QueryTableRequest) SetAggregator added in v2.23.0

func (q *QueryTableRequest) SetAggregator(v string)

SetAggregator allocates a new q.Aggregator and returns the pointer to it.

func (*QueryTableRequest) SetAlias added in v2.23.0

func (q *QueryTableRequest) SetAlias(v string)

SetAlias allocates a new q.Alias and returns the pointer to it.

func (*QueryTableRequest) SetApmQuery added in v2.23.0

func (q *QueryTableRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new q.ApmQuery and returns the pointer to it.

func (*QueryTableRequest) SetLimit added in v2.23.0

func (q *QueryTableRequest) SetLimit(v int)

SetLimit allocates a new q.Limit and returns the pointer to it.

func (*QueryTableRequest) SetLogQuery added in v2.23.0

func (q *QueryTableRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new q.LogQuery and returns the pointer to it.

func (*QueryTableRequest) SetMetricQuery added in v2.23.0

func (q *QueryTableRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it.

func (*QueryTableRequest) SetOrder added in v2.23.0

func (q *QueryTableRequest) SetOrder(v string)

SetOrder allocates a new q.Order and returns the pointer to it.

func (*QueryTableRequest) SetProcessQuery added in v2.23.0

func (q *QueryTableRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it.

func (*QueryTableRequest) SetRumQuery added in v2.28.0

func (q *QueryTableRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new q.RumQuery and returns the pointer to it.

func (*QueryTableRequest) SetSecurityQuery added in v2.28.0

func (q *QueryTableRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new q.SecurityQuery and returns the pointer to it.

type QueryValueDefinition added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetAutoscale() bool

GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetAutoscaleOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetCustomUnitOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetPrecision() int

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetPrecisionOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTextAlignOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleAlign added in v2.20.0

func (q *QueryValueDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueDefinition) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*QueryValueDefinition) HasCustomUnit added in v2.20.0

func (q *QueryValueDefinition) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*QueryValueDefinition) HasPrecision added in v2.20.0

func (q *QueryValueDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTextAlign added in v2.20.0

func (q *QueryValueDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTime added in v2.20.0

func (q *QueryValueDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitle added in v2.20.0

func (q *QueryValueDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitleAlign added in v2.20.0

func (q *QueryValueDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitleSize added in v2.20.0

func (q *QueryValueDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*QueryValueDefinition) HasType added in v2.20.0

func (q *QueryValueDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*QueryValueDefinition) SetAutoscale added in v2.20.0

func (q *QueryValueDefinition) SetAutoscale(v bool)

SetAutoscale allocates a new q.Autoscale and returns the pointer to it.

func (*QueryValueDefinition) SetCustomUnit added in v2.20.0

func (q *QueryValueDefinition) SetCustomUnit(v string)

SetCustomUnit allocates a new q.CustomUnit and returns the pointer to it.

func (*QueryValueDefinition) SetPrecision added in v2.20.0

func (q *QueryValueDefinition) SetPrecision(v int)

SetPrecision allocates a new q.Precision and returns the pointer to it.

func (*QueryValueDefinition) SetTextAlign added in v2.20.0

func (q *QueryValueDefinition) SetTextAlign(v string)

SetTextAlign allocates a new q.TextAlign and returns the pointer to it.

func (*QueryValueDefinition) SetTime added in v2.20.0

func (q *QueryValueDefinition) SetTime(v WidgetTime)

SetTime allocates a new q.Time and returns the pointer to it.

func (*QueryValueDefinition) SetTitle added in v2.20.0

func (q *QueryValueDefinition) SetTitle(v string)

SetTitle allocates a new q.Title and returns the pointer to it.

func (*QueryValueDefinition) SetTitleAlign added in v2.20.0

func (q *QueryValueDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.

func (*QueryValueDefinition) SetTitleSize added in v2.20.0

func (q *QueryValueDefinition) SetTitleSize(v string)

SetTitleSize allocates a new q.TitleSize and returns the pointer to it.

func (*QueryValueDefinition) SetType added in v2.20.0

func (q *QueryValueDefinition) SetType(v string)

SetType allocates a new q.Type and returns the pointer to it.

type QueryValueRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*QueryValueRequest) GetAggregator added in v2.20.0

func (q *QueryValueRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetAggregatorOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (q *QueryValueRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetRumQueryOk added in v2.28.0

func (q *QueryValueRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetSecurityQuery added in v2.28.0

func (q *QueryValueRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetSecurityQueryOk added in v2.28.0

func (q *QueryValueRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) HasAggregator added in v2.20.0

func (q *QueryValueRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*QueryValueRequest) HasApmQuery added in v2.20.0

func (q *QueryValueRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasLogQuery added in v2.20.0

func (q *QueryValueRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasMetricQuery added in v2.20.0

func (q *QueryValueRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasProcessQuery added in v2.20.0

func (q *QueryValueRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasRumQuery added in v2.28.0

func (q *QueryValueRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasSecurityQuery added in v2.28.0

func (q *QueryValueRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*QueryValueRequest) SetAggregator added in v2.20.0

func (q *QueryValueRequest) SetAggregator(v string)

SetAggregator allocates a new q.Aggregator and returns the pointer to it.

func (*QueryValueRequest) SetApmQuery added in v2.20.0

func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new q.ApmQuery and returns the pointer to it.

func (*QueryValueRequest) SetLogQuery added in v2.20.0

func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new q.LogQuery and returns the pointer to it.

func (*QueryValueRequest) SetMetricQuery added in v2.20.0

func (q *QueryValueRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it.

func (*QueryValueRequest) SetProcessQuery added in v2.20.0

func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it.

func (*QueryValueRequest) SetRumQuery added in v2.28.0

func (q *QueryValueRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new q.RumQuery and returns the pointer to it.

func (*QueryValueRequest) SetSecurityQuery added in v2.28.0

func (q *QueryValueRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new q.SecurityQuery and returns the pointer to it.

type RateLimit added in v2.26.0

type RateLimit struct {
	Limit     string
	Period    string
	Reset     string
	Remaining string
}

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 Response added in v2.14.0

type Response struct {
	Status string `json:"status"`
	Error  string `json:"error"`
}

Response contains common fields that might be present in any API response.

type Retry added in v2.27.0

type Retry struct {
	Count    *int `json:"count,omitempty"`
	Interval *int `json:"interval,omitempty"`
}

func (*Retry) GetCount added in v2.27.0

func (r *Retry) GetCount() int

GetCount returns the Count field if non-nil, zero value otherwise.

func (*Retry) GetCountOk added in v2.27.0

func (r *Retry) 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 (*Retry) GetInterval added in v2.27.0

func (r *Retry) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*Retry) GetIntervalOk added in v2.27.0

func (r *Retry) 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 (*Retry) HasCount added in v2.27.0

func (r *Retry) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Retry) HasInterval added in v2.27.0

func (r *Retry) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Retry) SetCount added in v2.27.0

func (r *Retry) SetCount(v int)

SetCount allocates a new r.Count and returns the pointer to it.

func (*Retry) SetInterval added in v2.27.0

func (r *Retry) SetInterval(v int)

SetInterval allocates a new r.Interval and returns the pointer to it.

type Rule added in v2.13.0

type Rule struct {
	Threshold *json.Number `json:"threshold,omitempty"`
	Timeframe *string      `json:"timeframe,omitempty"`
	Color     *string      `json:"color,omitempty"`
}

func (*Rule) GetColor added in v2.13.0

func (r *Rule) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*Rule) GetColorOk added in v2.13.0

func (r *Rule) 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 (*Rule) GetThreshold added in v2.13.0

func (r *Rule) GetThreshold() json.Number

GetThreshold returns the Threshold field if non-nil, zero value otherwise.

func (*Rule) GetThresholdOk added in v2.13.0

func (r *Rule) GetThresholdOk() (json.Number, bool)

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 added in v2.13.0

func (r *Rule) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*Rule) GetTimeframeOk added in v2.13.0

func (r *Rule) 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 (*Rule) HasColor added in v2.13.0

func (r *Rule) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*Rule) HasThreshold added in v2.13.0

func (r *Rule) HasThreshold() bool

HasThreshold returns a boolean if a field has been set.

func (*Rule) HasTimeframe added in v2.13.0

func (r *Rule) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*Rule) SetColor added in v2.13.0

func (r *Rule) SetColor(v string)

SetColor allocates a new r.Color and returns the pointer to it.

func (*Rule) SetThreshold added in v2.13.0

func (r *Rule) SetThreshold(v json.Number)

SetThreshold allocates a new r.Threshold and returns the pointer to it.

func (*Rule) SetTimeframe added in v2.13.0

func (r *Rule) SetTimeframe(v string)

SetTimeframe allocates a new r.Timeframe and returns the pointer to it.

type ScatterplotDefinition added in v2.20.0

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 Scatterplot widget

func (*ScatterplotDefinition) GetRequests added in v2.20.0

func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests

GetRequests returns the Requests field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetRequestsOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleAlign added in v2.20.0

func (s *ScatterplotDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetXaxis() WidgetAxis

GetXaxis returns the Xaxis field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetXaxisOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetYaxisOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotDefinition) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTime added in v2.20.0

func (s *ScatterplotDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitle added in v2.20.0

func (s *ScatterplotDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitleAlign added in v2.20.0

func (s *ScatterplotDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitleSize added in v2.20.0

func (s *ScatterplotDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasType added in v2.20.0

func (s *ScatterplotDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasXaxis added in v2.20.0

func (s *ScatterplotDefinition) HasXaxis() bool

HasXaxis returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasYaxis added in v2.20.0

func (s *ScatterplotDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*ScatterplotDefinition) SetRequests added in v2.20.0

func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests)

SetRequests allocates a new s.Requests and returns the pointer to it.

func (*ScatterplotDefinition) SetTime added in v2.20.0

func (s *ScatterplotDefinition) SetTime(v WidgetTime)

SetTime allocates a new s.Time and returns the pointer to it.

func (*ScatterplotDefinition) SetTitle added in v2.20.0

func (s *ScatterplotDefinition) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

func (*ScatterplotDefinition) SetTitleAlign added in v2.20.0

func (s *ScatterplotDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it.

func (*ScatterplotDefinition) SetTitleSize added in v2.20.0

func (s *ScatterplotDefinition) SetTitleSize(v string)

SetTitleSize allocates a new s.TitleSize and returns the pointer to it.

func (*ScatterplotDefinition) SetType added in v2.20.0

func (s *ScatterplotDefinition) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

func (*ScatterplotDefinition) SetXaxis added in v2.20.0

func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis)

SetXaxis allocates a new s.Xaxis and returns the pointer to it.

func (*ScatterplotDefinition) SetYaxis added in v2.20.0

func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis)

SetYaxis allocates a new s.Yaxis and returns the pointer to it.

type ScatterplotRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ScatterplotRequest) GetAggregator added in v2.20.0

func (s *ScatterplotRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetAggregatorOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (s *ScatterplotRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetRumQueryOk added in v2.28.0

func (s *ScatterplotRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetSecurityQuery added in v2.28.0

func (s *ScatterplotRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetSecurityQueryOk added in v2.28.0

func (s *ScatterplotRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) HasAggregator added in v2.20.0

func (s *ScatterplotRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*ScatterplotRequest) HasApmQuery added in v2.20.0

func (s *ScatterplotRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasLogQuery added in v2.20.0

func (s *ScatterplotRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasMetricQuery added in v2.20.0

func (s *ScatterplotRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasProcessQuery added in v2.20.0

func (s *ScatterplotRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasRumQuery added in v2.28.0

func (s *ScatterplotRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasSecurityQuery added in v2.28.0

func (s *ScatterplotRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) SetAggregator added in v2.20.0

func (s *ScatterplotRequest) SetAggregator(v string)

SetAggregator allocates a new s.Aggregator and returns the pointer to it.

func (*ScatterplotRequest) SetApmQuery added in v2.20.0

func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new s.ApmQuery and returns the pointer to it.

func (*ScatterplotRequest) SetLogQuery added in v2.20.0

func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new s.LogQuery and returns the pointer to it.

func (*ScatterplotRequest) SetMetricQuery added in v2.20.0

func (s *ScatterplotRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new s.MetricQuery and returns the pointer to it.

func (*ScatterplotRequest) SetProcessQuery added in v2.20.0

func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new s.ProcessQuery and returns the pointer to it.

func (*ScatterplotRequest) SetRumQuery added in v2.28.0

func (s *ScatterplotRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new s.RumQuery and returns the pointer to it.

func (*ScatterplotRequest) SetSecurityQuery added in v2.28.0

func (s *ScatterplotRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new s.SecurityQuery and returns the pointer to it.

type ScatterplotRequests added in v2.20.0

type ScatterplotRequests struct {
	X *ScatterplotRequest `json:"x"`
	Y *ScatterplotRequest `json:"y"`
}

func (*ScatterplotRequests) GetX added in v2.20.0

GetX returns the X field if non-nil, zero value otherwise.

func (*ScatterplotRequests) GetXOk added in v2.20.0

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 added in v2.20.0

GetY returns the Y field if non-nil, zero value otherwise.

func (*ScatterplotRequests) GetYOk added in v2.20.0

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 added in v2.20.0

func (s *ScatterplotRequests) HasX() bool

HasX returns a boolean if a field has been set.

func (*ScatterplotRequests) HasY added in v2.20.0

func (s *ScatterplotRequests) HasY() bool

HasY returns a boolean if a field has been set.

func (*ScatterplotRequests) SetX added in v2.20.0

SetX allocates a new s.X and returns the pointer to it.

func (*ScatterplotRequests) SetY added in v2.20.0

SetY allocates a new s.Y and returns the pointer to it.

type ScreenShareResponse

type ScreenShareResponse struct {
	BoardId   int    `json:"board_id"`
	PublicUrl string `json:"public_url"`
}

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"`
	Shared            *bool              `json:"shared,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 added in v2.20.0

func (s *Screenboard) GetNewId() string

GetNewId returns the NewId field if non-nil, zero value otherwise.

func (*Screenboard) GetNewIdOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

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 added in v2.13.0

type ScreenboardMonitor struct {
	Id *int `json:"id,omitempty"`
}

func (*ScreenboardMonitor) GetId added in v2.13.0

func (s *ScreenboardMonitor) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*ScreenboardMonitor) GetIdOk added in v2.13.0

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 added in v2.13.0

func (s *ScreenboardMonitor) HasId() bool

HasId returns a boolean if a field has been set.

func (*ScreenboardMonitor) SetId added in v2.13.0

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"`
	QueryIndex  *int        `json:"query_index,omitempty"`
}

Series represents a collection of data points we get when we query for timeseries data

func (*Series) GetAggr

func (s *Series) GetAggr() string

GetAggr returns the Aggr field if non-nil, zero value otherwise.

func (*Series) GetAggrOk

func (s *Series) GetAggrOk() (string, bool)

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

func (s *Series) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

func (*Series) GetDisplayNameOk

func (s *Series) 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 (*Series) GetEnd

func (s *Series) GetEnd() float64

GetEnd returns the End field if non-nil, zero value otherwise.

func (*Series) GetEndOk

func (s *Series) GetEndOk() (float64, bool)

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

func (s *Series) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

func (*Series) GetExpressionOk

func (s *Series) 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 (*Series) GetInterval

func (s *Series) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*Series) GetIntervalOk

func (s *Series) 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 (*Series) GetLength

func (s *Series) GetLength() int

GetLength returns the Length field if non-nil, zero value otherwise.

func (*Series) GetLengthOk

func (s *Series) GetLengthOk() (int, bool)

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) GetMetric

func (s *Series) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*Series) GetMetricOk

func (s *Series) 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 (*Series) GetQueryIndex added in v2.29.0

func (s *Series) GetQueryIndex() int

GetQueryIndex returns the QueryIndex field if non-nil, zero value otherwise.

func (*Series) GetQueryIndexOk added in v2.29.0

func (s *Series) GetQueryIndexOk() (int, bool)

GetQueryIndexOk returns a tuple with the QueryIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Series) GetScope

func (s *Series) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

func (*Series) GetScopeOk

func (s *Series) GetScopeOk() (string, bool)

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) GetStart

func (s *Series) GetStart() float64

GetStart returns the Start field if non-nil, zero value otherwise.

func (*Series) GetStartOk

func (s *Series) GetStartOk() (float64, 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 (*Series) GetUnits added in v2.8.3

func (s *Series) GetUnits() UnitPair

GetUnits returns the Units field if non-nil, zero value otherwise.

func (*Series) GetUnitsOk added in v2.8.3

func (s *Series) GetUnitsOk() (UnitPair, bool)

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) HasAggr

func (s *Series) HasAggr() bool

HasAggr returns a boolean if a field has been set.

func (*Series) HasDisplayName

func (s *Series) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Series) HasEnd

func (s *Series) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*Series) HasExpression

func (s *Series) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*Series) HasInterval

func (s *Series) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Series) HasLength

func (s *Series) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*Series) HasMetric

func (s *Series) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*Series) HasQueryIndex added in v2.29.0

func (s *Series) HasQueryIndex() bool

HasQueryIndex returns a boolean if a field has been set.

func (*Series) HasScope

func (s *Series) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*Series) HasStart

func (s *Series) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Series) HasUnits added in v2.8.3

func (s *Series) HasUnits() bool

HasUnits returns a boolean if a field has been set.

func (*Series) SetAggr

func (s *Series) SetAggr(v string)

SetAggr allocates a new s.Aggr and returns the pointer to it.

func (*Series) SetDisplayName

func (s *Series) SetDisplayName(v string)

SetDisplayName allocates a new s.DisplayName and returns the pointer to it.

func (*Series) SetEnd

func (s *Series) SetEnd(v float64)

SetEnd allocates a new s.End and returns the pointer to it.

func (*Series) SetExpression

func (s *Series) SetExpression(v string)

SetExpression allocates a new s.Expression and returns the pointer to it.

func (*Series) SetInterval

func (s *Series) SetInterval(v int)

SetInterval allocates a new s.Interval and returns the pointer to it.

func (*Series) SetLength

func (s *Series) SetLength(v int)

SetLength allocates a new s.Length and returns the pointer to it.

func (*Series) SetMetric

func (s *Series) SetMetric(v string)

SetMetric allocates a new s.Metric and returns the pointer to it.

func (*Series) SetQueryIndex added in v2.29.0

func (s *Series) SetQueryIndex(v int)

SetQueryIndex allocates a new s.QueryIndex and returns the pointer to it.

func (*Series) SetScope

func (s *Series) SetScope(v string)

SetScope allocates a new s.Scope and returns the pointer to it.

func (*Series) SetStart

func (s *Series) SetStart(v float64)

SetStart allocates a new s.Start and returns the pointer to it.

func (*Series) SetUnits added in v2.8.3

func (s *Series) SetUnits(v UnitPair)

SetUnits allocates a new s.Units and returns the pointer to it.

type ServiceHookSlackRequest added in v2.8.4

type ServiceHookSlackRequest struct {
	Account *string `json:"account"`
	Url     *string `json:"url"`
}

ServiceHookSlackRequest defines the ServiceHooks struct that is part of the IntegrationSlackRequest.

func (*ServiceHookSlackRequest) GetAccount added in v2.8.4

func (s *ServiceHookSlackRequest) GetAccount() string

GetAccount returns the Account field if non-nil, zero value otherwise.

func (*ServiceHookSlackRequest) GetAccountOk added in v2.8.4

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 added in v2.8.4

func (s *ServiceHookSlackRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*ServiceHookSlackRequest) GetUrlOk added in v2.8.4

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 added in v2.8.4

func (s *ServiceHookSlackRequest) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*ServiceHookSlackRequest) HasUrl added in v2.8.4

func (s *ServiceHookSlackRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*ServiceHookSlackRequest) SetAccount added in v2.8.4

func (s *ServiceHookSlackRequest) SetAccount(v string)

SetAccount allocates a new s.Account and returns the pointer to it.

func (*ServiceHookSlackRequest) SetUrl added in v2.8.4

func (s *ServiceHookSlackRequest) SetUrl(v string)

SetUrl allocates a new s.Url and returns the pointer to it.

type ServiceLevelObjective added in v2.22.0

type ServiceLevelObjective struct {
	// Common
	ID          *string                         `json:"id,omitempty"`
	Name        *string                         `json:"name,omitempty"`
	Description *string                         `json:"description,omitempty"`
	Tags        []string                        `json:"tags,omitempty"`
	Thresholds  ServiceLevelObjectiveThresholds `json:"thresholds,omitempty"`
	Type        *string                         `json:"type,omitempty"`
	TypeID      *int                            `json:"type_id,omitempty"` // Read-Only
	// SLI definition
	Query         *ServiceLevelObjectiveMetricQuery `json:"query,omitempty"`
	MonitorIDs    []int                             `json:"monitor_ids,omitempty"`
	MonitorSearch *string                           `json:"monitor_search,omitempty"`
	Groups        []string                          `json:"groups,omitempty"`

	// Informational
	MonitorTags []string `json:"monitor_tags,omitempty"` // Read-Only
	Creator     *Creator `json:"creator,omitempty"`      // Read-Only
	CreatedAt   *int     `json:"created_at,omitempty"`   // Read-Only
	ModifiedAt  *int     `json:"modified_at,omitempty"`  // Read-Only
}

ServiceLevelObjective defines the Service Level Objective entity

func (*ServiceLevelObjective) GetCreatedAt added in v2.22.0

func (s *ServiceLevelObjective) GetCreatedAt() int

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetCreatedAtOk added in v2.22.0

func (s *ServiceLevelObjective) GetCreatedAtOk() (int, 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 (*ServiceLevelObjective) GetCreator added in v2.22.0

func (s *ServiceLevelObjective) GetCreator() Creator

GetCreator returns the Creator field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetCreatorOk added in v2.22.0

func (s *ServiceLevelObjective) GetCreatorOk() (Creator, bool)

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 (*ServiceLevelObjective) GetDescription added in v2.22.0

func (s *ServiceLevelObjective) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetDescriptionOk added in v2.22.0

func (s *ServiceLevelObjective) 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 (*ServiceLevelObjective) GetID added in v2.22.0

func (s *ServiceLevelObjective) GetID() string

GetID returns the ID field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetIDOk added in v2.22.0

func (s *ServiceLevelObjective) 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 (*ServiceLevelObjective) GetModifiedAt added in v2.22.0

func (s *ServiceLevelObjective) GetModifiedAt() int

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetModifiedAtOk added in v2.22.0

func (s *ServiceLevelObjective) GetModifiedAtOk() (int, 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 (*ServiceLevelObjective) GetMonitorSearch added in v2.22.0

func (s *ServiceLevelObjective) GetMonitorSearch() string

GetMonitorSearch returns the MonitorSearch field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetMonitorSearchOk added in v2.22.0

func (s *ServiceLevelObjective) GetMonitorSearchOk() (string, bool)

GetMonitorSearchOk returns a tuple with the MonitorSearch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetName added in v2.22.0

func (s *ServiceLevelObjective) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetNameOk added in v2.22.0

func (s *ServiceLevelObjective) 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 (*ServiceLevelObjective) GetQuery added in v2.22.0

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetQueryOk added in v2.22.0

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 (*ServiceLevelObjective) GetType added in v2.22.0

func (s *ServiceLevelObjective) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetTypeID added in v2.22.0

func (s *ServiceLevelObjective) GetTypeID() int

GetTypeID returns the TypeID field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetTypeIDOk added in v2.22.0

func (s *ServiceLevelObjective) GetTypeIDOk() (int, bool)

GetTypeIDOk returns a tuple with the TypeID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetTypeOk added in v2.22.0

func (s *ServiceLevelObjective) 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 (*ServiceLevelObjective) HasCreatedAt added in v2.22.0

func (s *ServiceLevelObjective) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasCreator added in v2.22.0

func (s *ServiceLevelObjective) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasDescription added in v2.22.0

func (s *ServiceLevelObjective) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasID added in v2.22.0

func (s *ServiceLevelObjective) HasID() bool

HasID returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasModifiedAt added in v2.22.0

func (s *ServiceLevelObjective) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasMonitorSearch added in v2.22.0

func (s *ServiceLevelObjective) HasMonitorSearch() bool

HasMonitorSearch returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasName added in v2.22.0

func (s *ServiceLevelObjective) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasQuery added in v2.22.0

func (s *ServiceLevelObjective) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasType added in v2.22.0

func (s *ServiceLevelObjective) HasType() bool

HasType returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasTypeID added in v2.22.0

func (s *ServiceLevelObjective) HasTypeID() bool

HasTypeID returns a boolean if a field has been set.

func (*ServiceLevelObjective) MarshalJSON added in v2.22.0

func (s *ServiceLevelObjective) MarshalJSON() ([]byte, error)

MarshalJSON implements custom marshaler to ignore some fields

func (*ServiceLevelObjective) SetCreatedAt added in v2.22.0

func (s *ServiceLevelObjective) SetCreatedAt(v int)

SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it.

func (*ServiceLevelObjective) SetCreator added in v2.22.0

func (s *ServiceLevelObjective) SetCreator(v Creator)

SetCreator allocates a new s.Creator and returns the pointer to it.

func (*ServiceLevelObjective) SetDescription added in v2.22.0

func (s *ServiceLevelObjective) SetDescription(v string)

SetDescription allocates a new s.Description and returns the pointer to it.

func (*ServiceLevelObjective) SetID added in v2.22.0

func (s *ServiceLevelObjective) SetID(v string)

SetID allocates a new s.ID and returns the pointer to it.

func (*ServiceLevelObjective) SetModifiedAt added in v2.22.0

func (s *ServiceLevelObjective) SetModifiedAt(v int)

SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it.

func (*ServiceLevelObjective) SetMonitorSearch added in v2.22.0

func (s *ServiceLevelObjective) SetMonitorSearch(v string)

SetMonitorSearch allocates a new s.MonitorSearch and returns the pointer to it.

func (*ServiceLevelObjective) SetName added in v2.22.0

func (s *ServiceLevelObjective) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*ServiceLevelObjective) SetQuery added in v2.22.0

SetQuery allocates a new s.Query and returns the pointer to it.

func (*ServiceLevelObjective) SetType added in v2.22.0

func (s *ServiceLevelObjective) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

func (*ServiceLevelObjective) SetTypeID added in v2.22.0

func (s *ServiceLevelObjective) SetTypeID(v int)

SetTypeID allocates a new s.TypeID and returns the pointer to it.

type ServiceLevelObjectiveDefinition added in v2.25.0

type ServiceLevelObjectiveDefinition struct {
	Type       *string `json:"type"`
	Title      *string `json:"title,omitempty"`
	TitleSize  *string `json:"title_size,omitempty"`
	TitleAlign *string `json:"title_align,omitempty"`

	// SLO specific
	ViewType                *string  `json:"view_type,omitempty"` // currently only "detail" is supported
	ServiceLevelObjectiveID *string  `json:"slo_id,omitempty"`
	ShowErrorBudget         *bool    `json:"show_error_budget,omitempty"`
	ViewMode                *string  `json:"view_mode,omitempty"`    // overall,component,both
	TimeWindows             []string `json:"time_windows,omitempty"` // 7d,30d,90d,week_to_date,previous_week,month_to_date,previous_month
}

ServiceLevelObjectiveDefinition represents the definition for a Service Level Objective widget

func (*ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveID added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveID() string

GetServiceLevelObjectiveID returns the ServiceLevelObjectiveID field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveIDOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveIDOk() (string, bool)

GetServiceLevelObjectiveIDOk returns a tuple with the ServiceLevelObjectiveID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDefinition) GetShowErrorBudget added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetShowErrorBudget() bool

GetShowErrorBudget returns the ShowErrorBudget field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetShowErrorBudgetOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetShowErrorBudgetOk() (bool, bool)

GetShowErrorBudgetOk returns a tuple with the ShowErrorBudget field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDefinition) GetTitle added in v2.25.0

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleAlign added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleAlignOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) 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 (*ServiceLevelObjectiveDefinition) GetTitleOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) 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 (*ServiceLevelObjectiveDefinition) GetTitleSize added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleSizeOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) 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 (*ServiceLevelObjectiveDefinition) GetType added in v2.25.0

GetType returns the Type field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTypeOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) 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 (*ServiceLevelObjectiveDefinition) GetViewMode added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetViewMode() string

GetViewMode returns the ViewMode field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetViewModeOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetViewModeOk() (string, bool)

GetViewModeOk returns a tuple with the ViewMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDefinition) GetViewType added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetViewType() string

GetViewType returns the ViewType field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetViewTypeOk added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) GetViewTypeOk() (string, bool)

GetViewTypeOk returns a tuple with the ViewType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDefinition) HasServiceLevelObjectiveID added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasServiceLevelObjectiveID() bool

HasServiceLevelObjectiveID returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasShowErrorBudget added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasShowErrorBudget() bool

HasShowErrorBudget returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitle added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitleAlign added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitleSize added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasType added in v2.25.0

HasType returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasViewMode added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasViewMode() bool

HasViewMode returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasViewType added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) HasViewType() bool

HasViewType returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) SetServiceLevelObjectiveID added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetServiceLevelObjectiveID(v string)

SetServiceLevelObjectiveID allocates a new s.ServiceLevelObjectiveID and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetShowErrorBudget added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetShowErrorBudget(v bool)

SetShowErrorBudget allocates a new s.ShowErrorBudget and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitle added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitleAlign added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitleSize added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetTitleSize(v string)

SetTitleSize allocates a new s.TitleSize and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetType added in v2.25.0

SetType allocates a new s.Type and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetViewMode added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetViewMode(v string)

SetViewMode allocates a new s.ViewMode and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetViewType added in v2.25.0

func (s *ServiceLevelObjectiveDefinition) SetViewType(v string)

SetViewType allocates a new s.ViewType and returns the pointer to it.

type ServiceLevelObjectiveDeleteTimeFramesError added in v2.22.0

type ServiceLevelObjectiveDeleteTimeFramesError struct {
	ID        *string `json:"id"`
	TimeFrame *string `json:"timeframe"`
	Message   *string `json:"message"`
}

ServiceLevelObjectiveDeleteTimeFramesError is the error specific to deleting individual time frames. It contains more detailed information than the standard error.

func (ServiceLevelObjectiveDeleteTimeFramesError) Error added in v2.22.0

Error computes the human readable error

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetID added in v2.22.0

GetID returns the ID field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetIDOk added in v2.22.0

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 (*ServiceLevelObjectiveDeleteTimeFramesError) GetMessage added in v2.22.0

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetMessageOk added in v2.22.0

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 (*ServiceLevelObjectiveDeleteTimeFramesError) GetTimeFrame added in v2.22.0

GetTimeFrame returns the TimeFrame field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetTimeFrameOk added in v2.22.0

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 (*ServiceLevelObjectiveDeleteTimeFramesError) HasID added in v2.22.0

HasID returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) HasMessage added in v2.22.0

HasMessage returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) HasTimeFrame added in v2.22.0

HasTimeFrame returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetID added in v2.22.0

SetID allocates a new s.ID and returns the pointer to it.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetMessage added in v2.22.0

SetMessage allocates a new s.Message and returns the pointer to it.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetTimeFrame added in v2.22.0

SetTimeFrame allocates a new s.TimeFrame and returns the pointer to it.

type ServiceLevelObjectiveDeleteTimeFramesResponse added in v2.22.0

type ServiceLevelObjectiveDeleteTimeFramesResponse struct {
	DeletedIDs []string `json:"deleted"`
	UpdatedIDs []string `json:"updated"`
}

ServiceLevelObjectiveDeleteTimeFramesResponse is the response unique to the delete individual time-frames request this is read-only

type ServiceLevelObjectiveHistoryMetricSeries added in v2.25.0

type ServiceLevelObjectiveHistoryMetricSeries struct {
	ResultType      string      `json:"res_type"`
	Interval        int         `json:"interval"`
	ResponseVersion json.Number `json:"resp_version"`
	Query           string      `json:"query"`   // a CSV of <numerator>, <denominator> queries
	Message         string      `json:"message"` // optional message if there are specific query issues/warnings

	Numerator   *ServiceLevelObjectiveHistoryMetricSeriesData `json:"numerator"`
	Denominator *ServiceLevelObjectiveHistoryMetricSeriesData `json:"denominator"`
}

ServiceLevelObjectiveHistoryMetricSeries defines the SLO history data response for `metric` type SLOs

func (*ServiceLevelObjectiveHistoryMetricSeries) GetDenominator added in v2.25.0

GetDenominator returns the Denominator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryMetricSeries) GetDenominatorOk added in v2.25.0

GetDenominatorOk returns a tuple with the Denominator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) GetNumerator added in v2.25.0

GetNumerator returns the Numerator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryMetricSeries) GetNumeratorOk added in v2.25.0

GetNumeratorOk returns a tuple with the Numerator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) HasDenominator added in v2.25.0

func (s *ServiceLevelObjectiveHistoryMetricSeries) HasDenominator() bool

HasDenominator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) HasNumerator added in v2.25.0

HasNumerator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) SetDenominator added in v2.25.0

SetDenominator allocates a new s.Denominator and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryMetricSeries) SetNumerator added in v2.25.0

SetNumerator allocates a new s.Numerator and returns the pointer to it.

type ServiceLevelObjectiveHistoryMetricSeriesData added in v2.25.0

type ServiceLevelObjectiveHistoryMetricSeriesData struct {
	Count    int64       `json:"count"`
	Sum      json.Number `json:"sum"`
	MetaData struct {
		QueryIndex int     `json:"query_index"`
		Aggregator string  `json:"aggr"`
		Scope      string  `json:"scope"`
		Metric     string  `json:"metric"`
		Expression string  `json:"expression"`
		Unit       *string `json:"unit"`
	} `json:"metadata"`
	Values []json.Number `json:"values"`
	Times  []int64       `json:"times"`
}

ServiceLevelObjectiveHistoryMetricSeriesData contains the `batch_query` like history data for `metric` based SLOs

func (*ServiceLevelObjectiveHistoryMetricSeriesData) ValuesAsFloats added in v2.25.0

ValuesAsFloats will transform all the values into a slice of float64

func (*ServiceLevelObjectiveHistoryMetricSeriesData) ValuesAsInt64s added in v2.25.0

func (d *ServiceLevelObjectiveHistoryMetricSeriesData) ValuesAsInt64s() ([]int64, error)

ValuesAsInt64s will transform all the values into a slice of int64

type ServiceLevelObjectiveHistoryMonitorSeries added in v2.25.0

type ServiceLevelObjectiveHistoryMonitorSeries struct {
	SliValue      float32                                   `json:"sli_value"`
	SpanPrecision json.Number                               `json:"span_precision"`
	Name          string                                    `json:"name"`
	Precision     map[string]json.Number                    `json:"precision"`
	Preview       bool                                      `json:"preview"`
	History       []ServiceLevelObjectiveHistorySeriesPoint `json:"history"`
}

ServiceLevelObjectiveHistoryMonitorSeries defines the SLO history data response for `monitor` type SLOs

type ServiceLevelObjectiveHistoryOverall added in v2.25.0

type ServiceLevelObjectiveHistoryOverall struct {
	SliValue      float32                `json:"sli_value"`
	SpanPrecision json.Number            `json:"span_precision"`
	Name          string                 `json:"name"`
	Precision     map[string]json.Number `json:"precision"`
	Preview       bool                   `json:"preview"`

	// Monitor extension
	History []ServiceLevelObjectiveHistorySeriesPoint `json:"history"`
}

ServiceLevelObjectiveHistoryOverall defines the overall SLO history data response for `monitor` type SLOs there is an additional `History` property that rolls up the overall state correctly.

type ServiceLevelObjectiveHistoryResponse added in v2.25.0

type ServiceLevelObjectiveHistoryResponse struct {
	Data  *ServiceLevelObjectiveHistoryResponseData `json:"data"`
	Error *string                                   `json:"error"`
}

ServiceLevelObjectiveHistoryResponse is the canonical response for SLO history data.

func (*ServiceLevelObjectiveHistoryResponse) GetData added in v2.25.0

GetData returns the Data field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponse) GetDataOk added in v2.25.0

GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryResponse) GetError added in v2.25.0

GetError returns the Error field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponse) GetErrorOk added in v2.25.0

GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryResponse) HasData added in v2.25.0

HasData returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponse) HasError added in v2.25.0

HasError returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponse) SetData added in v2.25.0

SetData allocates a new s.Data and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryResponse) SetError added in v2.25.0

SetError allocates a new s.Error and returns the pointer to it.

type ServiceLevelObjectiveHistoryResponseData added in v2.25.0

type ServiceLevelObjectiveHistoryResponseData struct {
	Errors     []string                                  `json:"errors"`
	ToTs       int64                                     `json:"to_ts"`
	FromTs     int64                                     `json:"from_ts"`
	Thresholds map[string]ServiceLevelObjectiveThreshold `json:"thresholds"`
	Overall    *ServiceLevelObjectiveHistoryOverall      `json:"overall"`

	// metric based SLO
	Metrics *ServiceLevelObjectiveHistoryMetricSeries `json:"series"`

	// monitor based SLO
	Groups []*ServiceLevelObjectiveHistoryMonitorSeries `json:"groups"`
}

ServiceLevelObjectiveHistoryResponseData contains the SLO history data response. for `monitor` based SLOs use the `Groups` property for historical data along with the `Overall.History` for `metric` based SLOs use the `Metrics` property for historical data. This contains `batch_query` like response

data

func (*ServiceLevelObjectiveHistoryResponseData) GetMetrics added in v2.25.0

GetMetrics returns the Metrics field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponseData) GetMetricsOk added in v2.25.0

GetMetricsOk returns a tuple with the Metrics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryResponseData) GetOverall added in v2.25.0

GetOverall returns the Overall field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponseData) GetOverallOk added in v2.25.0

GetOverallOk returns a tuple with the Overall field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveHistoryResponseData) HasMetrics added in v2.25.0

HasMetrics returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponseData) HasOverall added in v2.25.0

HasOverall returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponseData) SetMetrics added in v2.25.0

SetMetrics allocates a new s.Metrics and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryResponseData) SetOverall added in v2.25.0

SetOverall allocates a new s.Overall and returns the pointer to it.

type ServiceLevelObjectiveHistorySeriesPoint added in v2.25.0

type ServiceLevelObjectiveHistorySeriesPoint [2]json.Number

ServiceLevelObjectiveHistorySeriesPoint is a convenient wrapper for (timestamp, value) history data response.

type ServiceLevelObjectiveMetricQuery added in v2.22.0

type ServiceLevelObjectiveMetricQuery struct {
	Numerator   *string `json:"numerator,omitempty"`
	Denominator *string `json:"denominator,omitempty"`
}

ServiceLevelObjectiveMetricQuery represents a metric-based SLO definition query Numerator is the sum of the `good` events Denominator is the sum of the `total` events

func (*ServiceLevelObjectiveMetricQuery) GetDenominator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) GetDenominator() string

GetDenominator returns the Denominator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveMetricQuery) GetDenominatorOk added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) GetDenominatorOk() (string, bool)

GetDenominatorOk returns a tuple with the Denominator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveMetricQuery) GetNumerator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) GetNumerator() string

GetNumerator returns the Numerator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveMetricQuery) GetNumeratorOk added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) GetNumeratorOk() (string, bool)

GetNumeratorOk returns a tuple with the Numerator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveMetricQuery) HasDenominator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) HasDenominator() bool

HasDenominator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveMetricQuery) HasNumerator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) HasNumerator() bool

HasNumerator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveMetricQuery) SetDenominator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) SetDenominator(v string)

SetDenominator allocates a new s.Denominator and returns the pointer to it.

func (*ServiceLevelObjectiveMetricQuery) SetNumerator added in v2.22.0

func (s *ServiceLevelObjectiveMetricQuery) SetNumerator(v string)

SetNumerator allocates a new s.Numerator and returns the pointer to it.

type ServiceLevelObjectiveThreshold added in v2.22.0

type ServiceLevelObjectiveThreshold struct {
	TimeFrame      *string  `json:"timeframe,omitempty"`
	Target         *float64 `json:"target,omitempty"`
	TargetDisplay  *string  `json:"target_display,omitempty"` // Read-Only for monitor type
	Warning        *float64 `json:"warning,omitempty"`
	WarningDisplay *string  `json:"warning_display,omitempty"` // Read-Only for monitor type
}

ServiceLevelObjectiveThreshold defines an SLO threshold and timeframe For example it's the `<SLO: ex 99.999%> of <SLI> within <TimeFrame: ex 7d>

func (*ServiceLevelObjectiveThreshold) Equal added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) Equal(o interface{}) bool

Equal check if one threshold is equal to another.

func (*ServiceLevelObjectiveThreshold) GetTarget added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetTarget() float64

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTargetDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetTargetDisplay() string

GetTargetDisplay returns the TargetDisplay field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTargetDisplayOk added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetTargetDisplayOk() (string, bool)

GetTargetDisplayOk returns a tuple with the TargetDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveThreshold) GetTargetOk added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetTargetOk() (float64, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveThreshold) GetTimeFrame added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetTimeFrame() string

GetTimeFrame returns the TimeFrame field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTimeFrameOk added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) 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 (*ServiceLevelObjectiveThreshold) GetWarning added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetWarning() float64

GetWarning returns the Warning field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetWarningDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetWarningDisplay() string

GetWarningDisplay returns the WarningDisplay field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetWarningDisplayOk added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetWarningDisplayOk() (string, bool)

GetWarningDisplayOk returns a tuple with the WarningDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveThreshold) GetWarningOk added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) GetWarningOk() (float64, 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 (*ServiceLevelObjectiveThreshold) HasTarget added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasTargetDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) HasTargetDisplay() bool

HasTargetDisplay returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasTimeFrame added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) HasTimeFrame() bool

HasTimeFrame returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasWarning added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasWarningDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) HasWarningDisplay() bool

HasWarningDisplay returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) SetTarget added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) SetTarget(v float64)

SetTarget allocates a new s.Target and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetTargetDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) SetTargetDisplay(v string)

SetTargetDisplay allocates a new s.TargetDisplay and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetTimeFrame added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) SetTimeFrame(v string)

SetTimeFrame allocates a new s.TimeFrame and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetWarning added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) SetWarning(v float64)

SetWarning allocates a new s.Warning and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetWarningDisplay added in v2.22.0

func (s *ServiceLevelObjectiveThreshold) SetWarningDisplay(v string)

SetWarningDisplay allocates a new s.WarningDisplay and returns the pointer to it.

func (ServiceLevelObjectiveThreshold) String added in v2.22.0

String implements Stringer

type ServiceLevelObjectiveThresholds added in v2.22.0

type ServiceLevelObjectiveThresholds []*ServiceLevelObjectiveThreshold

ServiceLevelObjectiveThresholds is a sortable array of ServiceLevelObjectiveThreshold(s)

func (ServiceLevelObjectiveThresholds) Equal added in v2.22.0

func (s ServiceLevelObjectiveThresholds) Equal(o interface{}) bool

Equal check if one set of thresholds is equal to another.

func (ServiceLevelObjectiveThresholds) Len added in v2.22.0

Len implements sort.Interface length

func (ServiceLevelObjectiveThresholds) Less added in v2.22.0

Less implements sort.Interface less comparator

func (ServiceLevelObjectiveThresholds) Swap added in v2.22.0

func (s ServiceLevelObjectiveThresholds) Swap(i, j int)

Swap implements sort.Interface swap method

type ServiceLevelObjectivesCanDeleteResponse added in v2.25.0

type ServiceLevelObjectivesCanDeleteResponse struct {
	Data struct {
		OK []string `json:"ok"`
	} `json:"data"`
	Errors map[string]string `json:"errors"`
}

ServiceLevelObjectivesCanDeleteResponse is the response for a check can delete SLO endpoint.

type ServicePDRequest added in v2.8.3

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 added in v2.8.3

func (s *ServicePDRequest) GetServiceKey() string

GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise.

func (*ServicePDRequest) GetServiceKeyOk added in v2.8.3

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 added in v2.8.3

func (s *ServicePDRequest) GetServiceName() string

GetServiceName returns the ServiceName field if non-nil, zero value otherwise.

func (*ServicePDRequest) GetServiceNameOk added in v2.8.3

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 added in v2.8.3

func (s *ServicePDRequest) HasServiceKey() bool

HasServiceKey returns a boolean if a field has been set.

func (*ServicePDRequest) HasServiceName added in v2.8.3

func (s *ServicePDRequest) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*ServicePDRequest) SetServiceKey added in v2.8.3

func (s *ServicePDRequest) SetServiceKey(v string)

SetServiceKey allocates a new s.ServiceKey and returns the pointer to it.

func (*ServicePDRequest) SetServiceName added in v2.8.3

func (s *ServicePDRequest) SetServiceName(v string)

SetServiceName allocates a new s.ServiceName and returns the pointer to it.

type SourceRemapper added in v2.24.0

type SourceRemapper struct {
	Sources []string `json:"sources"`
}

SourceRemapper represents the object from config API that contains only a list of sources.

type State added in v2.15.0

type State struct {
	Groups map[string]GroupData `json:"groups,omitempty"`
}

type Status

type Status int
const (
	OK Status = iota
	WARNING
	CRITICAL
	UNKNOWN
)

type StringBuilderProcessor added in v2.25.0

type StringBuilderProcessor struct {
	Template         *string `json:"template"`
	Target           *string `json:"target"`
	IsReplaceMissing *bool   `json:"is_replace_missing"`
}

func (*StringBuilderProcessor) GetIsReplaceMissing added in v2.25.0

func (s *StringBuilderProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetIsReplaceMissingOk added in v2.25.0

func (s *StringBuilderProcessor) GetIsReplaceMissingOk() (bool, bool)

GetIsReplaceMissingOk returns a tuple with the IsReplaceMissing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*StringBuilderProcessor) GetTarget added in v2.25.0

func (s *StringBuilderProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetTargetOk added in v2.25.0

func (s *StringBuilderProcessor) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*StringBuilderProcessor) GetTemplate added in v2.25.0

func (s *StringBuilderProcessor) GetTemplate() string

GetTemplate returns the Template field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetTemplateOk added in v2.25.0

func (s *StringBuilderProcessor) GetTemplateOk() (string, bool)

GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*StringBuilderProcessor) HasIsReplaceMissing added in v2.25.0

func (s *StringBuilderProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*StringBuilderProcessor) HasTarget added in v2.25.0

func (s *StringBuilderProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*StringBuilderProcessor) HasTemplate added in v2.25.0

func (s *StringBuilderProcessor) HasTemplate() bool

HasTemplate returns a boolean if a field has been set.

func (*StringBuilderProcessor) SetIsReplaceMissing added in v2.25.0

func (s *StringBuilderProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing allocates a new s.IsReplaceMissing and returns the pointer to it.

func (*StringBuilderProcessor) SetTarget added in v2.25.0

func (s *StringBuilderProcessor) SetTarget(v string)

SetTarget allocates a new s.Target and returns the pointer to it.

func (*StringBuilderProcessor) SetTemplate added in v2.25.0

func (s *StringBuilderProcessor) SetTemplate(v string)

SetTemplate allocates a new s.Template 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 added in v2.16.0

func (s *Style) GetFillMax() json.Number

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*Style) GetFillMaxOk added in v2.16.0

func (s *Style) 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 (*Style) GetFillMin added in v2.16.0

func (s *Style) GetFillMin() json.Number

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*Style) GetFillMinOk added in v2.16.0

func (s *Style) 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 (*Style) GetPalette

func (s *Style) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*Style) GetPaletteFlip

func (s *Style) GetPaletteFlip() bool

GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.

func (*Style) GetPaletteFlipOk

func (s *Style) 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 (*Style) GetPaletteOk

func (s *Style) 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 (*Style) HasFillMax added in v2.16.0

func (s *Style) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*Style) HasFillMin added in v2.16.0

func (s *Style) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*Style) HasPalette

func (s *Style) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*Style) HasPaletteFlip

func (s *Style) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (*Style) SetFillMax added in v2.16.0

func (s *Style) SetFillMax(v json.Number)

SetFillMax allocates a new s.FillMax and returns the pointer to it.

func (*Style) SetFillMin added in v2.16.0

func (s *Style) SetFillMin(v json.Number)

SetFillMin allocates a new s.FillMin and returns the pointer to it.

func (*Style) SetPalette

func (s *Style) SetPalette(v string)

SetPalette allocates a new s.Palette and returns the pointer to it.

func (*Style) SetPaletteFlip

func (s *Style) SetPaletteFlip(v bool)

SetPaletteFlip allocates a new s.PaletteFlip and returns the pointer to it.

type SyntheticsAssertion added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsAssertion) GetOperator() string

GetOperator returns the Operator field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetOperatorOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsAssertion) GetProperty() string

GetProperty returns the Property field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetPropertyOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsAssertion) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsAssertion) HasOperator() bool

HasOperator returns a boolean if a field has been set.

func (*SyntheticsAssertion) HasProperty added in v2.20.0

func (s *SyntheticsAssertion) HasProperty() bool

HasProperty returns a boolean if a field has been set.

func (*SyntheticsAssertion) HasType added in v2.20.0

func (s *SyntheticsAssertion) HasType() bool

HasType returns a boolean if a field has been set.

func (*SyntheticsAssertion) SetOperator added in v2.20.0

func (s *SyntheticsAssertion) SetOperator(v string)

SetOperator allocates a new s.Operator and returns the pointer to it.

func (*SyntheticsAssertion) SetProperty added in v2.20.0

func (s *SyntheticsAssertion) SetProperty(v string)

SetProperty allocates a new s.Property and returns the pointer to it.

func (*SyntheticsAssertion) SetType added in v2.20.0

func (s *SyntheticsAssertion) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

type SyntheticsConfig added in v2.20.0

type SyntheticsConfig struct {
	Request    *SyntheticsRequest    `json:"request,omitempty"`
	Assertions []SyntheticsAssertion `json:"assertions,omitempty"`
	Variables  []interface{}         `json:"variables,omitempty"`
}

func (*SyntheticsConfig) GetRequest added in v2.20.0

func (s *SyntheticsConfig) GetRequest() SyntheticsRequest

GetRequest returns the Request field if non-nil, zero value otherwise.

func (*SyntheticsConfig) GetRequestOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsConfig) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*SyntheticsConfig) SetRequest added in v2.20.0

func (s *SyntheticsConfig) SetRequest(v SyntheticsRequest)

SetRequest allocates a new s.Request and returns the pointer to it.

type SyntheticsDevice added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetHeightOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIdOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetIsLandscape() bool

GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIsLandscapeOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetIsMobile() bool

GetIsMobile returns the IsMobile field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIsMobileOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetNameOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetUserAgent() string

GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetUserAgentOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetWidthOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsDevice) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*SyntheticsDevice) HasId added in v2.20.0

func (s *SyntheticsDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsDevice) HasIsLandscape added in v2.20.0

func (s *SyntheticsDevice) HasIsLandscape() bool

HasIsLandscape returns a boolean if a field has been set.

func (*SyntheticsDevice) HasIsMobile added in v2.20.0

func (s *SyntheticsDevice) HasIsMobile() bool

HasIsMobile returns a boolean if a field has been set.

func (*SyntheticsDevice) HasName added in v2.20.0

func (s *SyntheticsDevice) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsDevice) HasUserAgent added in v2.20.0

func (s *SyntheticsDevice) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (*SyntheticsDevice) HasWidth added in v2.20.0

func (s *SyntheticsDevice) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*SyntheticsDevice) SetHeight added in v2.20.0

func (s *SyntheticsDevice) SetHeight(v int)

SetHeight allocates a new s.Height and returns the pointer to it.

func (*SyntheticsDevice) SetId added in v2.20.0

func (s *SyntheticsDevice) SetId(v string)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsDevice) SetIsLandscape added in v2.20.0

func (s *SyntheticsDevice) SetIsLandscape(v bool)

SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.

func (*SyntheticsDevice) SetIsMobile added in v2.20.0

func (s *SyntheticsDevice) SetIsMobile(v bool)

SetIsMobile allocates a new s.IsMobile and returns the pointer to it.

func (*SyntheticsDevice) SetName added in v2.20.0

func (s *SyntheticsDevice) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsDevice) SetUserAgent added in v2.20.0

func (s *SyntheticsDevice) SetUserAgent(v string)

SetUserAgent allocates a new s.UserAgent and returns the pointer to it.

func (*SyntheticsDevice) SetWidth added in v2.20.0

func (s *SyntheticsDevice) SetWidth(v int)

SetWidth allocates a new s.Width and returns the pointer to it.

type SyntheticsLocation added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetDisplayNameOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetIdOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) GetIsLandscape() bool

GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetIsLandscapeOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetNameOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetRegionOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsLocation) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*SyntheticsLocation) HasId added in v2.20.0

func (s *SyntheticsLocation) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsLocation) HasIsLandscape added in v2.20.0

func (s *SyntheticsLocation) HasIsLandscape() bool

HasIsLandscape returns a boolean if a field has been set.

func (*SyntheticsLocation) HasName added in v2.20.0

func (s *SyntheticsLocation) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsLocation) HasRegion added in v2.20.0

func (s *SyntheticsLocation) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*SyntheticsLocation) SetDisplayName added in v2.20.0

func (s *SyntheticsLocation) SetDisplayName(v string)

SetDisplayName allocates a new s.DisplayName and returns the pointer to it.

func (*SyntheticsLocation) SetId added in v2.20.0

func (s *SyntheticsLocation) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsLocation) SetIsLandscape added in v2.20.0

func (s *SyntheticsLocation) SetIsLandscape(v bool)

SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.

func (*SyntheticsLocation) SetName added in v2.20.0

func (s *SyntheticsLocation) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsLocation) SetRegion added in v2.20.0

func (s *SyntheticsLocation) SetRegion(v string)

SetRegion allocates a new s.Region and returns the pointer to it.

type SyntheticsOptions added in v2.20.0

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"`
	AcceptSelfSigned   *bool           `json:"accept_self_signed,omitempty"`
	AllowInsecure      *bool           `json:"allow_insecure,omitempty"`
	Retry              *Retry          `json:"retry,omitempty"`
	MonitorOptions     *MonitorOptions `json:"monitor_options,omitempty"`
}

func (*SyntheticsOptions) GetAcceptSelfSigned added in v2.22.0

func (s *SyntheticsOptions) GetAcceptSelfSigned() bool

GetAcceptSelfSigned returns the AcceptSelfSigned field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetAcceptSelfSignedOk added in v2.22.0

func (s *SyntheticsOptions) GetAcceptSelfSignedOk() (bool, bool)

GetAcceptSelfSignedOk returns a tuple with the AcceptSelfSigned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetAllowInsecure added in v2.29.0

func (s *SyntheticsOptions) GetAllowInsecure() bool

GetAllowInsecure returns the AllowInsecure field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetAllowInsecureOk added in v2.29.0

func (s *SyntheticsOptions) GetAllowInsecureOk() (bool, bool)

GetAllowInsecureOk returns a tuple with the AllowInsecure field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetFollowRedirects added in v2.20.0

func (s *SyntheticsOptions) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetFollowRedirectsOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsOptions) GetMinFailureDuration() int

GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMinFailureDurationOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsOptions) GetMinLocationFailed() int

GetMinLocationFailed returns the MinLocationFailed field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMinLocationFailedOk added in v2.20.0

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) GetMonitorOptions added in v2.27.0

func (s *SyntheticsOptions) GetMonitorOptions() MonitorOptions

GetMonitorOptions returns the MonitorOptions field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMonitorOptionsOk added in v2.27.0

func (s *SyntheticsOptions) GetMonitorOptionsOk() (MonitorOptions, bool)

GetMonitorOptionsOk returns a tuple with the MonitorOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetRetry added in v2.27.0

func (s *SyntheticsOptions) GetRetry() Retry

GetRetry returns the Retry field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetRetryOk added in v2.27.0

func (s *SyntheticsOptions) GetRetryOk() (Retry, bool)

GetRetryOk returns a tuple with the Retry field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetTickEvery added in v2.20.0

func (s *SyntheticsOptions) GetTickEvery() int

GetTickEvery returns the TickEvery field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetTickEveryOk added in v2.20.0

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) HasAcceptSelfSigned added in v2.22.0

func (s *SyntheticsOptions) HasAcceptSelfSigned() bool

HasAcceptSelfSigned returns a boolean if a field has been set.

func (*SyntheticsOptions) HasAllowInsecure added in v2.29.0

func (s *SyntheticsOptions) HasAllowInsecure() bool

HasAllowInsecure returns a boolean if a field has been set.

func (*SyntheticsOptions) HasFollowRedirects added in v2.20.0

func (s *SyntheticsOptions) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMinFailureDuration added in v2.20.0

func (s *SyntheticsOptions) HasMinFailureDuration() bool

HasMinFailureDuration returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMinLocationFailed added in v2.20.0

func (s *SyntheticsOptions) HasMinLocationFailed() bool

HasMinLocationFailed returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMonitorOptions added in v2.27.0

func (s *SyntheticsOptions) HasMonitorOptions() bool

HasMonitorOptions returns a boolean if a field has been set.

func (*SyntheticsOptions) HasRetry added in v2.27.0

func (s *SyntheticsOptions) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (*SyntheticsOptions) HasTickEvery added in v2.20.0

func (s *SyntheticsOptions) HasTickEvery() bool

HasTickEvery returns a boolean if a field has been set.

func (*SyntheticsOptions) SetAcceptSelfSigned added in v2.22.0

func (s *SyntheticsOptions) SetAcceptSelfSigned(v bool)

SetAcceptSelfSigned allocates a new s.AcceptSelfSigned and returns the pointer to it.

func (*SyntheticsOptions) SetAllowInsecure added in v2.29.0

func (s *SyntheticsOptions) SetAllowInsecure(v bool)

SetAllowInsecure allocates a new s.AllowInsecure and returns the pointer to it.

func (*SyntheticsOptions) SetFollowRedirects added in v2.20.0

func (s *SyntheticsOptions) SetFollowRedirects(v bool)

SetFollowRedirects allocates a new s.FollowRedirects and returns the pointer to it.

func (*SyntheticsOptions) SetMinFailureDuration added in v2.20.0

func (s *SyntheticsOptions) SetMinFailureDuration(v int)

SetMinFailureDuration allocates a new s.MinFailureDuration and returns the pointer to it.

func (*SyntheticsOptions) SetMinLocationFailed added in v2.20.0

func (s *SyntheticsOptions) SetMinLocationFailed(v int)

SetMinLocationFailed allocates a new s.MinLocationFailed and returns the pointer to it.

func (*SyntheticsOptions) SetMonitorOptions added in v2.27.0

func (s *SyntheticsOptions) SetMonitorOptions(v MonitorOptions)

SetMonitorOptions allocates a new s.MonitorOptions and returns the pointer to it.

func (*SyntheticsOptions) SetRetry added in v2.27.0

func (s *SyntheticsOptions) SetRetry(v Retry)

SetRetry allocates a new s.Retry and returns the pointer to it.

func (*SyntheticsOptions) SetTickEvery added in v2.20.0

func (s *SyntheticsOptions) SetTickEvery(v int)

SetTickEvery allocates a new s.TickEvery and returns the pointer to it.

type SyntheticsRequest added in v2.20.0

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"`
	Host    *string           `json:"host,omitempty"`
	Port    *int              `json:"port,omitempty"`
}

func (*SyntheticsRequest) GetBody added in v2.20.0

func (s *SyntheticsRequest) GetBody() string

GetBody returns the Body field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetBodyOk added in v2.20.0

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) GetHost added in v2.22.0

func (s *SyntheticsRequest) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetHostOk added in v2.22.0

func (s *SyntheticsRequest) GetHostOk() (string, bool)

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 (*SyntheticsRequest) GetMethod added in v2.20.0

func (s *SyntheticsRequest) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetMethodOk added in v2.20.0

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) GetPort added in v2.22.0

func (s *SyntheticsRequest) GetPort() int

GetPort returns the Port field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetPortOk added in v2.22.0

func (s *SyntheticsRequest) GetPortOk() (int, bool)

GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsRequest) GetTimeout added in v2.20.0

func (s *SyntheticsRequest) GetTimeout() int

GetTimeout returns the Timeout field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetTimeoutOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetUrlOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsRequest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*SyntheticsRequest) HasHost added in v2.22.0

func (s *SyntheticsRequest) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*SyntheticsRequest) HasMethod added in v2.20.0

func (s *SyntheticsRequest) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*SyntheticsRequest) HasPort added in v2.22.0

func (s *SyntheticsRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SyntheticsRequest) HasTimeout added in v2.20.0

func (s *SyntheticsRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*SyntheticsRequest) HasUrl added in v2.20.0

func (s *SyntheticsRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*SyntheticsRequest) SetBody added in v2.20.0

func (s *SyntheticsRequest) SetBody(v string)

SetBody allocates a new s.Body and returns the pointer to it.

func (*SyntheticsRequest) SetHost added in v2.22.0

func (s *SyntheticsRequest) SetHost(v string)

SetHost allocates a new s.Host and returns the pointer to it.

func (*SyntheticsRequest) SetMethod added in v2.20.0

func (s *SyntheticsRequest) SetMethod(v string)

SetMethod allocates a new s.Method and returns the pointer to it.

func (*SyntheticsRequest) SetPort added in v2.22.0

func (s *SyntheticsRequest) SetPort(v int)

SetPort allocates a new s.Port and returns the pointer to it.

func (*SyntheticsRequest) SetTimeout added in v2.20.0

func (s *SyntheticsRequest) SetTimeout(v int)

SetTimeout allocates a new s.Timeout and returns the pointer to it.

func (*SyntheticsRequest) SetUrl added in v2.20.0

func (s *SyntheticsRequest) SetUrl(v string)

SetUrl allocates a new s.Url and returns the pointer to it.

type SyntheticsTest added in v2.20.0

type SyntheticsTest struct {
	PublicId      *string            `json:"public_id,omitempty"`
	MonitorId     *int               `json:"monitor_id,omitempty"`
	Name          *string            `json:"name,omitempty"`
	Type          *string            `json:"type,omitempty"`
	Subtype       *string            `json:"subtype,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 added in v2.20.0

func (s *SyntheticsTest) GetConfig() SyntheticsConfig

GetConfig returns the Config field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetConfigOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetCreatedAtOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetCreatedByOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetDeletedAt() string

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetDeletedAtOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMessageOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetModifiedAtOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetModifiedByOk added in v2.20.0

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) GetMonitorId added in v2.21.0

func (s *SyntheticsTest) GetMonitorId() int

GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMonitorIdOk added in v2.21.0

func (s *SyntheticsTest) GetMonitorIdOk() (int, bool)

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 (*SyntheticsTest) GetMonitorStatus added in v2.20.0

func (s *SyntheticsTest) GetMonitorStatus() string

GetMonitorStatus returns the MonitorStatus field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMonitorStatusOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetNameOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetOptions() SyntheticsOptions

GetOptions returns the Options field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetOptionsOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetPublicId() string

GetPublicId returns the PublicId field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetPublicIdOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetStatusOk added in v2.20.0

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) GetSubtype added in v2.22.0

func (s *SyntheticsTest) GetSubtype() string

GetSubtype returns the Subtype field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetSubtypeOk added in v2.22.0

func (s *SyntheticsTest) GetSubtypeOk() (string, bool)

GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetType added in v2.20.0

func (s *SyntheticsTest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsTest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*SyntheticsTest) HasCreatedAt added in v2.20.0

func (s *SyntheticsTest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasCreatedBy added in v2.20.0

func (s *SyntheticsTest) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*SyntheticsTest) HasDeletedAt added in v2.20.0

func (s *SyntheticsTest) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasMessage added in v2.20.0

func (s *SyntheticsTest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SyntheticsTest) HasModifiedAt added in v2.20.0

func (s *SyntheticsTest) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasModifiedBy added in v2.20.0

func (s *SyntheticsTest) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*SyntheticsTest) HasMonitorId added in v2.21.0

func (s *SyntheticsTest) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*SyntheticsTest) HasMonitorStatus added in v2.20.0

func (s *SyntheticsTest) HasMonitorStatus() bool

HasMonitorStatus returns a boolean if a field has been set.

func (*SyntheticsTest) HasName added in v2.20.0

func (s *SyntheticsTest) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsTest) HasOptions added in v2.20.0

func (s *SyntheticsTest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SyntheticsTest) HasPublicId added in v2.20.0

func (s *SyntheticsTest) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsTest) HasStatus added in v2.20.0

func (s *SyntheticsTest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsTest) HasSubtype added in v2.22.0

func (s *SyntheticsTest) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*SyntheticsTest) HasType added in v2.20.0

func (s *SyntheticsTest) HasType() bool

HasType returns a boolean if a field has been set.

func (*SyntheticsTest) SetConfig added in v2.20.0

func (s *SyntheticsTest) SetConfig(v SyntheticsConfig)

SetConfig allocates a new s.Config and returns the pointer to it.

func (*SyntheticsTest) SetCreatedAt added in v2.20.0

func (s *SyntheticsTest) SetCreatedAt(v string)

SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it.

func (*SyntheticsTest) SetCreatedBy added in v2.20.0

func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser)

SetCreatedBy allocates a new s.CreatedBy and returns the pointer to it.

func (*SyntheticsTest) SetDeletedAt added in v2.20.0

func (s *SyntheticsTest) SetDeletedAt(v string)

SetDeletedAt allocates a new s.DeletedAt and returns the pointer to it.

func (*SyntheticsTest) SetMessage added in v2.20.0

func (s *SyntheticsTest) SetMessage(v string)

SetMessage allocates a new s.Message and returns the pointer to it.

func (*SyntheticsTest) SetModifiedAt added in v2.20.0

func (s *SyntheticsTest) SetModifiedAt(v string)

SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it.

func (*SyntheticsTest) SetModifiedBy added in v2.20.0

func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser)

SetModifiedBy allocates a new s.ModifiedBy and returns the pointer to it.

func (*SyntheticsTest) SetMonitorId added in v2.21.0

func (s *SyntheticsTest) SetMonitorId(v int)

SetMonitorId allocates a new s.MonitorId and returns the pointer to it.

func (*SyntheticsTest) SetMonitorStatus added in v2.20.0

func (s *SyntheticsTest) SetMonitorStatus(v string)

SetMonitorStatus allocates a new s.MonitorStatus and returns the pointer to it.

func (*SyntheticsTest) SetName added in v2.20.0

func (s *SyntheticsTest) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsTest) SetOptions added in v2.20.0

func (s *SyntheticsTest) SetOptions(v SyntheticsOptions)

SetOptions allocates a new s.Options and returns the pointer to it.

func (*SyntheticsTest) SetPublicId added in v2.20.0

func (s *SyntheticsTest) SetPublicId(v string)

SetPublicId allocates a new s.PublicId and returns the pointer to it.

func (*SyntheticsTest) SetStatus added in v2.20.0

func (s *SyntheticsTest) SetStatus(v string)

SetStatus allocates a new s.Status and returns the pointer to it.

func (*SyntheticsTest) SetSubtype added in v2.22.0

func (s *SyntheticsTest) SetSubtype(v string)

SetSubtype allocates a new s.Subtype and returns the pointer to it.

func (*SyntheticsTest) SetType added in v2.20.0

func (s *SyntheticsTest) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

type SyntheticsUser added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsUser) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetEmailOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsUser) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetHandleOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsUser) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetIdOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsUser) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetNameOk added in v2.20.0

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 added in v2.20.0

func (s *SyntheticsUser) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*SyntheticsUser) HasHandle added in v2.20.0

func (s *SyntheticsUser) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*SyntheticsUser) HasId added in v2.20.0

func (s *SyntheticsUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsUser) HasName added in v2.20.0

func (s *SyntheticsUser) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsUser) SetEmail added in v2.20.0

func (s *SyntheticsUser) SetEmail(v string)

SetEmail allocates a new s.Email and returns the pointer to it.

func (*SyntheticsUser) SetHandle added in v2.20.0

func (s *SyntheticsUser) SetHandle(v string)

SetHandle allocates a new s.Handle and returns the pointer to it.

func (*SyntheticsUser) SetId added in v2.20.0

func (s *SyntheticsUser) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsUser) SetName added in v2.20.0

func (s *SyntheticsUser) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

type TagMap

type TagMap map[string][]string

TagMap is used to receive the format given to us by the API.

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 TemplateVariablePreset added in v2.27.0

type TemplateVariablePreset struct {
	Name              *string                       `json:"name,omitempty"`
	TemplateVariables []TemplateVariablePresetValue `json:"template_variables"`
}

Template variable preset represents a set of template variable values on a dashboard Not available to timeboards and screenboards

func (*TemplateVariablePreset) GetName added in v2.27.0

func (t *TemplateVariablePreset) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*TemplateVariablePreset) GetNameOk added in v2.27.0

func (t *TemplateVariablePreset) 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 (*TemplateVariablePreset) HasName added in v2.27.0

func (t *TemplateVariablePreset) HasName() bool

HasName returns a boolean if a field has been set.

func (*TemplateVariablePreset) SetName added in v2.27.0

func (t *TemplateVariablePreset) SetName(v string)

SetName allocates a new t.Name and returns the pointer to it.

type TemplateVariablePresetValue added in v2.27.0

type TemplateVariablePresetValue struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

Template variable preset value represents the value for "name" template variable to assume

func (*TemplateVariablePresetValue) GetName added in v2.27.0

func (t *TemplateVariablePresetValue) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*TemplateVariablePresetValue) GetNameOk added in v2.27.0

func (t *TemplateVariablePresetValue) 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 (*TemplateVariablePresetValue) GetValue added in v2.27.0

func (t *TemplateVariablePresetValue) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TemplateVariablePresetValue) GetValueOk added in v2.27.0

func (t *TemplateVariablePresetValue) 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 (*TemplateVariablePresetValue) HasName added in v2.27.0

func (t *TemplateVariablePresetValue) HasName() bool

HasName returns a boolean if a field has been set.

func (*TemplateVariablePresetValue) HasValue added in v2.27.0

func (t *TemplateVariablePresetValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TemplateVariablePresetValue) SetName added in v2.27.0

func (t *TemplateVariablePresetValue) SetName(v string)

SetName allocates a new t.Name and returns the pointer to it.

func (*TemplateVariablePresetValue) SetValue added in v2.27.0

func (t *TemplateVariablePresetValue) SetValue(v string)

SetValue allocates a new t.Value 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,omitempty"`
	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 added in v2.20.0

func (t *ThresholdCount) GetPeriod() Period

GetPeriod returns the Period field if non-nil, zero value otherwise.

func (*ThresholdCount) GetPeriodOk added in v2.20.0

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 added in v2.20.0

func (t *ThresholdCount) GetTimeAggregator() string

GetTimeAggregator returns the TimeAggregator field if non-nil, zero value otherwise.

func (*ThresholdCount) GetTimeAggregatorOk added in v2.20.0

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 added in v2.20.0

func (t *ThresholdCount) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*ThresholdCount) HasTimeAggregator added in v2.20.0

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 added in v2.20.0

func (t *ThresholdCount) SetPeriod(v Period)

SetPeriod allocates a new t.Period and returns the pointer to it.

func (*ThresholdCount) SetTimeAggregator added in v2.20.0

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 added in v2.18.0

type ThresholdWindows struct {
	RecoveryWindow *string `json:"recovery_window,omitempty"`
	TriggerWindow  *string `json:"trigger_window,omitempty"`
}

func (*ThresholdWindows) GetRecoveryWindow added in v2.18.0

func (t *ThresholdWindows) GetRecoveryWindow() string

GetRecoveryWindow returns the RecoveryWindow field if non-nil, zero value otherwise.

func (*ThresholdWindows) GetRecoveryWindowOk added in v2.18.0

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 added in v2.18.0

func (t *ThresholdWindows) GetTriggerWindow() string

GetTriggerWindow returns the TriggerWindow field if non-nil, zero value otherwise.

func (*ThresholdWindows) GetTriggerWindowOk added in v2.18.0

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 added in v2.18.0

func (t *ThresholdWindows) HasRecoveryWindow() bool

HasRecoveryWindow returns a boolean if a field has been set.

func (*ThresholdWindows) HasTriggerWindow added in v2.18.0

func (t *ThresholdWindows) HasTriggerWindow() bool

HasTriggerWindow returns a boolean if a field has been set.

func (*ThresholdWindows) SetRecoveryWindow added in v2.18.0

func (t *ThresholdWindows) SetRecoveryWindow(v string)

SetRecoveryWindow allocates a new t.RecoveryWindow and returns the pointer to it.

func (*ThresholdWindows) SetTriggerWindow added in v2.18.0

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 added in v2.13.0

func (t *TileDef) GetAutoscale() bool

GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.

func (*TileDef) GetAutoscaleOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetCustomUnit added in v2.13.0

func (t *TileDef) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.

func (*TileDef) GetCustomUnitOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetNoGroupHosts added in v2.13.0

func (t *TileDef) GetNoGroupHosts() bool

GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.

func (*TileDef) GetNoGroupHostsOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetNoMetricHosts added in v2.13.0

func (t *TileDef) GetNoMetricHosts() bool

GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.

func (*TileDef) GetNoMetricHostsOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetNodeType added in v2.13.0

func (t *TileDef) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*TileDef) GetNodeTypeOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetPrecision added in v2.13.0

func (t *TileDef) GetPrecision() PrecisionT

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*TileDef) GetPrecisionOk added in v2.13.0

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 added in v2.13.0

func (t *TileDef) GetStyle() TileDefStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*TileDef) GetStyleOk added in v2.13.0

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 added in v2.13.0

func (t *TileDef) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*TileDef) GetTextAlignOk added in v2.13.0

func (t *TileDef) 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 (*TileDef) GetViz

func (t *TileDef) GetViz() string

GetViz returns the Viz field if non-nil, zero value otherwise.

func (*TileDef) GetVizOk

func (t *TileDef) 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 (*TileDef) HasAutoscale added in v2.13.0

func (t *TileDef) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*TileDef) HasCustomUnit added in v2.13.0

func (t *TileDef) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*TileDef) HasNoGroupHosts added in v2.13.0

func (t *TileDef) HasNoGroupHosts() bool

HasNoGroupHosts returns a boolean if a field has been set.

func (*TileDef) HasNoMetricHosts added in v2.13.0

func (t *TileDef) HasNoMetricHosts() bool

HasNoMetricHosts returns a boolean if a field has been set.

func (*TileDef) HasNodeType added in v2.13.0

func (t *TileDef) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*TileDef) HasPrecision added in v2.13.0

func (t *TileDef) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*TileDef) HasStyle added in v2.13.0

func (t *TileDef) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*TileDef) HasTextAlign added in v2.13.0

func (t *TileDef) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*TileDef) HasViz

func (t *TileDef) HasViz() bool

HasViz returns a boolean if a field has been set.

func (*TileDef) SetAutoscale added in v2.13.0

func (t *TileDef) SetAutoscale(v bool)

SetAutoscale allocates a new t.Autoscale and returns the pointer to it.

func (*TileDef) SetCustomUnit added in v2.13.0

func (t *TileDef) SetCustomUnit(v string)

SetCustomUnit allocates a new t.CustomUnit and returns the pointer to it.

func (*TileDef) SetNoGroupHosts added in v2.13.0

func (t *TileDef) SetNoGroupHosts(v bool)

SetNoGroupHosts allocates a new t.NoGroupHosts and returns the pointer to it.

func (*TileDef) SetNoMetricHosts added in v2.13.0

func (t *TileDef) SetNoMetricHosts(v bool)

SetNoMetricHosts allocates a new t.NoMetricHosts and returns the pointer to it.

func (*TileDef) SetNodeType added in v2.13.0

func (t *TileDef) SetNodeType(v string)

SetNodeType allocates a new t.NodeType and returns the pointer to it.

func (*TileDef) SetPrecision added in v2.13.0

func (t *TileDef) SetPrecision(v PrecisionT)

SetPrecision allocates a new t.Precision and returns the pointer to it.

func (*TileDef) SetStyle added in v2.13.0

func (t *TileDef) SetStyle(v TileDefStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

func (*TileDef) SetTextAlign added in v2.13.0

func (t *TileDef) SetTextAlign(v string)

SetTextAlign allocates a new t.TextAlign and returns the pointer to it.

func (*TileDef) SetViz

func (t *TileDef) SetViz(v string)

SetViz allocates a new t.Viz and returns the pointer to it.

type TileDefApmOrLogQuery added in v2.22.0

type TileDefApmOrLogQuery struct {
	Index   *string                       `json:"index"`
	Compute *TileDefApmOrLogQueryCompute  `json:"compute"`
	Search  *TileDefApmOrLogQuerySearch   `json:"search,omitempty"`
	GroupBy []TileDefApmOrLogQueryGroupBy `json:"groupBy,omitempty"`
}

TileDefApmOrLogQuery represents an APM or a Log query

func (*TileDefApmOrLogQuery) GetCompute added in v2.22.0

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetComputeOk added in v2.22.0

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 (*TileDefApmOrLogQuery) GetIndex added in v2.22.0

func (t *TileDefApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetIndexOk added in v2.22.0

func (t *TileDefApmOrLogQuery) 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 (*TileDefApmOrLogQuery) GetSearch added in v2.22.0

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetSearchOk added in v2.22.0

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 (*TileDefApmOrLogQuery) HasCompute added in v2.22.0

func (t *TileDefApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) HasIndex added in v2.22.0

func (t *TileDefApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) HasSearch added in v2.22.0

func (t *TileDefApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) SetCompute added in v2.22.0

SetCompute allocates a new t.Compute and returns the pointer to it.

func (*TileDefApmOrLogQuery) SetIndex added in v2.22.0

func (t *TileDefApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new t.Index and returns the pointer to it.

func (*TileDefApmOrLogQuery) SetSearch added in v2.22.0

SetSearch allocates a new t.Search and returns the pointer to it.

type TileDefApmOrLogQueryCompute added in v2.22.0

type TileDefApmOrLogQueryCompute struct {
	Aggregation *string `json:"aggregation"`
	Facet       *string `json:"facet,omitempty"`
	Interval    *string `json:"interval,omitempty"`
}

func (*TileDefApmOrLogQueryCompute) GetAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetAggregationOk added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) 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 (*TileDefApmOrLogQueryCompute) GetFacet added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetFacetOk added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) 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 (*TileDefApmOrLogQueryCompute) GetInterval added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) GetInterval() string

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetIntervalOk added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) GetIntervalOk() (string, 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 (*TileDefApmOrLogQueryCompute) HasAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) HasFacet added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) HasInterval added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) SetAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) SetAggregation(v string)

SetAggregation allocates a new t.Aggregation and returns the pointer to it.

func (*TileDefApmOrLogQueryCompute) SetFacet added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryCompute) SetInterval added in v2.22.0

func (t *TileDefApmOrLogQueryCompute) SetInterval(v string)

SetInterval allocates a new t.Interval and returns the pointer to it.

type TileDefApmOrLogQueryGroupBy added in v2.22.0

type TileDefApmOrLogQueryGroupBy struct {
	Facet *string                          `json:"facet"`
	Limit *int                             `json:"limit,omitempty"`
	Sort  *TileDefApmOrLogQueryGroupBySort `json:"sort,omitempty"`
}

func (*TileDefApmOrLogQueryGroupBy) GetFacet added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetFacetOk added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) 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 (*TileDefApmOrLogQueryGroupBy) GetLimit added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetLimitOk added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) 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 (*TileDefApmOrLogQueryGroupBy) GetSort added in v2.22.0

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetSortOk added in v2.22.0

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 (*TileDefApmOrLogQueryGroupBy) HasFacet added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) HasLimit added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) HasSort added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) SetFacet added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBy) SetLimit added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBy) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBy) SetSort added in v2.22.0

SetSort allocates a new t.Sort and returns the pointer to it.

type TileDefApmOrLogQueryGroupBySort added in v2.22.0

type TileDefApmOrLogQueryGroupBySort struct {
	Aggregation *string `json:"aggregation"`
	Order       *string `json:"order"`
	Facet       *string `json:"facet,omitempty"`
}

func (*TileDefApmOrLogQueryGroupBySort) GetAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetAggregationOk added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) 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 (*TileDefApmOrLogQueryGroupBySort) GetFacet added in v2.22.0

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetFacetOk added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) 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 (*TileDefApmOrLogQueryGroupBySort) GetOrder added in v2.22.0

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetOrderOk added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) 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 (*TileDefApmOrLogQueryGroupBySort) HasAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) HasFacet added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) HasOrder added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) SetAggregation added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) SetAggregation(v string)

SetAggregation allocates a new t.Aggregation and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBySort) SetFacet added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBySort) SetOrder added in v2.22.0

func (t *TileDefApmOrLogQueryGroupBySort) SetOrder(v string)

SetOrder allocates a new t.Order and returns the pointer to it.

type TileDefApmOrLogQuerySearch added in v2.22.0

type TileDefApmOrLogQuerySearch struct {
	Query *string `json:"query"`
}

func (*TileDefApmOrLogQuerySearch) GetQuery added in v2.22.0

func (t *TileDefApmOrLogQuerySearch) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuerySearch) GetQueryOk added in v2.22.0

func (t *TileDefApmOrLogQuerySearch) 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 (*TileDefApmOrLogQuerySearch) HasQuery added in v2.22.0

func (t *TileDefApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*TileDefApmOrLogQuerySearch) SetQuery added in v2.22.0

func (t *TileDefApmOrLogQuerySearch) SetQuery(v string)

SetQuery allocates a new t.Query 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 added in v2.13.0

type TileDefMarker struct {
	Label *string `json:"label,omitempty"`
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*TileDefMarker) GetLabel added in v2.13.0

func (t *TileDefMarker) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*TileDefMarker) GetLabelOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefMarker) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefMarker) GetTypeOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefMarker) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TileDefMarker) GetValueOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*TileDefMarker) HasType added in v2.13.0

func (t *TileDefMarker) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefMarker) HasValue added in v2.13.0

func (t *TileDefMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TileDefMarker) SetLabel added in v2.13.0

func (t *TileDefMarker) SetLabel(v string)

SetLabel allocates a new t.Label and returns the pointer to it.

func (*TileDefMarker) SetType added in v2.13.0

func (t *TileDefMarker) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TileDefMarker) SetValue added in v2.13.0

func (t *TileDefMarker) SetValue(v string)

SetValue allocates a new t.Value and returns the pointer to it.

type TileDefMetadata added in v2.21.0

type TileDefMetadata struct {
	Alias *string `json:"alias,omitempty"`
}

func (*TileDefMetadata) GetAlias added in v2.21.0

func (t *TileDefMetadata) GetAlias() string

GetAlias returns the Alias field if non-nil, zero value otherwise.

func (*TileDefMetadata) GetAliasOk added in v2.21.0

func (t *TileDefMetadata) GetAliasOk() (string, bool)

GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefMetadata) HasAlias added in v2.21.0

func (t *TileDefMetadata) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*TileDefMetadata) SetAlias added in v2.21.0

func (t *TileDefMetadata) SetAlias(v string)

SetAlias allocates a new t.Alias and returns the pointer to it.

type TileDefProcessQuery added in v2.22.0

type TileDefProcessQuery struct {
	Metric   *string  `json:"metric"`
	SearchBy *string  `json:"search_by,omitempty"`
	FilterBy []string `json:"filter_by,omitempty"`
	Limit    *int     `json:"limit,omitempty"`
}

func (*TileDefProcessQuery) GetLimit added in v2.22.0

func (t *TileDefProcessQuery) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetLimitOk added in v2.22.0

func (t *TileDefProcessQuery) 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 (*TileDefProcessQuery) GetMetric added in v2.22.0

func (t *TileDefProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetMetricOk added in v2.22.0

func (t *TileDefProcessQuery) 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 (*TileDefProcessQuery) GetSearchBy added in v2.22.0

func (t *TileDefProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetSearchByOk added in v2.22.0

func (t *TileDefProcessQuery) 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 (*TileDefProcessQuery) HasLimit added in v2.22.0

func (t *TileDefProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefProcessQuery) HasMetric added in v2.22.0

func (t *TileDefProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*TileDefProcessQuery) HasSearchBy added in v2.22.0

func (t *TileDefProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*TileDefProcessQuery) SetLimit added in v2.22.0

func (t *TileDefProcessQuery) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefProcessQuery) SetMetric added in v2.22.0

func (t *TileDefProcessQuery) SetMetric(v string)

SetMetric allocates a new t.Metric and returns the pointer to it.

func (*TileDefProcessQuery) SetSearchBy added in v2.22.0

func (t *TileDefProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new t.SearchBy and returns the pointer to it.

type TileDefRequest added in v2.13.0

type TileDefRequest struct {

	// 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"`

	// A Widget can only have one of these types of query.
	Query        *string               `json:"q,omitempty"`
	LogQuery     *TileDefApmOrLogQuery `json:"log_query,omitempty"`
	ApmQuery     *TileDefApmOrLogQuery `json:"apm_query,omitempty"`
	ProcessQuery *TileDefProcessQuery  `json:"process_query,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"`
	Metadata           map[string]TileDefMetadata `json:"metadata,omitempty"`
}

func (*TileDefRequest) GetAggregator added in v2.13.0

func (t *TileDefRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*TileDefRequest) GetAggregatorOk added in v2.13.0

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) GetApmQuery added in v2.22.0

func (t *TileDefRequest) GetApmQuery() TileDefApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetApmQueryOk added in v2.22.0

func (t *TileDefRequest) GetApmQueryOk() (TileDefApmOrLogQuery, 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 (*TileDefRequest) GetChangeType added in v2.13.0

func (t *TileDefRequest) GetChangeType() string

GetChangeType returns the ChangeType field if non-nil, zero value otherwise.

func (*TileDefRequest) GetChangeTypeOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetCompareTo() string

GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.

func (*TileDefRequest) GetCompareToOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetExtraCol() string

GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.

func (*TileDefRequest) GetExtraColOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetIncreaseGood() bool

GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.

func (*TileDefRequest) GetIncreaseGoodOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefRequest) GetLimitOk added in v2.13.0

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) GetLogQuery added in v2.22.0

func (t *TileDefRequest) GetLogQuery() TileDefApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetLogQueryOk added in v2.22.0

func (t *TileDefRequest) GetLogQueryOk() (TileDefApmOrLogQuery, 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 (*TileDefRequest) GetMetric added in v2.13.0

func (t *TileDefRequest) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*TileDefRequest) GetMetricOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetOrderBy() string

GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.

func (*TileDefRequest) GetOrderByOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetOrderDir() string

GetOrderDir returns the OrderDir field if non-nil, zero value otherwise.

func (*TileDefRequest) GetOrderDirOk added in v2.13.0

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) GetProcessQuery added in v2.22.0

func (t *TileDefRequest) GetProcessQuery() TileDefProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetProcessQueryOk added in v2.22.0

func (t *TileDefRequest) GetProcessQueryOk() (TileDefProcessQuery, 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 (*TileDefRequest) GetQuery added in v2.13.0

func (t *TileDefRequest) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*TileDefRequest) GetQueryOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetQueryType() string

GetQueryType returns the QueryType field if non-nil, zero value otherwise.

func (*TileDefRequest) GetQueryTypeOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetStyle() TileDefRequestStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*TileDefRequest) GetStyleOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetTextFilter() string

GetTextFilter returns the TextFilter field if non-nil, zero value otherwise.

func (*TileDefRequest) GetTextFilterOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefRequest) GetTypeOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*TileDefRequest) HasApmQuery added in v2.22.0

func (t *TileDefRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasChangeType added in v2.13.0

func (t *TileDefRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*TileDefRequest) HasCompareTo added in v2.13.0

func (t *TileDefRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*TileDefRequest) HasExtraCol added in v2.13.0

func (t *TileDefRequest) HasExtraCol() bool

HasExtraCol returns a boolean if a field has been set.

func (*TileDefRequest) HasIncreaseGood added in v2.13.0

func (t *TileDefRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*TileDefRequest) HasLimit added in v2.13.0

func (t *TileDefRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefRequest) HasLogQuery added in v2.22.0

func (t *TileDefRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasMetric added in v2.13.0

func (t *TileDefRequest) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*TileDefRequest) HasOrderBy added in v2.13.0

func (t *TileDefRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*TileDefRequest) HasOrderDir added in v2.13.0

func (t *TileDefRequest) HasOrderDir() bool

HasOrderDir returns a boolean if a field has been set.

func (*TileDefRequest) HasProcessQuery added in v2.22.0

func (t *TileDefRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasQuery added in v2.13.0

func (t *TileDefRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasQueryType added in v2.13.0

func (t *TileDefRequest) HasQueryType() bool

HasQueryType returns a boolean if a field has been set.

func (*TileDefRequest) HasStyle added in v2.13.0

func (t *TileDefRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*TileDefRequest) HasTextFilter added in v2.13.0

func (t *TileDefRequest) HasTextFilter() bool

HasTextFilter returns a boolean if a field has been set.

func (*TileDefRequest) HasType added in v2.13.0

func (t *TileDefRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefRequest) SetAggregator added in v2.13.0

func (t *TileDefRequest) SetAggregator(v string)

SetAggregator allocates a new t.Aggregator and returns the pointer to it.

func (*TileDefRequest) SetApmQuery added in v2.22.0

func (t *TileDefRequest) SetApmQuery(v TileDefApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*TileDefRequest) SetChangeType added in v2.13.0

func (t *TileDefRequest) SetChangeType(v string)

SetChangeType allocates a new t.ChangeType and returns the pointer to it.

func (*TileDefRequest) SetCompareTo added in v2.13.0

func (t *TileDefRequest) SetCompareTo(v string)

SetCompareTo allocates a new t.CompareTo and returns the pointer to it.

func (*TileDefRequest) SetExtraCol added in v2.13.0

func (t *TileDefRequest) SetExtraCol(v string)

SetExtraCol allocates a new t.ExtraCol and returns the pointer to it.

func (*TileDefRequest) SetIncreaseGood added in v2.13.0

func (t *TileDefRequest) SetIncreaseGood(v bool)

SetIncreaseGood allocates a new t.IncreaseGood and returns the pointer to it.

func (*TileDefRequest) SetLimit added in v2.13.0

func (t *TileDefRequest) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefRequest) SetLogQuery added in v2.22.0

func (t *TileDefRequest) SetLogQuery(v TileDefApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*TileDefRequest) SetMetric added in v2.13.0

func (t *TileDefRequest) SetMetric(v string)

SetMetric allocates a new t.Metric and returns the pointer to it.

func (*TileDefRequest) SetOrderBy added in v2.13.0

func (t *TileDefRequest) SetOrderBy(v string)

SetOrderBy allocates a new t.OrderBy and returns the pointer to it.

func (*TileDefRequest) SetOrderDir added in v2.13.0

func (t *TileDefRequest) SetOrderDir(v string)

SetOrderDir allocates a new t.OrderDir and returns the pointer to it.

func (*TileDefRequest) SetProcessQuery added in v2.22.0

func (t *TileDefRequest) SetProcessQuery(v TileDefProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*TileDefRequest) SetQuery added in v2.13.0

func (t *TileDefRequest) SetQuery(v string)

SetQuery allocates a new t.Query and returns the pointer to it.

func (*TileDefRequest) SetQueryType added in v2.13.0

func (t *TileDefRequest) SetQueryType(v string)

SetQueryType allocates a new t.QueryType and returns the pointer to it.

func (*TileDefRequest) SetStyle added in v2.13.0

func (t *TileDefRequest) SetStyle(v TileDefRequestStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

func (*TileDefRequest) SetTextFilter added in v2.13.0

func (t *TileDefRequest) SetTextFilter(v string)

SetTextFilter allocates a new t.TextFilter and returns the pointer to it.

func (*TileDefRequest) SetType added in v2.13.0

func (t *TileDefRequest) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type TileDefRequestStyle added in v2.13.0

type TileDefRequestStyle struct {
	Palette *string `json:"palette,omitempty"`
	Type    *string `json:"type,omitempty"`
	Width   *string `json:"width,omitempty"`
}

func (*TileDefRequestStyle) GetPalette added in v2.13.0

func (t *TileDefRequestStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetPaletteOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequestStyle) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetTypeOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequestStyle) GetWidth() string

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetWidthOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*TileDefRequestStyle) HasType added in v2.13.0

func (t *TileDefRequestStyle) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefRequestStyle) HasWidth added in v2.13.0

func (t *TileDefRequestStyle) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*TileDefRequestStyle) SetPalette added in v2.13.0

func (t *TileDefRequestStyle) SetPalette(v string)

SetPalette allocates a new t.Palette and returns the pointer to it.

func (*TileDefRequestStyle) SetType added in v2.13.0

func (t *TileDefRequestStyle) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TileDefRequestStyle) SetWidth added in v2.13.0

func (t *TileDefRequestStyle) SetWidth(v string)

SetWidth allocates a new t.Width and returns the pointer to it.

type TileDefStyle added in v2.13.0

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 added in v2.13.0

func (t *TileDefStyle) GetFillMax() json.Number

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*TileDefStyle) GetFillMaxOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefStyle) GetFillMin() json.Number

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*TileDefStyle) GetFillMinOk added in v2.13.0

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 added in v2.13.0

func (t *TileDefStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*TileDefStyle) GetPaletteFlip added in v2.13.0

func (t *TileDefStyle) GetPaletteFlip() string

GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.

func (*TileDefStyle) GetPaletteFlipOk added in v2.13.0

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 added in v2.13.0

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 added in v2.13.0

func (t *TileDefStyle) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*TileDefStyle) HasFillMin added in v2.13.0

func (t *TileDefStyle) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*TileDefStyle) HasPalette added in v2.13.0

func (t *TileDefStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*TileDefStyle) HasPaletteFlip added in v2.13.0

func (t *TileDefStyle) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (*TileDefStyle) SetFillMax added in v2.13.0

func (t *TileDefStyle) SetFillMax(v json.Number)

SetFillMax allocates a new t.FillMax and returns the pointer to it.

func (*TileDefStyle) SetFillMin added in v2.13.0

func (t *TileDefStyle) SetFillMin(v json.Number)

SetFillMin allocates a new t.FillMin and returns the pointer to it.

func (*TileDefStyle) SetPalette added in v2.13.0

func (t *TileDefStyle) SetPalette(v string)

SetPalette allocates a new t.Palette and returns the pointer to it.

func (*TileDefStyle) SetPaletteFlip added in v2.13.0

func (t *TileDefStyle) SetPaletteFlip(v string)

SetPaletteFlip allocates a new t.PaletteFlip and returns the pointer to it.

type Time added in v2.13.0

type Time struct {
	LiveSpan *string `json:"live_span,omitempty"`
}

func (*Time) GetLiveSpan added in v2.13.0

func (t *Time) GetLiveSpan() string

GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.

func (*Time) GetLiveSpanOk added in v2.13.0

func (t *Time) 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 (*Time) HasLiveSpan added in v2.13.0

func (t *Time) HasLiveSpan() bool

HasLiveSpan returns a boolean if a field has been set.

func (*Time) SetLiveSpan added in v2.13.0

func (t *Time) SetLiveSpan(v string)

SetLiveSpan allocates a new t.LiveSpan and returns the pointer to it.

type TimeRange added in v2.20.0

type TimeRange struct {
	To   *json.Number `json:"to,omitempty"`
	From *json.Number `json:"from,omitempty"`
	Live *bool        `json:"live,omitempty"`
}

func (*TimeRange) GetFrom added in v2.20.0

func (t *TimeRange) GetFrom() json.Number

GetFrom returns the From field if non-nil, zero value otherwise.

func (*TimeRange) GetFromOk added in v2.20.0

func (t *TimeRange) GetFromOk() (json.Number, bool)

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) GetLive added in v2.20.0

func (t *TimeRange) GetLive() bool

GetLive returns the Live field if non-nil, zero value otherwise.

func (*TimeRange) GetLiveOk added in v2.20.0

func (t *TimeRange) GetLiveOk() (bool, bool)

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) GetTo added in v2.20.0

func (t *TimeRange) GetTo() json.Number

GetTo returns the To field if non-nil, zero value otherwise.

func (*TimeRange) GetToOk added in v2.20.0

func (t *TimeRange) GetToOk() (json.Number, bool)

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.

func (*TimeRange) HasFrom added in v2.20.0

func (t *TimeRange) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*TimeRange) HasLive added in v2.20.0

func (t *TimeRange) HasLive() bool

HasLive returns a boolean if a field has been set.

func (*TimeRange) HasTo added in v2.20.0

func (t *TimeRange) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*TimeRange) SetFrom added in v2.20.0

func (t *TimeRange) SetFrom(v json.Number)

SetFrom allocates a new t.From and returns the pointer to it.

func (*TimeRange) SetLive added in v2.20.0

func (t *TimeRange) SetLive(v bool)

SetLive allocates a new t.Live and returns the pointer to it.

func (*TimeRange) SetTo added in v2.20.0

func (t *TimeRange) SetTo(v json.Number)

SetTo allocates a new t.To and returns the pointer to it.

type TimeseriesDefinition added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetLegendSizeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetShowLegendOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleAlign added in v2.20.0

func (t *TimeseriesDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetYaxisOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasShowLegend added in v2.20.0

func (t *TimeseriesDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTime added in v2.20.0

func (t *TimeseriesDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitle added in v2.20.0

func (t *TimeseriesDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitleAlign added in v2.20.0

func (t *TimeseriesDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitleSize added in v2.20.0

func (t *TimeseriesDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasType added in v2.20.0

func (t *TimeseriesDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasYaxis added in v2.20.0

func (t *TimeseriesDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*TimeseriesDefinition) SetLegendSize added in v2.20.0

func (t *TimeseriesDefinition) SetLegendSize(v string)

SetLegendSize allocates a new t.LegendSize and returns the pointer to it.

func (*TimeseriesDefinition) SetShowLegend added in v2.20.0

func (t *TimeseriesDefinition) SetShowLegend(v bool)

SetShowLegend allocates a new t.ShowLegend and returns the pointer to it.

func (*TimeseriesDefinition) SetTime added in v2.20.0

func (t *TimeseriesDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*TimeseriesDefinition) SetTitle added in v2.20.0

func (t *TimeseriesDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*TimeseriesDefinition) SetTitleAlign added in v2.20.0

func (t *TimeseriesDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*TimeseriesDefinition) SetTitleSize added in v2.20.0

func (t *TimeseriesDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*TimeseriesDefinition) SetType added in v2.20.0

func (t *TimeseriesDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TimeseriesDefinition) SetYaxis added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*TimeseriesRequest) GetApmQuery added in v2.20.0

func (t *TimeseriesRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequest) GetDisplayType() string

GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetDisplayTypeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (t *TimeseriesRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetRumQueryOk added in v2.28.0

func (t *TimeseriesRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetSecurityQuery added in v2.28.0

func (t *TimeseriesRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetSecurityQueryOk added in v2.28.0

func (t *TimeseriesRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetStyle

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 added in v2.20.0

func (t *TimeseriesRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasDisplayType added in v2.20.0

func (t *TimeseriesRequest) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*TimeseriesRequest) HasLogQuery added in v2.20.0

func (t *TimeseriesRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasMetricQuery added in v2.20.0

func (t *TimeseriesRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasProcessQuery added in v2.20.0

func (t *TimeseriesRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasRumQuery added in v2.28.0

func (t *TimeseriesRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasSecurityQuery added in v2.28.0

func (t *TimeseriesRequest) HasSecurityQuery() bool

HasSecurityQuery 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 added in v2.20.0

func (t *TimeseriesRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*TimeseriesRequest) SetDisplayType added in v2.20.0

func (t *TimeseriesRequest) SetDisplayType(v string)

SetDisplayType allocates a new t.DisplayType and returns the pointer to it.

func (*TimeseriesRequest) SetLogQuery added in v2.20.0

func (t *TimeseriesRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*TimeseriesRequest) SetMetricQuery added in v2.20.0

func (t *TimeseriesRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.

func (*TimeseriesRequest) SetProcessQuery added in v2.20.0

func (t *TimeseriesRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*TimeseriesRequest) SetRumQuery added in v2.28.0

func (t *TimeseriesRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new t.RumQuery and returns the pointer to it.

func (*TimeseriesRequest) SetSecurityQuery added in v2.28.0

func (t *TimeseriesRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new t.SecurityQuery and returns the pointer to it.

func (*TimeseriesRequest) SetStyle

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 added in v2.20.0

func (t *TimeseriesRequestStyle) GetLineType() string

GetLineType returns the LineType field if non-nil, zero value otherwise.

func (*TimeseriesRequestStyle) GetLineTypeOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequestStyle) GetLineWidth() string

GetLineWidth returns the LineWidth field if non-nil, zero value otherwise.

func (*TimeseriesRequestStyle) GetLineWidthOk added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequestStyle) HasLineType() bool

HasLineType returns a boolean if a field has been set.

func (*TimeseriesRequestStyle) HasLineWidth added in v2.20.0

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 added in v2.20.0

func (t *TimeseriesRequestStyle) SetLineType(v string)

SetLineType allocates a new t.LineType and returns the pointer to it.

func (*TimeseriesRequestStyle) SetLineWidth added in v2.20.0

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 added in v2.20.0

type ToggleStatus struct {
	NewStatus *string `json:"new_status,omitempty"`
}

func (*ToggleStatus) GetNewStatus added in v2.20.0

func (t *ToggleStatus) GetNewStatus() string

GetNewStatus returns the NewStatus field if non-nil, zero value otherwise.

func (*ToggleStatus) GetNewStatusOk added in v2.20.0

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 added in v2.20.0

func (t *ToggleStatus) HasNewStatus() bool

HasNewStatus returns a boolean if a field has been set.

func (*ToggleStatus) SetNewStatus added in v2.20.0

func (t *ToggleStatus) SetNewStatus(v string)

SetNewStatus allocates a new t.NewStatus and returns the pointer to it.

type ToplistDefinition added in v2.20.0

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 Top list widget

func (*ToplistDefinition) GetTime added in v2.20.0

func (t *ToplistDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleAlign added in v2.20.0

func (t *ToplistDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (t *ToplistDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitle added in v2.20.0

func (t *ToplistDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitleAlign added in v2.20.0

func (t *ToplistDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitleSize added in v2.20.0

func (t *ToplistDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ToplistDefinition) HasType added in v2.20.0

func (t *ToplistDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ToplistDefinition) SetTime added in v2.20.0

func (t *ToplistDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*ToplistDefinition) SetTitle added in v2.20.0

func (t *ToplistDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*ToplistDefinition) SetTitleAlign added in v2.20.0

func (t *ToplistDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*ToplistDefinition) SetTitleSize added in v2.20.0

func (t *ToplistDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*ToplistDefinition) SetType added in v2.20.0

func (t *ToplistDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type ToplistRequest added in v2.20.0

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"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ToplistRequest) GetApmQuery added in v2.20.0

func (t *ToplistRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetApmQueryOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetLogQueryOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetMetricQueryOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetProcessQueryOk added in v2.20.0

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) GetRumQuery added in v2.28.0

func (t *ToplistRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetRumQueryOk added in v2.28.0

func (t *ToplistRequest) GetRumQueryOk() (WidgetApmOrLogQuery, bool)

GetRumQueryOk returns a tuple with the RumQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetSecurityQuery added in v2.28.0

func (t *ToplistRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetSecurityQueryOk added in v2.28.0

func (t *ToplistRequest) GetSecurityQueryOk() (WidgetApmOrLogQuery, bool)

GetSecurityQueryOk returns a tuple with the SecurityQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetStyle added in v2.20.0

func (t *ToplistRequest) GetStyle() WidgetRequestStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*ToplistRequest) GetStyleOk added in v2.20.0

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 added in v2.20.0

func (t *ToplistRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasLogQuery added in v2.20.0

func (t *ToplistRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasMetricQuery added in v2.20.0

func (t *ToplistRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasProcessQuery added in v2.20.0

func (t *ToplistRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasRumQuery added in v2.28.0

func (t *ToplistRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasSecurityQuery added in v2.28.0

func (t *ToplistRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasStyle added in v2.20.0

func (t *ToplistRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*ToplistRequest) SetApmQuery added in v2.20.0

func (t *ToplistRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*ToplistRequest) SetLogQuery added in v2.20.0

func (t *ToplistRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*ToplistRequest) SetMetricQuery added in v2.20.0

func (t *ToplistRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.

func (*ToplistRequest) SetProcessQuery added in v2.20.0

func (t *ToplistRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*ToplistRequest) SetRumQuery added in v2.28.0

func (t *ToplistRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new t.RumQuery and returns the pointer to it.

func (*ToplistRequest) SetSecurityQuery added in v2.28.0

func (t *ToplistRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new t.SecurityQuery and returns the pointer to it.

func (*ToplistRequest) SetStyle added in v2.20.0

func (t *ToplistRequest) SetStyle(v WidgetRequestStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

type TraceServiceDefinition added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetDisplayFormatOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetEnv() string

GetEnv returns the Env field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetEnvOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetService() string

GetService returns the Service field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetServiceOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowBreakdown() bool

GetShowBreakdown returns the ShowBreakdown field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowBreakdownOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowDistribution() bool

GetShowDistribution returns the ShowDistribution field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowDistributionOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowErrors() bool

GetShowErrors returns the ShowErrors field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowErrorsOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowHits() bool

GetShowHits returns the ShowHits field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowHitsOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowLatency() bool

GetShowLatency returns the ShowLatency field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowLatencyOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetShowResourceList() bool

GetShowResourceList returns the ShowResourceList field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowResourceListOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetSizeFormat() string

GetSizeFormat returns the SizeFormat field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetSizeFormatOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetSpanName() string

GetSpanName returns the SpanName field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetSpanNameOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTimeOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleAlign added in v2.20.0

func (t *TraceServiceDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleAlignOk added in v2.20.0

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 added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleSizeOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTypeOk added in v2.20.0

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 added in v2.20.0

func (t *TraceServiceDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasEnv added in v2.20.0

func (t *TraceServiceDefinition) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasService added in v2.20.0

func (t *TraceServiceDefinition) HasService() bool

HasService returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowBreakdown added in v2.20.0

func (t *TraceServiceDefinition) HasShowBreakdown() bool

HasShowBreakdown returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowDistribution added in v2.20.0

func (t *TraceServiceDefinition) HasShowDistribution() bool

HasShowDistribution returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowErrors added in v2.20.0

func (t *TraceServiceDefinition) HasShowErrors() bool

HasShowErrors returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowHits added in v2.20.0

func (t *TraceServiceDefinition) HasShowHits() bool

HasShowHits returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowLatency added in v2.20.0

func (t *TraceServiceDefinition) HasShowLatency() bool

HasShowLatency returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowResourceList added in v2.20.0

func (t *TraceServiceDefinition) HasShowResourceList() bool

HasShowResourceList returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasSizeFormat added in v2.20.0

func (t *TraceServiceDefinition) HasSizeFormat() bool

HasSizeFormat returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasSpanName added in v2.20.0

func (t *TraceServiceDefinition) HasSpanName() bool

HasSpanName returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTime added in v2.20.0

func (t *TraceServiceDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitle added in v2.20.0

func (t *TraceServiceDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitleAlign added in v2.20.0

func (t *TraceServiceDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitleSize added in v2.20.0

func (t *TraceServiceDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasType added in v2.20.0

func (t *TraceServiceDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*TraceServiceDefinition) SetDisplayFormat added in v2.20.0

func (t *TraceServiceDefinition) SetDisplayFormat(v string)

SetDisplayFormat allocates a new t.DisplayFormat and returns the pointer to it.

func (*TraceServiceDefinition) SetEnv added in v2.20.0

func (t *TraceServiceDefinition) SetEnv(v string)

SetEnv allocates a new t.Env and returns the pointer to it.

func (*TraceServiceDefinition) SetService added in v2.20.0

func (t *TraceServiceDefinition) SetService(v string)

SetService allocates a new t.Service and returns the pointer to it.

func (*TraceServiceDefinition) SetShowBreakdown added in v2.20.0

func (t *TraceServiceDefinition) SetShowBreakdown(v bool)

SetShowBreakdown allocates a new t.ShowBreakdown and returns the pointer to it.

func (*TraceServiceDefinition) SetShowDistribution added in v2.20.0

func (t *TraceServiceDefinition) SetShowDistribution(v bool)

SetShowDistribution allocates a new t.ShowDistribution and returns the pointer to it.

func (*TraceServiceDefinition) SetShowErrors added in v2.20.0

func (t *TraceServiceDefinition) SetShowErrors(v bool)

SetShowErrors allocates a new t.ShowErrors and returns the pointer to it.

func (*TraceServiceDefinition) SetShowHits added in v2.20.0

func (t *TraceServiceDefinition) SetShowHits(v bool)

SetShowHits allocates a new t.ShowHits and returns the pointer to it.

func (*TraceServiceDefinition) SetShowLatency added in v2.20.0

func (t *TraceServiceDefinition) SetShowLatency(v bool)

SetShowLatency allocates a new t.ShowLatency and returns the pointer to it.

func (*TraceServiceDefinition) SetShowResourceList added in v2.20.0

func (t *TraceServiceDefinition) SetShowResourceList(v bool)

SetShowResourceList allocates a new t.ShowResourceList and returns the pointer to it.

func (*TraceServiceDefinition) SetSizeFormat added in v2.20.0

func (t *TraceServiceDefinition) SetSizeFormat(v string)

SetSizeFormat allocates a new t.SizeFormat and returns the pointer to it.

func (*TraceServiceDefinition) SetSpanName added in v2.20.0

func (t *TraceServiceDefinition) SetSpanName(v string)

SetSpanName allocates a new t.SpanName and returns the pointer to it.

func (*TraceServiceDefinition) SetTime added in v2.20.0

func (t *TraceServiceDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*TraceServiceDefinition) SetTitle added in v2.20.0

func (t *TraceServiceDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*TraceServiceDefinition) SetTitleAlign added in v2.20.0

func (t *TraceServiceDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*TraceServiceDefinition) SetTitleSize added in v2.20.0

func (t *TraceServiceDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*TraceServiceDefinition) SetType added in v2.20.0

func (t *TraceServiceDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type TriggeringValue added in v2.15.0

type TriggeringValue struct {
	FromTs *int `json:"from_ts,omitempty"`
	ToTs   *int `json:"to_ts,omitempty"`
	Value  *int `json:"value,omitempty"`
}

func (*TriggeringValue) GetFromTs added in v2.15.0

func (t *TriggeringValue) GetFromTs() int

GetFromTs returns the FromTs field if non-nil, zero value otherwise.

func (*TriggeringValue) GetFromTsOk added in v2.15.0

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 added in v2.15.0

func (t *TriggeringValue) GetToTs() int

GetToTs returns the ToTs field if non-nil, zero value otherwise.

func (*TriggeringValue) GetToTsOk added in v2.15.0

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 added in v2.15.0

func (t *TriggeringValue) GetValue() int

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TriggeringValue) GetValueOk added in v2.15.0

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 added in v2.15.0

func (t *TriggeringValue) HasFromTs() bool

HasFromTs returns a boolean if a field has been set.

func (*TriggeringValue) HasToTs added in v2.15.0

func (t *TriggeringValue) HasToTs() bool

HasToTs returns a boolean if a field has been set.

func (*TriggeringValue) HasValue added in v2.15.0

func (t *TriggeringValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TriggeringValue) SetFromTs added in v2.15.0

func (t *TriggeringValue) SetFromTs(v int)

SetFromTs allocates a new t.FromTs and returns the pointer to it.

func (*TriggeringValue) SetToTs added in v2.15.0

func (t *TriggeringValue) SetToTs(v int)

SetToTs allocates a new t.ToTs and returns the pointer to it.

func (*TriggeringValue) SetValue added in v2.15.0

func (t *TriggeringValue) SetValue(v int)

SetValue allocates a new t.Value and returns the pointer to it.

type Unit added in v2.8.3

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 added in v2.8.3

type UnitPair []*Unit

A Series is characterized by 2 units as: x per y One or both could be missing

type UnmuteMonitorScopes added in v2.21.0

type UnmuteMonitorScopes struct {
	Scope     *string `json:"scope,omitempty"`
	AllScopes *bool   `json:"all_scopes,omitempty"`
}

UnmuteMonitorScopes specifies which scope(s) to unmute

func (*UnmuteMonitorScopes) GetAllScopes added in v2.21.0

func (u *UnmuteMonitorScopes) GetAllScopes() bool

GetAllScopes returns the AllScopes field if non-nil, zero value otherwise.

func (*UnmuteMonitorScopes) GetAllScopesOk added in v2.21.0

func (u *UnmuteMonitorScopes) GetAllScopesOk() (bool, bool)

GetAllScopesOk returns a tuple with the AllScopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*UnmuteMonitorScopes) GetScope added in v2.21.0

func (u *UnmuteMonitorScopes) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

func (*UnmuteMonitorScopes) GetScopeOk added in v2.21.0

func (u *UnmuteMonitorScopes) GetScopeOk() (string, bool)

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 (*UnmuteMonitorScopes) HasAllScopes added in v2.21.0

func (u *UnmuteMonitorScopes) HasAllScopes() bool

HasAllScopes returns a boolean if a field has been set.

func (*UnmuteMonitorScopes) HasScope added in v2.21.0

func (u *UnmuteMonitorScopes) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*UnmuteMonitorScopes) SetAllScopes added in v2.21.0

func (u *UnmuteMonitorScopes) SetAllScopes(v bool)

SetAllScopes allocates a new u.AllScopes and returns the pointer to it.

func (*UnmuteMonitorScopes) SetScope added in v2.21.0

func (u *UnmuteMonitorScopes) SetScope(v string)

SetScope allocates a new u.Scope and returns the pointer to it.

type UrlParser added in v2.24.0

type UrlParser struct {
	Sources                []string `json:"sources"`
	Target                 *string  `json:"target"`
	NormalizeEndingSlashes *bool    `json:"normalize_ending_slashes"`
}

UrlParser represents the url parser from config API.

func (*UrlParser) GetNormalizeEndingSlashes added in v2.24.0

func (u *UrlParser) GetNormalizeEndingSlashes() bool

GetNormalizeEndingSlashes returns the NormalizeEndingSlashes field if non-nil, zero value otherwise.

func (*UrlParser) GetNormalizeEndingSlashesOk added in v2.24.0

func (u *UrlParser) GetNormalizeEndingSlashesOk() (bool, bool)

GetNormalizeEndingSlashesOk returns a tuple with the NormalizeEndingSlashes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*UrlParser) GetTarget added in v2.24.0

func (u *UrlParser) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*UrlParser) GetTargetOk added in v2.24.0

func (u *UrlParser) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*UrlParser) HasNormalizeEndingSlashes added in v2.24.0

func (u *UrlParser) HasNormalizeEndingSlashes() bool

HasNormalizeEndingSlashes returns a boolean if a field has been set.

func (*UrlParser) HasTarget added in v2.24.0

func (u *UrlParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*UrlParser) SetNormalizeEndingSlashes added in v2.24.0

func (u *UrlParser) SetNormalizeEndingSlashes(v bool)

SetNormalizeEndingSlashes allocates a new u.NormalizeEndingSlashes and returns the pointer to it.

func (*UrlParser) SetTarget added in v2.24.0

func (u *UrlParser) SetTarget(v string)

SetTarget allocates a new u.Target and returns the pointer to it.

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

func (u *User) GetAccessRole() string

GetAccessRole returns the AccessRole field if non-nil, zero value otherwise.

func (*User) GetAccessRoleOk

func (u *User) GetAccessRoleOk() (string, bool)

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

func (u *User) GetDisabled() bool

GetDisabled returns the Disabled field if non-nil, zero value otherwise.

func (*User) GetDisabledOk

func (u *User) GetDisabledOk() (bool, bool)

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) GetEmail

func (u *User) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

func (*User) GetEmailOk

func (u *User) 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 (*User) GetHandle

func (u *User) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*User) GetHandleOk

func (u *User) 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 (*User) GetIsAdmin

func (u *User) GetIsAdmin() bool

GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.

func (*User) GetIsAdminOk

func (u *User) GetIsAdminOk() (bool, bool)

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) GetName

func (u *User) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*User) GetNameOk

func (u *User) 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 (*User) GetRole

func (u *User) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

func (*User) GetRoleOk

func (u *User) GetRoleOk() (string, bool)

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

func (u *User) GetVerified() bool

GetVerified returns the Verified field if non-nil, zero value otherwise.

func (*User) GetVerifiedOk

func (u *User) GetVerifiedOk() (bool, bool)

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

func (u *User) HasAccessRole() bool

HasAccessRole returns a boolean if a field has been set.

func (*User) HasDisabled

func (u *User) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*User) HasEmail

func (u *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasHandle

func (u *User) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*User) HasIsAdmin

func (u *User) HasIsAdmin() bool

HasIsAdmin returns a boolean if a field has been set.

func (*User) HasName

func (u *User) HasName() bool

HasName returns a boolean if a field has been set.

func (*User) HasRole

func (u *User) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*User) HasVerified

func (u *User) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (*User) SetAccessRole

func (u *User) SetAccessRole(v string)

SetAccessRole allocates a new u.AccessRole and returns the pointer to it.

func (*User) SetDisabled

func (u *User) SetDisabled(v bool)

SetDisabled allocates a new u.Disabled and returns the pointer to it.

func (*User) SetEmail

func (u *User) SetEmail(v string)

SetEmail allocates a new u.Email and returns the pointer to it.

func (*User) SetHandle

func (u *User) SetHandle(v string)

SetHandle allocates a new u.Handle and returns the pointer to it.

func (*User) SetIsAdmin

func (u *User) SetIsAdmin(v bool)

SetIsAdmin allocates a new u.IsAdmin and returns the pointer to it.

func (*User) SetName

func (u *User) SetName(v string)

SetName allocates a new u.Name and returns the pointer to it.

func (*User) SetRole

func (u *User) SetRole(v string)

SetRole allocates a new u.Role and returns the pointer to it.

func (*User) SetVerified

func (u *User) SetVerified(v bool)

SetVerified allocates a new u.Verified and returns the pointer to it.

type UserAgentParser added in v2.24.0

type UserAgentParser struct {
	Sources   []string `json:"sources"`
	Target    *string  `json:"target"`
	IsEncoded *bool    `json:"is_encoded"`
}

UserAgentParser represents the user agent parser from config API.

func (*UserAgentParser) GetIsEncoded added in v2.24.0

func (u *UserAgentParser) GetIsEncoded() bool

GetIsEncoded returns the IsEncoded field if non-nil, zero value otherwise.

func (*UserAgentParser) GetIsEncodedOk added in v2.24.0

func (u *UserAgentParser) GetIsEncodedOk() (bool, bool)

GetIsEncodedOk returns a tuple with the IsEncoded field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*UserAgentParser) GetTarget added in v2.24.0

func (u *UserAgentParser) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*UserAgentParser) GetTargetOk added in v2.24.0

func (u *UserAgentParser) GetTargetOk() (string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*UserAgentParser) HasIsEncoded added in v2.24.0

func (u *UserAgentParser) HasIsEncoded() bool

HasIsEncoded returns a boolean if a field has been set.

func (*UserAgentParser) HasTarget added in v2.24.0

func (u *UserAgentParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*UserAgentParser) SetIsEncoded added in v2.24.0

func (u *UserAgentParser) SetIsEncoded(v bool)

SetIsEncoded allocates a new u.IsEncoded and returns the pointer to it.

func (*UserAgentParser) SetTarget added in v2.24.0

func (u *UserAgentParser) SetTarget(v string)

SetTarget allocates a new u.Target and returns the pointer to it.

type Webhook added in v2.27.0

type Webhook struct {
	Name             *string `json:"name"`
	URL              *string `json:"url"`
	UseCustomPayload *string `json:"use_custom_payload,omitempty"`
	CustomPayload    *string `json:"custom_payload,omitempty"`
	EncodeAsForm     *string `json:"encode_as_form,omitempty"`
	Headers          *string `json:"headers,omitempty"`
}

Webhook defines the structure of the a webhook

func (*Webhook) GetCustomPayload added in v2.27.0

func (w *Webhook) GetCustomPayload() string

GetCustomPayload returns the CustomPayload field if non-nil, zero value otherwise.

func (*Webhook) GetCustomPayloadOk added in v2.27.0

func (w *Webhook) GetCustomPayloadOk() (string, bool)

GetCustomPayloadOk returns a tuple with the CustomPayload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Webhook) GetEncodeAsForm added in v2.27.0

func (w *Webhook) GetEncodeAsForm() string

GetEncodeAsForm returns the EncodeAsForm field if non-nil, zero value otherwise.

func (*Webhook) GetEncodeAsFormOk added in v2.27.0

func (w *Webhook) GetEncodeAsFormOk() (string, bool)

GetEncodeAsFormOk returns a tuple with the EncodeAsForm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Webhook) GetHeaders added in v2.27.0

func (w *Webhook) GetHeaders() string

GetHeaders returns the Headers field if non-nil, zero value otherwise.

func (*Webhook) GetHeadersOk added in v2.27.0

func (w *Webhook) GetHeadersOk() (string, bool)

GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Webhook) GetName added in v2.27.0

func (w *Webhook) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Webhook) GetNameOk added in v2.27.0

func (w *Webhook) 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 (*Webhook) GetURL added in v2.27.0

func (w *Webhook) GetURL() string

GetURL returns the URL field if non-nil, zero value otherwise.

func (*Webhook) GetURLOk added in v2.27.0

func (w *Webhook) 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 (*Webhook) GetUseCustomPayload added in v2.27.0

func (w *Webhook) GetUseCustomPayload() string

GetUseCustomPayload returns the UseCustomPayload field if non-nil, zero value otherwise.

func (*Webhook) GetUseCustomPayloadOk added in v2.27.0

func (w *Webhook) GetUseCustomPayloadOk() (string, bool)

GetUseCustomPayloadOk returns a tuple with the UseCustomPayload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Webhook) HasCustomPayload added in v2.27.0

func (w *Webhook) HasCustomPayload() bool

HasCustomPayload returns a boolean if a field has been set.

func (*Webhook) HasEncodeAsForm added in v2.27.0

func (w *Webhook) HasEncodeAsForm() bool

HasEncodeAsForm returns a boolean if a field has been set.

func (*Webhook) HasHeaders added in v2.27.0

func (w *Webhook) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*Webhook) HasName added in v2.27.0

func (w *Webhook) HasName() bool

HasName returns a boolean if a field has been set.

func (*Webhook) HasURL added in v2.27.0

func (w *Webhook) HasURL() bool

HasURL returns a boolean if a field has been set.

func (*Webhook) HasUseCustomPayload added in v2.27.0

func (w *Webhook) HasUseCustomPayload() bool

HasUseCustomPayload returns a boolean if a field has been set.

func (*Webhook) SetCustomPayload added in v2.27.0

func (w *Webhook) SetCustomPayload(v string)

SetCustomPayload allocates a new w.CustomPayload and returns the pointer to it.

func (*Webhook) SetEncodeAsForm added in v2.27.0

func (w *Webhook) SetEncodeAsForm(v string)

SetEncodeAsForm allocates a new w.EncodeAsForm and returns the pointer to it.

func (*Webhook) SetHeaders added in v2.27.0

func (w *Webhook) SetHeaders(v string)

SetHeaders allocates a new w.Headers and returns the pointer to it.

func (*Webhook) SetName added in v2.27.0

func (w *Webhook) SetName(v string)

SetName allocates a new w.Name and returns the pointer to it.

func (*Webhook) SetURL added in v2.27.0

func (w *Webhook) SetURL(v string)

SetURL allocates a new w.URL and returns the pointer to it.

func (*Webhook) SetUseCustomPayload added in v2.27.0

func (w *Webhook) SetUseCustomPayload(v string)

SetUseCustomPayload allocates a new w.UseCustomPayload 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, QueryTable, 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, QueryTable, 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, QueryTable, 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 EventTimeline, EventStream
	TagsExecution *string `json:"tags_execution,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"`
	ShowLastTriggered      *bool   `json:"show_last_triggered,omitempty"`
	SummaryType            *string `json:"summary_type,omitempty"`

	// For LogStream widget
	Columns           *string          `json:"columns,omitempty"`
	Logset            *string          `json:"logset,omitempty"`
	Indexes           []*string        `json:"indexes,omitempty"`
	ShowDateColumn    *bool            `json:"show_date_column,omitempty"`
	ShowMessageColumn *bool            `json:"show_message_column,omitempty"`
	MessageDisplay    *string          `json:"message_display,omitempty"`
	Sort              *WidgetFieldSort `json:"sort,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 added in v2.13.0

func (w *Widget) GetAlertID() int

GetAlertID returns the AlertID field if non-nil, zero value otherwise.

func (*Widget) GetAlertIDOk added in v2.13.0

func (w *Widget) GetAlertIDOk() (int, 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 (*Widget) GetAutoRefresh added in v2.13.0

func (w *Widget) GetAutoRefresh() bool

GetAutoRefresh returns the AutoRefresh field if non-nil, zero value otherwise.

func (*Widget) GetAutoRefreshOk added in v2.13.0

func (w *Widget) GetAutoRefreshOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetBgcolor() string

GetBgcolor returns the Bgcolor field if non-nil, zero value otherwise.

func (*Widget) GetBgcolorOk added in v2.13.0

func (w *Widget) GetBgcolorOk() (string, bool)

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) GetCheck added in v2.13.0

func (w *Widget) GetCheck() string

GetCheck returns the Check field if non-nil, zero value otherwise.

func (*Widget) GetCheckOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetColor added in v2.13.0

func (w *Widget) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*Widget) GetColorOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetColorPreference added in v2.13.0

func (w *Widget) GetColorPreference() string

GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.

func (*Widget) GetColorPreferenceOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetColumns added in v2.13.0

func (w *Widget) GetColumns() string

GetColumns returns the Columns field if non-nil, zero value otherwise.

func (*Widget) GetColumnsOk added in v2.13.0

func (w *Widget) GetColumnsOk() (string, bool)

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 added in v2.13.0

func (w *Widget) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*Widget) GetDisplayFormatOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetEnv added in v2.13.0

func (w *Widget) GetEnv() string

GetEnv returns the Env field if non-nil, zero value otherwise.

func (*Widget) GetEnvOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetEventSize added in v2.13.0

func (w *Widget) GetEventSize() string

GetEventSize returns the EventSize field if non-nil, zero value otherwise.

func (*Widget) GetEventSizeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetFontSize added in v2.13.0

func (w *Widget) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*Widget) GetFontSizeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetGroup added in v2.13.0

func (w *Widget) GetGroup() string

GetGroup returns the Group field if non-nil, zero value otherwise.

func (*Widget) GetGroupOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetGrouping added in v2.13.0

func (w *Widget) GetGrouping() string

GetGrouping returns the Grouping field if non-nil, zero value otherwise.

func (*Widget) GetGroupingOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetHTML added in v2.13.0

func (w *Widget) GetHTML() string

GetHTML returns the HTML field if non-nil, zero value otherwise.

func (*Widget) GetHTMLOk added in v2.13.0

func (w *Widget) GetHTMLOk() (string, bool)

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) GetHeight added in v2.13.0

func (w *Widget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*Widget) GetHeightOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetHideZeroCounts added in v2.13.0

func (w *Widget) GetHideZeroCounts() bool

GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.

func (*Widget) GetHideZeroCountsOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetLayoutVersion added in v2.13.0

func (w *Widget) GetLayoutVersion() string

GetLayoutVersion returns the LayoutVersion field if non-nil, zero value otherwise.

func (*Widget) GetLayoutVersionOk added in v2.13.0

func (w *Widget) GetLayoutVersionOk() (string, bool)

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) GetLegend added in v2.13.0

func (w *Widget) GetLegend() bool

GetLegend returns the Legend field if non-nil, zero value otherwise.

func (*Widget) GetLegendOk added in v2.13.0

func (w *Widget) GetLegendOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetLegendSize() string

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*Widget) GetLegendSizeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetLogset added in v2.13.0

func (w *Widget) GetLogset() string

GetLogset returns the Logset field if non-nil, zero value otherwise.

func (*Widget) GetLogsetOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetManageStatusShowTitle added in v2.13.0

func (w *Widget) GetManageStatusShowTitle() bool

GetManageStatusShowTitle returns the ManageStatusShowTitle field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusShowTitleOk added in v2.13.0

func (w *Widget) GetManageStatusShowTitleOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetManageStatusTitleAlign() string

GetManageStatusTitleAlign returns the ManageStatusTitleAlign field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleAlignOk added in v2.13.0

func (w *Widget) GetManageStatusTitleAlignOk() (string, bool)

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 added in v2.13.0

func (w *Widget) GetManageStatusTitleSize() string

GetManageStatusTitleSize returns the ManageStatusTitleSize field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleSizeOk added in v2.13.0

func (w *Widget) GetManageStatusTitleSizeOk() (string, bool)

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 added in v2.13.0

func (w *Widget) GetManageStatusTitleText() string

GetManageStatusTitleText returns the ManageStatusTitleText field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleTextOk added in v2.13.0

func (w *Widget) GetManageStatusTitleTextOk() (string, bool)

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) GetMargin added in v2.13.0

func (w *Widget) GetMargin() string

GetMargin returns the Margin field if non-nil, zero value otherwise.

func (*Widget) GetMarginOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetMessageDisplay added in v2.29.0

func (w *Widget) GetMessageDisplay() string

GetMessageDisplay returns the MessageDisplay field if non-nil, zero value otherwise.

func (*Widget) GetMessageDisplayOk added in v2.29.0

func (w *Widget) GetMessageDisplayOk() (string, bool)

GetMessageDisplayOk returns a tuple with the MessageDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetMonitor added in v2.13.0

func (w *Widget) GetMonitor() ScreenboardMonitor

GetMonitor returns the Monitor field if non-nil, zero value otherwise.

func (*Widget) GetMonitorOk added in v2.13.0

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 added in v2.13.0

func (w *Widget) GetMustShowBreakdown() bool

GetMustShowBreakdown returns the MustShowBreakdown field if non-nil, zero value otherwise.

func (*Widget) GetMustShowBreakdownOk added in v2.13.0

func (w *Widget) GetMustShowBreakdownOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetMustShowDistribution() bool

GetMustShowDistribution returns the MustShowDistribution field if non-nil, zero value otherwise.

func (*Widget) GetMustShowDistributionOk added in v2.13.0

func (w *Widget) GetMustShowDistributionOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetMustShowErrors() bool

GetMustShowErrors returns the MustShowErrors field if non-nil, zero value otherwise.

func (*Widget) GetMustShowErrorsOk added in v2.13.0

func (w *Widget) GetMustShowErrorsOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetMustShowHits() bool

GetMustShowHits returns the MustShowHits field if non-nil, zero value otherwise.

func (*Widget) GetMustShowHitsOk added in v2.13.0

func (w *Widget) GetMustShowHitsOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetMustShowLatency() bool

GetMustShowLatency returns the MustShowLatency field if non-nil, zero value otherwise.

func (*Widget) GetMustShowLatencyOk added in v2.13.0

func (w *Widget) GetMustShowLatencyOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetMustShowResourceList() bool

GetMustShowResourceList returns the MustShowResourceList field if non-nil, zero value otherwise.

func (*Widget) GetMustShowResourceListOk added in v2.13.0

func (w *Widget) GetMustShowResourceListOk() (bool, bool)

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) GetParams added in v2.13.0

func (w *Widget) GetParams() Params

GetParams returns the Params field if non-nil, zero value otherwise.

func (*Widget) GetParamsOk added in v2.13.0

func (w *Widget) GetParamsOk() (Params, bool)

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 added in v2.13.0

func (w *Widget) GetPrecision() PrecisionT

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*Widget) GetPrecisionOk added in v2.13.0

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) GetQuery added in v2.13.0

func (w *Widget) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*Widget) GetQueryOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetServiceName added in v2.13.0

func (w *Widget) GetServiceName() string

GetServiceName returns the ServiceName field if non-nil, zero value otherwise.

func (*Widget) GetServiceNameOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetServiceService added in v2.13.0

func (w *Widget) GetServiceService() string

GetServiceService returns the ServiceService field if non-nil, zero value otherwise.

func (*Widget) GetServiceServiceOk added in v2.13.0

func (w *Widget) GetServiceServiceOk() (string, bool)

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) GetShowDateColumn added in v2.29.0

func (w *Widget) GetShowDateColumn() bool

GetShowDateColumn returns the ShowDateColumn field if non-nil, zero value otherwise.

func (*Widget) GetShowDateColumnOk added in v2.29.0

func (w *Widget) GetShowDateColumnOk() (bool, bool)

GetShowDateColumnOk returns a tuple with the ShowDateColumn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetShowLastTriggered added in v2.26.0

func (w *Widget) GetShowLastTriggered() bool

GetShowLastTriggered returns the ShowLastTriggered field if non-nil, zero value otherwise.

func (*Widget) GetShowLastTriggeredOk added in v2.26.0

func (w *Widget) GetShowLastTriggeredOk() (bool, bool)

GetShowLastTriggeredOk returns a tuple with the ShowLastTriggered field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetShowMessageColumn added in v2.29.0

func (w *Widget) GetShowMessageColumn() bool

GetShowMessageColumn returns the ShowMessageColumn field if non-nil, zero value otherwise.

func (*Widget) GetShowMessageColumnOk added in v2.29.0

func (w *Widget) GetShowMessageColumnOk() (bool, bool)

GetShowMessageColumnOk returns a tuple with the ShowMessageColumn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetSizeVersion added in v2.13.0

func (w *Widget) GetSizeVersion() string

GetSizeVersion returns the SizeVersion field if non-nil, zero value otherwise.

func (*Widget) GetSizeVersionOk added in v2.13.0

func (w *Widget) GetSizeVersionOk() (string, bool)

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) GetSizing added in v2.13.0

func (w *Widget) GetSizing() string

GetSizing returns the Sizing field if non-nil, zero value otherwise.

func (*Widget) GetSizingOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetSort added in v2.29.0

func (w *Widget) GetSort() WidgetFieldSort

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*Widget) GetSortOk added in v2.29.0

func (w *Widget) GetSortOk() (WidgetFieldSort, 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 (*Widget) GetSummaryType added in v2.26.0

func (w *Widget) GetSummaryType() string

GetSummaryType returns the SummaryType field if non-nil, zero value otherwise.

func (*Widget) GetSummaryTypeOk added in v2.26.0

func (w *Widget) GetSummaryTypeOk() (string, bool)

GetSummaryTypeOk returns a tuple with the SummaryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetTagsExecution added in v2.28.0

func (w *Widget) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*Widget) GetTagsExecutionOk added in v2.28.0

func (w *Widget) GetTagsExecutionOk() (string, bool)

GetTagsExecutionOk returns a tuple with the TagsExecution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetText added in v2.13.0

func (w *Widget) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Widget) GetTextAlign added in v2.13.0

func (w *Widget) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*Widget) GetTextAlignOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetTextOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetTextSize added in v2.13.0

func (w *Widget) GetTextSize() string

GetTextSize returns the TextSize field if non-nil, zero value otherwise.

func (*Widget) GetTextSizeOk added in v2.13.0

func (w *Widget) GetTextSizeOk() (string, bool)

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) GetTick added in v2.13.0

func (w *Widget) GetTick() bool

GetTick returns the Tick field if non-nil, zero value otherwise.

func (*Widget) GetTickEdge added in v2.13.0

func (w *Widget) GetTickEdge() string

GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.

func (*Widget) GetTickEdgeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetTickOk added in v2.13.0

func (w *Widget) GetTickOk() (bool, bool)

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 added in v2.13.0

func (w *Widget) GetTickPos() string

GetTickPos returns the TickPos field if non-nil, zero value otherwise.

func (*Widget) GetTickPosOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetTileDef added in v2.13.0

func (w *Widget) GetTileDef() TileDef

GetTileDef returns the TileDef field if non-nil, zero value otherwise.

func (*Widget) GetTileDefOk added in v2.13.0

func (w *Widget) GetTileDefOk() (TileDef, bool)

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) GetTime added in v2.13.0

func (w *Widget) GetTime() Time

GetTime returns the Time field if non-nil, zero value otherwise.

func (*Widget) GetTimeOk added in v2.13.0

func (w *Widget) GetTimeOk() (Time, 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 (*Widget) GetTitle added in v2.13.0

func (w *Widget) GetTitle() bool

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Widget) GetTitleAlign added in v2.13.0

func (w *Widget) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*Widget) GetTitleAlignOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetTitleOk added in v2.13.0

func (w *Widget) GetTitleOk() (bool, 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 (*Widget) GetTitleSize added in v2.13.0

func (w *Widget) GetTitleSize() int

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*Widget) GetTitleSizeOk added in v2.13.0

func (w *Widget) GetTitleSizeOk() (int, 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 (*Widget) GetTitleText added in v2.13.0

func (w *Widget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*Widget) GetTitleTextOk added in v2.13.0

func (w *Widget) GetTitleTextOk() (string, bool)

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) GetType added in v2.13.0

func (w *Widget) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*Widget) GetTypeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetURL added in v2.13.0

func (w *Widget) GetURL() string

GetURL returns the URL field if non-nil, zero value otherwise.

func (*Widget) GetURLOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetUnit added in v2.13.0

func (w *Widget) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

func (*Widget) GetUnitOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetVizType added in v2.13.0

func (w *Widget) GetVizType() string

GetVizType returns the VizType field if non-nil, zero value otherwise.

func (*Widget) GetVizTypeOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetWidth added in v2.13.0

func (w *Widget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*Widget) GetWidthOk added in v2.13.0

func (w *Widget) 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 (*Widget) GetX added in v2.13.0

func (w *Widget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*Widget) GetXOk added in v2.13.0

func (w *Widget) GetXOk() (int, 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 (*Widget) GetY added in v2.13.0

func (w *Widget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*Widget) GetYOk added in v2.13.0

func (w *Widget) GetYOk() (int, 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 (*Widget) HasAlertID added in v2.13.0

func (w *Widget) HasAlertID() bool

HasAlertID returns a boolean if a field has been set.

func (*Widget) HasAutoRefresh added in v2.13.0

func (w *Widget) HasAutoRefresh() bool

HasAutoRefresh returns a boolean if a field has been set.

func (*Widget) HasBgcolor added in v2.13.0

func (w *Widget) HasBgcolor() bool

HasBgcolor returns a boolean if a field has been set.

func (*Widget) HasCheck added in v2.13.0

func (w *Widget) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*Widget) HasColor added in v2.13.0

func (w *Widget) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*Widget) HasColorPreference added in v2.13.0

func (w *Widget) HasColorPreference() bool

HasColorPreference returns a boolean if a field has been set.

func (*Widget) HasColumns added in v2.13.0

func (w *Widget) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*Widget) HasDisplayFormat added in v2.13.0

func (w *Widget) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*Widget) HasEnv added in v2.13.0

func (w *Widget) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*Widget) HasEventSize added in v2.13.0

func (w *Widget) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*Widget) HasFontSize added in v2.13.0

func (w *Widget) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*Widget) HasGroup added in v2.13.0

func (w *Widget) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*Widget) HasGrouping added in v2.13.0

func (w *Widget) HasGrouping() bool

HasGrouping returns a boolean if a field has been set.

func (*Widget) HasHTML added in v2.13.0

func (w *Widget) HasHTML() bool

HasHTML returns a boolean if a field has been set.

func (*Widget) HasHeight added in v2.13.0

func (w *Widget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*Widget) HasHideZeroCounts added in v2.13.0

func (w *Widget) HasHideZeroCounts() bool

HasHideZeroCounts returns a boolean if a field has been set.

func (*Widget) HasLayoutVersion added in v2.13.0

func (w *Widget) HasLayoutVersion() bool

HasLayoutVersion returns a boolean if a field has been set.

func (*Widget) HasLegend added in v2.13.0

func (w *Widget) HasLegend() bool

HasLegend returns a boolean if a field has been set.

func (*Widget) HasLegendSize added in v2.13.0

func (w *Widget) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*Widget) HasLogset added in v2.13.0

func (w *Widget) HasLogset() bool

HasLogset returns a boolean if a field has been set.

func (*Widget) HasManageStatusShowTitle added in v2.13.0

func (w *Widget) HasManageStatusShowTitle() bool

HasManageStatusShowTitle returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleAlign added in v2.13.0

func (w *Widget) HasManageStatusTitleAlign() bool

HasManageStatusTitleAlign returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleSize added in v2.13.0

func (w *Widget) HasManageStatusTitleSize() bool

HasManageStatusTitleSize returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleText added in v2.13.0

func (w *Widget) HasManageStatusTitleText() bool

HasManageStatusTitleText returns a boolean if a field has been set.

func (*Widget) HasMargin added in v2.13.0

func (w *Widget) HasMargin() bool

HasMargin returns a boolean if a field has been set.

func (*Widget) HasMessageDisplay added in v2.29.0

func (w *Widget) HasMessageDisplay() bool

HasMessageDisplay returns a boolean if a field has been set.

func (*Widget) HasMonitor added in v2.13.0

func (w *Widget) HasMonitor() bool

HasMonitor returns a boolean if a field has been set.

func (*Widget) HasMustShowBreakdown added in v2.13.0

func (w *Widget) HasMustShowBreakdown() bool

HasMustShowBreakdown returns a boolean if a field has been set.

func (*Widget) HasMustShowDistribution added in v2.13.0

func (w *Widget) HasMustShowDistribution() bool

HasMustShowDistribution returns a boolean if a field has been set.

func (*Widget) HasMustShowErrors added in v2.13.0

func (w *Widget) HasMustShowErrors() bool

HasMustShowErrors returns a boolean if a field has been set.

func (*Widget) HasMustShowHits added in v2.13.0

func (w *Widget) HasMustShowHits() bool

HasMustShowHits returns a boolean if a field has been set.

func (*Widget) HasMustShowLatency added in v2.13.0

func (w *Widget) HasMustShowLatency() bool

HasMustShowLatency returns a boolean if a field has been set.

func (*Widget) HasMustShowResourceList added in v2.13.0

func (w *Widget) HasMustShowResourceList() bool

HasMustShowResourceList returns a boolean if a field has been set.

func (*Widget) HasParams added in v2.13.0

func (w *Widget) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*Widget) HasPrecision added in v2.13.0

func (w *Widget) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*Widget) HasQuery added in v2.13.0

func (w *Widget) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Widget) HasServiceName added in v2.13.0

func (w *Widget) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*Widget) HasServiceService added in v2.13.0

func (w *Widget) HasServiceService() bool

HasServiceService returns a boolean if a field has been set.

func (*Widget) HasShowDateColumn added in v2.29.0

func (w *Widget) HasShowDateColumn() bool

HasShowDateColumn returns a boolean if a field has been set.

func (*Widget) HasShowLastTriggered added in v2.26.0

func (w *Widget) HasShowLastTriggered() bool

HasShowLastTriggered returns a boolean if a field has been set.

func (*Widget) HasShowMessageColumn added in v2.29.0

func (w *Widget) HasShowMessageColumn() bool

HasShowMessageColumn returns a boolean if a field has been set.

func (*Widget) HasSizeVersion added in v2.13.0

func (w *Widget) HasSizeVersion() bool

HasSizeVersion returns a boolean if a field has been set.

func (*Widget) HasSizing added in v2.13.0

func (w *Widget) HasSizing() bool

HasSizing returns a boolean if a field has been set.

func (*Widget) HasSort added in v2.29.0

func (w *Widget) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*Widget) HasSummaryType added in v2.26.0

func (w *Widget) HasSummaryType() bool

HasSummaryType returns a boolean if a field has been set.

func (*Widget) HasTagsExecution added in v2.28.0

func (w *Widget) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*Widget) HasText added in v2.13.0

func (w *Widget) HasText() bool

HasText returns a boolean if a field has been set.

func (*Widget) HasTextAlign added in v2.13.0

func (w *Widget) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*Widget) HasTextSize added in v2.13.0

func (w *Widget) HasTextSize() bool

HasTextSize returns a boolean if a field has been set.

func (*Widget) HasTick added in v2.13.0

func (w *Widget) HasTick() bool

HasTick returns a boolean if a field has been set.

func (*Widget) HasTickEdge added in v2.13.0

func (w *Widget) HasTickEdge() bool

HasTickEdge returns a boolean if a field has been set.

func (*Widget) HasTickPos added in v2.13.0

func (w *Widget) HasTickPos() bool

HasTickPos returns a boolean if a field has been set.

func (*Widget) HasTileDef added in v2.13.0

func (w *Widget) HasTileDef() bool

HasTileDef returns a boolean if a field has been set.

func (*Widget) HasTime added in v2.13.0

func (w *Widget) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*Widget) HasTitle added in v2.13.0

func (w *Widget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Widget) HasTitleAlign added in v2.13.0

func (w *Widget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*Widget) HasTitleSize added in v2.13.0

func (w *Widget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*Widget) HasTitleText added in v2.13.0

func (w *Widget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*Widget) HasType added in v2.13.0

func (w *Widget) HasType() bool

HasType returns a boolean if a field has been set.

func (*Widget) HasURL added in v2.13.0

func (w *Widget) HasURL() bool

HasURL returns a boolean if a field has been set.

func (*Widget) HasUnit added in v2.13.0

func (w *Widget) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Widget) HasVizType added in v2.13.0

func (w *Widget) HasVizType() bool

HasVizType returns a boolean if a field has been set.

func (*Widget) HasWidth added in v2.13.0

func (w *Widget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*Widget) HasX added in v2.13.0

func (w *Widget) HasX() bool

HasX returns a boolean if a field has been set.

func (*Widget) HasY added in v2.13.0

func (w *Widget) HasY() bool

HasY returns a boolean if a field has been set.

func (*Widget) SetAlertID added in v2.13.0

func (w *Widget) SetAlertID(v int)

SetAlertID allocates a new w.AlertID and returns the pointer to it.

func (*Widget) SetAutoRefresh added in v2.13.0

func (w *Widget) SetAutoRefresh(v bool)

SetAutoRefresh allocates a new w.AutoRefresh and returns the pointer to it.

func (*Widget) SetBgcolor added in v2.13.0

func (w *Widget) SetBgcolor(v string)

SetBgcolor allocates a new w.Bgcolor and returns the pointer to it.

func (*Widget) SetCheck added in v2.13.0

func (w *Widget) SetCheck(v string)

SetCheck allocates a new w.Check and returns the pointer to it.

func (*Widget) SetColor added in v2.13.0

func (w *Widget) SetColor(v string)

SetColor allocates a new w.Color and returns the pointer to it.

func (*Widget) SetColorPreference added in v2.13.0

func (w *Widget) SetColorPreference(v string)

SetColorPreference allocates a new w.ColorPreference and returns the pointer to it.

func (*Widget) SetColumns added in v2.13.0

func (w *Widget) SetColumns(v string)

SetColumns allocates a new w.Columns and returns the pointer to it.

func (*Widget) SetDisplayFormat added in v2.13.0

func (w *Widget) SetDisplayFormat(v string)

SetDisplayFormat allocates a new w.DisplayFormat and returns the pointer to it.

func (*Widget) SetEnv added in v2.13.0

func (w *Widget) SetEnv(v string)

SetEnv allocates a new w.Env and returns the pointer to it.

func (*Widget) SetEventSize added in v2.13.0

func (w *Widget) SetEventSize(v string)

SetEventSize allocates a new w.EventSize and returns the pointer to it.

func (*Widget) SetFontSize added in v2.13.0

func (w *Widget) SetFontSize(v string)

SetFontSize allocates a new w.FontSize and returns the pointer to it.

func (*Widget) SetGroup added in v2.13.0

func (w *Widget) SetGroup(v string)

SetGroup allocates a new w.Group and returns the pointer to it.

func (*Widget) SetGrouping added in v2.13.0

func (w *Widget) SetGrouping(v string)

SetGrouping allocates a new w.Grouping and returns the pointer to it.

func (*Widget) SetHTML added in v2.13.0

func (w *Widget) SetHTML(v string)

SetHTML allocates a new w.HTML and returns the pointer to it.

func (*Widget) SetHeight added in v2.13.0

func (w *Widget) SetHeight(v int)

SetHeight allocates a new w.Height and returns the pointer to it.

func (*Widget) SetHideZeroCounts added in v2.13.0

func (w *Widget) SetHideZeroCounts(v bool)

SetHideZeroCounts allocates a new w.HideZeroCounts and returns the pointer to it.

func (*Widget) SetLayoutVersion added in v2.13.0

func (w *Widget) SetLayoutVersion(v string)

SetLayoutVersion allocates a new w.LayoutVersion and returns the pointer to it.

func (*Widget) SetLegend added in v2.13.0

func (w *Widget) SetLegend(v bool)

SetLegend allocates a new w.Legend and returns the pointer to it.

func (*Widget) SetLegendSize added in v2.13.0

func (w *Widget) SetLegendSize(v string)

SetLegendSize allocates a new w.LegendSize and returns the pointer to it.

func (*Widget) SetLogset added in v2.13.0

func (w *Widget) SetLogset(v string)

SetLogset allocates a new w.Logset and returns the pointer to it.

func (*Widget) SetManageStatusShowTitle added in v2.13.0

func (w *Widget) SetManageStatusShowTitle(v bool)

SetManageStatusShowTitle allocates a new w.ManageStatusShowTitle and returns the pointer to it.

func (*Widget) SetManageStatusTitleAlign added in v2.13.0

func (w *Widget) SetManageStatusTitleAlign(v string)

SetManageStatusTitleAlign allocates a new w.ManageStatusTitleAlign and returns the pointer to it.

func (*Widget) SetManageStatusTitleSize added in v2.13.0

func (w *Widget) SetManageStatusTitleSize(v string)

SetManageStatusTitleSize allocates a new w.ManageStatusTitleSize and returns the pointer to it.

func (*Widget) SetManageStatusTitleText added in v2.13.0

func (w *Widget) SetManageStatusTitleText(v string)

SetManageStatusTitleText allocates a new w.ManageStatusTitleText and returns the pointer to it.

func (*Widget) SetMargin added in v2.13.0

func (w *Widget) SetMargin(v string)

SetMargin allocates a new w.Margin and returns the pointer to it.

func (*Widget) SetMessageDisplay added in v2.29.0

func (w *Widget) SetMessageDisplay(v string)

SetMessageDisplay allocates a new w.MessageDisplay and returns the pointer to it.

func (*Widget) SetMonitor added in v2.13.0

func (w *Widget) SetMonitor(v ScreenboardMonitor)

SetMonitor allocates a new w.Monitor and returns the pointer to it.

func (*Widget) SetMustShowBreakdown added in v2.13.0

func (w *Widget) SetMustShowBreakdown(v bool)

SetMustShowBreakdown allocates a new w.MustShowBreakdown and returns the pointer to it.

func (*Widget) SetMustShowDistribution added in v2.13.0

func (w *Widget) SetMustShowDistribution(v bool)

SetMustShowDistribution allocates a new w.MustShowDistribution and returns the pointer to it.

func (*Widget) SetMustShowErrors added in v2.13.0

func (w *Widget) SetMustShowErrors(v bool)

SetMustShowErrors allocates a new w.MustShowErrors and returns the pointer to it.

func (*Widget) SetMustShowHits added in v2.13.0

func (w *Widget) SetMustShowHits(v bool)

SetMustShowHits allocates a new w.MustShowHits and returns the pointer to it.

func (*Widget) SetMustShowLatency added in v2.13.0

func (w *Widget) SetMustShowLatency(v bool)

SetMustShowLatency allocates a new w.MustShowLatency and returns the pointer to it.

func (*Widget) SetMustShowResourceList added in v2.13.0

func (w *Widget) SetMustShowResourceList(v bool)

SetMustShowResourceList allocates a new w.MustShowResourceList and returns the pointer to it.

func (*Widget) SetParams added in v2.13.0

func (w *Widget) SetParams(v Params)

SetParams allocates a new w.Params and returns the pointer to it.

func (*Widget) SetPrecision added in v2.13.0

func (w *Widget) SetPrecision(v PrecisionT)

SetPrecision allocates a new w.Precision and returns the pointer to it.

func (*Widget) SetQuery added in v2.13.0

func (w *Widget) SetQuery(v string)

SetQuery allocates a new w.Query and returns the pointer to it.

func (*Widget) SetServiceName added in v2.13.0

func (w *Widget) SetServiceName(v string)

SetServiceName allocates a new w.ServiceName and returns the pointer to it.

func (*Widget) SetServiceService added in v2.13.0

func (w *Widget) SetServiceService(v string)

SetServiceService allocates a new w.ServiceService and returns the pointer to it.

func (*Widget) SetShowDateColumn added in v2.29.0

func (w *Widget) SetShowDateColumn(v bool)

SetShowDateColumn allocates a new w.ShowDateColumn and returns the pointer to it.

func (*Widget) SetShowLastTriggered added in v2.26.0

func (w *Widget) SetShowLastTriggered(v bool)

SetShowLastTriggered allocates a new w.ShowLastTriggered and returns the pointer to it.

func (*Widget) SetShowMessageColumn added in v2.29.0

func (w *Widget) SetShowMessageColumn(v bool)

SetShowMessageColumn allocates a new w.ShowMessageColumn and returns the pointer to it.

func (*Widget) SetSizeVersion added in v2.13.0

func (w *Widget) SetSizeVersion(v string)

SetSizeVersion allocates a new w.SizeVersion and returns the pointer to it.

func (*Widget) SetSizing added in v2.13.0

func (w *Widget) SetSizing(v string)

SetSizing allocates a new w.Sizing and returns the pointer to it.

func (*Widget) SetSort added in v2.29.0

func (w *Widget) SetSort(v WidgetFieldSort)

SetSort allocates a new w.Sort and returns the pointer to it.

func (*Widget) SetSummaryType added in v2.26.0

func (w *Widget) SetSummaryType(v string)

SetSummaryType allocates a new w.SummaryType and returns the pointer to it.

func (*Widget) SetTagsExecution added in v2.28.0

func (w *Widget) SetTagsExecution(v string)

SetTagsExecution allocates a new w.TagsExecution and returns the pointer to it.

func (*Widget) SetText added in v2.13.0

func (w *Widget) SetText(v string)

SetText allocates a new w.Text and returns the pointer to it.

func (*Widget) SetTextAlign added in v2.13.0

func (w *Widget) SetTextAlign(v string)

SetTextAlign allocates a new w.TextAlign and returns the pointer to it.

func (*Widget) SetTextSize added in v2.13.0

func (w *Widget) SetTextSize(v string)

SetTextSize allocates a new w.TextSize and returns the pointer to it.

func (*Widget) SetTick added in v2.13.0

func (w *Widget) SetTick(v bool)

SetTick allocates a new w.Tick and returns the pointer to it.

func (*Widget) SetTickEdge added in v2.13.0

func (w *Widget) SetTickEdge(v string)

SetTickEdge allocates a new w.TickEdge and returns the pointer to it.

func (*Widget) SetTickPos added in v2.13.0

func (w *Widget) SetTickPos(v string)

SetTickPos allocates a new w.TickPos and returns the pointer to it.

func (*Widget) SetTileDef added in v2.13.0

func (w *Widget) SetTileDef(v TileDef)

SetTileDef allocates a new w.TileDef and returns the pointer to it.

func (*Widget) SetTime added in v2.13.0

func (w *Widget) SetTime(v Time)

SetTime allocates a new w.Time and returns the pointer to it.

func (*Widget) SetTitle added in v2.13.0

func (w *Widget) SetTitle(v bool)

SetTitle allocates a new w.Title and returns the pointer to it.

func (*Widget) SetTitleAlign added in v2.13.0

func (w *Widget) SetTitleAlign(v string)

SetTitleAlign allocates a new w.TitleAlign and returns the pointer to it.

func (*Widget) SetTitleSize added in v2.13.0

func (w *Widget) SetTitleSize(v int)

SetTitleSize allocates a new w.TitleSize and returns the pointer to it.

func (*Widget) SetTitleText added in v2.13.0

func (w *Widget) SetTitleText(v string)

SetTitleText allocates a new w.TitleText and returns the pointer to it.

func (*Widget) SetType added in v2.13.0

func (w *Widget) SetType(v string)

SetType allocates a new w.Type and returns the pointer to it.

func (*Widget) SetURL added in v2.13.0

func (w *Widget) SetURL(v string)

SetURL allocates a new w.URL and returns the pointer to it.

func (*Widget) SetUnit added in v2.13.0

func (w *Widget) SetUnit(v string)

SetUnit allocates a new w.Unit and returns the pointer to it.

func (*Widget) SetVizType added in v2.13.0

func (w *Widget) SetVizType(v string)

SetVizType allocates a new w.VizType and returns the pointer to it.

func (*Widget) SetWidth added in v2.13.0

func (w *Widget) SetWidth(v int)

SetWidth allocates a new w.Width and returns the pointer to it.

func (*Widget) SetX added in v2.13.0

func (w *Widget) SetX(v int)

SetX allocates a new w.X and returns the pointer to it.

func (*Widget) SetY added in v2.13.0

func (w *Widget) SetY(v int)

SetY allocates a new w.Y and returns the pointer to it.

type WidgetApmOrLogQuery added in v2.20.0

type WidgetApmOrLogQuery struct {
	Index        *string                `json:"index"`
	Compute      *ApmOrLogQueryCompute  `json:"compute,omitempty"`
	MultiCompute []ApmOrLogQueryCompute `json:"multi_compute,omitempty"`
	Search       *ApmOrLogQuerySearch   `json:"search,omitempty"`
	GroupBy      []ApmOrLogQueryGroupBy `json:"group_by,omitempty"`
}

WidgetApmOrLogQuery represents an APM or a Log query

func (*WidgetApmOrLogQuery) GetCompute added in v2.20.0

func (w *WidgetApmOrLogQuery) GetCompute() ApmOrLogQueryCompute

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetComputeOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetIndexOk added in v2.20.0

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 added in v2.20.0

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetSearchOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) HasIndex added in v2.20.0

func (w *WidgetApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) HasSearch added in v2.20.0

func (w *WidgetApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) SetCompute added in v2.20.0

func (w *WidgetApmOrLogQuery) SetCompute(v ApmOrLogQueryCompute)

SetCompute allocates a new w.Compute and returns the pointer to it.

func (*WidgetApmOrLogQuery) SetIndex added in v2.20.0

func (w *WidgetApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new w.Index and returns the pointer to it.

func (*WidgetApmOrLogQuery) SetSearch added in v2.20.0

func (w *WidgetApmOrLogQuery) SetSearch(v ApmOrLogQuerySearch)

SetSearch allocates a new w.Search and returns the pointer to it.

type WidgetAxis added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.

func (*WidgetAxis) GetIncludeZeroOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*WidgetAxis) GetLabelOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) GetMax() string

GetMax returns the Max field if non-nil, zero value otherwise.

func (*WidgetAxis) GetMaxOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) GetMin() string

GetMin returns the Min field if non-nil, zero value otherwise.

func (*WidgetAxis) GetMinOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) GetScale() string

GetScale returns the Scale field if non-nil, zero value otherwise.

func (*WidgetAxis) GetScaleOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetAxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*WidgetAxis) HasLabel added in v2.20.0

func (w *WidgetAxis) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetAxis) HasMax added in v2.20.0

func (w *WidgetAxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*WidgetAxis) HasMin added in v2.20.0

func (w *WidgetAxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*WidgetAxis) HasScale added in v2.20.0

func (w *WidgetAxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*WidgetAxis) SetIncludeZero added in v2.20.0

func (w *WidgetAxis) SetIncludeZero(v bool)

SetIncludeZero allocates a new w.IncludeZero and returns the pointer to it.

func (*WidgetAxis) SetLabel added in v2.20.0

func (w *WidgetAxis) SetLabel(v string)

SetLabel allocates a new w.Label and returns the pointer to it.

func (*WidgetAxis) SetMax added in v2.20.0

func (w *WidgetAxis) SetMax(v string)

SetMax allocates a new w.Max and returns the pointer to it.

func (*WidgetAxis) SetMin added in v2.20.0

func (w *WidgetAxis) SetMin(v string)

SetMin allocates a new w.Min and returns the pointer to it.

func (*WidgetAxis) SetScale added in v2.20.0

func (w *WidgetAxis) SetScale(v string)

SetScale allocates a new w.Scale and returns the pointer to it.

type WidgetConditionalFormat added in v2.20.0

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"`
	Metric        *string  `json:"metric,omitempty"`
}

func (*WidgetConditionalFormat) GetComparator added in v2.20.0

func (w *WidgetConditionalFormat) GetComparator() string

GetComparator returns the Comparator field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetComparatorOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetCustomBgColor() string

GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomBgColorOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetCustomFgColor() string

GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomFgColorOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetHideValue() bool

GetHideValue returns the HideValue field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetHideValueOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetImageUrlOk added in v2.20.0

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) GetMetric added in v2.23.0

func (w *WidgetConditionalFormat) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetMetricOk added in v2.23.0

func (w *WidgetConditionalFormat) 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 (*WidgetConditionalFormat) GetPalette added in v2.20.0

func (w *WidgetConditionalFormat) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetPaletteOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetTimeframeOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) GetValue() float64

GetValue returns the Value field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetValueOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetConditionalFormat) HasComparator() bool

HasComparator returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasCustomBgColor added in v2.20.0

func (w *WidgetConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasCustomFgColor added in v2.20.0

func (w *WidgetConditionalFormat) HasCustomFgColor() bool

HasCustomFgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasHideValue added in v2.20.0

func (w *WidgetConditionalFormat) HasHideValue() bool

HasHideValue returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasImageUrl added in v2.20.0

func (w *WidgetConditionalFormat) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasMetric added in v2.23.0

func (w *WidgetConditionalFormat) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasPalette added in v2.20.0

func (w *WidgetConditionalFormat) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasTimeframe added in v2.20.0

func (w *WidgetConditionalFormat) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasValue added in v2.20.0

func (w *WidgetConditionalFormat) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*WidgetConditionalFormat) SetComparator added in v2.20.0

func (w *WidgetConditionalFormat) SetComparator(v string)

SetComparator allocates a new w.Comparator and returns the pointer to it.

func (*WidgetConditionalFormat) SetCustomBgColor added in v2.20.0

func (w *WidgetConditionalFormat) SetCustomBgColor(v string)

SetCustomBgColor allocates a new w.CustomBgColor and returns the pointer to it.

func (*WidgetConditionalFormat) SetCustomFgColor added in v2.20.0

func (w *WidgetConditionalFormat) SetCustomFgColor(v string)

SetCustomFgColor allocates a new w.CustomFgColor and returns the pointer to it.

func (*WidgetConditionalFormat) SetHideValue added in v2.20.0

func (w *WidgetConditionalFormat) SetHideValue(v bool)

SetHideValue allocates a new w.HideValue and returns the pointer to it.

func (*WidgetConditionalFormat) SetImageUrl added in v2.20.0

func (w *WidgetConditionalFormat) SetImageUrl(v string)

SetImageUrl allocates a new w.ImageUrl and returns the pointer to it.

func (*WidgetConditionalFormat) SetMetric added in v2.23.0

func (w *WidgetConditionalFormat) SetMetric(v string)

SetMetric allocates a new w.Metric and returns the pointer to it.

func (*WidgetConditionalFormat) SetPalette added in v2.20.0

func (w *WidgetConditionalFormat) SetPalette(v string)

SetPalette allocates a new w.Palette and returns the pointer to it.

func (*WidgetConditionalFormat) SetTimeframe added in v2.20.0

func (w *WidgetConditionalFormat) SetTimeframe(v string)

SetTimeframe allocates a new w.Timeframe and returns the pointer to it.

func (*WidgetConditionalFormat) SetValue added in v2.20.0

func (w *WidgetConditionalFormat) SetValue(v float64)

SetValue allocates a new w.Value and returns the pointer to it.

type WidgetEvent added in v2.20.0

type WidgetEvent struct {
	Query *string `json:"q"`
}

func (*WidgetEvent) GetQuery added in v2.20.0

func (w *WidgetEvent) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*WidgetEvent) GetQueryOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetEvent) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*WidgetEvent) SetQuery added in v2.20.0

func (w *WidgetEvent) SetQuery(v string)

SetQuery allocates a new w.Query and returns the pointer to it.

type WidgetFieldSort added in v2.29.0

type WidgetFieldSort struct {
	Column *string `json:"column"`
	Order  *string `json:"order"`
}

func (*WidgetFieldSort) GetColumn added in v2.29.0

func (w *WidgetFieldSort) GetColumn() string

GetColumn returns the Column field if non-nil, zero value otherwise.

func (*WidgetFieldSort) GetColumnOk added in v2.29.0

func (w *WidgetFieldSort) GetColumnOk() (string, bool)

GetColumnOk returns a tuple with the Column field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetFieldSort) GetOrder added in v2.29.0

func (w *WidgetFieldSort) GetOrder() string

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*WidgetFieldSort) GetOrderOk added in v2.29.0

func (w *WidgetFieldSort) 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 (*WidgetFieldSort) HasColumn added in v2.29.0

func (w *WidgetFieldSort) HasColumn() bool

HasColumn returns a boolean if a field has been set.

func (*WidgetFieldSort) HasOrder added in v2.29.0

func (w *WidgetFieldSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*WidgetFieldSort) SetColumn added in v2.29.0

func (w *WidgetFieldSort) SetColumn(v string)

SetColumn allocates a new w.Column and returns the pointer to it.

func (*WidgetFieldSort) SetOrder added in v2.29.0

func (w *WidgetFieldSort) SetOrder(v string)

SetOrder allocates a new w.Order and returns the pointer to it.

type WidgetLayout added in v2.20.0

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 added in v2.20.0

func (w *WidgetLayout) GetHeight() float64

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*WidgetLayout) GetHeightOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetLayout) GetWidth() float64

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*WidgetLayout) GetWidthOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetLayout) GetX() float64

GetX returns the X field if non-nil, zero value otherwise.

func (*WidgetLayout) GetXOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetLayout) GetY() float64

GetY returns the Y field if non-nil, zero value otherwise.

func (*WidgetLayout) GetYOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetLayout) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*WidgetLayout) HasWidth added in v2.20.0

func (w *WidgetLayout) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*WidgetLayout) HasX added in v2.20.0

func (w *WidgetLayout) HasX() bool

HasX returns a boolean if a field has been set.

func (*WidgetLayout) HasY added in v2.20.0

func (w *WidgetLayout) HasY() bool

HasY returns a boolean if a field has been set.

func (*WidgetLayout) SetHeight added in v2.20.0

func (w *WidgetLayout) SetHeight(v float64)

SetHeight allocates a new w.Height and returns the pointer to it.

func (*WidgetLayout) SetWidth added in v2.20.0

func (w *WidgetLayout) SetWidth(v float64)

SetWidth allocates a new w.Width and returns the pointer to it.

func (*WidgetLayout) SetX added in v2.20.0

func (w *WidgetLayout) SetX(v float64)

SetX allocates a new w.X and returns the pointer to it.

func (*WidgetLayout) SetY added in v2.20.0

func (w *WidgetLayout) SetY(v float64)

SetY allocates a new w.Y and returns the pointer to it.

type WidgetMarker added in v2.20.0

type WidgetMarker struct {
	Value       *string `json:"value"`
	DisplayType *string `json:"display_type,omitempty"`
	Label       *string `json:"label,omitempty"`
}

func (*WidgetMarker) GetDisplayType added in v2.20.0

func (w *WidgetMarker) GetDisplayType() string

GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.

func (*WidgetMarker) GetDisplayTypeOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetMarker) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*WidgetMarker) GetLabelOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetMarker) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*WidgetMarker) GetValueOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetMarker) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*WidgetMarker) HasLabel added in v2.20.0

func (w *WidgetMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetMarker) HasValue added in v2.20.0

func (w *WidgetMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*WidgetMarker) SetDisplayType added in v2.20.0

func (w *WidgetMarker) SetDisplayType(v string)

SetDisplayType allocates a new w.DisplayType and returns the pointer to it.

func (*WidgetMarker) SetLabel added in v2.20.0

func (w *WidgetMarker) SetLabel(v string)

SetLabel allocates a new w.Label and returns the pointer to it.

func (*WidgetMarker) SetValue added in v2.20.0

func (w *WidgetMarker) SetValue(v string)

SetValue allocates a new w.Value and returns the pointer to it.

type WidgetMetadata added in v2.20.0

type WidgetMetadata struct {
	Expression *string `json:"expression"`
	AliasName  *string `json:"alias_name,omitempty"`
}

func (*WidgetMetadata) GetAliasName added in v2.20.0

func (w *WidgetMetadata) GetAliasName() string

GetAliasName returns the AliasName field if non-nil, zero value otherwise.

func (*WidgetMetadata) GetAliasNameOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetMetadata) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

func (*WidgetMetadata) GetExpressionOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetMetadata) HasAliasName() bool

HasAliasName returns a boolean if a field has been set.

func (*WidgetMetadata) HasExpression added in v2.20.0

func (w *WidgetMetadata) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*WidgetMetadata) SetAliasName added in v2.20.0

func (w *WidgetMetadata) SetAliasName(v string)

SetAliasName allocates a new w.AliasName and returns the pointer to it.

func (*WidgetMetadata) SetExpression added in v2.20.0

func (w *WidgetMetadata) SetExpression(v string)

SetExpression allocates a new w.Expression and returns the pointer to it.

type WidgetProcessQuery added in v2.20.0

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 added in v2.20.0

func (w *WidgetProcessQuery) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetLimitOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetMetricOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetSearchByOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*WidgetProcessQuery) HasMetric added in v2.20.0

func (w *WidgetProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*WidgetProcessQuery) HasSearchBy added in v2.20.0

func (w *WidgetProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*WidgetProcessQuery) SetLimit added in v2.20.0

func (w *WidgetProcessQuery) SetLimit(v int)

SetLimit allocates a new w.Limit and returns the pointer to it.

func (*WidgetProcessQuery) SetMetric added in v2.20.0

func (w *WidgetProcessQuery) SetMetric(v string)

SetMetric allocates a new w.Metric and returns the pointer to it.

func (*WidgetProcessQuery) SetSearchBy added in v2.20.0

func (w *WidgetProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new w.SearchBy and returns the pointer to it.

type WidgetRequestStyle added in v2.20.0

type WidgetRequestStyle struct {
	Palette *string `json:"palette,omitempty"`
}

WidgetRequestStyle represents the style that can be apply to a request

func (*WidgetRequestStyle) GetPalette added in v2.20.0

func (w *WidgetRequestStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*WidgetRequestStyle) GetPaletteOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*WidgetRequestStyle) SetPalette added in v2.20.0

func (w *WidgetRequestStyle) SetPalette(v string)

SetPalette allocates a new w.Palette and returns the pointer to it.

type WidgetTime added in v2.20.0

type WidgetTime struct {
	LiveSpan *string `json:"live_span,omitempty"`
}

func (*WidgetTime) GetLiveSpan added in v2.20.0

func (w *WidgetTime) GetLiveSpan() string

GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.

func (*WidgetTime) GetLiveSpanOk added in v2.20.0

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 added in v2.20.0

func (w *WidgetTime) HasLiveSpan() bool

HasLiveSpan returns a boolean if a field has been set.

func (*WidgetTime) SetLiveSpan added in v2.20.0

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 added in v2.18.0

func (y *Yaxis) GetIncludeUnits() bool

GetIncludeUnits returns the IncludeUnits field if non-nil, zero value otherwise.

func (*Yaxis) GetIncludeUnitsOk added in v2.18.0

func (y *Yaxis) GetIncludeUnitsOk() (bool, bool)

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 added in v2.18.0

func (y *Yaxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.

func (*Yaxis) GetIncludeZeroOk added in v2.18.0

func (y *Yaxis) 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 (*Yaxis) GetMax

func (y *Yaxis) GetMax() float64

GetMax returns the Max field if non-nil, zero value otherwise.

func (*Yaxis) GetMaxOk

func (y *Yaxis) GetMaxOk() (float64, 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 (*Yaxis) GetMin

func (y *Yaxis) GetMin() float64

GetMin returns the Min field if non-nil, zero value otherwise.

func (*Yaxis) GetMinOk

func (y *Yaxis) GetMinOk() (float64, 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 (*Yaxis) GetScale

func (y *Yaxis) GetScale() string

GetScale returns the Scale field if non-nil, zero value otherwise.

func (*Yaxis) GetScaleOk

func (y *Yaxis) 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 (*Yaxis) HasIncludeUnits added in v2.18.0

func (y *Yaxis) HasIncludeUnits() bool

HasIncludeUnits returns a boolean if a field has been set.

func (*Yaxis) HasIncludeZero added in v2.18.0

func (y *Yaxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*Yaxis) HasMax

func (y *Yaxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*Yaxis) HasMin

func (y *Yaxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*Yaxis) HasScale

func (y *Yaxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*Yaxis) SetIncludeUnits added in v2.18.0

func (y *Yaxis) SetIncludeUnits(v bool)

SetIncludeUnits allocates a new y.IncludeUnits and returns the pointer to it.

func (*Yaxis) SetIncludeZero added in v2.18.0

func (y *Yaxis) SetIncludeZero(v bool)

SetIncludeZero allocates a new y.IncludeZero and returns the pointer to it.

func (*Yaxis) SetMax

func (y *Yaxis) SetMax(v float64)

SetMax allocates a new y.Max and returns the pointer to it.

func (*Yaxis) SetMin

func (y *Yaxis) SetMin(v float64)

SetMin allocates a new y.Min and returns the pointer to it.

func (*Yaxis) SetScale

func (y *Yaxis) SetScale(v string)

SetScale allocates a new y.Scale and returns the pointer to it.

func (*Yaxis) UnmarshalJSON added in v2.13.0

func (y *Yaxis) UnmarshalJSON(data []byte) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL