datadog

package module
v2.30.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: BSD-3-Clause Imports: 16 Imported by: 0

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

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

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

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

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

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

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

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

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

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

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

func (*APIKey) GetCreatedBy

func (a *APIKey) GetCreatedBy() string

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

func (*APIKey) GetCreatedByOk

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

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

func (a *APIKey) GetKey() string

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

func (*APIKey) GetKeyOk

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

func (a *APIKey) GetName() string

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

func (*APIKey) GetNameOk

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

func (a *APIKey) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*APIKey) HasCreatedBy

func (a *APIKey) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*APIKey) HasKey

func (a *APIKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*APIKey) HasName

func (a *APIKey) HasName() bool

HasName returns a boolean if a field has been set.

func (APIKey) MarshalJSON

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

MarshalJSON is a custom method for handling datetime marshalling

func (*APIKey) SetCreated

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

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

func (*APIKey) SetCreatedBy

func (a *APIKey) SetCreatedBy(v string)

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

func (*APIKey) SetKey

func (a *APIKey) SetKey(v string)

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

func (*APIKey) SetName

func (a *APIKey) SetName(v string)

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

func (*APIKey) UnmarshalJSON

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

UnmarshalJSON is a custom method for handling datetime unmarshalling

type APPKey

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

func (a *APPKey) GetHash() string

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

func (*APPKey) GetHashOk

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

func (a *APPKey) GetName() string

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

func (*APPKey) GetNameOk

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

func (a *APPKey) GetOwner() string

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

func (*APPKey) GetOwnerOk

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

func (a *APPKey) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*APPKey) HasName

func (a *APPKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*APPKey) HasOwner

func (a *APPKey) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*APPKey) SetHash

func (a *APPKey) SetHash(v string)

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

func (*APPKey) SetName

func (a *APPKey) SetName(v string)

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

func (*APPKey) SetOwner

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

type AlertGraphDefinition struct {
	Type       *string     `json:"type"`
	AlertId    *string     `json:"alert_id"`
	VizType    *string     `json:"viz_type"`
	Title      *string     `json:"title,omitempty"`
	TitleSize  *string     `json:"title_size,omitempty"`
	TitleAlign *string     `json:"title_align,omitempty"`
	Time       *WidgetTime `json:"time,omitempty"`
}

AlertGraphDefinition represents the definition for an Alert Graph widget

func (*AlertGraphDefinition) GetAlertId

func (a *AlertGraphDefinition) GetAlertId() string

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

func (*AlertGraphDefinition) GetAlertIdOk

func (a *AlertGraphDefinition) GetAlertIdOk() (string, bool)

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

func (*AlertGraphDefinition) GetTime

func (a *AlertGraphDefinition) GetTime() WidgetTime

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

func (*AlertGraphDefinition) GetTimeOk

func (a *AlertGraphDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*AlertGraphDefinition) GetTitle

func (a *AlertGraphDefinition) GetTitle() string

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

func (*AlertGraphDefinition) GetTitleAlign

func (a *AlertGraphDefinition) GetTitleAlign() string

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

func (*AlertGraphDefinition) GetTitleAlignOk

func (a *AlertGraphDefinition) GetTitleAlignOk() (string, bool)

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

func (*AlertGraphDefinition) GetTitleOk

func (a *AlertGraphDefinition) GetTitleOk() (string, bool)

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

func (*AlertGraphDefinition) GetTitleSize

func (a *AlertGraphDefinition) GetTitleSize() string

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

func (*AlertGraphDefinition) GetTitleSizeOk

func (a *AlertGraphDefinition) GetTitleSizeOk() (string, bool)

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

func (*AlertGraphDefinition) GetType

func (a *AlertGraphDefinition) GetType() string

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

func (*AlertGraphDefinition) GetTypeOk

func (a *AlertGraphDefinition) GetTypeOk() (string, bool)

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

func (*AlertGraphDefinition) GetVizType

func (a *AlertGraphDefinition) GetVizType() string

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

func (*AlertGraphDefinition) GetVizTypeOk

func (a *AlertGraphDefinition) GetVizTypeOk() (string, bool)

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

func (*AlertGraphDefinition) HasAlertId

func (a *AlertGraphDefinition) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTime

func (a *AlertGraphDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitle

func (a *AlertGraphDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitleAlign

func (a *AlertGraphDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasTitleSize

func (a *AlertGraphDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasType

func (a *AlertGraphDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertGraphDefinition) HasVizType

func (a *AlertGraphDefinition) HasVizType() bool

HasVizType returns a boolean if a field has been set.

func (*AlertGraphDefinition) SetAlertId

func (a *AlertGraphDefinition) SetAlertId(v string)

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

func (*AlertGraphDefinition) SetTime

func (a *AlertGraphDefinition) SetTime(v WidgetTime)

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

func (*AlertGraphDefinition) SetTitle

func (a *AlertGraphDefinition) SetTitle(v string)

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

func (*AlertGraphDefinition) SetTitleAlign

func (a *AlertGraphDefinition) SetTitleAlign(v string)

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

func (*AlertGraphDefinition) SetTitleSize

func (a *AlertGraphDefinition) SetTitleSize(v string)

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

func (*AlertGraphDefinition) SetType

func (a *AlertGraphDefinition) SetType(v string)

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

func (*AlertGraphDefinition) SetVizType

func (a *AlertGraphDefinition) SetVizType(v string)

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

type AlertValueDefinition

type AlertValueDefinition struct {
	Type       *string `json:"type"`
	AlertId    *string `json:"alert_id"`
	Precision  *int    `json:"precision,omitempty"`
	Unit       *string `json:"unit,omitempty"`
	TextAlign  *string `json:"text_align,omitempty"`
	Title      *string `json:"title,omitempty"`
	TitleSize  *string `json:"title_size,omitempty"`
	TitleAlign *string `json:"title_align,omitempty"`
}

AlertValueDefinition represents the definition for an Alert Value widget

func (*AlertValueDefinition) GetAlertId

func (a *AlertValueDefinition) GetAlertId() string

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

func (*AlertValueDefinition) GetAlertIdOk

func (a *AlertValueDefinition) GetAlertIdOk() (string, bool)

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

func (*AlertValueDefinition) GetPrecision

func (a *AlertValueDefinition) GetPrecision() int

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

func (*AlertValueDefinition) GetPrecisionOk

func (a *AlertValueDefinition) GetPrecisionOk() (int, bool)

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

func (*AlertValueDefinition) GetTextAlign

func (a *AlertValueDefinition) GetTextAlign() string

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

func (*AlertValueDefinition) GetTextAlignOk

func (a *AlertValueDefinition) GetTextAlignOk() (string, bool)

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

func (*AlertValueDefinition) GetTitle

func (a *AlertValueDefinition) GetTitle() string

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

func (*AlertValueDefinition) GetTitleAlign

func (a *AlertValueDefinition) GetTitleAlign() string

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

func (*AlertValueDefinition) GetTitleAlignOk

func (a *AlertValueDefinition) GetTitleAlignOk() (string, bool)

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

func (*AlertValueDefinition) GetTitleOk

func (a *AlertValueDefinition) GetTitleOk() (string, bool)

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

func (*AlertValueDefinition) GetTitleSize

func (a *AlertValueDefinition) GetTitleSize() string

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

func (*AlertValueDefinition) GetTitleSizeOk

func (a *AlertValueDefinition) GetTitleSizeOk() (string, bool)

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

func (*AlertValueDefinition) GetType

func (a *AlertValueDefinition) GetType() string

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

func (*AlertValueDefinition) GetTypeOk

func (a *AlertValueDefinition) GetTypeOk() (string, bool)

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

func (*AlertValueDefinition) GetUnit

func (a *AlertValueDefinition) GetUnit() string

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

func (*AlertValueDefinition) GetUnitOk

func (a *AlertValueDefinition) GetUnitOk() (string, bool)

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

func (*AlertValueDefinition) HasAlertId

func (a *AlertValueDefinition) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertValueDefinition) HasPrecision

func (a *AlertValueDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTextAlign

func (a *AlertValueDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitle

func (a *AlertValueDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitleAlign

func (a *AlertValueDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertValueDefinition) HasTitleSize

func (a *AlertValueDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertValueDefinition) HasType

func (a *AlertValueDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertValueDefinition) HasUnit

func (a *AlertValueDefinition) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AlertValueDefinition) SetAlertId

func (a *AlertValueDefinition) SetAlertId(v string)

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

func (*AlertValueDefinition) SetPrecision

func (a *AlertValueDefinition) SetPrecision(v int)

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

func (*AlertValueDefinition) SetTextAlign

func (a *AlertValueDefinition) SetTextAlign(v string)

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

func (*AlertValueDefinition) SetTitle

func (a *AlertValueDefinition) SetTitle(v string)

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

func (*AlertValueDefinition) SetTitleAlign

func (a *AlertValueDefinition) SetTitleAlign(v string)

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

func (*AlertValueDefinition) SetTitleSize

func (a *AlertValueDefinition) SetTitleSize(v string)

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

func (*AlertValueDefinition) SetType

func (a *AlertValueDefinition) SetType(v string)

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

func (*AlertValueDefinition) SetUnit

func (a *AlertValueDefinition) SetUnit(v string)

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

type ApmOrLogQueryCompute

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

func (*ApmOrLogQueryCompute) GetAggregation

func (a *ApmOrLogQueryCompute) GetAggregation() string

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

func (*ApmOrLogQueryCompute) GetAggregationOk

func (a *ApmOrLogQueryCompute) GetAggregationOk() (string, bool)

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

func (*ApmOrLogQueryCompute) GetFacet

func (a *ApmOrLogQueryCompute) GetFacet() string

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

func (*ApmOrLogQueryCompute) GetFacetOk

func (a *ApmOrLogQueryCompute) GetFacetOk() (string, bool)

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

func (*ApmOrLogQueryCompute) GetInterval

func (a *ApmOrLogQueryCompute) GetInterval() int

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

func (*ApmOrLogQueryCompute) GetIntervalOk

func (a *ApmOrLogQueryCompute) GetIntervalOk() (int, bool)

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

func (*ApmOrLogQueryCompute) HasAggregation

func (a *ApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) HasFacet

func (a *ApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) HasInterval

func (a *ApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*ApmOrLogQueryCompute) SetAggregation

func (a *ApmOrLogQueryCompute) SetAggregation(v string)

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

func (*ApmOrLogQueryCompute) SetFacet

func (a *ApmOrLogQueryCompute) SetFacet(v string)

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

func (*ApmOrLogQueryCompute) SetInterval

func (a *ApmOrLogQueryCompute) SetInterval(v int)

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

type ApmOrLogQueryGroupBy

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

func (*ApmOrLogQueryGroupBy) GetFacet

func (a *ApmOrLogQueryGroupBy) GetFacet() string

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

func (*ApmOrLogQueryGroupBy) GetFacetOk

func (a *ApmOrLogQueryGroupBy) GetFacetOk() (string, bool)

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

func (*ApmOrLogQueryGroupBy) GetLimit

func (a *ApmOrLogQueryGroupBy) GetLimit() int

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

func (*ApmOrLogQueryGroupBy) GetLimitOk

func (a *ApmOrLogQueryGroupBy) GetLimitOk() (int, bool)

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

func (*ApmOrLogQueryGroupBy) GetSort

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

func (*ApmOrLogQueryGroupBy) GetSortOk

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

func (*ApmOrLogQueryGroupBy) HasFacet

func (a *ApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) HasLimit

func (a *ApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) HasSort

func (a *ApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBy) SetFacet

func (a *ApmOrLogQueryGroupBy) SetFacet(v string)

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

func (*ApmOrLogQueryGroupBy) SetLimit

func (a *ApmOrLogQueryGroupBy) SetLimit(v int)

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

func (*ApmOrLogQueryGroupBy) SetSort

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

type ApmOrLogQueryGroupBySort

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

func (*ApmOrLogQueryGroupBySort) GetAggregation

func (a *ApmOrLogQueryGroupBySort) GetAggregation() string

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

func (*ApmOrLogQueryGroupBySort) GetAggregationOk

func (a *ApmOrLogQueryGroupBySort) GetAggregationOk() (string, bool)

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

func (*ApmOrLogQueryGroupBySort) GetFacet

func (a *ApmOrLogQueryGroupBySort) GetFacet() string

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

func (*ApmOrLogQueryGroupBySort) GetFacetOk

func (a *ApmOrLogQueryGroupBySort) GetFacetOk() (string, bool)

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

func (*ApmOrLogQueryGroupBySort) GetOrder

func (a *ApmOrLogQueryGroupBySort) GetOrder() string

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

func (*ApmOrLogQueryGroupBySort) GetOrderOk

func (a *ApmOrLogQueryGroupBySort) GetOrderOk() (string, bool)

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

func (*ApmOrLogQueryGroupBySort) HasAggregation

func (a *ApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) HasFacet

func (a *ApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) HasOrder

func (a *ApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*ApmOrLogQueryGroupBySort) SetAggregation

func (a *ApmOrLogQueryGroupBySort) SetAggregation(v string)

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

func (*ApmOrLogQueryGroupBySort) SetFacet

func (a *ApmOrLogQueryGroupBySort) SetFacet(v string)

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

func (*ApmOrLogQueryGroupBySort) SetOrder

func (a *ApmOrLogQueryGroupBySort) SetOrder(v string)

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

type ApmOrLogQuerySearch

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

func (*ApmOrLogQuerySearch) GetQuery

func (a *ApmOrLogQuerySearch) GetQuery() string

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

func (*ApmOrLogQuerySearch) GetQueryOk

func (a *ApmOrLogQuerySearch) GetQueryOk() (string, bool)

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

func (*ApmOrLogQuerySearch) HasQuery

func (a *ApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ApmOrLogQuerySearch) SetQuery

func (a *ApmOrLogQuerySearch) SetQuery(v string)

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

type ArithmeticProcessor

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

func (a *ArithmeticProcessor) GetExpression() string

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

func (*ArithmeticProcessor) GetExpressionOk

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

func (a *ArithmeticProcessor) GetIsReplaceMissing() bool

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

func (*ArithmeticProcessor) GetIsReplaceMissingOk

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

func (a *ArithmeticProcessor) GetTarget() string

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

func (*ArithmeticProcessor) GetTargetOk

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

func (a *ArithmeticProcessor) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*ArithmeticProcessor) HasIsReplaceMissing

func (a *ArithmeticProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*ArithmeticProcessor) HasTarget

func (a *ArithmeticProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*ArithmeticProcessor) SetExpression

func (a *ArithmeticProcessor) SetExpression(v string)

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

func (*ArithmeticProcessor) SetIsReplaceMissing

func (a *ArithmeticProcessor) SetIsReplaceMissing(v bool)

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

func (*ArithmeticProcessor) SetTarget

func (a *ArithmeticProcessor) SetTarget(v string)

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

type AttributeRemapper

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

func (a *AttributeRemapper) GetOverrideOnConflict() bool

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

func (*AttributeRemapper) GetOverrideOnConflictOk

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

func (a *AttributeRemapper) GetPreserveSource() bool

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

func (*AttributeRemapper) GetPreserveSourceOk

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

func (a *AttributeRemapper) GetSourceType() string

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

func (*AttributeRemapper) GetSourceTypeOk

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

func (a *AttributeRemapper) GetTarget() string

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

func (*AttributeRemapper) GetTargetOk

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

func (a *AttributeRemapper) GetTargetType() string

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

func (*AttributeRemapper) GetTargetTypeOk

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

func (a *AttributeRemapper) HasOverrideOnConflict() bool

HasOverrideOnConflict returns a boolean if a field has been set.

func (*AttributeRemapper) HasPreserveSource

func (a *AttributeRemapper) HasPreserveSource() bool

HasPreserveSource returns a boolean if a field has been set.

func (*AttributeRemapper) HasSourceType

func (a *AttributeRemapper) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

func (*AttributeRemapper) HasTarget

func (a *AttributeRemapper) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*AttributeRemapper) HasTargetType

func (a *AttributeRemapper) HasTargetType() bool

HasTargetType returns a boolean if a field has been set.

func (*AttributeRemapper) SetOverrideOnConflict

func (a *AttributeRemapper) SetOverrideOnConflict(v bool)

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

func (*AttributeRemapper) SetPreserveSource

func (a *AttributeRemapper) SetPreserveSource(v bool)

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

func (*AttributeRemapper) SetSourceType

func (a *AttributeRemapper) SetSourceType(v string)

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

func (*AttributeRemapper) SetTarget

func (a *AttributeRemapper) SetTarget(v string)

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

func (*AttributeRemapper) SetTargetType

func (a *AttributeRemapper) SetTargetType(v string)

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

type Board

type Board struct {
	Title                   *string                  `json:"title"`
	Widgets                 []BoardWidget            `json:"widgets"`
	LayoutType              *string                  `json:"layout_type"`
	Id                      *string                  `json:"id,omitempty"`
	Description             *string                  `json:"description,omitempty"`
	TemplateVariables       []TemplateVariable       `json:"template_variables,omitempty"`
	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

func (b *Board) GetAuthorHandle() string

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

func (*Board) GetAuthorHandleOk

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

func (b *Board) GetCreatedAt() string

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

func (*Board) GetCreatedAtOk

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

func (b *Board) GetDescription() string

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

func (*Board) GetDescriptionOk

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

func (b *Board) GetId() string

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

func (*Board) GetIdOk

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

func (b *Board) GetIsReadOnly() bool

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

func (*Board) GetIsReadOnlyOk

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

func (b *Board) GetLayoutType() string

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

func (*Board) GetLayoutTypeOk

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

func (b *Board) GetModifiedAt() string

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

func (*Board) GetModifiedAtOk

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

func (b *Board) GetTitle() string

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

func (*Board) GetTitleOk

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

func (b *Board) GetUrl() string

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

func (*Board) GetUrlOk

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

func (b *Board) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*Board) HasCreatedAt

func (b *Board) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Board) HasDescription

func (b *Board) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Board) HasId

func (b *Board) HasId() bool

HasId returns a boolean if a field has been set.

func (*Board) HasIsReadOnly

func (b *Board) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*Board) HasLayoutType

func (b *Board) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*Board) HasModifiedAt

func (b *Board) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*Board) HasTitle

func (b *Board) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Board) HasUrl

func (b *Board) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Board) SetAuthorHandle

func (b *Board) SetAuthorHandle(v string)

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

func (*Board) SetCreatedAt

func (b *Board) SetCreatedAt(v string)

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

func (*Board) SetDescription

func (b *Board) SetDescription(v string)

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

func (*Board) SetId

func (b *Board) SetId(v string)

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

func (*Board) SetIsReadOnly

func (b *Board) SetIsReadOnly(v bool)

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

func (*Board) SetLayoutType

func (b *Board) SetLayoutType(v string)

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

func (*Board) SetModifiedAt

func (b *Board) SetModifiedAt(v string)

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

func (*Board) SetTitle

func (b *Board) SetTitle(v string)

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

func (*Board) SetUrl

func (b *Board) SetUrl(v string)

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

type BoardLite

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

func (b *BoardLite) GetAuthorHandle() string

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

func (*BoardLite) GetAuthorHandleOk

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

func (b *BoardLite) GetCreatedAt() string

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

func (*BoardLite) GetCreatedAtOk

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

func (b *BoardLite) GetDescription() string

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

func (*BoardLite) GetDescriptionOk

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

func (b *BoardLite) GetId() string

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

func (*BoardLite) GetIdOk

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

func (b *BoardLite) GetIsReadOnly() bool

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

func (*BoardLite) GetIsReadOnlyOk

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

func (b *BoardLite) GetLayoutType() string

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

func (*BoardLite) GetLayoutTypeOk

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

func (b *BoardLite) GetModifiedAt() string

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

func (*BoardLite) GetModifiedAtOk

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

func (b *BoardLite) GetTitle() string

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

func (*BoardLite) GetTitleOk

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

func (b *BoardLite) GetUrl() string

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

func (*BoardLite) GetUrlOk

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

func (b *BoardLite) HasAuthorHandle() bool

HasAuthorHandle returns a boolean if a field has been set.

func (*BoardLite) HasCreatedAt

func (b *BoardLite) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BoardLite) HasDescription

func (b *BoardLite) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*BoardLite) HasId

func (b *BoardLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*BoardLite) HasIsReadOnly

func (b *BoardLite) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*BoardLite) HasLayoutType

func (b *BoardLite) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*BoardLite) HasModifiedAt

func (b *BoardLite) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*BoardLite) HasTitle

func (b *BoardLite) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*BoardLite) HasUrl

func (b *BoardLite) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*BoardLite) SetAuthorHandle

func (b *BoardLite) SetAuthorHandle(v string)

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

func (*BoardLite) SetCreatedAt

func (b *BoardLite) SetCreatedAt(v string)

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

func (*BoardLite) SetDescription

func (b *BoardLite) SetDescription(v string)

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

func (*BoardLite) SetId

func (b *BoardLite) SetId(v string)

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

func (*BoardLite) SetIsReadOnly

func (b *BoardLite) SetIsReadOnly(v bool)

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

func (*BoardLite) SetLayoutType

func (b *BoardLite) SetLayoutType(v string)

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

func (*BoardLite) SetModifiedAt

func (b *BoardLite) SetModifiedAt(v string)

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

func (*BoardLite) SetTitle

func (b *BoardLite) SetTitle(v string)

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

func (*BoardLite) SetUrl

func (b *BoardLite) SetUrl(v string)

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

type BoardWidget

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

func (b *BoardWidget) GetId() int64

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

func (*BoardWidget) GetIdOk

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

func (b *BoardWidget) GetLayout() WidgetLayout

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

func (*BoardWidget) GetLayoutOk

func (b *BoardWidget) GetLayoutOk() (WidgetLayout, bool)

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

func (*BoardWidget) GetWidgetType

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

func (*BoardWidget) HasId

func (b *BoardWidget) HasId() bool

HasId returns a boolean if a field has been set.

func (*BoardWidget) HasLayout

func (b *BoardWidget) HasLayout() bool

HasLayout returns a boolean if a field has been set.

func (*BoardWidget) SetId

func (b *BoardWidget) SetId(v int64)

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

func (*BoardWidget) SetLayout

func (b *BoardWidget) SetLayout(v WidgetLayout)

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

func (*BoardWidget) UnmarshalJSON

func (widget *BoardWidget) UnmarshalJSON(data []byte) error

UnmarshalJSON is a Custom Unmarshal for BoardWidget. If first tries to unmarshal the data in a light struct that allows to get the widget type. Then based on the widget type, it will try to unmarshal the data using the corresponding widget struct.

type Category

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

Category represents category object from config API.

func (*Category) GetFilter

func (c *Category) GetFilter() FilterConfiguration

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

func (*Category) GetFilterOk

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

func (c *Category) GetName() string

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

func (*Category) GetNameOk

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

func (c *Category) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*Category) HasName

func (c *Category) HasName() bool

HasName returns a boolean if a field has been set.

func (*Category) SetFilter

func (c *Category) SetFilter(v FilterConfiguration)

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

func (*Category) SetName

func (c *Category) SetName(v string)

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

type CategoryProcessor

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

func (c *CategoryProcessor) GetTarget() string

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

func (*CategoryProcessor) GetTargetOk

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

func (c *CategoryProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*CategoryProcessor) SetTarget

func (c *CategoryProcessor) SetTarget(v string)

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

type ChangeDefinition

type ChangeDefinition struct {
	Type       *string         `json:"type"`
	Requests   []ChangeRequest `json:"requests"`
	Title      *string         `json:"title,omitempty"`
	TitleSize  *string         `json:"title_size,omitempty"`
	TitleAlign *string         `json:"title_align,omitempty"`
	Time       *WidgetTime     `json:"time,omitempty"`
}

ChangeDefinition represents the definition for a Change widget

func (*ChangeDefinition) GetTime

func (c *ChangeDefinition) GetTime() WidgetTime

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

func (*ChangeDefinition) GetTimeOk

func (c *ChangeDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*ChangeDefinition) GetTitle

func (c *ChangeDefinition) GetTitle() string

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

func (*ChangeDefinition) GetTitleAlign

func (c *ChangeDefinition) GetTitleAlign() string

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

func (*ChangeDefinition) GetTitleAlignOk

func (c *ChangeDefinition) GetTitleAlignOk() (string, bool)

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

func (*ChangeDefinition) GetTitleOk

func (c *ChangeDefinition) GetTitleOk() (string, bool)

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

func (*ChangeDefinition) GetTitleSize

func (c *ChangeDefinition) GetTitleSize() string

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

func (*ChangeDefinition) GetTitleSizeOk

func (c *ChangeDefinition) GetTitleSizeOk() (string, bool)

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

func (*ChangeDefinition) GetType

func (c *ChangeDefinition) GetType() string

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

func (*ChangeDefinition) GetTypeOk

func (c *ChangeDefinition) GetTypeOk() (string, bool)

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

func (*ChangeDefinition) HasTime

func (c *ChangeDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitle

func (c *ChangeDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitleAlign

func (c *ChangeDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ChangeDefinition) HasTitleSize

func (c *ChangeDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ChangeDefinition) HasType

func (c *ChangeDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ChangeDefinition) SetTime

func (c *ChangeDefinition) SetTime(v WidgetTime)

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

func (*ChangeDefinition) SetTitle

func (c *ChangeDefinition) SetTitle(v string)

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

func (*ChangeDefinition) SetTitleAlign

func (c *ChangeDefinition) SetTitleAlign(v string)

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

func (*ChangeDefinition) SetTitleSize

func (c *ChangeDefinition) SetTitleSize(v string)

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

func (*ChangeDefinition) SetType

func (c *ChangeDefinition) SetType(v string)

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

type ChangeRequest

type ChangeRequest struct {
	ChangeType   *string `json:"change_type,omitempty"`
	CompareTo    *string `json:"compare_to,omitempty"`
	IncreaseGood *bool   `json:"increase_good,omitempty"`
	OrderBy      *string `json:"order_by,omitempty"`
	OrderDir     *string `json:"order_dir,omitempty"`
	ShowPresent  *bool   `json:"show_present,omitempty"`
	// A ChangeRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ChangeRequest) GetApmQuery

func (c *ChangeRequest) GetApmQuery() WidgetApmOrLogQuery

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

func (*ChangeRequest) GetApmQueryOk

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

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

func (*ChangeRequest) GetChangeType

func (c *ChangeRequest) GetChangeType() string

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

func (*ChangeRequest) GetChangeTypeOk

func (c *ChangeRequest) GetChangeTypeOk() (string, bool)

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

func (*ChangeRequest) GetCompareTo

func (c *ChangeRequest) GetCompareTo() string

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

func (*ChangeRequest) GetCompareToOk

func (c *ChangeRequest) GetCompareToOk() (string, bool)

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

func (*ChangeRequest) GetIncreaseGood

func (c *ChangeRequest) GetIncreaseGood() bool

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

func (*ChangeRequest) GetIncreaseGoodOk

func (c *ChangeRequest) GetIncreaseGoodOk() (bool, bool)

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

func (*ChangeRequest) GetLogQuery

func (c *ChangeRequest) GetLogQuery() WidgetApmOrLogQuery

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

func (*ChangeRequest) GetLogQueryOk

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

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

func (*ChangeRequest) GetMetricQuery

func (c *ChangeRequest) GetMetricQuery() string

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

func (*ChangeRequest) GetMetricQueryOk

func (c *ChangeRequest) GetMetricQueryOk() (string, bool)

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

func (*ChangeRequest) GetOrderBy

func (c *ChangeRequest) GetOrderBy() string

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

func (*ChangeRequest) GetOrderByOk

func (c *ChangeRequest) GetOrderByOk() (string, bool)

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

func (*ChangeRequest) GetOrderDir

func (c *ChangeRequest) GetOrderDir() string

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

func (*ChangeRequest) GetOrderDirOk

func (c *ChangeRequest) GetOrderDirOk() (string, bool)

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

func (*ChangeRequest) GetProcessQuery

func (c *ChangeRequest) GetProcessQuery() WidgetProcessQuery

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

func (*ChangeRequest) GetProcessQueryOk

func (c *ChangeRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

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

func (*ChangeRequest) GetRumQuery

func (c *ChangeRequest) GetRumQuery() WidgetApmOrLogQuery

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

func (*ChangeRequest) GetRumQueryOk

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

func (c *ChangeRequest) GetSecurityQuery() WidgetApmOrLogQuery

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

func (*ChangeRequest) GetSecurityQueryOk

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

func (c *ChangeRequest) GetShowPresent() bool

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

func (*ChangeRequest) GetShowPresentOk

func (c *ChangeRequest) GetShowPresentOk() (bool, bool)

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

func (*ChangeRequest) HasApmQuery

func (c *ChangeRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasChangeType

func (c *ChangeRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*ChangeRequest) HasCompareTo

func (c *ChangeRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*ChangeRequest) HasIncreaseGood

func (c *ChangeRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*ChangeRequest) HasLogQuery

func (c *ChangeRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasMetricQuery

func (c *ChangeRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasOrderBy

func (c *ChangeRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*ChangeRequest) HasOrderDir

func (c *ChangeRequest) HasOrderDir() bool

HasOrderDir returns a boolean if a field has been set.

func (*ChangeRequest) HasProcessQuery

func (c *ChangeRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasRumQuery

func (c *ChangeRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasSecurityQuery

func (c *ChangeRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ChangeRequest) HasShowPresent

func (c *ChangeRequest) HasShowPresent() bool

HasShowPresent returns a boolean if a field has been set.

func (*ChangeRequest) SetApmQuery

func (c *ChangeRequest) SetApmQuery(v WidgetApmOrLogQuery)

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

func (*ChangeRequest) SetChangeType

func (c *ChangeRequest) SetChangeType(v string)

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

func (*ChangeRequest) SetCompareTo

func (c *ChangeRequest) SetCompareTo(v string)

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

func (*ChangeRequest) SetIncreaseGood

func (c *ChangeRequest) SetIncreaseGood(v bool)

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

func (*ChangeRequest) SetLogQuery

func (c *ChangeRequest) SetLogQuery(v WidgetApmOrLogQuery)

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

func (*ChangeRequest) SetMetricQuery

func (c *ChangeRequest) SetMetricQuery(v string)

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

func (*ChangeRequest) SetOrderBy

func (c *ChangeRequest) SetOrderBy(v string)

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

func (*ChangeRequest) SetOrderDir

func (c *ChangeRequest) SetOrderDir(v string)

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

func (*ChangeRequest) SetProcessQuery

func (c *ChangeRequest) SetProcessQuery(v WidgetProcessQuery)

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

func (*ChangeRequest) SetRumQuery

func (c *ChangeRequest) SetRumQuery(v WidgetApmOrLogQuery)

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

func (*ChangeRequest) SetSecurityQuery

func (c *ChangeRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

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

func (*ChangeRequest) SetShowPresent

func (c *ChangeRequest) SetShowPresent(v bool)

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

type ChannelSlackRequest

type ChannelSlackRequest struct {
	ChannelName             *string `json:"channel_name"`
	TransferAllUserComments *bool   `json:"transfer_all_user_comments,omitempty,string"`
	Account                 *string `json:"account"`
}

ChannelSlackRequest defines the Channels struct that is part of the IntegrationSlackRequest.

func (*ChannelSlackRequest) GetAccount

func (c *ChannelSlackRequest) GetAccount() string

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

func (*ChannelSlackRequest) GetAccountOk

func (c *ChannelSlackRequest) GetAccountOk() (string, bool)

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

func (*ChannelSlackRequest) GetChannelName

func (c *ChannelSlackRequest) GetChannelName() string

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

func (*ChannelSlackRequest) GetChannelNameOk

func (c *ChannelSlackRequest) GetChannelNameOk() (string, bool)

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

func (*ChannelSlackRequest) GetTransferAllUserComments

func (c *ChannelSlackRequest) GetTransferAllUserComments() bool

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

func (*ChannelSlackRequest) GetTransferAllUserCommentsOk

func (c *ChannelSlackRequest) GetTransferAllUserCommentsOk() (bool, bool)

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

func (*ChannelSlackRequest) HasAccount

func (c *ChannelSlackRequest) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*ChannelSlackRequest) HasChannelName

func (c *ChannelSlackRequest) HasChannelName() bool

HasChannelName returns a boolean if a field has been set.

func (*ChannelSlackRequest) HasTransferAllUserComments

func (c *ChannelSlackRequest) HasTransferAllUserComments() bool

HasTransferAllUserComments returns a boolean if a field has been set.

func (*ChannelSlackRequest) SetAccount

func (c *ChannelSlackRequest) SetAccount(v string)

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

func (*ChannelSlackRequest) SetChannelName

func (c *ChannelSlackRequest) SetChannelName(v string)

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

func (*ChannelSlackRequest) SetTransferAllUserComments

func (c *ChannelSlackRequest) SetTransferAllUserComments(v bool)

SetTransferAllUserComments allocates a new c.TransferAllUserComments and returns the pointer to it.

type Check

type Check struct {
	Check     *string  `json:"check,omitempty"`
	HostName  *string  `json:"host_name,omitempty"`
	Status    *Status  `json:"status,omitempty"`
	Timestamp *string  `json:"timestamp,omitempty"`
	Message   *string  `json:"message,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

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

type CheckStatusDefinition struct {
	Type       *string     `json:"type"`
	Check      *string     `json:"check"`
	Grouping   *string     `json:"grouping"`
	Group      *string     `json:"group,omitempty"`
	GroupBy    []string    `json:"group_by,omitempty"`
	Tags       []string    `json:"tags,omitempty"`
	Title      *string     `json:"title,omitempty"`
	TitleSize  *string     `json:"title_size,omitempty"`
	TitleAlign *string     `json:"title_align,omitempty"`
	Time       *WidgetTime `json:"time,omitempty"`
}

CheckStatusDefinition represents the definition for a Check Status widget

func (*CheckStatusDefinition) GetCheck

func (c *CheckStatusDefinition) GetCheck() string

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

func (*CheckStatusDefinition) GetCheckOk

func (c *CheckStatusDefinition) GetCheckOk() (string, bool)

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

func (*CheckStatusDefinition) GetGroup

func (c *CheckStatusDefinition) GetGroup() string

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

func (*CheckStatusDefinition) GetGroupOk

func (c *CheckStatusDefinition) GetGroupOk() (string, bool)

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

func (*CheckStatusDefinition) GetGrouping

func (c *CheckStatusDefinition) GetGrouping() string

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

func (*CheckStatusDefinition) GetGroupingOk

func (c *CheckStatusDefinition) GetGroupingOk() (string, bool)

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

func (*CheckStatusDefinition) GetTime

func (c *CheckStatusDefinition) GetTime() WidgetTime

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

func (*CheckStatusDefinition) GetTimeOk

func (c *CheckStatusDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*CheckStatusDefinition) GetTitle

func (c *CheckStatusDefinition) GetTitle() string

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

func (*CheckStatusDefinition) GetTitleAlign

func (c *CheckStatusDefinition) GetTitleAlign() string

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

func (*CheckStatusDefinition) GetTitleAlignOk

func (c *CheckStatusDefinition) GetTitleAlignOk() (string, bool)

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

func (*CheckStatusDefinition) GetTitleOk

func (c *CheckStatusDefinition) GetTitleOk() (string, bool)

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

func (*CheckStatusDefinition) GetTitleSize

func (c *CheckStatusDefinition) GetTitleSize() string

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

func (*CheckStatusDefinition) GetTitleSizeOk

func (c *CheckStatusDefinition) GetTitleSizeOk() (string, bool)

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

func (*CheckStatusDefinition) GetType

func (c *CheckStatusDefinition) GetType() string

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

func (*CheckStatusDefinition) GetTypeOk

func (c *CheckStatusDefinition) GetTypeOk() (string, bool)

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

func (*CheckStatusDefinition) HasCheck

func (c *CheckStatusDefinition) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasGroup

func (c *CheckStatusDefinition) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasGrouping

func (c *CheckStatusDefinition) HasGrouping() bool

HasGrouping returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTime

func (c *CheckStatusDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitle

func (c *CheckStatusDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitleAlign

func (c *CheckStatusDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasTitleSize

func (c *CheckStatusDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*CheckStatusDefinition) HasType

func (c *CheckStatusDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*CheckStatusDefinition) SetCheck

func (c *CheckStatusDefinition) SetCheck(v string)

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

func (*CheckStatusDefinition) SetGroup

func (c *CheckStatusDefinition) SetGroup(v string)

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

func (*CheckStatusDefinition) SetGrouping

func (c *CheckStatusDefinition) SetGrouping(v string)

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

func (*CheckStatusDefinition) SetTime

func (c *CheckStatusDefinition) SetTime(v WidgetTime)

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

func (*CheckStatusDefinition) SetTitle

func (c *CheckStatusDefinition) SetTitle(v string)

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

func (*CheckStatusDefinition) SetTitleAlign

func (c *CheckStatusDefinition) SetTitleAlign(v string)

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

func (*CheckStatusDefinition) SetTitleSize

func (c *CheckStatusDefinition) SetTitleSize(v string)

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

func (*CheckStatusDefinition) SetType

func (c *CheckStatusDefinition) SetType(v string)

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

type Client

type Client struct {

	//The Http Client that is used to make requests
	HttpClient   *http.Client
	RetryTimeout time.Duration

	//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

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

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

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

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

func (*Client) CheckCanDeleteServiceLevelObjectives

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

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

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

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

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

func (client *Client) CreateIntegrationAWS(awsAccount *IntegrationAWSAccount) (*IntegrationAWSAccountCreateResponse, error)

CreateIntegrationAWS adds a new AWS Account in the AWS Integrations. Use this if you want to setup the integration for the first time or to add more accounts.

func (*Client) CreateIntegrationGCP

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

CreateIntegrationGCP creates a new Google Cloud Platform Integration.

func (*Client) CreateIntegrationPD

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

CreateIntegrationPD creates new PagerDuty Integrations. Use this if you want to setup the integration for the first time or to add more services/schedules.

func (*Client) CreateIntegrationPDService

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

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

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

CreateIntegrationWebhook creates new webhook integration object(s).

func (*Client) CreateLogsPipeline

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

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

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

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

DeleteAPIKey deletes API key given by key, returns an error

func (*Client) DeleteAPPKey

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

DeleteAPPKey deletes APP key given by hash, returns an error

func (*Client) DeleteAWSLogCollection

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

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

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

DeleteDashboardList deletes a dashboard list by the identifier.

func (*Client) DeleteDashboardListItems

func (client *Client) DeleteDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)

DeleteDashboardListItems deletes dashboards from an existing dashboard list.

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

func (*Client) DeleteDashboardListItemsV2

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

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

DeleteIntegrationAWS removes a specific AWS Account from the AWS Integration.

func (*Client) DeleteIntegrationGCP

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

DeleteIntegrationGCP deletes a Google Cloud Platform Integration.

func (*Client) DeleteIntegrationPD

func (client *Client) DeleteIntegrationPD() error

DeleteIntegrationPD removes the PagerDuty Integration from the system.

func (*Client) DeleteIntegrationPDService

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

DeleteIntegrationPDService deletes a single service object in the PagerDuty integration

func (*Client) DeleteIntegrationSlack

func (client *Client) DeleteIntegrationSlack() error

DeleteIntegrationSlack removes the Slack Integration from the system.

func (*Client) DeleteIntegrationWebhook

func (client *Client) DeleteIntegrationWebhook() error

DeleteIntegrationWebhook removes the Webhook Integration from Datadog.

func (*Client) DeleteLogsPipeline

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

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

DeleteServiceLevelObjective removes an service level objective from the system.

func (*Client) DeleteServiceLevelObjectiveTimeFrames

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

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

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

func (*Client) DeleteSyntheticsTests

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

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

EnableLogCollectionAWSServices enables the log collection for the given AWS services

func (*Client) ForceDeleteMonitor

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

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

GetAPIKey returns a single API key or error on failure

func (*Client) GetAPIKeys

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

GetAPIKeys returns all API keys or error on failure

func (*Client) GetAPPKey

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

GetAPPKey returns a single APP key or error on failure

func (*Client) GetAPPKeys

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

func (c *Client) GetBaseUrl() string

GetBaseUrl returns the baseUrl.

func (*Client) GetBoard

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

GetBoard returns a single dashboard created on this account.

func (*Client) GetBoards

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

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

GetDashboardList returns a single dashboard list created on this account.

func (*Client) GetDashboardListItems

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

GetDashboardListItems fetches the dashboard list's dashboard definitions.

func (*Client) GetDashboardListItemsV2

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

GetDashboardListItemsV2 fetches the dashboard list's dashboard definitions.

func (*Client) GetDashboardLists

func (client *Client) GetDashboardLists() ([]DashboardList, error)

GetDashboardLists returns a list of all dashboard lists created on this account.

func (*Client) GetDashboards

func (client *Client) GetDashboards() ([]DashboardLite, error)

GetDashboards returns a list of all dashboards created on this account.

func (*Client) GetDowntime

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

Getdowntime retrieves an downtime by identifier.

func (*Client) GetDowntimes

func (client *Client) GetDowntimes(currentOnly bool) ([]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

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

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

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

func (*Client) GetIntegrationAWS

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

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

func (*Client) GetIntegrationAWSLogCollection

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

GetIntegrationAWSLogCollection gets all the configuration for the AWS log collection

func (*Client) GetIntegrationPD

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

GetIntegrationPD gets all the PagerDuty Integrations from the system.

func (*Client) GetIntegrationPDService

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

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

GetIntegrationSlack gets all the Slack Integrations from the system.

func (*Client) GetIntegrationWebhook

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

GetIntegrationWebhook gets all the Webhook Integrations from Datadog.

func (*Client) GetLogsIndex

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

GetLogsIndex gets the specific logs index by specific name.

func (*Client) GetLogsIndexList

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

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

func (*Client) GetLogsList

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

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

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

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

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

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

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

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

GetServiceLevelObjective retrieves an service level objective by identifier.

func (*Client) GetServiceLevelObjectiveHistory

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

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

GetSyntheticsBrowserDevices get all test devices (for browser)

func (*Client) GetSyntheticsLocations

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

GetSyntheticsLocations get all test locations

func (*Client) GetSyntheticsTest

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

GetSyntheticsTest get test by public id

func (*Client) GetSyntheticsTests

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

GetSyntheticsTests get all tests of type API

func (*Client) GetSyntheticsTestsByType

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

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

func (*Client) 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

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

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

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

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

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

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

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

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

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

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

func (*Client) UpdateAPPKey

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

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

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

UpdateDashboardList returns a single dashboard list created on this account.

func (*Client) UpdateDashboardListItems

func (client *Client) UpdateDashboardListItems(dashboardListId int, items []DashboardListItem) ([]DashboardListItem, error)

UpdateDashboardListItems updates dashboards of an existing dashboard list.

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

func (*Client) UpdateDashboardListItemsV2

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

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

UpdateIntegrationAWS updates an already existing AWS Account in the AWS Integration

func (*Client) UpdateIntegrationGCP

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

UpdateIntegrationGCP updates a Google Cloud Platform Integration project.

func (*Client) UpdateIntegrationPD

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

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

func (*Client) UpdateIntegrationPDService

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

UpdateIntegrationPDService updates a single service object in the PagerDuty integration

func (*Client) UpdateIntegrationSlack

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

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

func (*Client) UpdateIntegrationWebhook

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

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

UpdateLogsIndex updates the specific index by it's name.

func (*Client) UpdateLogsIndexList

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

UpdateLogsIndexList updates the order of indexes.

func (*Client) UpdateLogsPipeline

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

UpdateLogsPipeline updates the pipeline object of a given pipeline id.

func (*Client) UpdateLogsPipelineList

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

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

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

func (c *ConditionalFormat) GetCustomBgColor() string

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

func (*ConditionalFormat) GetCustomBgColorOk

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

func (c *ConditionalFormat) GetImageURL() string

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

func (*ConditionalFormat) GetImageURLOk

func (c *ConditionalFormat) GetImageURLOk() (string, bool)

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

func (*ConditionalFormat) GetInvert

func (c *ConditionalFormat) GetInvert() bool

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

func (*ConditionalFormat) GetInvertOk

func (c *ConditionalFormat) GetInvertOk() (bool, bool)

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

func (*ConditionalFormat) GetPalette

func (c *ConditionalFormat) GetPalette() string

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

func (*ConditionalFormat) GetPaletteOk

func (c *ConditionalFormat) GetPaletteOk() (string, bool)

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

func (*ConditionalFormat) GetValue

func (c *ConditionalFormat) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetValueOk

func (c *ConditionalFormat) GetValueOk() (string, bool)

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

func (*ConditionalFormat) HasColor

func (c *ConditionalFormat) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ConditionalFormat) HasComparator

func (c *ConditionalFormat) HasComparator() bool

HasComparator returns a boolean if a field has been set.

func (*ConditionalFormat) HasCustomBgColor

func (c *ConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*ConditionalFormat) HasImageURL

func (c *ConditionalFormat) HasImageURL() bool

HasImageURL returns a boolean if a field has been set.

func (*ConditionalFormat) HasInvert

func (c *ConditionalFormat) HasInvert() bool

HasInvert returns a boolean if a field has been set.

func (*ConditionalFormat) HasPalette

func (c *ConditionalFormat) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*ConditionalFormat) HasValue

func (c *ConditionalFormat) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*ConditionalFormat) SetColor

func (c *ConditionalFormat) SetColor(v string)

SetColor allocates a new c.Color and returns the pointer to it.

func (*ConditionalFormat) SetComparator

func (c *ConditionalFormat) SetComparator(v string)

SetComparator allocates a new c.Comparator and returns the pointer to it.

func (*ConditionalFormat) SetCustomBgColor

func (c *ConditionalFormat) SetCustomBgColor(v string)

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

func (*ConditionalFormat) SetImageURL

func (c *ConditionalFormat) SetImageURL(v string)

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

func (*ConditionalFormat) SetInvert

func (c *ConditionalFormat) SetInvert(v bool)

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

func (*ConditionalFormat) SetPalette

func (c *ConditionalFormat) SetPalette(v string)

SetPalette allocates a new c.Palette and returns the pointer to it.

func (*ConditionalFormat) SetValue

func (c *ConditionalFormat) SetValue(v string)

SetValue allocates a new c.Value and returns the pointer to it.

type CreatedBy

type CreatedBy struct {
	Disabled   *bool   `json:"disabled,omitempty"`
	Handle     *string `json:"handle,omitempty"`
	Name       *string `json:"name,omitempty"`
	IsAdmin    *bool   `json:"is_admin,omitempty"`
	Role       *string `json:"role,omitempty"`
	AccessRole *string `json:"access_role,omitempty"`
	Verified   *bool   `json:"verified,omitempty"`
	Email      *string `json:"email,omitempty"`
	Icon       *string `json:"icon,omitempty"`
}

CreatedBy represents a field from DashboardLite.

func (*CreatedBy) GetAccessRole

func (c *CreatedBy) GetAccessRole() string

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

func (*CreatedBy) GetAccessRoleOk

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

func (c *CreatedBy) GetDisabled() bool

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

func (*CreatedBy) GetDisabledOk

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

func (c *CreatedBy) GetEmail() string

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

func (*CreatedBy) GetEmailOk

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

func (c *CreatedBy) GetHandle() string

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

func (*CreatedBy) GetHandleOk

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

func (c *CreatedBy) GetIcon() string

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

func (*CreatedBy) GetIconOk

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

func (c *CreatedBy) GetIsAdmin() bool

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

func (*CreatedBy) GetIsAdminOk

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

func (c *CreatedBy) GetName() string

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

func (*CreatedBy) GetNameOk

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

func (c *CreatedBy) GetRole() string

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

func (*CreatedBy) GetRoleOk

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

func (c *CreatedBy) GetVerified() bool

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

func (*CreatedBy) GetVerifiedOk

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

func (c *CreatedBy) HasAccessRole() bool

HasAccessRole returns a boolean if a field has been set.

func (*CreatedBy) HasDisabled

func (c *CreatedBy) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*CreatedBy) HasEmail

func (c *CreatedBy) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CreatedBy) HasHandle

func (c *CreatedBy) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*CreatedBy) HasIcon

func (c *CreatedBy) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*CreatedBy) HasIsAdmin

func (c *CreatedBy) HasIsAdmin() bool

HasIsAdmin returns a boolean if a field has been set.

func (*CreatedBy) HasName

func (c *CreatedBy) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreatedBy) HasRole

func (c *CreatedBy) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*CreatedBy) HasVerified

func (c *CreatedBy) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (*CreatedBy) SetAccessRole

func (c *CreatedBy) SetAccessRole(v string)

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

func (*CreatedBy) SetDisabled

func (c *CreatedBy) SetDisabled(v bool)

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

func (*CreatedBy) SetEmail

func (c *CreatedBy) SetEmail(v string)

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

func (*CreatedBy) SetHandle

func (c *CreatedBy) SetHandle(v string)

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

func (*CreatedBy) SetIcon

func (c *CreatedBy) SetIcon(v string)

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

func (*CreatedBy) SetIsAdmin

func (c *CreatedBy) SetIsAdmin(v bool)

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

func (*CreatedBy) SetName

func (c *CreatedBy) SetName(v string)

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

func (*CreatedBy) SetRole

func (c *CreatedBy) SetRole(v string)

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

func (*CreatedBy) SetVerified

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

func (d *Dashboard) GetNewId() string

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

func (*Dashboard) GetNewIdOk

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

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

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

type DashboardList struct {
	Id             *int    `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	DashboardCount *int    `json:"dashboard_count,omitempty"`
}

DashboardList represents a dashboard list.

func (*DashboardList) GetDashboardCount

func (d *DashboardList) GetDashboardCount() int

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

func (*DashboardList) GetDashboardCountOk

func (d *DashboardList) GetDashboardCountOk() (int, bool)

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

func (*DashboardList) GetId

func (d *DashboardList) GetId() int

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

func (*DashboardList) GetIdOk

func (d *DashboardList) GetIdOk() (int, bool)

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

func (*DashboardList) GetName

func (d *DashboardList) GetName() string

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

func (*DashboardList) GetNameOk

func (d *DashboardList) GetNameOk() (string, bool)

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

func (*DashboardList) HasDashboardCount

func (d *DashboardList) HasDashboardCount() bool

HasDashboardCount returns a boolean if a field has been set.

func (*DashboardList) HasId

func (d *DashboardList) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardList) HasName

func (d *DashboardList) HasName() bool

HasName returns a boolean if a field has been set.

func (*DashboardList) SetDashboardCount

func (d *DashboardList) SetDashboardCount(v int)

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

func (*DashboardList) SetId

func (d *DashboardList) SetId(v int)

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

func (*DashboardList) SetName

func (d *DashboardList) SetName(v string)

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

type DashboardListItem

type DashboardListItem struct {
	Id   *int    `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
}

DashboardListItem represents a single dashboard in a dashboard list.

func (*DashboardListItem) GetId

func (d *DashboardListItem) GetId() int

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

func (*DashboardListItem) GetIdOk

func (d *DashboardListItem) GetIdOk() (int, bool)

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

func (*DashboardListItem) GetType

func (d *DashboardListItem) GetType() string

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

func (*DashboardListItem) GetTypeOk

func (d *DashboardListItem) GetTypeOk() (string, bool)

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

func (*DashboardListItem) HasId

func (d *DashboardListItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardListItem) HasType

func (d *DashboardListItem) HasType() bool

HasType returns a boolean if a field has been set.

func (*DashboardListItem) SetId

func (d *DashboardListItem) SetId(v int)

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

func (*DashboardListItem) SetType

func (d *DashboardListItem) SetType(v string)

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

type DashboardListItemV2

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

func (d *DashboardListItemV2) GetID() string

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

func (*DashboardListItemV2) GetIDOk

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

func (d *DashboardListItemV2) GetType() string

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

func (*DashboardListItemV2) GetTypeOk

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

func (d *DashboardListItemV2) HasID() bool

HasID returns a boolean if a field has been set.

func (*DashboardListItemV2) HasType

func (d *DashboardListItemV2) HasType() bool

HasType returns a boolean if a field has been set.

func (*DashboardListItemV2) SetID

func (d *DashboardListItemV2) SetID(v string)

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

func (*DashboardListItemV2) SetType

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

func (d *DashboardLite) GetCreated() string

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

func (*DashboardLite) GetCreatedBy

func (d *DashboardLite) GetCreatedBy() CreatedBy

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

func (*DashboardLite) GetCreatedByOk

func (d *DashboardLite) GetCreatedByOk() (CreatedBy, bool)

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

func (*DashboardLite) GetCreatedOk

func (d *DashboardLite) GetCreatedOk() (string, bool)

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

func (*DashboardLite) GetDescription

func (d *DashboardLite) GetDescription() string

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

func (*DashboardLite) GetDescriptionOk

func (d *DashboardLite) GetDescriptionOk() (string, bool)

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

func (*DashboardLite) GetId

func (d *DashboardLite) GetId() int

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

func (*DashboardLite) GetIdOk

func (d *DashboardLite) GetIdOk() (int, bool)

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

func (*DashboardLite) GetModified

func (d *DashboardLite) GetModified() string

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

func (*DashboardLite) GetModifiedOk

func (d *DashboardLite) GetModifiedOk() (string, bool)

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

func (*DashboardLite) GetReadOnly

func (d *DashboardLite) GetReadOnly() bool

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

func (*DashboardLite) GetReadOnlyOk

func (d *DashboardLite) GetReadOnlyOk() (bool, bool)

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

func (*DashboardLite) GetResource

func (d *DashboardLite) GetResource() string

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

func (*DashboardLite) GetResourceOk

func (d *DashboardLite) GetResourceOk() (string, bool)

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

func (*DashboardLite) GetTitle

func (d *DashboardLite) GetTitle() string

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

func (*DashboardLite) GetTitleOk

func (d *DashboardLite) GetTitleOk() (string, bool)

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

func (*DashboardLite) HasCreated

func (d *DashboardLite) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*DashboardLite) HasCreatedBy

func (d *DashboardLite) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*DashboardLite) HasDescription

func (d *DashboardLite) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DashboardLite) HasId

func (d *DashboardLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardLite) HasModified

func (d *DashboardLite) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*DashboardLite) HasReadOnly

func (d *DashboardLite) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*DashboardLite) HasResource

func (d *DashboardLite) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*DashboardLite) HasTitle

func (d *DashboardLite) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DashboardLite) SetCreated

func (d *DashboardLite) SetCreated(v string)

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

func (*DashboardLite) SetCreatedBy

func (d *DashboardLite) SetCreatedBy(v CreatedBy)

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

func (*DashboardLite) SetDescription

func (d *DashboardLite) SetDescription(v string)

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

func (*DashboardLite) SetId

func (d *DashboardLite) SetId(v int)

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

func (*DashboardLite) SetModified

func (d *DashboardLite) SetModified(v string)

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

func (*DashboardLite) SetReadOnly

func (d *DashboardLite) SetReadOnly(v bool)

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

func (*DashboardLite) SetResource

func (d *DashboardLite) SetResource(v string)

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

func (*DashboardLite) SetTitle

func (d *DashboardLite) SetTitle(v string)

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

type DataPoint

type DataPoint [2]*float64

DataPoint is a tuple of [UNIX timestamp, value]. This has to use floats because the value could be non-integer.

type DeleteSyntheticsTestsPayload

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

string array of public_id

type DistributionDefinition

type DistributionDefinition struct {
	Type       *string               `json:"type"`
	Requests   []DistributionRequest `json:"requests"`
	Title      *string               `json:"title,omitempty"`
	TitleSize  *string               `json:"title_size,omitempty"`
	TitleAlign *string               `json:"title_align,omitempty"`
	Time       *WidgetTime           `json:"time,omitempty"`
}

DistributionDefinition represents the definition for a Distribution widget

func (*DistributionDefinition) GetTime

func (d *DistributionDefinition) GetTime() WidgetTime

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

func (*DistributionDefinition) GetTimeOk

func (d *DistributionDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*DistributionDefinition) GetTitle

func (d *DistributionDefinition) GetTitle() string

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

func (*DistributionDefinition) GetTitleAlign

func (d *DistributionDefinition) GetTitleAlign() string

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

func (*DistributionDefinition) GetTitleAlignOk

func (d *DistributionDefinition) GetTitleAlignOk() (string, bool)

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

func (*DistributionDefinition) GetTitleOk

func (d *DistributionDefinition) GetTitleOk() (string, bool)

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

func (*DistributionDefinition) GetTitleSize

func (d *DistributionDefinition) GetTitleSize() string

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

func (*DistributionDefinition) GetTitleSizeOk

func (d *DistributionDefinition) GetTitleSizeOk() (string, bool)

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

func (*DistributionDefinition) GetType

func (d *DistributionDefinition) GetType() string

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

func (*DistributionDefinition) GetTypeOk

func (d *DistributionDefinition) GetTypeOk() (string, bool)

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

func (*DistributionDefinition) HasTime

func (d *DistributionDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitle

func (d *DistributionDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitleAlign

func (d *DistributionDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*DistributionDefinition) HasTitleSize

func (d *DistributionDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*DistributionDefinition) HasType

func (d *DistributionDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*DistributionDefinition) SetTime

func (d *DistributionDefinition) SetTime(v WidgetTime)

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

func (*DistributionDefinition) SetTitle

func (d *DistributionDefinition) SetTitle(v string)

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

func (*DistributionDefinition) SetTitleAlign

func (d *DistributionDefinition) SetTitleAlign(v string)

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

func (*DistributionDefinition) SetTitleSize

func (d *DistributionDefinition) SetTitleSize(v string)

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

func (*DistributionDefinition) SetType

func (d *DistributionDefinition) SetType(v string)

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

type DistributionRequest

type DistributionRequest struct {
	Style *WidgetRequestStyle `json:"style,omitempty"`
	// A DistributionRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*DistributionRequest) GetApmQuery

func (d *DistributionRequest) GetApmQuery() WidgetApmOrLogQuery

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

func (*DistributionRequest) GetApmQueryOk

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

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

func (*DistributionRequest) GetLogQuery

func (d *DistributionRequest) GetLogQuery() WidgetApmOrLogQuery

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

func (*DistributionRequest) GetLogQueryOk

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

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

func (*DistributionRequest) GetMetricQuery

func (d *DistributionRequest) GetMetricQuery() string

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

func (*DistributionRequest) GetMetricQueryOk

func (d *DistributionRequest) GetMetricQueryOk() (string, bool)

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

func (*DistributionRequest) GetProcessQuery

func (d *DistributionRequest) GetProcessQuery() WidgetProcessQuery

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

func (*DistributionRequest) GetProcessQueryOk

func (d *DistributionRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

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

func (*DistributionRequest) GetRumQuery

func (d *DistributionRequest) GetRumQuery() WidgetApmOrLogQuery

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

func (*DistributionRequest) GetRumQueryOk

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

func (d *DistributionRequest) GetSecurityQuery() WidgetApmOrLogQuery

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

func (*DistributionRequest) GetSecurityQueryOk

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

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

func (*DistributionRequest) GetStyleOk

func (d *DistributionRequest) GetStyleOk() (WidgetRequestStyle, bool)

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

func (*DistributionRequest) HasApmQuery

func (d *DistributionRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasLogQuery

func (d *DistributionRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasMetricQuery

func (d *DistributionRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasProcessQuery

func (d *DistributionRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasRumQuery

func (d *DistributionRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasSecurityQuery

func (d *DistributionRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*DistributionRequest) HasStyle

func (d *DistributionRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*DistributionRequest) SetApmQuery

func (d *DistributionRequest) SetApmQuery(v WidgetApmOrLogQuery)

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

func (*DistributionRequest) SetLogQuery

func (d *DistributionRequest) SetLogQuery(v WidgetApmOrLogQuery)

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

func (*DistributionRequest) SetMetricQuery

func (d *DistributionRequest) SetMetricQuery(v string)

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

func (*DistributionRequest) SetProcessQuery

func (d *DistributionRequest) SetProcessQuery(v WidgetProcessQuery)

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

func (*DistributionRequest) SetRumQuery

func (d *DistributionRequest) SetRumQuery(v WidgetApmOrLogQuery)

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

func (*DistributionRequest) SetSecurityQuery

func (d *DistributionRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

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

func (*DistributionRequest) SetStyle

func (d *DistributionRequest) SetStyle(v WidgetRequestStyle)

SetStyle allocates a new d.Style and returns the pointer to it.

type Downtime

type Downtime struct {
	Active      *bool       `json:"active,omitempty"`
	Canceled    *int        `json:"canceled,omitempty"`
	Disabled    *bool       `json:"disabled,omitempty"`
	End         *int        `json:"end,omitempty"`
	Id          *int        `json:"id,omitempty"`
	Message     *string     `json:"message,omitempty"`
	MonitorId   *int        `json:"monitor_id,omitempty"`
	MonitorTags []string    `json:"monitor_tags,omitempty"`
	ParentId    *int        `json:"parent_id,omitempty"`
	Timezone    *string     `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

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

func (d *Downtime) GetCreatorID() int

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

func (*Downtime) GetCreatorIDOk

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

func (d *Downtime) GetParentId() int

GetParentId returns the ParentId field if non-nil, zero value otherwise.

func (*Downtime) GetParentIdOk

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

func (d *Downtime) GetTimezone() string

GetTimezone returns the Timezone field if non-nil, zero value otherwise.

func (*Downtime) GetTimezoneOk

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

func (d *Downtime) GetType() int

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

func (*Downtime) GetTypeOk

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

func (d *Downtime) GetUpdaterID() int

GetUpdaterID returns the UpdaterID field if non-nil, zero value otherwise.

func (*Downtime) GetUpdaterIDOk

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

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

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

func (d *Downtime) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*Downtime) HasType

func (d *Downtime) HasType() bool

HasType returns a boolean if a field has been set.

func (*Downtime) HasUpdaterID

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

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

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

func (d *Downtime) SetTimezone(v string)

SetTimezone allocates a new d.Timezone and returns the pointer to it.

func (*Downtime) SetType

func (d *Downtime) SetType(v int)

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

func (*Downtime) SetUpdaterID

func (d *Downtime) SetUpdaterID(v int)

SetUpdaterID allocates a new d.UpdaterID and returns the pointer to it.

type DowntimeType

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

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

func (e *EventStreamDefinition) GetEventSize() string

GetEventSize returns the EventSize field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetEventSizeOk

func (e *EventStreamDefinition) GetEventSizeOk() (string, bool)

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

func (*EventStreamDefinition) GetQuery

func (e *EventStreamDefinition) GetQuery() string

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

func (*EventStreamDefinition) GetQueryOk

func (e *EventStreamDefinition) GetQueryOk() (string, bool)

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

func (*EventStreamDefinition) GetTagsExecution

func (e *EventStreamDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*EventStreamDefinition) GetTagsExecutionOk

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

func (e *EventStreamDefinition) GetTime() WidgetTime

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

func (*EventStreamDefinition) GetTimeOk

func (e *EventStreamDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*EventStreamDefinition) GetTitle

func (e *EventStreamDefinition) GetTitle() string

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

func (*EventStreamDefinition) GetTitleAlign

func (e *EventStreamDefinition) GetTitleAlign() string

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

func (*EventStreamDefinition) GetTitleAlignOk

func (e *EventStreamDefinition) GetTitleAlignOk() (string, bool)

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

func (*EventStreamDefinition) GetTitleOk

func (e *EventStreamDefinition) GetTitleOk() (string, bool)

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

func (*EventStreamDefinition) GetTitleSize

func (e *EventStreamDefinition) GetTitleSize() string

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

func (*EventStreamDefinition) GetTitleSizeOk

func (e *EventStreamDefinition) GetTitleSizeOk() (string, bool)

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

func (*EventStreamDefinition) GetType

func (e *EventStreamDefinition) GetType() string

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

func (*EventStreamDefinition) GetTypeOk

func (e *EventStreamDefinition) GetTypeOk() (string, bool)

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

func (*EventStreamDefinition) HasEventSize

func (e *EventStreamDefinition) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*EventStreamDefinition) HasQuery

func (e *EventStreamDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTagsExecution

func (e *EventStreamDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTime

func (e *EventStreamDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitle

func (e *EventStreamDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitleAlign

func (e *EventStreamDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventStreamDefinition) HasTitleSize

func (e *EventStreamDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventStreamDefinition) HasType

func (e *EventStreamDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventStreamDefinition) SetEventSize

func (e *EventStreamDefinition) SetEventSize(v string)

SetEventSize allocates a new e.EventSize and returns the pointer to it.

func (*EventStreamDefinition) SetQuery

func (e *EventStreamDefinition) SetQuery(v string)

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

func (*EventStreamDefinition) SetTagsExecution

func (e *EventStreamDefinition) SetTagsExecution(v string)

SetTagsExecution allocates a new e.TagsExecution and returns the pointer to it.

func (*EventStreamDefinition) SetTime

func (e *EventStreamDefinition) SetTime(v WidgetTime)

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

func (*EventStreamDefinition) SetTitle

func (e *EventStreamDefinition) SetTitle(v string)

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

func (*EventStreamDefinition) SetTitleAlign

func (e *EventStreamDefinition) SetTitleAlign(v string)

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

func (*EventStreamDefinition) SetTitleSize

func (e *EventStreamDefinition) SetTitleSize(v string)

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

func (*EventStreamDefinition) SetType

func (e *EventStreamDefinition) SetType(v string)

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

type EventTimelineDefinition

type EventTimelineDefinition struct {
	Type          *string     `json:"type"`
	Query         *string     `json:"query"`
	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

func (e *EventTimelineDefinition) GetQuery() string

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

func (*EventTimelineDefinition) GetQueryOk

func (e *EventTimelineDefinition) GetQueryOk() (string, bool)

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

func (*EventTimelineDefinition) GetTagsExecution

func (e *EventTimelineDefinition) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*EventTimelineDefinition) GetTagsExecutionOk

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

func (e *EventTimelineDefinition) GetTime() WidgetTime

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

func (*EventTimelineDefinition) GetTimeOk

func (e *EventTimelineDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*EventTimelineDefinition) GetTitle

func (e *EventTimelineDefinition) GetTitle() string

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

func (*EventTimelineDefinition) GetTitleAlign

func (e *EventTimelineDefinition) GetTitleAlign() string

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

func (*EventTimelineDefinition) GetTitleAlignOk

func (e *EventTimelineDefinition) GetTitleAlignOk() (string, bool)

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

func (*EventTimelineDefinition) GetTitleOk

func (e *EventTimelineDefinition) GetTitleOk() (string, bool)

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

func (*EventTimelineDefinition) GetTitleSize

func (e *EventTimelineDefinition) GetTitleSize() string

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

func (*EventTimelineDefinition) GetTitleSizeOk

func (e *EventTimelineDefinition) GetTitleSizeOk() (string, bool)

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

func (*EventTimelineDefinition) GetType

func (e *EventTimelineDefinition) GetType() string

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

func (*EventTimelineDefinition) GetTypeOk

func (e *EventTimelineDefinition) GetTypeOk() (string, bool)

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

func (*EventTimelineDefinition) HasQuery

func (e *EventTimelineDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTagsExecution

func (e *EventTimelineDefinition) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTime

func (e *EventTimelineDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitle

func (e *EventTimelineDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitleAlign

func (e *EventTimelineDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasTitleSize

func (e *EventTimelineDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventTimelineDefinition) HasType

func (e *EventTimelineDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventTimelineDefinition) SetQuery

func (e *EventTimelineDefinition) SetQuery(v string)

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

func (*EventTimelineDefinition) SetTagsExecution

func (e *EventTimelineDefinition) SetTagsExecution(v string)

SetTagsExecution allocates a new e.TagsExecution and returns the pointer to it.

func (*EventTimelineDefinition) SetTime

func (e *EventTimelineDefinition) SetTime(v WidgetTime)

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

func (*EventTimelineDefinition) SetTitle

func (e *EventTimelineDefinition) SetTitle(v string)

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

func (*EventTimelineDefinition) SetTitleAlign

func (e *EventTimelineDefinition) SetTitleAlign(v string)

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

func (*EventTimelineDefinition) SetTitleSize

func (e *EventTimelineDefinition) SetTitleSize(v string)

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

func (*EventTimelineDefinition) SetType

func (e *EventTimelineDefinition) SetType(v string)

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

type ExclusionFilter

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

func (e *ExclusionFilter) GetFilter() Filter

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

func (*ExclusionFilter) GetFilterOk

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

func (e *ExclusionFilter) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*ExclusionFilter) GetIsEnabledOk

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

func (e *ExclusionFilter) GetName() string

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

func (*ExclusionFilter) GetNameOk

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

func (e *ExclusionFilter) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*ExclusionFilter) HasIsEnabled

func (e *ExclusionFilter) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*ExclusionFilter) HasName

func (e *ExclusionFilter) HasName() bool

HasName returns a boolean if a field has been set.

func (*ExclusionFilter) SetFilter

func (e *ExclusionFilter) SetFilter(v Filter)

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

func (*ExclusionFilter) SetIsEnabled

func (e *ExclusionFilter) SetIsEnabled(v bool)

SetIsEnabled allocates a new e.IsEnabled and returns the pointer to it.

func (*ExclusionFilter) SetName

func (e *ExclusionFilter) SetName(v string)

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

type Filter

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

func (f *Filter) GetQuery() string

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

func (*Filter) GetQueryOk

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

func (f *Filter) GetSampleRate() float64

GetSampleRate returns the SampleRate field if non-nil, zero value otherwise.

func (*Filter) GetSampleRateOk

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

func (f *Filter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Filter) HasSampleRate

func (f *Filter) HasSampleRate() bool

HasSampleRate returns a boolean if a field has been set.

func (*Filter) SetQuery

func (f *Filter) SetQuery(v string)

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

func (*Filter) SetSampleRate

func (f *Filter) SetSampleRate(v float64)

SetSampleRate allocates a new f.SampleRate and returns the pointer to it.

type FilterConfiguration

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

FilterConfiguration struct to represent the json object of filter configuration.

func (*FilterConfiguration) GetQuery

func (f *FilterConfiguration) GetQuery() string

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

func (*FilterConfiguration) GetQueryOk

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

func (f *FilterConfiguration) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*FilterConfiguration) SetQuery

func (f *FilterConfiguration) SetQuery(v string)

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

type FreeTextDefinition

type FreeTextDefinition struct {
	Type      *string `json:"type"`
	Text      *string `json:"text"`
	Color     *string `json:"color,omitempty"`
	FontSize  *string `json:"font_size,omitempty"`
	TextAlign *string `json:"text_align,omitempty"`
}

FreeTextDefinition represents the definition for a Free Text widget

func (*FreeTextDefinition) GetColor

func (f *FreeTextDefinition) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetColorOk

func (f *FreeTextDefinition) GetColorOk() (string, bool)

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

func (*FreeTextDefinition) GetFontSize

func (f *FreeTextDefinition) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetFontSizeOk

func (f *FreeTextDefinition) GetFontSizeOk() (string, bool)

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

func (*FreeTextDefinition) GetText

func (f *FreeTextDefinition) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*FreeTextDefinition) GetTextAlign

func (f *FreeTextDefinition) GetTextAlign() string

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

func (*FreeTextDefinition) GetTextAlignOk

func (f *FreeTextDefinition) GetTextAlignOk() (string, bool)

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

func (*FreeTextDefinition) GetTextOk

func (f *FreeTextDefinition) GetTextOk() (string, bool)

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

func (*FreeTextDefinition) GetType

func (f *FreeTextDefinition) GetType() string

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

func (*FreeTextDefinition) GetTypeOk

func (f *FreeTextDefinition) GetTypeOk() (string, bool)

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

func (*FreeTextDefinition) HasColor

func (f *FreeTextDefinition) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*FreeTextDefinition) HasFontSize

func (f *FreeTextDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*FreeTextDefinition) HasText

func (f *FreeTextDefinition) HasText() bool

HasText returns a boolean if a field has been set.

func (*FreeTextDefinition) HasTextAlign

func (f *FreeTextDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*FreeTextDefinition) HasType

func (f *FreeTextDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*FreeTextDefinition) SetColor

func (f *FreeTextDefinition) SetColor(v string)

SetColor allocates a new f.Color and returns the pointer to it.

func (*FreeTextDefinition) SetFontSize

func (f *FreeTextDefinition) SetFontSize(v string)

SetFontSize allocates a new f.FontSize and returns the pointer to it.

func (*FreeTextDefinition) SetText

func (f *FreeTextDefinition) SetText(v string)

SetText allocates a new f.Text and returns the pointer to it.

func (*FreeTextDefinition) SetTextAlign

func (f *FreeTextDefinition) SetTextAlign(v string)

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

func (*FreeTextDefinition) SetType

func (f *FreeTextDefinition) SetType(v string)

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

type GeoIPParser

type GeoIPParser struct {
	Sources []string `json:"sources"`
	Target  *string  `json:"target"`
}

GeoIPParser represents geoIpParser object from config API.

func (*GeoIPParser) GetTarget

func (g *GeoIPParser) GetTarget() string

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

func (*GeoIPParser) GetTargetOk

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

func (g *GeoIPParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*GeoIPParser) SetTarget

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

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

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetComputeOk

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

func (g *GraphApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetIndexOk

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

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*GraphApmOrLogQuery) GetSearchOk

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

func (g *GraphApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) HasIndex

func (g *GraphApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) HasSearch

func (g *GraphApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*GraphApmOrLogQuery) SetCompute

SetCompute allocates a new g.Compute and returns the pointer to it.

func (*GraphApmOrLogQuery) SetIndex

func (g *GraphApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new g.Index and returns the pointer to it.

func (*GraphApmOrLogQuery) SetSearch

SetSearch allocates a new g.Search and returns the pointer to it.

type GraphApmOrLogQueryCompute

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

func (*GraphApmOrLogQueryCompute) GetAggregation

func (g *GraphApmOrLogQueryCompute) GetAggregation() string

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

func (*GraphApmOrLogQueryCompute) GetAggregationOk

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

func (g *GraphApmOrLogQueryCompute) GetFacet() string

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

func (*GraphApmOrLogQueryCompute) GetFacetOk

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

func (g *GraphApmOrLogQueryCompute) GetInterval() int

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

func (*GraphApmOrLogQueryCompute) GetIntervalOk

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

func (g *GraphApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) HasFacet

func (g *GraphApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) HasInterval

func (g *GraphApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*GraphApmOrLogQueryCompute) SetAggregation

func (g *GraphApmOrLogQueryCompute) SetAggregation(v string)

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

func (*GraphApmOrLogQueryCompute) SetFacet

func (g *GraphApmOrLogQueryCompute) SetFacet(v string)

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

func (*GraphApmOrLogQueryCompute) SetInterval

func (g *GraphApmOrLogQueryCompute) SetInterval(v int)

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

type GraphApmOrLogQueryGroupBy

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

func (*GraphApmOrLogQueryGroupBy) GetFacet

func (g *GraphApmOrLogQueryGroupBy) GetFacet() string

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

func (*GraphApmOrLogQueryGroupBy) GetFacetOk

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

func (g *GraphApmOrLogQueryGroupBy) GetLimit() int

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

func (*GraphApmOrLogQueryGroupBy) GetLimitOk

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

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

func (*GraphApmOrLogQueryGroupBy) GetSortOk

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

func (*GraphApmOrLogQueryGroupBy) HasFacet

func (g *GraphApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) HasLimit

func (g *GraphApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) HasSort

func (g *GraphApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBy) SetFacet

func (g *GraphApmOrLogQueryGroupBy) SetFacet(v string)

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

func (*GraphApmOrLogQueryGroupBy) SetLimit

func (g *GraphApmOrLogQueryGroupBy) SetLimit(v int)

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

func (*GraphApmOrLogQueryGroupBy) SetSort

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

type GraphApmOrLogQueryGroupBySort

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

func (*GraphApmOrLogQueryGroupBySort) GetAggregation

func (g *GraphApmOrLogQueryGroupBySort) GetAggregation() string

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

func (*GraphApmOrLogQueryGroupBySort) GetAggregationOk

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

func (g *GraphApmOrLogQueryGroupBySort) GetFacet() string

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

func (*GraphApmOrLogQueryGroupBySort) GetFacetOk

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

func (g *GraphApmOrLogQueryGroupBySort) GetOrder() string

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

func (*GraphApmOrLogQueryGroupBySort) GetOrderOk

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

func (g *GraphApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) HasFacet

func (g *GraphApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) HasOrder

func (g *GraphApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*GraphApmOrLogQueryGroupBySort) SetAggregation

func (g *GraphApmOrLogQueryGroupBySort) SetAggregation(v string)

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

func (*GraphApmOrLogQueryGroupBySort) SetFacet

func (g *GraphApmOrLogQueryGroupBySort) SetFacet(v string)

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

func (*GraphApmOrLogQueryGroupBySort) SetOrder

func (g *GraphApmOrLogQueryGroupBySort) SetOrder(v string)

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

type GraphApmOrLogQuerySearch

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

func (*GraphApmOrLogQuerySearch) GetQuery

func (g *GraphApmOrLogQuerySearch) GetQuery() string

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

func (*GraphApmOrLogQuerySearch) GetQueryOk

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

func (g *GraphApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*GraphApmOrLogQuerySearch) SetQuery

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

func (g *GraphDefinition) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*GraphDefinition) GetNodeTypeOk

func (g *GraphDefinition) GetNodeTypeOk() (string, bool)

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

func (*GraphDefinition) GetPrecision

func (g *GraphDefinition) GetPrecision() PrecisionT

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

func (*GraphDefinition) GetPrecisionOk

func (g *GraphDefinition) GetPrecisionOk() (PrecisionT, bool)

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

func (*GraphDefinition) GetStyle

func (g *GraphDefinition) GetStyle() Style

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

func (*GraphDefinition) GetStyleOk

func (g *GraphDefinition) GetStyleOk() (Style, bool)

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

func (*GraphDefinition) GetTextAlign

func (g *GraphDefinition) GetTextAlign() string

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

func (*GraphDefinition) GetTextAlignOk

func (g *GraphDefinition) GetTextAlignOk() (string, bool)

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

func (*GraphDefinition) GetViz

func (g *GraphDefinition) GetViz() string

GetViz returns the Viz field if non-nil, zero value otherwise.

func (*GraphDefinition) GetVizOk

func (g *GraphDefinition) GetVizOk() (string, bool)

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

func (*GraphDefinition) HasAutoscale

func (g *GraphDefinition) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*GraphDefinition) HasCustomUnit

func (g *GraphDefinition) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*GraphDefinition) HasIncludeNoMetricHosts

func (g *GraphDefinition) HasIncludeNoMetricHosts() bool

HasIncludeNoMetricHosts returns a boolean if a field has been set.

func (*GraphDefinition) HasIncludeUngroupedHosts

func (g *GraphDefinition) HasIncludeUngroupedHosts() bool

HasIncludeUngroupedHosts returns a boolean if a field has been set.

func (*GraphDefinition) HasNodeType

func (g *GraphDefinition) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*GraphDefinition) HasPrecision

func (g *GraphDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*GraphDefinition) HasStyle

func (g *GraphDefinition) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*GraphDefinition) HasTextAlign

func (g *GraphDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*GraphDefinition) HasViz

func (g *GraphDefinition) HasViz() bool

HasViz returns a boolean if a field has been set.

func (*GraphDefinition) SetAutoscale

func (g *GraphDefinition) SetAutoscale(v bool)

SetAutoscale allocates a new g.Autoscale and returns the pointer to it.

func (*GraphDefinition) SetCustomUnit

func (g *GraphDefinition) SetCustomUnit(v string)

SetCustomUnit allocates a new g.CustomUnit and returns the pointer to it.

func (*GraphDefinition) SetIncludeNoMetricHosts

func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool)

SetIncludeNoMetricHosts allocates a new g.IncludeNoMetricHosts and returns the pointer to it.

func (*GraphDefinition) SetIncludeUngroupedHosts

func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool)

SetIncludeUngroupedHosts allocates a new g.IncludeUngroupedHosts and returns the pointer to it.

func (*GraphDefinition) SetNodeType

func (g *GraphDefinition) SetNodeType(v string)

SetNodeType allocates a new g.NodeType and returns the pointer to it.

func (*GraphDefinition) SetPrecision

func (g *GraphDefinition) SetPrecision(v PrecisionT)

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

func (*GraphDefinition) SetStyle

func (g *GraphDefinition) SetStyle(v Style)

SetStyle allocates a new g.Style and returns the pointer to it.

func (*GraphDefinition) SetTextAlign

func (g *GraphDefinition) SetTextAlign(v string)

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

func (*GraphDefinition) SetViz

func (g *GraphDefinition) SetViz(v string)

SetViz allocates a new g.Viz and returns the pointer to it.

type GraphDefinitionMarker

type GraphDefinitionMarker struct {
	Type  *string      `json:"type,omitempty"`
	Value *string      `json:"value,omitempty"`
	Label *string      `json:"label,omitempty"`
	Val   *json.Number `json:"val,omitempty"`
	Min   *json.Number `json:"min,omitempty"`
	Max   *json.Number `json:"max,omitempty"`
}

func (*GraphDefinitionMarker) GetLabel

func (g *GraphDefinitionMarker) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*GraphDefinitionMarker) GetLabelOk

func (g *GraphDefinitionMarker) GetLabelOk() (string, bool)

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

func (*GraphDefinitionMarker) GetMax

func (g *GraphDefinitionMarker) GetMax() json.Number

GetMax returns the Max field if non-nil, zero value otherwise.

func (*GraphDefinitionMarker) GetMaxOk

func (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool)

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

func (*GraphDefinitionMarker) GetMin

func (g *GraphDefinitionMarker) GetMin() json.Number

GetMin returns the Min field if non-nil, zero value otherwise.

func (*GraphDefinitionMarker) GetMinOk

func (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool)

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

func (*GraphDefinitionMarker) GetType

func (g *GraphDefinitionMarker) GetType() string

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

func (*GraphDefinitionMarker) GetTypeOk

func (g *GraphDefinitionMarker) GetTypeOk() (string, bool)

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

func (*GraphDefinitionMarker) GetVal

func (g *GraphDefinitionMarker) GetVal() json.Number

GetVal returns the Val field if non-nil, zero value otherwise.

func (*GraphDefinitionMarker) GetValOk

func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool)

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

func (*GraphDefinitionMarker) GetValue

func (g *GraphDefinitionMarker) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*GraphDefinitionMarker) GetValueOk

func (g *GraphDefinitionMarker) GetValueOk() (string, bool)

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

func (*GraphDefinitionMarker) HasLabel

func (g *GraphDefinitionMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasMax

func (g *GraphDefinitionMarker) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasMin

func (g *GraphDefinitionMarker) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasType

func (g *GraphDefinitionMarker) HasType() bool

HasType returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasVal

func (g *GraphDefinitionMarker) HasVal() bool

HasVal returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasValue

func (g *GraphDefinitionMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*GraphDefinitionMarker) SetLabel

func (g *GraphDefinitionMarker) SetLabel(v string)

SetLabel allocates a new g.Label and returns the pointer to it.

func (*GraphDefinitionMarker) SetMax

func (g *GraphDefinitionMarker) SetMax(v json.Number)

SetMax allocates a new g.Max and returns the pointer to it.

func (*GraphDefinitionMarker) SetMin

func (g *GraphDefinitionMarker) SetMin(v json.Number)

SetMin allocates a new g.Min and returns the pointer to it.

func (*GraphDefinitionMarker) SetType

func (g *GraphDefinitionMarker) SetType(v string)

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

func (*GraphDefinitionMarker) SetVal

func (g *GraphDefinitionMarker) SetVal(v json.Number)

SetVal allocates a new g.Val and returns the pointer to it.

func (*GraphDefinitionMarker) SetValue

func (g *GraphDefinitionMarker) SetValue(v string)

SetValue allocates a new g.Value and returns the pointer to it.

type GraphDefinitionMetadata

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

func (g *GraphDefinitionRequest) GetApmQuery() GraphApmOrLogQuery

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

func (*GraphDefinitionRequest) GetApmQueryOk

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

func (g *GraphDefinitionRequest) GetLogQuery() GraphApmOrLogQuery

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

func (*GraphDefinitionRequest) GetLogQueryOk

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

func (g *GraphDefinitionRequest) GetProcessQuery() GraphProcessQuery

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

func (*GraphDefinitionRequest) GetProcessQueryOk

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

func (g *GraphDefinitionRequest) GetRumQuery() GraphApmOrLogQuery

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

func (*GraphDefinitionRequest) GetRumQueryOk

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

func (g *GraphDefinitionRequest) GetSecurityQuery() GraphApmOrLogQuery

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

func (*GraphDefinitionRequest) GetSecurityQueryOk

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

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

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

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

func (g *GraphDefinitionRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasSecurityQuery

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

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

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

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

func (g *GraphDefinitionRequest) SetRumQuery(v GraphApmOrLogQuery)

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

func (*GraphDefinitionRequest) SetSecurityQuery

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

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

func (g *GraphProcessQuery) GetLimit() int

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

func (*GraphProcessQuery) GetLimitOk

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

func (g *GraphProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*GraphProcessQuery) GetMetricOk

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

func (g *GraphProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*GraphProcessQuery) GetSearchByOk

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

func (g *GraphProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*GraphProcessQuery) HasMetric

func (g *GraphProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*GraphProcessQuery) HasSearchBy

func (g *GraphProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*GraphProcessQuery) SetLimit

func (g *GraphProcessQuery) SetLimit(v int)

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

func (*GraphProcessQuery) SetMetric

func (g *GraphProcessQuery) SetMetric(v string)

SetMetric allocates a new g.Metric and returns the pointer to it.

func (*GraphProcessQuery) SetSearchBy

func (g *GraphProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new g.SearchBy and returns the pointer to it.

type GrokParser

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

func (g *GrokParser) GetGrokRule() GrokRule

GetGrokRule returns the GrokRule field if non-nil, zero value otherwise.

func (*GrokParser) GetGrokRuleOk

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

func (g *GrokParser) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

func (*GrokParser) GetSourceOk

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

func (g *GrokParser) HasGrokRule() bool

HasGrokRule returns a boolean if a field has been set.

func (*GrokParser) HasSource

func (g *GrokParser) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*GrokParser) SetGrokRule

func (g *GrokParser) SetGrokRule(v GrokRule)

SetGrokRule allocates a new g.GrokRule and returns the pointer to it.

func (*GrokParser) SetSource

func (g *GrokParser) SetSource(v string)

SetSource allocates a new g.Source and returns the pointer to it.

type GrokRule

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

func (g *GrokRule) GetMatchRules() string

GetMatchRules returns the MatchRules field if non-nil, zero value otherwise.

func (*GrokRule) GetMatchRulesOk

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

func (g *GrokRule) GetSupportRules() string

GetSupportRules returns the SupportRules field if non-nil, zero value otherwise.

func (*GrokRule) GetSupportRulesOk

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

func (g *GrokRule) HasMatchRules() bool

HasMatchRules returns a boolean if a field has been set.

func (*GrokRule) HasSupportRules

func (g *GrokRule) HasSupportRules() bool

HasSupportRules returns a boolean if a field has been set.

func (*GrokRule) SetMatchRules

func (g *GrokRule) SetMatchRules(v string)

SetMatchRules allocates a new g.MatchRules and returns the pointer to it.

func (*GrokRule) SetSupportRules

func (g *GrokRule) SetSupportRules(v string)

SetSupportRules allocates a new g.SupportRules and returns the pointer to it.

type GroupData

type GroupData struct {
	LastNoDataTs    *int             `json:"last_nodata_ts,omitempty"`
	LastNotifiedTs  *int             `json:"last_notified_ts,omitempty"`
	LastResolvedTs  *int             `json:"last_resolved_ts,omitempty"`
	LastTriggeredTs *int             `json:"last_triggered_ts,omitempty"`
	Name            *string          `json:"name,omitempty"`
	Status          *string          `json:"status,omitempty"`
	TriggeringValue *TriggeringValue `json:"triggering_value,omitempty"`
}

func (*GroupData) GetLastNoDataTs

func (g *GroupData) GetLastNoDataTs() int

GetLastNoDataTs returns the LastNoDataTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastNoDataTsOk

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

func (g *GroupData) GetLastNotifiedTs() int

GetLastNotifiedTs returns the LastNotifiedTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastNotifiedTsOk

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

func (g *GroupData) GetLastResolvedTs() int

GetLastResolvedTs returns the LastResolvedTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastResolvedTsOk

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

func (g *GroupData) GetLastTriggeredTs() int

GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise.

func (*GroupData) GetLastTriggeredTsOk

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

func (g *GroupData) GetName() string

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

func (*GroupData) GetNameOk

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

func (g *GroupData) GetStatus() string

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

func (*GroupData) GetStatusOk

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

func (g *GroupData) GetTriggeringValue() TriggeringValue

GetTriggeringValue returns the TriggeringValue field if non-nil, zero value otherwise.

func (*GroupData) GetTriggeringValueOk

func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool)

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

func (*GroupData) HasLastNoDataTs

func (g *GroupData) HasLastNoDataTs() bool

HasLastNoDataTs returns a boolean if a field has been set.

func (*GroupData) HasLastNotifiedTs

func (g *GroupData) HasLastNotifiedTs() bool

HasLastNotifiedTs returns a boolean if a field has been set.

func (*GroupData) HasLastResolvedTs

func (g *GroupData) HasLastResolvedTs() bool

HasLastResolvedTs returns a boolean if a field has been set.

func (*GroupData) HasLastTriggeredTs

func (g *GroupData) HasLastTriggeredTs() bool

HasLastTriggeredTs returns a boolean if a field has been set.

func (*GroupData) HasName

func (g *GroupData) HasName() bool

HasName returns a boolean if a field has been set.

func (*GroupData) HasStatus

func (g *GroupData) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GroupData) HasTriggeringValue

func (g *GroupData) HasTriggeringValue() bool

HasTriggeringValue returns a boolean if a field has been set.

func (*GroupData) SetLastNoDataTs

func (g *GroupData) SetLastNoDataTs(v int)

SetLastNoDataTs allocates a new g.LastNoDataTs and returns the pointer to it.

func (*GroupData) SetLastNotifiedTs

func (g *GroupData) SetLastNotifiedTs(v int)

SetLastNotifiedTs allocates a new g.LastNotifiedTs and returns the pointer to it.

func (*GroupData) SetLastResolvedTs

func (g *GroupData) SetLastResolvedTs(v int)

SetLastResolvedTs allocates a new g.LastResolvedTs and returns the pointer to it.

func (*GroupData) SetLastTriggeredTs

func (g *GroupData) SetLastTriggeredTs(v int)

SetLastTriggeredTs allocates a new g.LastTriggeredTs and returns the pointer to it.

func (*GroupData) SetName

func (g *GroupData) SetName(v string)

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

func (*GroupData) SetStatus

func (g *GroupData) SetStatus(v string)

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

func (*GroupData) SetTriggeringValue

func (g *GroupData) SetTriggeringValue(v TriggeringValue)

SetTriggeringValue allocates a new g.TriggeringValue and returns the pointer to it.

type GroupDefinition

type GroupDefinition struct {
	Type       *string       `json:"type"`
	LayoutType *string       `json:"layout_type"`
	Widgets    []BoardWidget `json:"widgets"`
	Title      *string       `json:"title,omitempty"`
}

GroupDefinition represents the definition for an Group widget

func (*GroupDefinition) GetLayoutType

func (g *GroupDefinition) GetLayoutType() string

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

func (*GroupDefinition) GetLayoutTypeOk

func (g *GroupDefinition) GetLayoutTypeOk() (string, bool)

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

func (*GroupDefinition) GetTitle

func (g *GroupDefinition) GetTitle() string

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

func (*GroupDefinition) GetTitleOk

func (g *GroupDefinition) GetTitleOk() (string, bool)

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

func (*GroupDefinition) GetType

func (g *GroupDefinition) GetType() string

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

func (*GroupDefinition) GetTypeOk

func (g *GroupDefinition) GetTypeOk() (string, bool)

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

func (*GroupDefinition) HasLayoutType

func (g *GroupDefinition) HasLayoutType() bool

HasLayoutType returns a boolean if a field has been set.

func (*GroupDefinition) HasTitle

func (g *GroupDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GroupDefinition) HasType

func (g *GroupDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*GroupDefinition) SetLayoutType

func (g *GroupDefinition) SetLayoutType(v string)

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

func (*GroupDefinition) SetTitle

func (g *GroupDefinition) SetTitle(v string)

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

func (*GroupDefinition) SetType

func (g *GroupDefinition) SetType(v string)

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

type HeatmapDefinition

type HeatmapDefinition struct {
	Type       *string          `json:"type"`
	Requests   []HeatmapRequest `json:"requests"`
	Yaxis      *WidgetAxis      `json:"yaxis,omitempty"`
	Events     []WidgetEvent    `json:"events,omitempty"`
	Title      *string          `json:"title,omitempty"`
	TitleSize  *string          `json:"title_size,omitempty"`
	TitleAlign *string          `json:"title_align,omitempty"`
	Time       *WidgetTime      `json:"time,omitempty"`
}

HeatmapDefinition represents the definition for a Heatmap widget

func (*HeatmapDefinition) GetTime

func (h *HeatmapDefinition) GetTime() WidgetTime

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

func (*HeatmapDefinition) GetTimeOk

func (h *HeatmapDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*HeatmapDefinition) GetTitle

func (h *HeatmapDefinition) GetTitle() string

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

func (*HeatmapDefinition) GetTitleAlign

func (h *HeatmapDefinition) GetTitleAlign() string

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

func (*HeatmapDefinition) GetTitleAlignOk

func (h *HeatmapDefinition) GetTitleAlignOk() (string, bool)

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

func (*HeatmapDefinition) GetTitleOk

func (h *HeatmapDefinition) GetTitleOk() (string, bool)

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

func (*HeatmapDefinition) GetTitleSize

func (h *HeatmapDefinition) GetTitleSize() string

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

func (*HeatmapDefinition) GetTitleSizeOk

func (h *HeatmapDefinition) GetTitleSizeOk() (string, bool)

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

func (*HeatmapDefinition) GetType

func (h *HeatmapDefinition) GetType() string

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

func (*HeatmapDefinition) GetTypeOk

func (h *HeatmapDefinition) GetTypeOk() (string, bool)

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

func (*HeatmapDefinition) GetYaxis

func (h *HeatmapDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*HeatmapDefinition) GetYaxisOk

func (h *HeatmapDefinition) GetYaxisOk() (WidgetAxis, bool)

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

func (*HeatmapDefinition) HasTime

func (h *HeatmapDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitle

func (h *HeatmapDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitleAlign

func (h *HeatmapDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HeatmapDefinition) HasTitleSize

func (h *HeatmapDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HeatmapDefinition) HasType

func (h *HeatmapDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*HeatmapDefinition) HasYaxis

func (h *HeatmapDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*HeatmapDefinition) SetTime

func (h *HeatmapDefinition) SetTime(v WidgetTime)

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

func (*HeatmapDefinition) SetTitle

func (h *HeatmapDefinition) SetTitle(v string)

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

func (*HeatmapDefinition) SetTitleAlign

func (h *HeatmapDefinition) SetTitleAlign(v string)

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

func (*HeatmapDefinition) SetTitleSize

func (h *HeatmapDefinition) SetTitleSize(v string)

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

func (*HeatmapDefinition) SetType

func (h *HeatmapDefinition) SetType(v string)

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

func (*HeatmapDefinition) SetYaxis

func (h *HeatmapDefinition) SetYaxis(v WidgetAxis)

SetYaxis allocates a new h.Yaxis and returns the pointer to it.

type HeatmapRequest

type HeatmapRequest struct {
	Style *WidgetRequestStyle `json:"style,omitempty"`
	// A HeatmapRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*HeatmapRequest) GetApmQuery

func (h *HeatmapRequest) GetApmQuery() WidgetApmOrLogQuery

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

func (*HeatmapRequest) GetApmQueryOk

func (h *HeatmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

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

func (*HeatmapRequest) GetLogQuery

func (h *HeatmapRequest) GetLogQuery() WidgetApmOrLogQuery

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

func (*HeatmapRequest) GetLogQueryOk

func (h *HeatmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

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

func (*HeatmapRequest) GetMetricQuery

func (h *HeatmapRequest) GetMetricQuery() string

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

func (*HeatmapRequest) GetMetricQueryOk

func (h *HeatmapRequest) GetMetricQueryOk() (string, bool)

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

func (*HeatmapRequest) GetProcessQuery

func (h *HeatmapRequest) GetProcessQuery() WidgetProcessQuery

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

func (*HeatmapRequest) GetProcessQueryOk

func (h *HeatmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

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

func (*HeatmapRequest) GetRumQuery

func (h *HeatmapRequest) GetRumQuery() WidgetApmOrLogQuery

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

func (*HeatmapRequest) GetRumQueryOk

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

func (h *HeatmapRequest) GetSecurityQuery() WidgetApmOrLogQuery

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

func (*HeatmapRequest) GetSecurityQueryOk

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

func (h *HeatmapRequest) GetStyle() WidgetRequestStyle

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

func (*HeatmapRequest) GetStyleOk

func (h *HeatmapRequest) GetStyleOk() (WidgetRequestStyle, bool)

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

func (*HeatmapRequest) HasApmQuery

func (h *HeatmapRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasLogQuery

func (h *HeatmapRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasMetricQuery

func (h *HeatmapRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasProcessQuery

func (h *HeatmapRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasRumQuery

func (h *HeatmapRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasSecurityQuery

func (h *HeatmapRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*HeatmapRequest) HasStyle

func (h *HeatmapRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*HeatmapRequest) SetApmQuery

func (h *HeatmapRequest) SetApmQuery(v WidgetApmOrLogQuery)

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

func (*HeatmapRequest) SetLogQuery

func (h *HeatmapRequest) SetLogQuery(v WidgetApmOrLogQuery)

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

func (*HeatmapRequest) SetMetricQuery

func (h *HeatmapRequest) SetMetricQuery(v string)

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

func (*HeatmapRequest) SetProcessQuery

func (h *HeatmapRequest) SetProcessQuery(v WidgetProcessQuery)

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

func (*HeatmapRequest) SetRumQuery

func (h *HeatmapRequest) SetRumQuery(v WidgetApmOrLogQuery)

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

func (*HeatmapRequest) SetSecurityQuery

func (h *HeatmapRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

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

func (*HeatmapRequest) SetStyle

func (h *HeatmapRequest) SetStyle(v WidgetRequestStyle)

SetStyle allocates a new h.Style and returns the pointer to it.

type HostActionMute

type HostActionMute struct {
	Message  *string `json:"message,omitempty"`
	EndTime  *string `json:"end,omitempty"`
	Override *bool   `json:"override,omitempty"`
}

func (*HostActionMute) GetEndTime

func (h *HostActionMute) GetEndTime() string

GetEndTime returns the EndTime field if non-nil, zero value otherwise.

func (*HostActionMute) GetEndTimeOk

func (h *HostActionMute) GetEndTimeOk() (string, bool)

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

func (*HostActionMute) GetMessage

func (h *HostActionMute) GetMessage() string

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

func (*HostActionMute) GetMessageOk

func (h *HostActionMute) GetMessageOk() (string, bool)

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

func (*HostActionMute) GetOverride

func (h *HostActionMute) GetOverride() bool

GetOverride returns the Override field if non-nil, zero value otherwise.

func (*HostActionMute) GetOverrideOk

func (h *HostActionMute) GetOverrideOk() (bool, bool)

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

func (*HostActionMute) HasEndTime

func (h *HostActionMute) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*HostActionMute) HasMessage

func (h *HostActionMute) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*HostActionMute) HasOverride

func (h *HostActionMute) HasOverride() bool

HasOverride returns a boolean if a field has been set.

func (*HostActionMute) SetEndTime

func (h *HostActionMute) SetEndTime(v string)

SetEndTime allocates a new h.EndTime and returns the pointer to it.

func (*HostActionMute) SetMessage

func (h *HostActionMute) SetMessage(v string)

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

func (*HostActionMute) SetOverride

func (h *HostActionMute) SetOverride(v bool)

SetOverride allocates a new h.Override and returns the pointer to it.

type HostActionResp

type HostActionResp struct {
	Action   string `json:"action"`
	Hostname string `json:"hostname"`
	Message  string `json:"message,omitempty"`
}

type HostTotalsResp

type HostTotalsResp struct {
	TotalUp     *int `json:"total_up"`
	TotalActive *int `json:"total_active"`
}

HostTotalsResp defines response to GET /v1/hosts/totals.

func (*HostTotalsResp) GetTotalActive

func (h *HostTotalsResp) GetTotalActive() int

GetTotalActive returns the TotalActive field if non-nil, zero value otherwise.

func (*HostTotalsResp) GetTotalActiveOk

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

func (h *HostTotalsResp) GetTotalUp() int

GetTotalUp returns the TotalUp field if non-nil, zero value otherwise.

func (*HostTotalsResp) GetTotalUpOk

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

func (h *HostTotalsResp) HasTotalActive() bool

HasTotalActive returns a boolean if a field has been set.

func (*HostTotalsResp) HasTotalUp

func (h *HostTotalsResp) HasTotalUp() bool

HasTotalUp returns a boolean if a field has been set.

func (*HostTotalsResp) SetTotalActive

func (h *HostTotalsResp) SetTotalActive(v int)

SetTotalActive allocates a new h.TotalActive and returns the pointer to it.

func (*HostTotalsResp) SetTotalUp

func (h *HostTotalsResp) SetTotalUp(v int)

SetTotalUp allocates a new h.TotalUp and returns the pointer to it.

type HostmapDefinition

type HostmapDefinition struct {
	Type          *string          `json:"type"`
	Requests      *HostmapRequests `json:"requests"`
	NodeType      *string          `json:"node_type,omitempty"`
	NoMetricHosts *bool            `json:"no_metric_hosts,omitempty"`
	NoGroupHosts  *bool            `json:"no_group_hosts,omitempty"`
	Group         []string         `json:"group,omitempty"`
	Scope         []string         `json:"scope,omitempty"`
	Style         *HostmapStyle    `json:"style,omitempty"`
	Title         *string          `json:"title,omitempty"`
	TitleSize     *string          `json:"title_size,omitempty"`
	TitleAlign    *string          `json:"title_align,omitempty"`
}

HostmapDefinition represents the definition for a Hostmap widget

func (*HostmapDefinition) GetNoGroupHosts

func (h *HostmapDefinition) GetNoGroupHosts() bool

GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNoGroupHostsOk

func (h *HostmapDefinition) GetNoGroupHostsOk() (bool, bool)

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

func (*HostmapDefinition) GetNoMetricHosts

func (h *HostmapDefinition) GetNoMetricHosts() bool

GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNoMetricHostsOk

func (h *HostmapDefinition) GetNoMetricHostsOk() (bool, bool)

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

func (*HostmapDefinition) GetNodeType

func (h *HostmapDefinition) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetNodeTypeOk

func (h *HostmapDefinition) GetNodeTypeOk() (string, bool)

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

func (*HostmapDefinition) GetRequests

func (h *HostmapDefinition) GetRequests() HostmapRequests

GetRequests returns the Requests field if non-nil, zero value otherwise.

func (*HostmapDefinition) GetRequestsOk

func (h *HostmapDefinition) GetRequestsOk() (HostmapRequests, bool)

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

func (*HostmapDefinition) GetStyle

func (h *HostmapDefinition) GetStyle() HostmapStyle

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

func (*HostmapDefinition) GetStyleOk

func (h *HostmapDefinition) GetStyleOk() (HostmapStyle, bool)

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

func (*HostmapDefinition) GetTitle

func (h *HostmapDefinition) GetTitle() string

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

func (*HostmapDefinition) GetTitleAlign

func (h *HostmapDefinition) GetTitleAlign() string

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

func (*HostmapDefinition) GetTitleAlignOk

func (h *HostmapDefinition) GetTitleAlignOk() (string, bool)

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

func (*HostmapDefinition) GetTitleOk

func (h *HostmapDefinition) GetTitleOk() (string, bool)

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

func (*HostmapDefinition) GetTitleSize

func (h *HostmapDefinition) GetTitleSize() string

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

func (*HostmapDefinition) GetTitleSizeOk

func (h *HostmapDefinition) GetTitleSizeOk() (string, bool)

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

func (*HostmapDefinition) GetType

func (h *HostmapDefinition) GetType() string

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

func (*HostmapDefinition) GetTypeOk

func (h *HostmapDefinition) GetTypeOk() (string, bool)

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

func (*HostmapDefinition) HasNoGroupHosts

func (h *HostmapDefinition) HasNoGroupHosts() bool

HasNoGroupHosts returns a boolean if a field has been set.

func (*HostmapDefinition) HasNoMetricHosts

func (h *HostmapDefinition) HasNoMetricHosts() bool

HasNoMetricHosts returns a boolean if a field has been set.

func (*HostmapDefinition) HasNodeType

func (h *HostmapDefinition) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*HostmapDefinition) HasRequests

func (h *HostmapDefinition) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*HostmapDefinition) HasStyle

func (h *HostmapDefinition) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitle

func (h *HostmapDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitleAlign

func (h *HostmapDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HostmapDefinition) HasTitleSize

func (h *HostmapDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HostmapDefinition) HasType

func (h *HostmapDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*HostmapDefinition) SetNoGroupHosts

func (h *HostmapDefinition) SetNoGroupHosts(v bool)

SetNoGroupHosts allocates a new h.NoGroupHosts and returns the pointer to it.

func (*HostmapDefinition) SetNoMetricHosts

func (h *HostmapDefinition) SetNoMetricHosts(v bool)

SetNoMetricHosts allocates a new h.NoMetricHosts and returns the pointer to it.

func (*HostmapDefinition) SetNodeType

func (h *HostmapDefinition) SetNodeType(v string)

SetNodeType allocates a new h.NodeType and returns the pointer to it.

func (*HostmapDefinition) SetRequests

func (h *HostmapDefinition) SetRequests(v HostmapRequests)

SetRequests allocates a new h.Requests and returns the pointer to it.

func (*HostmapDefinition) SetStyle

func (h *HostmapDefinition) SetStyle(v HostmapStyle)

SetStyle allocates a new h.Style and returns the pointer to it.

func (*HostmapDefinition) SetTitle

func (h *HostmapDefinition) SetTitle(v string)

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

func (*HostmapDefinition) SetTitleAlign

func (h *HostmapDefinition) SetTitleAlign(v string)

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

func (*HostmapDefinition) SetTitleSize

func (h *HostmapDefinition) SetTitleSize(v string)

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

func (*HostmapDefinition) SetType

func (h *HostmapDefinition) SetType(v string)

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

type HostmapRequest

type HostmapRequest struct {
	// A HostmapRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*HostmapRequest) GetApmQuery

func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery

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

func (*HostmapRequest) GetApmQueryOk

func (h *HostmapRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

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

func (*HostmapRequest) GetLogQuery

func (h *HostmapRequest) GetLogQuery() WidgetApmOrLogQuery

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

func (*HostmapRequest) GetLogQueryOk

func (h *HostmapRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

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

func (*HostmapRequest) GetMetricQuery

func (h *HostmapRequest) GetMetricQuery() string

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

func (*HostmapRequest) GetMetricQueryOk

func (h *HostmapRequest) GetMetricQueryOk() (string, bool)

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

func (*HostmapRequest) GetProcessQuery

func (h *HostmapRequest) GetProcessQuery() WidgetProcessQuery

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

func (*HostmapRequest) GetProcessQueryOk

func (h *HostmapRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

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

func (*HostmapRequest) GetRumQuery

func (h *HostmapRequest) GetRumQuery() WidgetApmOrLogQuery

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

func (*HostmapRequest) GetRumQueryOk

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

func (h *HostmapRequest) GetSecurityQuery() WidgetApmOrLogQuery

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

func (*HostmapRequest) GetSecurityQueryOk

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

func (h *HostmapRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasLogQuery

func (h *HostmapRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasMetricQuery

func (h *HostmapRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasProcessQuery

func (h *HostmapRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasRumQuery

func (h *HostmapRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*HostmapRequest) HasSecurityQuery

func (h *HostmapRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*HostmapRequest) SetApmQuery

func (h *HostmapRequest) SetApmQuery(v WidgetApmOrLogQuery)

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

func (*HostmapRequest) SetLogQuery

func (h *HostmapRequest) SetLogQuery(v WidgetApmOrLogQuery)

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

func (*HostmapRequest) SetMetricQuery

func (h *HostmapRequest) SetMetricQuery(v string)

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

func (*HostmapRequest) SetProcessQuery

func (h *HostmapRequest) SetProcessQuery(v WidgetProcessQuery)

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

func (*HostmapRequest) SetRumQuery

func (h *HostmapRequest) SetRumQuery(v WidgetApmOrLogQuery)

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

func (*HostmapRequest) SetSecurityQuery

func (h *HostmapRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

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

type HostmapRequests

type HostmapRequests struct {
	Fill *HostmapRequest `json:"fill,omitempty"`
	Size *HostmapRequest `json:"size,omitempty"`
}

func (*HostmapRequests) GetFill

func (h *HostmapRequests) GetFill() HostmapRequest

GetFill returns the Fill field if non-nil, zero value otherwise.

func (*HostmapRequests) GetFillOk

func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool)

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

func (*HostmapRequests) GetSize

func (h *HostmapRequests) GetSize() HostmapRequest

GetSize returns the Size field if non-nil, zero value otherwise.

func (*HostmapRequests) GetSizeOk

func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool)

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

func (*HostmapRequests) HasFill

func (h *HostmapRequests) HasFill() bool

HasFill returns a boolean if a field has been set.

func (*HostmapRequests) HasSize

func (h *HostmapRequests) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*HostmapRequests) SetFill

func (h *HostmapRequests) SetFill(v HostmapRequest)

SetFill allocates a new h.Fill and returns the pointer to it.

func (*HostmapRequests) SetSize

func (h *HostmapRequests) SetSize(v HostmapRequest)

SetSize allocates a new h.Size and returns the pointer to it.

type HostmapStyle

type HostmapStyle struct {
	Palette     *string `json:"palette,omitempty"`
	PaletteFlip *bool   `json:"palette_flip,omitempty"`
	FillMin     *string `json:"fill_min,omitempty"`
	FillMax     *string `json:"fill_max,omitempty"`
}

func (*HostmapStyle) GetFillMax

func (h *HostmapStyle) GetFillMax() string

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*HostmapStyle) GetFillMaxOk

func (h *HostmapStyle) GetFillMaxOk() (string, bool)

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

func (*HostmapStyle) GetFillMin

func (h *HostmapStyle) GetFillMin() string

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*HostmapStyle) GetFillMinOk

func (h *HostmapStyle) GetFillMinOk() (string, bool)

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

func (*HostmapStyle) GetPalette

func (h *HostmapStyle) GetPalette() string

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

func (*HostmapStyle) GetPaletteFlip

func (h *HostmapStyle) GetPaletteFlip() bool

GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.

func (*HostmapStyle) GetPaletteFlipOk

func (h *HostmapStyle) GetPaletteFlipOk() (bool, bool)

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

func (*HostmapStyle) GetPaletteOk

func (h *HostmapStyle) GetPaletteOk() (string, bool)

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

func (*HostmapStyle) HasFillMax

func (h *HostmapStyle) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*HostmapStyle) HasFillMin

func (h *HostmapStyle) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*HostmapStyle) HasPalette

func (h *HostmapStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*HostmapStyle) HasPaletteFlip

func (h *HostmapStyle) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (*HostmapStyle) SetFillMax

func (h *HostmapStyle) SetFillMax(v string)

SetFillMax allocates a new h.FillMax and returns the pointer to it.

func (*HostmapStyle) SetFillMin

func (h *HostmapStyle) SetFillMin(v string)

SetFillMin allocates a new h.FillMin and returns the pointer to it.

func (*HostmapStyle) SetPalette

func (h *HostmapStyle) SetPalette(v string)

SetPalette allocates a new h.Palette and returns the pointer to it.

func (*HostmapStyle) SetPaletteFlip

func (h *HostmapStyle) SetPaletteFlip(v bool)

SetPaletteFlip allocates a new h.PaletteFlip and returns the pointer to it.

type IPRangesResp

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

type IframeDefinition struct {
	Type *string `json:"type"`
	Url  *string `json:"url"`
}

IframeDefinition represents the definition for an Iframe widget

func (*IframeDefinition) GetType

func (i *IframeDefinition) GetType() string

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

func (*IframeDefinition) GetTypeOk

func (i *IframeDefinition) GetTypeOk() (string, bool)

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

func (*IframeDefinition) GetUrl

func (i *IframeDefinition) GetUrl() string

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

func (*IframeDefinition) GetUrlOk

func (i *IframeDefinition) GetUrlOk() (string, bool)

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

func (*IframeDefinition) HasType

func (i *IframeDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*IframeDefinition) HasUrl

func (i *IframeDefinition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*IframeDefinition) SetType

func (i *IframeDefinition) SetType(v string)

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

func (*IframeDefinition) SetUrl

func (i *IframeDefinition) SetUrl(v string)

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

type ImageDefinition

type ImageDefinition struct {
	Type   *string `json:"type"`
	Url    *string `json:"url"`
	Sizing *string `json:"sizing,omitempty"`
	Margin *string `json:"margin,omitempty"`
}

ImageDefinition represents the definition for an Image widget

func (*ImageDefinition) GetMargin

func (i *ImageDefinition) GetMargin() string

GetMargin returns the Margin field if non-nil, zero value otherwise.

func (*ImageDefinition) GetMarginOk

func (i *ImageDefinition) GetMarginOk() (string, bool)

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

func (*ImageDefinition) GetSizing

func (i *ImageDefinition) GetSizing() string

GetSizing returns the Sizing field if non-nil, zero value otherwise.

func (*ImageDefinition) GetSizingOk

func (i *ImageDefinition) GetSizingOk() (string, bool)

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

func (*ImageDefinition) GetType

func (i *ImageDefinition) GetType() string

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

func (*ImageDefinition) GetTypeOk

func (i *ImageDefinition) GetTypeOk() (string, bool)

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

func (*ImageDefinition) GetUrl

func (i *ImageDefinition) GetUrl() string

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

func (*ImageDefinition) GetUrlOk

func (i *ImageDefinition) GetUrlOk() (string, bool)

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

func (*ImageDefinition) HasMargin

func (i *ImageDefinition) HasMargin() bool

HasMargin returns a boolean if a field has been set.

func (*ImageDefinition) HasSizing

func (i *ImageDefinition) HasSizing() bool

HasSizing returns a boolean if a field has been set.

func (*ImageDefinition) HasType

func (i *ImageDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ImageDefinition) HasUrl

func (i *ImageDefinition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*ImageDefinition) SetMargin

func (i *ImageDefinition) SetMargin(v string)

SetMargin allocates a new i.Margin and returns the pointer to it.

func (*ImageDefinition) SetSizing

func (i *ImageDefinition) SetSizing(v string)

SetSizing allocates a new i.Sizing and returns the pointer to it.

func (*ImageDefinition) SetType

func (i *ImageDefinition) SetType(v string)

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

func (*ImageDefinition) SetUrl

func (i *ImageDefinition) SetUrl(v string)

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

type IntegrationAWSAccount

type IntegrationAWSAccount struct {
	AccountID                     *string         `json:"account_id"`
	RoleName                      *string         `json:"role_name"`
	FilterTags                    []string        `json:"filter_tags"`
	HostTags                      []string        `json:"host_tags"`
	AccountSpecificNamespaceRules map[string]bool `json:"account_specific_namespace_rules"`
}

IntegrationAWSAccount defines the request payload for creating & updating Datadog-AWS integration.

func (*IntegrationAWSAccount) GetAccountID

func (i *IntegrationAWSAccount) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSAccount) GetAccountIDOk

func (i *IntegrationAWSAccount) GetAccountIDOk() (string, bool)

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

func (*IntegrationAWSAccount) GetRoleName

func (i *IntegrationAWSAccount) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

func (*IntegrationAWSAccount) GetRoleNameOk

func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool)

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

func (*IntegrationAWSAccount) HasAccountID

func (i *IntegrationAWSAccount) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSAccount) HasRoleName

func (i *IntegrationAWSAccount) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (*IntegrationAWSAccount) SetAccountID

func (i *IntegrationAWSAccount) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSAccount) SetRoleName

func (i *IntegrationAWSAccount) SetRoleName(v string)

SetRoleName allocates a new i.RoleName and returns the pointer to it.

type IntegrationAWSAccountCreateResponse

type IntegrationAWSAccountCreateResponse struct {
	ExternalID string `json:"external_id"`
}

IntegrationAWSAccountCreateResponse defines the response payload for creating & updating Datadog-AWS integration.

type IntegrationAWSAccountDeleteRequest

type IntegrationAWSAccountDeleteRequest struct {
	AccountID *string `json:"account_id"`
	RoleName  *string `json:"role_name"`
}

func (*IntegrationAWSAccountDeleteRequest) GetAccountID

func (i *IntegrationAWSAccountDeleteRequest) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSAccountDeleteRequest) GetAccountIDOk

func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool)

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

func (*IntegrationAWSAccountDeleteRequest) GetRoleName

func (i *IntegrationAWSAccountDeleteRequest) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

func (*IntegrationAWSAccountDeleteRequest) GetRoleNameOk

func (i *IntegrationAWSAccountDeleteRequest) GetRoleNameOk() (string, bool)

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

func (*IntegrationAWSAccountDeleteRequest) HasAccountID

func (i *IntegrationAWSAccountDeleteRequest) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSAccountDeleteRequest) HasRoleName

func (i *IntegrationAWSAccountDeleteRequest) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

func (*IntegrationAWSAccountDeleteRequest) SetAccountID

func (i *IntegrationAWSAccountDeleteRequest) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSAccountDeleteRequest) SetRoleName

func (i *IntegrationAWSAccountDeleteRequest) SetRoleName(v string)

SetRoleName allocates a new i.RoleName and returns the pointer to it.

type IntegrationAWSAccountGetResponse

type IntegrationAWSAccountGetResponse struct {
	Accounts []IntegrationAWSAccount `json:"accounts"`
}

type IntegrationAWSLambdaARN

type IntegrationAWSLambdaARN struct {
	LambdaARN *string `json:"arn"`
}

IntegrationAWSLambdaARN is only defined to properly parse the AWS logs GET response

func (*IntegrationAWSLambdaARN) GetLambdaARN

func (i *IntegrationAWSLambdaARN) GetLambdaARN() string

GetLambdaARN returns the LambdaARN field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARN) GetLambdaARNOk

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

func (i *IntegrationAWSLambdaARN) HasLambdaARN() bool

HasLambdaARN returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARN) SetLambdaARN

func (i *IntegrationAWSLambdaARN) SetLambdaARN(v string)

SetLambdaARN allocates a new i.LambdaARN and returns the pointer to it.

type IntegrationAWSLambdaARNRequest

type IntegrationAWSLambdaARNRequest struct {
	AccountID *string `json:"account_id"`
	LambdaARN *string `json:"lambda_arn"`
}

func (*IntegrationAWSLambdaARNRequest) GetAccountID

func (i *IntegrationAWSLambdaARNRequest) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARNRequest) GetAccountIDOk

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

func (i *IntegrationAWSLambdaARNRequest) GetLambdaARN() string

GetLambdaARN returns the LambdaARN field if non-nil, zero value otherwise.

func (*IntegrationAWSLambdaARNRequest) GetLambdaARNOk

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

func (i *IntegrationAWSLambdaARNRequest) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARNRequest) HasLambdaARN

func (i *IntegrationAWSLambdaARNRequest) HasLambdaARN() bool

HasLambdaARN returns a boolean if a field has been set.

func (*IntegrationAWSLambdaARNRequest) SetAccountID

func (i *IntegrationAWSLambdaARNRequest) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

func (*IntegrationAWSLambdaARNRequest) SetLambdaARN

func (i *IntegrationAWSLambdaARNRequest) SetLambdaARN(v string)

SetLambdaARN allocates a new i.LambdaARN and returns the pointer to it.

type IntegrationAWSLogCollection

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

func (i *IntegrationAWSLogCollection) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSLogCollection) GetAccountIDOk

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

func (i *IntegrationAWSLogCollection) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSLogCollection) SetAccountID

func (i *IntegrationAWSLogCollection) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

type IntegrationAWSServicesLogCollection

type IntegrationAWSServicesLogCollection struct {
	AccountID *string  `json:"account_id"`
	Services  []string `json:"services"`
}

func (*IntegrationAWSServicesLogCollection) GetAccountID

func (i *IntegrationAWSServicesLogCollection) GetAccountID() string

GetAccountID returns the AccountID field if non-nil, zero value otherwise.

func (*IntegrationAWSServicesLogCollection) GetAccountIDOk

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

func (i *IntegrationAWSServicesLogCollection) HasAccountID() bool

HasAccountID returns a boolean if a field has been set.

func (*IntegrationAWSServicesLogCollection) SetAccountID

func (i *IntegrationAWSServicesLogCollection) SetAccountID(v string)

SetAccountID allocates a new i.AccountID and returns the pointer to it.

type IntegrationGCP

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

func (i *IntegrationGCP) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetAutoMuteOk

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

func (i *IntegrationGCP) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetClientEmailOk

func (i *IntegrationGCP) GetClientEmailOk() (string, bool)

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

func (*IntegrationGCP) GetHostFilters

func (i *IntegrationGCP) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetHostFiltersOk

func (i *IntegrationGCP) GetHostFiltersOk() (string, bool)

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

func (*IntegrationGCP) GetProjectID

func (i *IntegrationGCP) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCP) GetProjectIDOk

func (i *IntegrationGCP) GetProjectIDOk() (string, bool)

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

func (*IntegrationGCP) HasAutoMute

func (i *IntegrationGCP) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCP) HasClientEmail

func (i *IntegrationGCP) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCP) HasHostFilters

func (i *IntegrationGCP) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCP) HasProjectID

func (i *IntegrationGCP) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCP) SetAutoMute

func (i *IntegrationGCP) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCP) SetClientEmail

func (i *IntegrationGCP) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCP) SetHostFilters

func (i *IntegrationGCP) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCP) SetProjectID

func (i *IntegrationGCP) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

type IntegrationGCPCreateRequest

type IntegrationGCPCreateRequest struct {
	Type                    *string `json:"type"` // Should be service_account
	ProjectID               *string `json:"project_id"`
	PrivateKeyID            *string `json:"private_key_id"`
	PrivateKey              *string `json:"private_key"`
	ClientEmail             *string `json:"client_email"`
	ClientID                *string `json:"client_id"`
	AuthURI                 *string `json:"auth_uri"`                    // Should be https://accounts.google.com/o/oauth2/auth
	TokenURI                *string `json:"token_uri"`                   // Should be https://accounts.google.com/o/oauth2/token
	AuthProviderX509CertURL *string `json:"auth_provider_x509_cert_url"` // Should be https://www.googleapis.com/oauth2/v1/certs
	ClientX509CertURL       *string `json:"client_x509_cert_url"`        // https://www.googleapis.com/robot/v1/metadata/x509/<CLIENT_EMAIL>
	HostFilters             *string `json:"host_filters,omitempty"`
	AutoMute                *bool   `json:"automute,omitempty"`
}

IntegrationGCPCreateRequest defines the request payload for creating Datadog-Google CloudPlatform integration.

func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURL

func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string

GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk

func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetAuthURI

func (i *IntegrationGCPCreateRequest) GetAuthURI() string

GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAuthURIOk

func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetAutoMute

func (i *IntegrationGCPCreateRequest) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetAutoMuteOk

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

func (i *IntegrationGCPCreateRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientEmailOk

func (i *IntegrationGCPCreateRequest) GetClientEmailOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetClientID

func (i *IntegrationGCPCreateRequest) GetClientID() string

GetClientID returns the ClientID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientIDOk

func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetClientX509CertURL

func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string

GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetClientX509CertURLOk

func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetHostFilters

func (i *IntegrationGCPCreateRequest) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetHostFiltersOk

func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetPrivateKey

func (i *IntegrationGCPCreateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetPrivateKeyID

func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string

GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetPrivateKeyIDOk

func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetPrivateKeyOk

func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetProjectID

func (i *IntegrationGCPCreateRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetProjectIDOk

func (i *IntegrationGCPCreateRequest) GetProjectIDOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetTokenURI

func (i *IntegrationGCPCreateRequest) GetTokenURI() string

GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.

func (*IntegrationGCPCreateRequest) GetTokenURIOk

func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) GetType

func (i *IntegrationGCPCreateRequest) GetType() string

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

func (*IntegrationGCPCreateRequest) GetTypeOk

func (i *IntegrationGCPCreateRequest) GetTypeOk() (string, bool)

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

func (*IntegrationGCPCreateRequest) HasAuthProviderX509CertURL

func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool

HasAuthProviderX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasAuthURI

func (i *IntegrationGCPCreateRequest) HasAuthURI() bool

HasAuthURI returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasAutoMute

func (i *IntegrationGCPCreateRequest) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientEmail

func (i *IntegrationGCPCreateRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientID

func (i *IntegrationGCPCreateRequest) HasClientID() bool

HasClientID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasClientX509CertURL

func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool

HasClientX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasHostFilters

func (i *IntegrationGCPCreateRequest) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasPrivateKey

func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasPrivateKeyID

func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool

HasPrivateKeyID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasProjectID

func (i *IntegrationGCPCreateRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasTokenURI

func (i *IntegrationGCPCreateRequest) HasTokenURI() bool

HasTokenURI returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) HasType

func (i *IntegrationGCPCreateRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*IntegrationGCPCreateRequest) SetAuthProviderX509CertURL

func (i *IntegrationGCPCreateRequest) SetAuthProviderX509CertURL(v string)

SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetAuthURI

func (i *IntegrationGCPCreateRequest) SetAuthURI(v string)

SetAuthURI allocates a new i.AuthURI and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetAutoMute

func (i *IntegrationGCPCreateRequest) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientEmail

func (i *IntegrationGCPCreateRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientID

func (i *IntegrationGCPCreateRequest) SetClientID(v string)

SetClientID allocates a new i.ClientID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetClientX509CertURL

func (i *IntegrationGCPCreateRequest) SetClientX509CertURL(v string)

SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetHostFilters

func (i *IntegrationGCPCreateRequest) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetPrivateKey

func (i *IntegrationGCPCreateRequest) SetPrivateKey(v string)

SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetPrivateKeyID

func (i *IntegrationGCPCreateRequest) SetPrivateKeyID(v string)

SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetProjectID

func (i *IntegrationGCPCreateRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetTokenURI

func (i *IntegrationGCPCreateRequest) SetTokenURI(v string)

SetTokenURI allocates a new i.TokenURI and returns the pointer to it.

func (*IntegrationGCPCreateRequest) SetType

func (i *IntegrationGCPCreateRequest) SetType(v string)

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

type IntegrationGCPDeleteRequest

type IntegrationGCPDeleteRequest struct {
	ProjectID   *string `json:"project_id"`
	ClientEmail *string `json:"client_email"`
}

IntegrationGCPDeleteRequest defines the request payload for deleting Datadog-Google CloudPlatform integration.

func (*IntegrationGCPDeleteRequest) GetClientEmail

func (i *IntegrationGCPDeleteRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPDeleteRequest) GetClientEmailOk

func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool)

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

func (*IntegrationGCPDeleteRequest) GetProjectID

func (i *IntegrationGCPDeleteRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPDeleteRequest) GetProjectIDOk

func (i *IntegrationGCPDeleteRequest) GetProjectIDOk() (string, bool)

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

func (*IntegrationGCPDeleteRequest) HasClientEmail

func (i *IntegrationGCPDeleteRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPDeleteRequest) HasProjectID

func (i *IntegrationGCPDeleteRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPDeleteRequest) SetClientEmail

func (i *IntegrationGCPDeleteRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPDeleteRequest) SetProjectID

func (i *IntegrationGCPDeleteRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

type IntegrationGCPUpdateRequest

type IntegrationGCPUpdateRequest struct {
	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

func (i *IntegrationGCPUpdateRequest) GetAuthProviderX509CertURL() string

GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAuthProviderX509CertURLOk

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

func (i *IntegrationGCPUpdateRequest) GetAuthURI() string

GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAuthURIOk

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

func (i *IntegrationGCPUpdateRequest) GetAutoMute() bool

GetAutoMute returns the AutoMute field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetAutoMuteOk

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

func (i *IntegrationGCPUpdateRequest) GetClientEmail() string

GetClientEmail returns the ClientEmail field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientEmailOk

func (i *IntegrationGCPUpdateRequest) GetClientEmailOk() (string, bool)

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

func (*IntegrationGCPUpdateRequest) GetClientID

func (i *IntegrationGCPUpdateRequest) GetClientID() string

GetClientID returns the ClientID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientIDOk

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

func (i *IntegrationGCPUpdateRequest) GetClientX509CertURL() string

GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetClientX509CertURLOk

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

func (i *IntegrationGCPUpdateRequest) GetHostFilters() string

GetHostFilters returns the HostFilters field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetHostFiltersOk

func (i *IntegrationGCPUpdateRequest) GetHostFiltersOk() (string, bool)

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

func (*IntegrationGCPUpdateRequest) GetPrivateKey

func (i *IntegrationGCPUpdateRequest) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetPrivateKeyID

func (i *IntegrationGCPUpdateRequest) GetPrivateKeyID() string

GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetPrivateKeyIDOk

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

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

func (i *IntegrationGCPUpdateRequest) GetProjectID() string

GetProjectID returns the ProjectID field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetProjectIDOk

func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool)

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

func (*IntegrationGCPUpdateRequest) GetTokenURI

func (i *IntegrationGCPUpdateRequest) GetTokenURI() string

GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.

func (*IntegrationGCPUpdateRequest) GetTokenURIOk

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

func (i *IntegrationGCPUpdateRequest) GetType() string

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

func (*IntegrationGCPUpdateRequest) GetTypeOk

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

func (i *IntegrationGCPUpdateRequest) HasAuthProviderX509CertURL() bool

HasAuthProviderX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasAuthURI

func (i *IntegrationGCPUpdateRequest) HasAuthURI() bool

HasAuthURI returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasAutoMute

func (i *IntegrationGCPUpdateRequest) HasAutoMute() bool

HasAutoMute returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientEmail

func (i *IntegrationGCPUpdateRequest) HasClientEmail() bool

HasClientEmail returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientID

func (i *IntegrationGCPUpdateRequest) HasClientID() bool

HasClientID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasClientX509CertURL

func (i *IntegrationGCPUpdateRequest) HasClientX509CertURL() bool

HasClientX509CertURL returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasHostFilters

func (i *IntegrationGCPUpdateRequest) HasHostFilters() bool

HasHostFilters returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasPrivateKey

func (i *IntegrationGCPUpdateRequest) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasPrivateKeyID

func (i *IntegrationGCPUpdateRequest) HasPrivateKeyID() bool

HasPrivateKeyID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasProjectID

func (i *IntegrationGCPUpdateRequest) HasProjectID() bool

HasProjectID returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasTokenURI

func (i *IntegrationGCPUpdateRequest) HasTokenURI() bool

HasTokenURI returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) HasType

func (i *IntegrationGCPUpdateRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*IntegrationGCPUpdateRequest) SetAuthProviderX509CertURL

func (i *IntegrationGCPUpdateRequest) SetAuthProviderX509CertURL(v string)

SetAuthProviderX509CertURL allocates a new i.AuthProviderX509CertURL and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetAuthURI

func (i *IntegrationGCPUpdateRequest) SetAuthURI(v string)

SetAuthURI allocates a new i.AuthURI and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetAutoMute

func (i *IntegrationGCPUpdateRequest) SetAutoMute(v bool)

SetAutoMute allocates a new i.AutoMute and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientEmail

func (i *IntegrationGCPUpdateRequest) SetClientEmail(v string)

SetClientEmail allocates a new i.ClientEmail and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientID

func (i *IntegrationGCPUpdateRequest) SetClientID(v string)

SetClientID allocates a new i.ClientID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetClientX509CertURL

func (i *IntegrationGCPUpdateRequest) SetClientX509CertURL(v string)

SetClientX509CertURL allocates a new i.ClientX509CertURL and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetHostFilters

func (i *IntegrationGCPUpdateRequest) SetHostFilters(v string)

SetHostFilters allocates a new i.HostFilters and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetPrivateKey

func (i *IntegrationGCPUpdateRequest) SetPrivateKey(v string)

SetPrivateKey allocates a new i.PrivateKey and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetPrivateKeyID

func (i *IntegrationGCPUpdateRequest) SetPrivateKeyID(v string)

SetPrivateKeyID allocates a new i.PrivateKeyID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetProjectID

func (i *IntegrationGCPUpdateRequest) SetProjectID(v string)

SetProjectID allocates a new i.ProjectID and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetTokenURI

func (i *IntegrationGCPUpdateRequest) SetTokenURI(v string)

SetTokenURI allocates a new i.TokenURI and returns the pointer to it.

func (*IntegrationGCPUpdateRequest) SetType

func (i *IntegrationGCPUpdateRequest) SetType(v string)

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

type IntegrationPDRequest

type IntegrationPDRequest struct {
	Services  []ServicePDRequest `json:"services,omitempty"`
	Subdomain *string            `json:"subdomain,omitempty"`
	Schedules []string           `json:"schedules,omitempty"`
	APIToken  *string            `json:"api_token,omitempty"`
	RunCheck  *bool              `json:"run_check,omitempty"`
}

IntegrationPDRequest defines the request payload for creating & updating Datadog-PagerDuty integration.

func (*IntegrationPDRequest) GetAPIToken

func (i *IntegrationPDRequest) GetAPIToken() string

GetAPIToken returns the APIToken field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetAPITokenOk

func (i *IntegrationPDRequest) GetAPITokenOk() (string, bool)

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

func (*IntegrationPDRequest) GetRunCheck

func (i *IntegrationPDRequest) GetRunCheck() bool

GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetRunCheckOk

func (i *IntegrationPDRequest) GetRunCheckOk() (bool, bool)

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

func (*IntegrationPDRequest) GetSubdomain

func (i *IntegrationPDRequest) GetSubdomain() string

GetSubdomain returns the Subdomain field if non-nil, zero value otherwise.

func (*IntegrationPDRequest) GetSubdomainOk

func (i *IntegrationPDRequest) GetSubdomainOk() (string, bool)

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

func (*IntegrationPDRequest) HasAPIToken

func (i *IntegrationPDRequest) HasAPIToken() bool

HasAPIToken returns a boolean if a field has been set.

func (*IntegrationPDRequest) HasRunCheck

func (i *IntegrationPDRequest) HasRunCheck() bool

HasRunCheck returns a boolean if a field has been set.

func (*IntegrationPDRequest) HasSubdomain

func (i *IntegrationPDRequest) HasSubdomain() bool

HasSubdomain returns a boolean if a field has been set.

func (*IntegrationPDRequest) SetAPIToken

func (i *IntegrationPDRequest) SetAPIToken(v string)

SetAPIToken allocates a new i.APIToken and returns the pointer to it.

func (*IntegrationPDRequest) SetRunCheck

func (i *IntegrationPDRequest) SetRunCheck(v bool)

SetRunCheck allocates a new i.RunCheck and returns the pointer to it.

func (*IntegrationPDRequest) SetSubdomain

func (i *IntegrationPDRequest) SetSubdomain(v string)

SetSubdomain allocates a new i.Subdomain and returns the pointer to it.

type IntegrationSlackRequest

type IntegrationSlackRequest struct {
	ServiceHooks []ServiceHookSlackRequest `json:"service_hooks,omitempty"`
	Channels     []ChannelSlackRequest     `json:"channels,omitempty"`
	RunCheck     *bool                     `json:"run_check,omitempty,string"`
}

IntegrationSlackRequest defines the request payload for creating & updating Datadog-Slack integration.

func (*IntegrationSlackRequest) GetRunCheck

func (i *IntegrationSlackRequest) GetRunCheck() bool

GetRunCheck returns the RunCheck field if non-nil, zero value otherwise.

func (*IntegrationSlackRequest) GetRunCheckOk

func (i *IntegrationSlackRequest) GetRunCheckOk() (bool, bool)

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

func (*IntegrationSlackRequest) HasRunCheck

func (i *IntegrationSlackRequest) HasRunCheck() bool

HasRunCheck returns a boolean if a field has been set.

func (*IntegrationSlackRequest) SetRunCheck

func (i *IntegrationSlackRequest) SetRunCheck(v bool)

SetRunCheck allocates a new i.RunCheck and returns the pointer to it.

type IntegrationWebhookRequest

type IntegrationWebhookRequest struct {
	Webhooks []Webhook `json:"hooks"`
}

IntegrationWebhookRequest defines the structure of the a webhook request

type LogSet

type LogSet struct {
	ID   *json.Number `json:"id,omitempty"`
	Name *string      `json:"name,omitempty"`
}

func (*LogSet) GetID

func (l *LogSet) GetID() json.Number

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

func (*LogSet) GetIDOk

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

func (l *LogSet) GetName() string

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

func (*LogSet) GetNameOk

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

func (l *LogSet) HasID() bool

HasID returns a boolean if a field has been set.

func (*LogSet) HasName

func (l *LogSet) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogSet) SetID

func (l *LogSet) SetID(v json.Number)

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

func (*LogSet) SetName

func (l *LogSet) SetName(v string)

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

type LogStreamDefinition

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

func (l *LogStreamDefinition) GetLogset() string

GetLogset returns the Logset field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetLogsetOk

func (l *LogStreamDefinition) GetLogsetOk() (string, bool)

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

func (*LogStreamDefinition) GetMessageDisplay

func (l *LogStreamDefinition) GetMessageDisplay() string

GetMessageDisplay returns the MessageDisplay field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetMessageDisplayOk

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

func (l *LogStreamDefinition) GetQuery() string

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

func (*LogStreamDefinition) GetQueryOk

func (l *LogStreamDefinition) GetQueryOk() (string, bool)

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

func (*LogStreamDefinition) GetShowDateColumn

func (l *LogStreamDefinition) GetShowDateColumn() bool

GetShowDateColumn returns the ShowDateColumn field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetShowDateColumnOk

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

func (l *LogStreamDefinition) GetShowMessageColumn() bool

GetShowMessageColumn returns the ShowMessageColumn field if non-nil, zero value otherwise.

func (*LogStreamDefinition) GetShowMessageColumnOk

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

func (l *LogStreamDefinition) GetSort() WidgetFieldSort

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

func (*LogStreamDefinition) GetSortOk

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

func (l *LogStreamDefinition) GetTime() WidgetTime

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

func (*LogStreamDefinition) GetTimeOk

func (l *LogStreamDefinition) GetTimeOk() (WidgetTime, bool)

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

func (*LogStreamDefinition) GetTitle

func (l *LogStreamDefinition) GetTitle() string

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

func (*LogStreamDefinition) GetTitleAlign

func (l *LogStreamDefinition) GetTitleAlign() string

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

func (*LogStreamDefinition) GetTitleAlignOk

func (l *LogStreamDefinition) GetTitleAlignOk() (string, bool)

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

func (*LogStreamDefinition) GetTitleOk

func (l *LogStreamDefinition) GetTitleOk() (string, bool)

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

func (*LogStreamDefinition) GetTitleSize

func (l *LogStreamDefinition) GetTitleSize() string

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

func (*LogStreamDefinition) GetTitleSizeOk

func (l *LogStreamDefinition) GetTitleSizeOk() (string, bool)

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

func (*LogStreamDefinition) GetType

func (l *LogStreamDefinition) GetType() string

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

func (*LogStreamDefinition) GetTypeOk

func (l *LogStreamDefinition) GetTypeOk() (string, bool)

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

func (*LogStreamDefinition) HasLogset

func (l *LogStreamDefinition) HasLogset() bool

HasLogset returns a boolean if a field has been set.

func (*LogStreamDefinition) HasMessageDisplay

func (l *LogStreamDefinition) HasMessageDisplay() bool

HasMessageDisplay returns a boolean if a field has been set.

func (*LogStreamDefinition) HasQuery

func (l *LogStreamDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogStreamDefinition) HasShowDateColumn

func (l *LogStreamDefinition) HasShowDateColumn() bool

HasShowDateColumn returns a boolean if a field has been set.

func (*LogStreamDefinition) HasShowMessageColumn

func (l *LogStreamDefinition) HasShowMessageColumn() bool

HasShowMessageColumn returns a boolean if a field has been set.

func (*LogStreamDefinition) HasSort

func (l *LogStreamDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTime

func (l *LogStreamDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitle

func (l *LogStreamDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitleAlign

func (l *LogStreamDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*LogStreamDefinition) HasTitleSize

func (l *LogStreamDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*LogStreamDefinition) HasType

func (l *LogStreamDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogStreamDefinition) SetLogset

func (l *LogStreamDefinition) SetLogset(v string)

SetLogset allocates a new l.Logset and returns the pointer to it.

func (*LogStreamDefinition) SetMessageDisplay

func (l *LogStreamDefinition) SetMessageDisplay(v string)

SetMessageDisplay allocates a new l.MessageDisplay and returns the pointer to it.

func (*LogStreamDefinition) SetQuery

func (l *LogStreamDefinition) SetQuery(v string)

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

func (*LogStreamDefinition) SetShowDateColumn

func (l *LogStreamDefinition) SetShowDateColumn(v bool)

SetShowDateColumn allocates a new l.ShowDateColumn and returns the pointer to it.

func (*LogStreamDefinition) SetShowMessageColumn

func (l *LogStreamDefinition) SetShowMessageColumn(v bool)

SetShowMessageColumn allocates a new l.ShowMessageColumn and returns the pointer to it.

func (*LogStreamDefinition) SetSort

func (l *LogStreamDefinition) SetSort(v WidgetFieldSort)

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

func (*LogStreamDefinition) SetTime

func (l *LogStreamDefinition) SetTime(v WidgetTime)

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

func (*LogStreamDefinition) SetTitle

func (l *LogStreamDefinition) SetTitle(v string)

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

func (*LogStreamDefinition) SetTitleAlign

func (l *LogStreamDefinition) SetTitleAlign(v string)

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

func (*LogStreamDefinition) SetTitleSize

func (l *LogStreamDefinition) SetTitleSize(v string)

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

func (*LogStreamDefinition) SetType

func (l *LogStreamDefinition) SetType(v string)

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

type Logs

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

func (l *Logs) GetID() string

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

func (*Logs) GetIDOk

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

func (l *Logs) HasID() bool

HasID returns a boolean if a field has been set.

func (*Logs) SetID

func (l *Logs) SetID(v string)

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

type LogsAttributes

type LogsAttributes map[string]interface{}

LogsAttributes represents the Content attribute object from the list API

type LogsContent

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

func (l *LogsContent) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*LogsContent) GetHostOk

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

func (l *LogsContent) GetMessage() string

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

func (*LogsContent) GetMessageOk

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

func (l *LogsContent) GetService() string

GetService returns the Service field if non-nil, zero value otherwise.

func (*LogsContent) GetServiceOk

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

func (l *LogsContent) GetTimestamp() time.Time

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

func (*LogsContent) GetTimestampOk

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

func (l *LogsContent) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*LogsContent) HasMessage

func (l *LogsContent) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*LogsContent) HasService

func (l *LogsContent) HasService() bool

HasService returns a boolean if a field has been set.

func (*LogsContent) HasTimestamp

func (l *LogsContent) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*LogsContent) SetHost

func (l *LogsContent) SetHost(v string)

SetHost allocates a new l.Host and returns the pointer to it.

func (*LogsContent) SetMessage

func (l *LogsContent) SetMessage(v string)

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

func (*LogsContent) SetService

func (l *LogsContent) SetService(v string)

SetService allocates a new l.Service and returns the pointer to it.

func (*LogsContent) SetTimestamp

func (l *LogsContent) SetTimestamp(v time.Time)

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

type LogsIndex

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

func (l *LogsIndex) GetDailyLimit() int64

GetDailyLimit returns the DailyLimit field if non-nil, zero value otherwise.

func (*LogsIndex) GetDailyLimitOk

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

func (l *LogsIndex) GetFilter() FilterConfiguration

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

func (*LogsIndex) GetFilterOk

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

func (l *LogsIndex) GetIsRateLimited() bool

GetIsRateLimited returns the IsRateLimited field if non-nil, zero value otherwise.

func (*LogsIndex) GetIsRateLimitedOk

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

func (l *LogsIndex) GetName() string

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

func (*LogsIndex) GetNameOk

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

func (l *LogsIndex) GetNumRetentionDays() int64

GetNumRetentionDays returns the NumRetentionDays field if non-nil, zero value otherwise.

func (*LogsIndex) GetNumRetentionDaysOk

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

func (l *LogsIndex) HasDailyLimit() bool

HasDailyLimit returns a boolean if a field has been set.

func (*LogsIndex) HasFilter

func (l *LogsIndex) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsIndex) HasIsRateLimited

func (l *LogsIndex) HasIsRateLimited() bool

HasIsRateLimited returns a boolean if a field has been set.

func (*LogsIndex) HasName

func (l *LogsIndex) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsIndex) HasNumRetentionDays

func (l *LogsIndex) HasNumRetentionDays() bool

HasNumRetentionDays returns a boolean if a field has been set.

func (*LogsIndex) SetDailyLimit

func (l *LogsIndex) SetDailyLimit(v int64)

SetDailyLimit allocates a new l.DailyLimit and returns the pointer to it.

func (*LogsIndex) SetFilter

func (l *LogsIndex) SetFilter(v FilterConfiguration)

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

func (*LogsIndex) SetIsRateLimited

func (l *LogsIndex) SetIsRateLimited(v bool)

SetIsRateLimited allocates a new l.IsRateLimited and returns the pointer to it.

func (*LogsIndex) SetName

func (l *LogsIndex) SetName(v string)

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

func (*LogsIndex) SetNumRetentionDays

func (l *LogsIndex) SetNumRetentionDays(v int64)

SetNumRetentionDays allocates a new l.NumRetentionDays and returns the pointer to it.

type LogsIndexList

type LogsIndexList struct {
	IndexNames []string `json:"index_names"`
}

LogsIndexList represents the index list object from config API.

type LogsList

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

func (l *LogsList) GetNextLogID() string

GetNextLogID returns the NextLogID field if non-nil, zero value otherwise.

func (*LogsList) GetNextLogIDOk

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

func (l *LogsList) GetStatus() string

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

func (*LogsList) GetStatusOk

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

func (l *LogsList) HasNextLogID() bool

HasNextLogID returns a boolean if a field has been set.

func (*LogsList) HasStatus

func (l *LogsList) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*LogsList) SetNextLogID

func (l *LogsList) SetNextLogID(v string)

SetNextLogID allocates a new l.NextLogID and returns the pointer to it.

func (*LogsList) SetStatus

func (l *LogsList) SetStatus(v string)

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

type LogsListRequest

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

func (l *LogsListRequest) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*LogsListRequest) GetIndexOk

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

func (l *LogsListRequest) GetLimit() int

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

func (*LogsListRequest) GetLimitOk

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

func (l *LogsListRequest) GetQuery() string

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

func (*LogsListRequest) GetQueryOk

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

func (l *LogsListRequest) GetSort() string

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

func (*LogsListRequest) GetSortOk

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

func (l *LogsListRequest) GetStartAt() string

GetStartAt returns the StartAt field if non-nil, zero value otherwise.

func (*LogsListRequest) GetStartAtOk

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

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

func (*LogsListRequest) GetTimeOk

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

func (l *LogsListRequest) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*LogsListRequest) HasLimit

func (l *LogsListRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*LogsListRequest) HasQuery

func (l *LogsListRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsListRequest) HasSort

func (l *LogsListRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*LogsListRequest) HasStartAt

func (l *LogsListRequest) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (*LogsListRequest) HasTime

func (l *LogsListRequest) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*LogsListRequest) SetIndex

func (l *LogsListRequest) SetIndex(v string)

SetIndex allocates a new l.Index and returns the pointer to it.

func (*LogsListRequest) SetLimit

func (l *LogsListRequest) SetLimit(v int)

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

func (*LogsListRequest) SetQuery

func (l *LogsListRequest) SetQuery(v string)

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

func (*LogsListRequest) SetSort

func (l *LogsListRequest) SetSort(v string)

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

func (*LogsListRequest) SetStartAt

func (l *LogsListRequest) SetStartAt(v string)

SetStartAt allocates a new l.StartAt and returns the pointer to it.

func (*LogsListRequest) SetTime

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

type LogsListRequestQueryTime

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

func (l *LogsListRequestQueryTime) GetOffset() int

GetOffset returns the Offset field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetOffsetOk

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

func (l *LogsListRequestQueryTime) GetTimeFrom() string

GetTimeFrom returns the TimeFrom field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeFromOk

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

func (l *LogsListRequestQueryTime) GetTimeTo() string

GetTimeTo returns the TimeTo field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeToOk

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

func (l *LogsListRequestQueryTime) GetTimeZone() string

GetTimeZone returns the TimeZone field if non-nil, zero value otherwise.

func (*LogsListRequestQueryTime) GetTimeZoneOk

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

func (l *LogsListRequestQueryTime) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeFrom

func (l *LogsListRequestQueryTime) HasTimeFrom() bool

HasTimeFrom returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeTo

func (l *LogsListRequestQueryTime) HasTimeTo() bool

HasTimeTo returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) HasTimeZone

func (l *LogsListRequestQueryTime) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*LogsListRequestQueryTime) SetOffset

func (l *LogsListRequestQueryTime) SetOffset(v int)

SetOffset allocates a new l.Offset and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeFrom

func (l *LogsListRequestQueryTime) SetTimeFrom(v string)

SetTimeFrom allocates a new l.TimeFrom and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeTo

func (l *LogsListRequestQueryTime) SetTimeTo(v string)

SetTimeTo allocates a new l.TimeTo and returns the pointer to it.

func (*LogsListRequestQueryTime) SetTimeZone

func (l *LogsListRequestQueryTime) SetTimeZone(v string)

SetTimeZone allocates a new l.TimeZone and returns the pointer to it.

type LogsPipeline

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

func (l *LogsPipeline) GetFilter() FilterConfiguration

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

func (*LogsPipeline) GetFilterOk

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

func (l *LogsPipeline) GetId() string

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

func (*LogsPipeline) GetIdOk

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

func (l *LogsPipeline) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*LogsPipeline) GetIsEnabledOk

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

func (l *LogsPipeline) GetIsReadOnly() bool

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

func (*LogsPipeline) GetIsReadOnlyOk

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

func (l *LogsPipeline) GetName() string

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

func (*LogsPipeline) GetNameOk

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

func (l *LogsPipeline) GetType() string

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

func (*LogsPipeline) GetTypeOk

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

func (l *LogsPipeline) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsPipeline) HasId

func (l *LogsPipeline) HasId() bool

HasId returns a boolean if a field has been set.

func (*LogsPipeline) HasIsEnabled

func (l *LogsPipeline) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsPipeline) HasIsReadOnly

func (l *LogsPipeline) HasIsReadOnly() bool

HasIsReadOnly returns a boolean if a field has been set.

func (*LogsPipeline) HasName

func (l *LogsPipeline) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsPipeline) HasType

func (l *LogsPipeline) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogsPipeline) SetFilter

func (l *LogsPipeline) SetFilter(v FilterConfiguration)

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

func (*LogsPipeline) SetId

func (l *LogsPipeline) SetId(v string)

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

func (*LogsPipeline) SetIsEnabled

func (l *LogsPipeline) SetIsEnabled(v bool)

SetIsEnabled allocates a new l.IsEnabled and returns the pointer to it.

func (*LogsPipeline) SetIsReadOnly

func (l *LogsPipeline) SetIsReadOnly(v bool)

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

func (*LogsPipeline) SetName

func (l *LogsPipeline) SetName(v string)

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

func (*LogsPipeline) SetType

func (l *LogsPipeline) SetType(v string)

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

type LogsPipelineList

type LogsPipelineList struct {
	PipelineIds []string `json:"pipeline_ids"`
}

LogsPipelineList struct represents the pipeline order from Logs Public Config API.

type LogsProcessor

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

func (l *LogsProcessor) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field if non-nil, zero value otherwise.

func (*LogsProcessor) GetIsEnabledOk

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

func (l *LogsProcessor) GetName() string

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

func (*LogsProcessor) GetNameOk

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

func (l *LogsProcessor) GetType() string

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

func (*LogsProcessor) GetTypeOk

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

func (l *LogsProcessor) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*LogsProcessor) HasName

func (l *LogsProcessor) HasName() bool

HasName returns a boolean if a field has been set.

func (*LogsProcessor) HasType

func (l *LogsProcessor) HasType() bool

HasType returns a boolean if a field has been set.

func (*LogsProcessor) MarshalJSON

func (processor *LogsProcessor) MarshalJSON() ([]byte, error)

MarshalJSON serializes logsprocessor struct to config API compatible json object.

func (*LogsProcessor) SetIsEnabled

func (l *LogsProcessor) SetIsEnabled(v bool)

SetIsEnabled allocates a new l.IsEnabled and returns the pointer to it.

func (*LogsProcessor) SetName

func (l *LogsProcessor) SetName(v string)

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

func (*LogsProcessor) SetType

func (l *LogsProcessor) SetType(v string)

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

func (*LogsProcessor) UnmarshalJSON

func (processor *LogsProcessor) UnmarshalJSON(data []byte) error

UnmarshalJSON deserializes the config API json object to LogsProcessor struct.

type LookupProcessor

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

func (l *LookupProcessor) GetDefaultLookup() string

GetDefaultLookup returns the DefaultLookup field if non-nil, zero value otherwise.

func (*LookupProcessor) GetDefaultLookupOk

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

func (l *LookupProcessor) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

func (*LookupProcessor) GetSourceOk

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

func (l *LookupProcessor) GetTarget() string

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

func (*LookupProcessor) GetTargetOk

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

func (l *LookupProcessor) HasDefaultLookup() bool

HasDefaultLookup returns a boolean if a field has been set.

func (*LookupProcessor) HasSource

func (l *LookupProcessor) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*LookupProcessor) HasTarget

func (l *LookupProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*LookupProcessor) SetDefaultLookup

func (l *LookupProcessor) SetDefaultLookup(v string)

SetDefaultLookup allocates a new l.DefaultLookup and returns the pointer to it.

func (*LookupProcessor) SetSource

func (l *LookupProcessor) SetSource(v string)

SetSource allocates a new l.Source and returns the pointer to it.

func (*LookupProcessor) SetTarget

func (l *LookupProcessor) SetTarget(v string)

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

type ManageStatusDefinition

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

func (m *ManageStatusDefinition) GetColorPreference() string

GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetColorPreferenceOk

func (m *ManageStatusDefinition) GetColorPreferenceOk() (string, bool)

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

func (*ManageStatusDefinition) GetCount

func (m *ManageStatusDefinition) GetCount() int

GetCount returns the Count field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetCountOk

func (m *ManageStatusDefinition) GetCountOk() (int, bool)

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

func (*ManageStatusDefinition) GetDisplayFormat

func (m *ManageStatusDefinition) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetDisplayFormatOk

func (m *ManageStatusDefinition) GetDisplayFormatOk() (string, bool)

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

func (*ManageStatusDefinition) GetHideZeroCounts

func (m *ManageStatusDefinition) GetHideZeroCounts() bool

GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetHideZeroCountsOk

func (m *ManageStatusDefinition) GetHideZeroCountsOk() (bool, bool)

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

func (*ManageStatusDefinition) GetQuery

func (m *ManageStatusDefinition) GetQuery() string

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

func (*ManageStatusDefinition) GetQueryOk

func (m *ManageStatusDefinition) GetQueryOk() (string, bool)

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

func (*ManageStatusDefinition) GetShowLastTriggered

func (m *ManageStatusDefinition) GetShowLastTriggered() bool

GetShowLastTriggered returns the ShowLastTriggered field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetShowLastTriggeredOk

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

func (m *ManageStatusDefinition) GetSort() string

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

func (*ManageStatusDefinition) GetSortOk

func (m *ManageStatusDefinition) GetSortOk() (string, bool)

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

func (*ManageStatusDefinition) GetStart

func (m *ManageStatusDefinition) GetStart() int

GetStart returns the Start field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetStartOk

func (m *ManageStatusDefinition) GetStartOk() (int, bool)

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

func (*ManageStatusDefinition) GetSummaryType

func (m *ManageStatusDefinition) GetSummaryType() string

GetSummaryType returns the SummaryType field if non-nil, zero value otherwise.

func (*ManageStatusDefinition) GetSummaryTypeOk

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

func (m *ManageStatusDefinition) GetTitle() string

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

func (*ManageStatusDefinition) GetTitleAlign

func (m *ManageStatusDefinition) GetTitleAlign() string

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

func (*ManageStatusDefinition) GetTitleAlignOk

func (m *ManageStatusDefinition) GetTitleAlignOk() (string, bool)

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

func (*ManageStatusDefinition) GetTitleOk

func (m *ManageStatusDefinition) GetTitleOk() (string, bool)

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

func (*ManageStatusDefinition) GetTitleSize

func (m *ManageStatusDefinition) GetTitleSize() string

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

func (*ManageStatusDefinition) GetTitleSizeOk

func (m *ManageStatusDefinition) GetTitleSizeOk() (string, bool)

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

func (*ManageStatusDefinition) GetType

func (m *ManageStatusDefinition) GetType() string

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

func (*ManageStatusDefinition) GetTypeOk

func (m *ManageStatusDefinition) GetTypeOk() (string, bool)

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

func (*ManageStatusDefinition) HasColorPreference

func (m *ManageStatusDefinition) HasColorPreference() bool

HasColorPreference returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasCount

func (m *ManageStatusDefinition) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasDisplayFormat

func (m *ManageStatusDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasHideZeroCounts

func (m *ManageStatusDefinition) HasHideZeroCounts() bool

HasHideZeroCounts returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasQuery

func (m *ManageStatusDefinition) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasShowLastTriggered

func (m *ManageStatusDefinition) HasShowLastTriggered() bool

HasShowLastTriggered returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasSort

func (m *ManageStatusDefinition) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasStart

func (m *ManageStatusDefinition) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasSummaryType

func (m *ManageStatusDefinition) HasSummaryType() bool

HasSummaryType returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitle

func (m *ManageStatusDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitleAlign

func (m *ManageStatusDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasTitleSize

func (m *ManageStatusDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ManageStatusDefinition) HasType

func (m *ManageStatusDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ManageStatusDefinition) SetColorPreference

func (m *ManageStatusDefinition) SetColorPreference(v string)

SetColorPreference allocates a new m.ColorPreference and returns the pointer to it.

func (*ManageStatusDefinition) SetCount

func (m *ManageStatusDefinition) SetCount(v int)

SetCount allocates a new m.Count and returns the pointer to it.

func (*ManageStatusDefinition) SetDisplayFormat

func (m *ManageStatusDefinition) SetDisplayFormat(v string)

SetDisplayFormat allocates a new m.DisplayFormat and returns the pointer to it.

func (*ManageStatusDefinition) SetHideZeroCounts

func (m *ManageStatusDefinition) SetHideZeroCounts(v bool)

SetHideZeroCounts allocates a new m.HideZeroCounts and returns the pointer to it.

func (*ManageStatusDefinition) SetQuery

func (m *ManageStatusDefinition) SetQuery(v string)

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

func (*ManageStatusDefinition) SetShowLastTriggered

func (m *ManageStatusDefinition) SetShowLastTriggered(v bool)

SetShowLastTriggered allocates a new m.ShowLastTriggered and returns the pointer to it.

func (*ManageStatusDefinition) SetSort

func (m *ManageStatusDefinition) SetSort(v string)

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

func (*ManageStatusDefinition) SetStart

func (m *ManageStatusDefinition) SetStart(v int)

SetStart allocates a new m.Start and returns the pointer to it.

func (*ManageStatusDefinition) SetSummaryType

func (m *ManageStatusDefinition) SetSummaryType(v string)

SetSummaryType allocates a new m.SummaryType and returns the pointer to it.

func (*ManageStatusDefinition) SetTitle

func (m *ManageStatusDefinition) SetTitle(v string)

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

func (*ManageStatusDefinition) SetTitleAlign

func (m *ManageStatusDefinition) SetTitleAlign(v string)

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

func (*ManageStatusDefinition) SetTitleSize

func (m *ManageStatusDefinition) SetTitleSize(v string)

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

func (*ManageStatusDefinition) SetType

func (m *ManageStatusDefinition) SetType(v string)

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

type Metric

type Metric struct {
	Metric   *string     `json:"metric,omitempty"`
	Points   []DataPoint `json:"points,omitempty"`
	Type     *string     `json:"type,omitempty"`
	Host     *string     `json:"host,omitempty"`
	Tags     []string    `json:"tags,omitempty"`
	Unit     *string     `json:"unit,omitempty"`
	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

func (m *Metric) GetInterval() int

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

func (*Metric) GetIntervalOk

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

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

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

func (m *Monitor) GetOverallState() string

GetOverallState returns the OverallState field if non-nil, zero value otherwise.

func (*Monitor) GetOverallStateModified

func (m *Monitor) GetOverallStateModified() string

GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise.

func (*Monitor) GetOverallStateModifiedOk

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

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

func (m *Monitor) HasOverallState() bool

HasOverallState returns a boolean if a field has been set.

func (*Monitor) HasOverallStateModified

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

func (m *Monitor) SetOverallState(v string)

SetOverallState allocates a new m.OverallState and returns the pointer to it.

func (*Monitor) SetOverallStateModified

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

type MonitorOptions struct {
	RenotifyInterval *int `json:"renotify_interval,omitempty"`
}

func (*MonitorOptions) GetRenotifyInterval

func (m *MonitorOptions) GetRenotifyInterval() int

GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.

func (*MonitorOptions) GetRenotifyIntervalOk

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

func (m *MonitorOptions) HasRenotifyInterval() bool

HasRenotifyInterval returns a boolean if a field has been set.

func (*MonitorOptions) SetRenotifyInterval

func (m *MonitorOptions) SetRenotifyInterval(v int)

SetRenotifyInterval allocates a new m.RenotifyInterval and returns the pointer to it.

type MonitorQueryOpts

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

func (m *MonitorQueryOpts) GetName() string

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

func (*MonitorQueryOpts) GetNameOk

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

func (m *MonitorQueryOpts) GetWithDowntimes() bool

GetWithDowntimes returns the WithDowntimes field if non-nil, zero value otherwise.

func (*MonitorQueryOpts) GetWithDowntimesOk

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

func (m *MonitorQueryOpts) HasName() bool

HasName returns a boolean if a field has been set.

func (*MonitorQueryOpts) HasWithDowntimes

func (m *MonitorQueryOpts) HasWithDowntimes() bool

HasWithDowntimes returns a boolean if a field has been set.

func (*MonitorQueryOpts) SetName

func (m *MonitorQueryOpts) SetName(v string)

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

func (*MonitorQueryOpts) SetWithDowntimes

func (m *MonitorQueryOpts) SetWithDowntimes(v bool)

SetWithDowntimes allocates a new m.WithDowntimes and returns the pointer to it.

type MuteMonitorScope

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

func (m *MuteMonitorScope) GetEnd() int

GetEnd returns the End field if non-nil, zero value otherwise.

func (*MuteMonitorScope) GetEndOk

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

func (m *MuteMonitorScope) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

func (*MuteMonitorScope) GetScopeOk

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

func (m *MuteMonitorScope) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*MuteMonitorScope) HasScope

func (m *MuteMonitorScope) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*MuteMonitorScope) SetEnd

func (m *MuteMonitorScope) SetEnd(v int)

SetEnd allocates a new m.End and returns the pointer to it.

func (*MuteMonitorScope) SetScope

func (m *MuteMonitorScope) SetScope(v string)

SetScope allocates a new m.Scope and returns the pointer to it.

type NestedPipeline

type NestedPipeline struct {
	Filter     *FilterConfiguration `json:"filter"`
	Processors []LogsProcessor      `json:"processors,omitempty"`
}

NestedPipeline represents the pipeline as processor from config API.

func (*NestedPipeline) GetFilter

func (n *NestedPipeline) GetFilter() FilterConfiguration

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

func (*NestedPipeline) GetFilterOk

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

func (n *NestedPipeline) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*NestedPipeline) SetFilter

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

type NoteDefinition struct {
	Type            *string `json:"type"`
	Content         *string `json:"content"`
	BackgroundColor *string `json:"background_color,omitempty"`
	FontSize        *string `json:"font_size,omitempty"`
	TextAlign       *string `json:"text_align,omitempty"`
	ShowTick        *bool   `json:"show_tick,omitempty"`
	TickPos         *string `json:"tick_pos,omitempty"`
	TickEdge        *string `json:"tick_edge,omitempty"`
}

NoteDefinition represents the definition for a Note widget

func (*NoteDefinition) GetBackgroundColor

func (n *NoteDefinition) GetBackgroundColor() string

GetBackgroundColor returns the BackgroundColor field if non-nil, zero value otherwise.

func (*NoteDefinition) GetBackgroundColorOk

func (n *NoteDefinition) GetBackgroundColorOk() (string, bool)

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

func (*NoteDefinition) GetContent

func (n *NoteDefinition) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

func (*NoteDefinition) GetContentOk

func (n *NoteDefinition) GetContentOk() (string, bool)

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

func (*NoteDefinition) GetFontSize

func (n *NoteDefinition) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*NoteDefinition) GetFontSizeOk

func (n *NoteDefinition) GetFontSizeOk() (string, bool)

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

func (*NoteDefinition) GetShowTick

func (n *NoteDefinition) GetShowTick() bool

GetShowTick returns the ShowTick field if non-nil, zero value otherwise.

func (*NoteDefinition) GetShowTickOk

func (n *NoteDefinition) GetShowTickOk() (bool, bool)

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

func (*NoteDefinition) GetTextAlign

func (n *NoteDefinition) GetTextAlign() string

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

func (*NoteDefinition) GetTextAlignOk

func (n *NoteDefinition) GetTextAlignOk() (string, bool)

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

func (*NoteDefinition) GetTickEdge

func (n *NoteDefinition) GetTickEdge() string

GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTickEdgeOk

func (n *NoteDefinition) GetTickEdgeOk() (string, bool)

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

func (*NoteDefinition) GetTickPos

func (n *NoteDefinition) GetTickPos() string

GetTickPos returns the TickPos field if non-nil, zero value otherwise.

func (*NoteDefinition) GetTickPosOk

func (n *NoteDefinition) GetTickPosOk() (string, bool)

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

func (*NoteDefinition) GetType

func (n *NoteDefinition) GetType() string

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

func (*NoteDefinition) GetTypeOk

func (n *NoteDefinition) GetTypeOk() (string, bool)

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

func (*NoteDefinition) HasBackgroundColor

func (n *NoteDefinition) HasBackgroundColor() bool

HasBackgroundColor returns a boolean if a field has been set.

func (*NoteDefinition) HasContent

func (n *NoteDefinition) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*NoteDefinition) HasFontSize

func (n *NoteDefinition) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*NoteDefinition) HasShowTick

func (n *NoteDefinition) HasShowTick() bool

HasShowTick returns a boolean if a field has been set.

func (*NoteDefinition) HasTextAlign

func (n *NoteDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*NoteDefinition) HasTickEdge

func (n *NoteDefinition) HasTickEdge() bool

HasTickEdge returns a boolean if a field has been set.

func (*NoteDefinition) HasTickPos

func (n *NoteDefinition) HasTickPos() bool

HasTickPos returns a boolean if a field has been set.

func (*NoteDefinition) HasType

func (n *NoteDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*NoteDefinition) SetBackgroundColor

func (n *NoteDefinition) SetBackgroundColor(v string)

SetBackgroundColor allocates a new n.BackgroundColor and returns the pointer to it.

func (*NoteDefinition) SetContent

func (n *NoteDefinition) SetContent(v string)

SetContent allocates a new n.Content and returns the pointer to it.

func (*NoteDefinition) SetFontSize

func (n *NoteDefinition) SetFontSize(v string)

SetFontSize allocates a new n.FontSize and returns the pointer to it.

func (*NoteDefinition) SetShowTick

func (n *NoteDefinition) SetShowTick(v bool)

SetShowTick allocates a new n.ShowTick and returns the pointer to it.

func (*NoteDefinition) SetTextAlign

func (n *NoteDefinition) SetTextAlign(v string)

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

func (*NoteDefinition) SetTickEdge

func (n *NoteDefinition) SetTickEdge(v string)

SetTickEdge allocates a new n.TickEdge and returns the pointer to it.

func (*NoteDefinition) SetTickPos

func (n *NoteDefinition) SetTickPos(v string)

SetTickPos allocates a new n.TickPos and returns the pointer to it.

func (*NoteDefinition) SetType

func (n *NoteDefinition) SetType(v string)

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

type Options

type Options struct {
	NoDataTimeframe   NoDataTimeframe   `json:"no_data_timeframe,omitempty"`
	NotifyAudit       *bool             `json:"notify_audit,omitempty"`
	NotifyNoData      *bool             `json:"notify_no_data,omitempty"`
	RenotifyInterval  *int              `json:"renotify_interval,omitempty"`
	NewHostDelay      *int              `json:"new_host_delay,omitempty"`
	EvaluationDelay   *int              `json:"evaluation_delay,omitempty"`
	Silenced          map[string]int    `json:"silenced,omitempty"`
	TimeoutH          *int              `json:"timeout_h,omitempty"`
	EscalationMessage *string           `json:"escalation_message,omitempty"`
	Thresholds        *ThresholdCount   `json:"thresholds,omitempty"`
	ThresholdWindows  *ThresholdWindows `json:"threshold_windows,omitempty"`
	IncludeTags       *bool             `json:"include_tags,omitempty"`
	RequireFullWindow *bool             `json:"require_full_window,omitempty"`
	Locked            *bool             `json:"locked,omitempty"`
	EnableLogsSample  *bool             `json:"enable_logs_sample,omitempty"`
	QueryConfig       *QueryConfig      `json:"queryConfig,omitempty"`
}

func (*Options) GetEnableLogsSample

func (o *Options) GetEnableLogsSample() bool

GetEnableLogsSample returns the EnableLogsSample field if non-nil, zero value otherwise.

func (*Options) GetEnableLogsSampleOk

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

func (o *Options) GetQueryConfig() QueryConfig

GetQueryConfig returns the QueryConfig field if non-nil, zero value otherwise.

func (*Options) GetQueryConfigOk

func (o *Options) GetQueryConfigOk() (QueryConfig, bool)

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

func (*Options) GetRenotifyInterval

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

func (o *Options) GetThresholdWindows() ThresholdWindows

GetThresholdWindows returns the ThresholdWindows field if non-nil, zero value otherwise.

func (*Options) GetThresholdWindowsOk

func (o *Options) GetThresholdWindowsOk() (ThresholdWindows, bool)

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

func (*Options) GetThresholds

func (o *Options) GetThresholds() ThresholdCount

GetThresholds returns the Thresholds field if non-nil, zero value otherwise.

func (*Options) GetThresholdsOk

func (o *Options) GetThresholdsOk() (ThresholdCount, bool)

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

func (*Options) GetTimeoutH

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

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

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

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

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

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

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

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

func (p *Params) GetCount() string

GetCount returns the Count field if non-nil, zero value otherwise.

func (*Params) GetCountOk

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

func (p *Params) GetSort() string

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

func (*Params) GetSortOk

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

func (p *Params) GetStart() string

GetStart returns the Start field if non-nil, zero value otherwise.

func (*Params) GetStartOk

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

func (p *Params) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Params) GetTextOk

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

func (p *Params) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Params) HasSort

func (p *Params) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*Params) HasStart

func (p *Params) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Params) HasText

func (p *Params) HasText() bool

HasText returns a boolean if a field has been set.

func (*Params) SetCount

func (p *Params) SetCount(v string)

SetCount allocates a new p.Count and returns the pointer to it.

func (*Params) SetSort

func (p *Params) SetSort(v string)

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

func (*Params) SetStart

func (p *Params) SetStart(v string)

SetStart allocates a new p.Start and returns the pointer to it.

func (*Params) SetText

func (p *Params) SetText(v string)

SetText allocates a new p.Text and returns the pointer to it.

type Period

type Period struct {
	Seconds *json.Number `json:"seconds,omitempty"`
	Text    *string      `json:"text,omitempty"`
	Value   *string      `json:"value,omitempty"`
	Name    *string      `json:"name,omitempty"`
	Unit    *string      `json:"unit,omitempty"`
}

func (*Period) GetName

func (p *Period) GetName() string

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

func (*Period) GetNameOk

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

func (p *Period) GetSeconds() json.Number

GetSeconds returns the Seconds field if non-nil, zero value otherwise.

func (*Period) GetSecondsOk

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

func (p *Period) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Period) GetTextOk

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

func (p *Period) GetUnit() string

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

func (*Period) GetUnitOk

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

func (p *Period) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*Period) GetValueOk

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

func (p *Period) HasName() bool

HasName returns a boolean if a field has been set.

func (*Period) HasSeconds

func (p *Period) HasSeconds() bool

HasSeconds returns a boolean if a field has been set.

func (*Period) HasText

func (p *Period) HasText() bool

HasText returns a boolean if a field has been set.

func (*Period) HasUnit

func (p *Period) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Period) HasValue

func (p *Period) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*Period) SetName

func (p *Period) SetName(v string)

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

func (*Period) SetSeconds

func (p *Period) SetSeconds(v json.Number)

SetSeconds allocates a new p.Seconds and returns the pointer to it.

func (*Period) SetText

func (p *Period) SetText(v string)

SetText allocates a new p.Text and returns the pointer to it.

func (*Period) SetUnit

func (p *Period) SetUnit(v string)

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

func (*Period) SetValue

func (p *Period) SetValue(v string)

SetValue allocates a new p.Value and returns the pointer to it.

type PrecisionT

type PrecisionT string

func GetPrecision

func GetPrecision(v *PrecisionT) (PrecisionT, bool)

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

func Precision

func Precision(v PrecisionT) *PrecisionT

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

func (*PrecisionT) UnmarshalJSON

func (p *PrecisionT) UnmarshalJSON(data []byte) error

UnmarshalJSON is a Custom Unmarshal for PrecisionT. The Datadog API can return 1 (int), "1" (number, but a string type) or something like "100%" or "*" (string).

type QueryConfig

type QueryConfig struct {
	LogSet        *LogSet    `json:"logset,omitempty"`
	TimeRange     *TimeRange `json:"timeRange,omitempty"`
	QueryString   *string    `json:"queryString,omitempty"`
	QueryIsFailed *bool      `json:"queryIsFailed,omitempty"`
}

func (*QueryConfig) GetLogSet

func (q *QueryConfig) GetLogSet() LogSet

GetLogSet returns the LogSet field if non-nil, zero value otherwise.

func (*QueryConfig) GetLogSetOk

func (q *QueryConfig) GetLogSetOk() (LogSet, bool)

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

func (*QueryConfig) GetQueryIsFailed

func (q *QueryConfig) GetQueryIsFailed() bool

GetQueryIsFailed returns the QueryIsFailed field if non-nil, zero value otherwise.

func (*QueryConfig) GetQueryIsFailedOk

func (q *QueryConfig) GetQueryIsFailedOk() (bool, bool)

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

func (*QueryConfig) GetQueryString

func (q *QueryConfig) GetQueryString() string

GetQueryString returns the QueryString field if non-nil, zero value otherwise.

func (*QueryConfig) GetQueryStringOk

func (q *QueryConfig) GetQueryStringOk() (string, bool)

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

func (*QueryConfig) GetTimeRange

func (q *QueryConfig) GetTimeRange() TimeRange

GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.

func (*QueryConfig) GetTimeRangeOk

func (q *QueryConfig) GetTimeRangeOk() (TimeRange, bool)

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

func (*QueryConfig) HasLogSet

func (q *QueryConfig) HasLogSet() bool

HasLogSet returns a boolean if a field has been set.

func (*QueryConfig) HasQueryIsFailed

func (q *QueryConfig) HasQueryIsFailed() bool

HasQueryIsFailed returns a boolean if a field has been set.

func (*QueryConfig) HasQueryString

func (q *QueryConfig) HasQueryString() bool

HasQueryString returns a boolean if a field has been set.

func (*QueryConfig) HasTimeRange

func (q *QueryConfig) HasTimeRange() bool

HasTimeRange returns a boolean if a field has been set.

func (*QueryConfig) SetLogSet

func (q *QueryConfig) SetLogSet(v LogSet)

SetLogSet allocates a new q.LogSet and returns the pointer to it.

func (*QueryConfig) SetQueryIsFailed

func (q *QueryConfig) SetQueryIsFailed(v bool)

SetQueryIsFailed allocates a new q.QueryIsFailed and returns the pointer to it.

func (*QueryConfig) SetQueryString

func (q *QueryConfig) SetQueryString(v string)

SetQueryString allocates a new q.QueryString and returns the pointer to it.

func (*QueryConfig) SetTimeRange

func (q *QueryConfig) SetTimeRange(v TimeRange)

SetTimeRange allocates a new q.TimeRange and returns the pointer to it.

type QueryTableDefinition

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

func (q *QueryTableDefinition) GetTime() WidgetTime

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

func (*QueryTableDefinition) GetTimeOk

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

func (q *QueryTableDefinition) GetTitle() string

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

func (*QueryTableDefinition) GetTitleAlign

func (q *QueryTableDefinition) GetTitleAlign() string

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

func (*QueryTableDefinition) GetTitleAlignOk

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

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

func (q *QueryTableDefinition) GetTitleSize() string

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

func (*QueryTableDefinition) GetTitleSizeOk

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

func (q *QueryTableDefinition) GetType() string

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

func (*QueryTableDefinition) GetTypeOk

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

func (q *QueryTableDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitle

func (q *QueryTableDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitleAlign

func (q *QueryTableDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*QueryTableDefinition) HasTitleSize

func (q *QueryTableDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*QueryTableDefinition) HasType

func (q *QueryTableDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*QueryTableDefinition) SetTime

func (q *QueryTableDefinition) SetTime(v WidgetTime)

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

func (*QueryTableDefinition) SetTitle

func (q *QueryTableDefinition) SetTitle(v string)

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

func (*QueryTableDefinition) SetTitleAlign

func (q *QueryTableDefinition) SetTitleAlign(v string)

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

func (*QueryTableDefinition) SetTitleSize

func (q *QueryTableDefinition) SetTitleSize(v string)

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

func (*QueryTableDefinition) SetType

func (q *QueryTableDefinition) SetType(v string)

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

type QueryTableRequest

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

func (q *QueryTableRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetAggregatorOk

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

func (q *QueryTableRequest) GetAlias() string

GetAlias returns the Alias field if non-nil, zero value otherwise.

func (*QueryTableRequest) GetAliasOk

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

func (q *QueryTableRequest) GetApmQuery() WidgetApmOrLogQuery

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

func (*QueryTableRequest) GetApmQueryOk

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

func (q *QueryTableRequest) GetLimit() int

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

func (*QueryTableRequest) GetLimitOk

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

func (q *QueryTableRequest) GetLogQuery() WidgetApmOrLogQuery

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

func (*QueryTableRequest) GetLogQueryOk

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

func (q *QueryTableRequest) GetMetricQuery() string

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

func (*QueryTableRequest) GetMetricQueryOk

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

func (q *QueryTableRequest) GetOrder() string

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

func (*QueryTableRequest) GetOrderOk

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

func (q *QueryTableRequest) GetProcessQuery() WidgetProcessQuery

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

func (*QueryTableRequest) GetProcessQueryOk

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

func (q *QueryTableRequest) GetRumQuery() WidgetApmOrLogQuery

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

func (*QueryTableRequest) GetRumQueryOk

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

func (q *QueryTableRequest) GetSecurityQuery() WidgetApmOrLogQuery

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

func (*QueryTableRequest) GetSecurityQueryOk

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

func (q *QueryTableRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*QueryTableRequest) HasAlias

func (q *QueryTableRequest) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*QueryTableRequest) HasApmQuery

func (q *QueryTableRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasLimit

func (q *QueryTableRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*QueryTableRequest) HasLogQuery

func (q *QueryTableRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasMetricQuery

func (q *QueryTableRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasOrder

func (q *QueryTableRequest) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*QueryTableRequest) HasProcessQuery

func (q *QueryTableRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasRumQuery

func (q *QueryTableRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*QueryTableRequest) HasSecurityQuery

func (q *QueryTableRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*QueryTableRequest) SetAggregator

func (q *QueryTableRequest) SetAggregator(v string)

SetAggregator allocates a new q.Aggregator and returns the pointer to it.

func (*QueryTableRequest) SetAlias

func (q *QueryTableRequest) SetAlias(v string)

SetAlias allocates a new q.Alias and returns the pointer to it.

func (*QueryTableRequest) SetApmQuery

func (q *QueryTableRequest) SetApmQuery(v WidgetApmOrLogQuery)

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

func (*QueryTableRequest) SetLimit

func (q *QueryTableRequest) SetLimit(v int)

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

func (*QueryTableRequest) SetLogQuery

func (q *QueryTableRequest) SetLogQuery(v WidgetApmOrLogQuery)

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

func (*QueryTableRequest) SetMetricQuery

func (q *QueryTableRequest) SetMetricQuery(v string)

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

func (*QueryTableRequest) SetOrder

func (q *QueryTableRequest) SetOrder(v string)

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

func (*QueryTableRequest) SetProcessQuery

func (q *QueryTableRequest) SetProcessQuery(v WidgetProcessQuery)

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

func (*QueryTableRequest) SetRumQuery

func (q *QueryTableRequest) SetRumQuery(v WidgetApmOrLogQuery)

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

func (*QueryTableRequest) SetSecurityQuery

func (q *QueryTableRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

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

type QueryValueDefinition

type QueryValueDefinition struct {
	Type       *string             `json:"type"`
	Requests   []QueryValueRequest `json:"requests"`
	Autoscale  *bool               `json:"autoscale,omitempty"`
	CustomUnit *string             `json:"custom_unit,omitempty"`
	Precision  *int                `json:"precision,omitempty"`
	TextAlign  *string             `json:"text_align,omitempty"`
	Title      *string             `json:"title,omitempty"`
	TitleSize  *string             `json:"title_size,omitempty"`
	TitleAlign *string             `json:"title_align,omitempty"`
	Time       *WidgetTime         `json:"time,omitempty"`
}

QueryValueDefinition represents the definition for a Query Value widget

func (*QueryValueDefinition) GetAutoscale

func (q *QueryValueDefinition) GetAutoscale() bool

GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetAutoscaleOk

func (q *QueryValueDefinition) GetAutoscaleOk() (bool, bool)

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

func (*QueryValueDefinition) GetCustomUnit

func (q *QueryValueDefinition) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetCustomUnitOk

func (q *QueryValueDefinition) GetCustomUnitOk() (string, bool)

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

func (*QueryValueDefinition) GetPrecision

func (q *QueryValueDefinition) GetPrecision() int

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetPrecisionOk

func (q *QueryValueDefinition) GetPrecisionOk() (int, bool)

GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetTextAlign

func (q *QueryValueDefinition) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTextAlignOk

func (q *QueryValueDefinition) GetTextAlignOk() (string, bool)

GetTextAlignOk returns a tuple with the TextAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetTime

func (q *QueryValueDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTimeOk

func (q *QueryValueDefinition) GetTimeOk() (WidgetTime, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetTitle

func (q *QueryValueDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleAlign

func (q *QueryValueDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleAlignOk

func (q *QueryValueDefinition) GetTitleAlignOk() (string, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetTitleOk

func (q *QueryValueDefinition) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetTitleSize

func (q *QueryValueDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTitleSizeOk

func (q *QueryValueDefinition) GetTitleSizeOk() (string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) GetType

func (q *QueryValueDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*QueryValueDefinition) GetTypeOk

func (q *QueryValueDefinition) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueDefinition) HasAutoscale

func (q *QueryValueDefinition) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*QueryValueDefinition) HasCustomUnit

func (q *QueryValueDefinition) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*QueryValueDefinition) HasPrecision

func (q *QueryValueDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTextAlign

func (q *QueryValueDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTime

func (q *QueryValueDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitle

func (q *QueryValueDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitleAlign

func (q *QueryValueDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*QueryValueDefinition) HasTitleSize

func (q *QueryValueDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*QueryValueDefinition) HasType

func (q *QueryValueDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*QueryValueDefinition) SetAutoscale

func (q *QueryValueDefinition) SetAutoscale(v bool)

SetAutoscale allocates a new q.Autoscale and returns the pointer to it.

func (*QueryValueDefinition) SetCustomUnit

func (q *QueryValueDefinition) SetCustomUnit(v string)

SetCustomUnit allocates a new q.CustomUnit and returns the pointer to it.

func (*QueryValueDefinition) SetPrecision

func (q *QueryValueDefinition) SetPrecision(v int)

SetPrecision allocates a new q.Precision and returns the pointer to it.

func (*QueryValueDefinition) SetTextAlign

func (q *QueryValueDefinition) SetTextAlign(v string)

SetTextAlign allocates a new q.TextAlign and returns the pointer to it.

func (*QueryValueDefinition) SetTime

func (q *QueryValueDefinition) SetTime(v WidgetTime)

SetTime allocates a new q.Time and returns the pointer to it.

func (*QueryValueDefinition) SetTitle

func (q *QueryValueDefinition) SetTitle(v string)

SetTitle allocates a new q.Title and returns the pointer to it.

func (*QueryValueDefinition) SetTitleAlign

func (q *QueryValueDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.

func (*QueryValueDefinition) SetTitleSize

func (q *QueryValueDefinition) SetTitleSize(v string)

SetTitleSize allocates a new q.TitleSize and returns the pointer to it.

func (*QueryValueDefinition) SetType

func (q *QueryValueDefinition) SetType(v string)

SetType allocates a new q.Type and returns the pointer to it.

type QueryValueRequest

type QueryValueRequest struct {
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	Aggregator         *string                   `json:"aggregator,omitempty"`
	// A QueryValueRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*QueryValueRequest) GetAggregator

func (q *QueryValueRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetAggregatorOk

func (q *QueryValueRequest) GetAggregatorOk() (string, bool)

GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetApmQuery

func (q *QueryValueRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetApmQueryOk

func (q *QueryValueRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetLogQuery

func (q *QueryValueRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetLogQueryOk

func (q *QueryValueRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetMetricQuery

func (q *QueryValueRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetMetricQueryOk

func (q *QueryValueRequest) GetMetricQueryOk() (string, bool)

GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetProcessQuery

func (q *QueryValueRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetProcessQueryOk

func (q *QueryValueRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*QueryValueRequest) GetRumQuery

func (q *QueryValueRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetRumQueryOk

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

func (q *QueryValueRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*QueryValueRequest) GetSecurityQueryOk

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

func (q *QueryValueRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*QueryValueRequest) HasApmQuery

func (q *QueryValueRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasLogQuery

func (q *QueryValueRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasMetricQuery

func (q *QueryValueRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasProcessQuery

func (q *QueryValueRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasRumQuery

func (q *QueryValueRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*QueryValueRequest) HasSecurityQuery

func (q *QueryValueRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*QueryValueRequest) SetAggregator

func (q *QueryValueRequest) SetAggregator(v string)

SetAggregator allocates a new q.Aggregator and returns the pointer to it.

func (*QueryValueRequest) SetApmQuery

func (q *QueryValueRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new q.ApmQuery and returns the pointer to it.

func (*QueryValueRequest) SetLogQuery

func (q *QueryValueRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new q.LogQuery and returns the pointer to it.

func (*QueryValueRequest) SetMetricQuery

func (q *QueryValueRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new q.MetricQuery and returns the pointer to it.

func (*QueryValueRequest) SetProcessQuery

func (q *QueryValueRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new q.ProcessQuery and returns the pointer to it.

func (*QueryValueRequest) SetRumQuery

func (q *QueryValueRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new q.RumQuery and returns the pointer to it.

func (*QueryValueRequest) SetSecurityQuery

func (q *QueryValueRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new q.SecurityQuery and returns the pointer to it.

type RateLimit

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

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

type Retry struct {
	Count    *int `json:"count,omitempty"`
	Interval *int `json:"interval,omitempty"`
}

func (*Retry) GetCount

func (r *Retry) GetCount() int

GetCount returns the Count field if non-nil, zero value otherwise.

func (*Retry) GetCountOk

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

func (r *Retry) GetInterval() int

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*Retry) GetIntervalOk

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

func (r *Retry) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Retry) HasInterval

func (r *Retry) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*Retry) SetCount

func (r *Retry) SetCount(v int)

SetCount allocates a new r.Count and returns the pointer to it.

func (*Retry) SetInterval

func (r *Retry) SetInterval(v int)

SetInterval allocates a new r.Interval and returns the pointer to it.

type Rule

type Rule struct {
	Threshold *json.Number `json:"threshold,omitempty"`
	Timeframe *string      `json:"timeframe,omitempty"`
	Color     *string      `json:"color,omitempty"`
}

func (*Rule) GetColor

func (r *Rule) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*Rule) GetColorOk

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

func (r *Rule) GetThreshold() json.Number

GetThreshold returns the Threshold field if non-nil, zero value otherwise.

func (*Rule) GetThresholdOk

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

func (r *Rule) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*Rule) GetTimeframeOk

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

func (r *Rule) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*Rule) HasThreshold

func (r *Rule) HasThreshold() bool

HasThreshold returns a boolean if a field has been set.

func (*Rule) HasTimeframe

func (r *Rule) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*Rule) SetColor

func (r *Rule) SetColor(v string)

SetColor allocates a new r.Color and returns the pointer to it.

func (*Rule) SetThreshold

func (r *Rule) SetThreshold(v json.Number)

SetThreshold allocates a new r.Threshold and returns the pointer to it.

func (*Rule) SetTimeframe

func (r *Rule) SetTimeframe(v string)

SetTimeframe allocates a new r.Timeframe and returns the pointer to it.

type ScatterplotDefinition

type ScatterplotDefinition struct {
	Type          *string              `json:"type"`
	Requests      *ScatterplotRequests `json:"requests"`
	Xaxis         *WidgetAxis          `json:"xaxis,omitempty"`
	Yaxis         *WidgetAxis          `json:"yaxis,omitempty"`
	ColorByGroups []string             `json:"color_by_groups,omitempty"`
	Title         *string              `json:"title,omitempty"`
	TitleSize     *string              `json:"title_size,omitempty"`
	TitleAlign    *string              `json:"title_align,omitempty"`
	Time          *WidgetTime          `json:"time,omitempty"`
}

ScatterplotDefinition represents the definition for a Scatterplot widget

func (*ScatterplotDefinition) GetRequests

func (s *ScatterplotDefinition) GetRequests() ScatterplotRequests

GetRequests returns the Requests field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetRequestsOk

func (s *ScatterplotDefinition) GetRequestsOk() (ScatterplotRequests, bool)

GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetTime

func (s *ScatterplotDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTimeOk

func (s *ScatterplotDefinition) GetTimeOk() (WidgetTime, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetTitle

func (s *ScatterplotDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleAlign

func (s *ScatterplotDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleAlignOk

func (s *ScatterplotDefinition) GetTitleAlignOk() (string, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetTitleOk

func (s *ScatterplotDefinition) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetTitleSize

func (s *ScatterplotDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTitleSizeOk

func (s *ScatterplotDefinition) GetTitleSizeOk() (string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetType

func (s *ScatterplotDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetTypeOk

func (s *ScatterplotDefinition) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetXaxis

func (s *ScatterplotDefinition) GetXaxis() WidgetAxis

GetXaxis returns the Xaxis field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetXaxisOk

func (s *ScatterplotDefinition) GetXaxisOk() (WidgetAxis, bool)

GetXaxisOk returns a tuple with the Xaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) GetYaxis

func (s *ScatterplotDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*ScatterplotDefinition) GetYaxisOk

func (s *ScatterplotDefinition) GetYaxisOk() (WidgetAxis, bool)

GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotDefinition) HasRequests

func (s *ScatterplotDefinition) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTime

func (s *ScatterplotDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitle

func (s *ScatterplotDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitleAlign

func (s *ScatterplotDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasTitleSize

func (s *ScatterplotDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasType

func (s *ScatterplotDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasXaxis

func (s *ScatterplotDefinition) HasXaxis() bool

HasXaxis returns a boolean if a field has been set.

func (*ScatterplotDefinition) HasYaxis

func (s *ScatterplotDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*ScatterplotDefinition) SetRequests

func (s *ScatterplotDefinition) SetRequests(v ScatterplotRequests)

SetRequests allocates a new s.Requests and returns the pointer to it.

func (*ScatterplotDefinition) SetTime

func (s *ScatterplotDefinition) SetTime(v WidgetTime)

SetTime allocates a new s.Time and returns the pointer to it.

func (*ScatterplotDefinition) SetTitle

func (s *ScatterplotDefinition) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

func (*ScatterplotDefinition) SetTitleAlign

func (s *ScatterplotDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it.

func (*ScatterplotDefinition) SetTitleSize

func (s *ScatterplotDefinition) SetTitleSize(v string)

SetTitleSize allocates a new s.TitleSize and returns the pointer to it.

func (*ScatterplotDefinition) SetType

func (s *ScatterplotDefinition) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

func (*ScatterplotDefinition) SetXaxis

func (s *ScatterplotDefinition) SetXaxis(v WidgetAxis)

SetXaxis allocates a new s.Xaxis and returns the pointer to it.

func (*ScatterplotDefinition) SetYaxis

func (s *ScatterplotDefinition) SetYaxis(v WidgetAxis)

SetYaxis allocates a new s.Yaxis and returns the pointer to it.

type ScatterplotRequest

type ScatterplotRequest struct {
	Aggregator *string `json:"aggregator,omitempty"`
	// A ScatterplotRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ScatterplotRequest) GetAggregator

func (s *ScatterplotRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetAggregatorOk

func (s *ScatterplotRequest) GetAggregatorOk() (string, bool)

GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetApmQuery

func (s *ScatterplotRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetApmQueryOk

func (s *ScatterplotRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetLogQuery

func (s *ScatterplotRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetLogQueryOk

func (s *ScatterplotRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetMetricQuery

func (s *ScatterplotRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetMetricQueryOk

func (s *ScatterplotRequest) GetMetricQueryOk() (string, bool)

GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetProcessQuery

func (s *ScatterplotRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetProcessQueryOk

func (s *ScatterplotRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequest) GetRumQuery

func (s *ScatterplotRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetRumQueryOk

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

func (s *ScatterplotRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*ScatterplotRequest) GetSecurityQueryOk

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

func (s *ScatterplotRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*ScatterplotRequest) HasApmQuery

func (s *ScatterplotRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasLogQuery

func (s *ScatterplotRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasMetricQuery

func (s *ScatterplotRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasProcessQuery

func (s *ScatterplotRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasRumQuery

func (s *ScatterplotRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) HasSecurityQuery

func (s *ScatterplotRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ScatterplotRequest) SetAggregator

func (s *ScatterplotRequest) SetAggregator(v string)

SetAggregator allocates a new s.Aggregator and returns the pointer to it.

func (*ScatterplotRequest) SetApmQuery

func (s *ScatterplotRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new s.ApmQuery and returns the pointer to it.

func (*ScatterplotRequest) SetLogQuery

func (s *ScatterplotRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new s.LogQuery and returns the pointer to it.

func (*ScatterplotRequest) SetMetricQuery

func (s *ScatterplotRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new s.MetricQuery and returns the pointer to it.

func (*ScatterplotRequest) SetProcessQuery

func (s *ScatterplotRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new s.ProcessQuery and returns the pointer to it.

func (*ScatterplotRequest) SetRumQuery

func (s *ScatterplotRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new s.RumQuery and returns the pointer to it.

func (*ScatterplotRequest) SetSecurityQuery

func (s *ScatterplotRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new s.SecurityQuery and returns the pointer to it.

type ScatterplotRequests

type ScatterplotRequests struct {
	X *ScatterplotRequest `json:"x"`
	Y *ScatterplotRequest `json:"y"`
}

func (*ScatterplotRequests) GetX

GetX returns the X field if non-nil, zero value otherwise.

func (*ScatterplotRequests) GetXOk

GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequests) GetY

GetY returns the Y field if non-nil, zero value otherwise.

func (*ScatterplotRequests) GetYOk

GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScatterplotRequests) HasX

func (s *ScatterplotRequests) HasX() bool

HasX returns a boolean if a field has been set.

func (*ScatterplotRequests) HasY

func (s *ScatterplotRequests) HasY() bool

HasY returns a boolean if a field has been set.

func (*ScatterplotRequests) SetX

SetX allocates a new s.X and returns the pointer to it.

func (*ScatterplotRequests) SetY

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

func (s *Screenboard) GetNewId() string

GetNewId returns the NewId field if non-nil, zero value otherwise.

func (*Screenboard) GetNewIdOk

func (s *Screenboard) GetNewIdOk() (string, bool)

GetNewIdOk returns a tuple with the NewId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Screenboard) GetReadOnly

func (s *Screenboard) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

func (*Screenboard) GetReadOnlyOk

func (s *Screenboard) GetReadOnlyOk() (bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Screenboard) GetShared

func (s *Screenboard) GetShared() bool

GetShared returns the Shared field if non-nil, zero value otherwise.

func (*Screenboard) GetSharedOk

func (s *Screenboard) GetSharedOk() (bool, bool)

GetSharedOk returns a tuple with the Shared field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Screenboard) GetTitle

func (s *Screenboard) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Screenboard) GetTitleOk

func (s *Screenboard) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Screenboard) GetWidth

func (s *Screenboard) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*Screenboard) GetWidthOk

func (s *Screenboard) GetWidthOk() (int, bool)

GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Screenboard) HasHeight

func (s *Screenboard) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*Screenboard) HasId

func (s *Screenboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Screenboard) HasNewId

func (s *Screenboard) HasNewId() bool

HasNewId returns a boolean if a field has been set.

func (*Screenboard) HasReadOnly

func (s *Screenboard) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*Screenboard) HasShared

func (s *Screenboard) HasShared() bool

HasShared returns a boolean if a field has been set.

func (*Screenboard) HasTitle

func (s *Screenboard) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Screenboard) HasWidth

func (s *Screenboard) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*Screenboard) SetHeight

func (s *Screenboard) SetHeight(v int)

SetHeight allocates a new s.Height and returns the pointer to it.

func (*Screenboard) SetId

func (s *Screenboard) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*Screenboard) SetNewId

func (s *Screenboard) SetNewId(v string)

SetNewId allocates a new s.NewId and returns the pointer to it.

func (*Screenboard) SetReadOnly

func (s *Screenboard) SetReadOnly(v bool)

SetReadOnly allocates a new s.ReadOnly and returns the pointer to it.

func (*Screenboard) SetShared

func (s *Screenboard) SetShared(v bool)

SetShared allocates a new s.Shared and returns the pointer to it.

func (*Screenboard) SetTitle

func (s *Screenboard) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

func (*Screenboard) SetWidth

func (s *Screenboard) SetWidth(v int)

SetWidth allocates a new s.Width and returns the pointer to it.

type ScreenboardLite

type ScreenboardLite struct {
	Id       *int    `json:"id,omitempty"`
	Resource *string `json:"resource,omitempty"`
	Title    *string `json:"title,omitempty"`
}

ScreenboardLite represents a user created screenboard. This is the mini struct when we load the summaries.

func (*ScreenboardLite) GetId

func (s *ScreenboardLite) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*ScreenboardLite) GetIdOk

func (s *ScreenboardLite) GetIdOk() (int, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScreenboardLite) GetResource

func (s *ScreenboardLite) GetResource() string

GetResource returns the Resource field if non-nil, zero value otherwise.

func (*ScreenboardLite) GetResourceOk

func (s *ScreenboardLite) GetResourceOk() (string, bool)

GetResourceOk returns a tuple with the Resource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScreenboardLite) GetTitle

func (s *ScreenboardLite) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ScreenboardLite) GetTitleOk

func (s *ScreenboardLite) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScreenboardLite) HasId

func (s *ScreenboardLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*ScreenboardLite) HasResource

func (s *ScreenboardLite) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*ScreenboardLite) HasTitle

func (s *ScreenboardLite) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ScreenboardLite) SetId

func (s *ScreenboardLite) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*ScreenboardLite) SetResource

func (s *ScreenboardLite) SetResource(v string)

SetResource allocates a new s.Resource and returns the pointer to it.

func (*ScreenboardLite) SetTitle

func (s *ScreenboardLite) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

type ScreenboardMonitor

type ScreenboardMonitor struct {
	Id *int `json:"id,omitempty"`
}

func (*ScreenboardMonitor) GetId

func (s *ScreenboardMonitor) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*ScreenboardMonitor) GetIdOk

func (s *ScreenboardMonitor) GetIdOk() (int, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ScreenboardMonitor) HasId

func (s *ScreenboardMonitor) HasId() bool

HasId returns a boolean if a field has been set.

func (*ScreenboardMonitor) SetId

func (s *ScreenboardMonitor) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

type Series

type Series struct {
	Metric      *string     `json:"metric,omitempty"`
	DisplayName *string     `json:"display_name,omitempty"`
	Points      []DataPoint `json:"pointlist,omitempty"`
	Start       *float64    `json:"start,omitempty"`
	End         *float64    `json:"end,omitempty"`
	Interval    *int        `json:"interval,omitempty"`
	Aggr        *string     `json:"aggr,omitempty"`
	Length      *int        `json:"length,omitempty"`
	Scope       *string     `json:"scope,omitempty"`
	Expression  *string     `json:"expression,omitempty"`
	Units       *UnitPair   `json:"unit,omitempty"`
	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

func (s *Series) GetQueryIndex() int

GetQueryIndex returns the QueryIndex field if non-nil, zero value otherwise.

func (*Series) GetQueryIndexOk

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

func (s *Series) GetUnits() UnitPair

GetUnits returns the Units field if non-nil, zero value otherwise.

func (*Series) GetUnitsOk

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

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

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

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

func (s *Series) SetUnits(v UnitPair)

SetUnits allocates a new s.Units and returns the pointer to it.

type ServiceHookSlackRequest

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

func (s *ServiceHookSlackRequest) GetAccount() string

GetAccount returns the Account field if non-nil, zero value otherwise.

func (*ServiceHookSlackRequest) GetAccountOk

func (s *ServiceHookSlackRequest) GetAccountOk() (string, bool)

GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceHookSlackRequest) GetUrl

func (s *ServiceHookSlackRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*ServiceHookSlackRequest) GetUrlOk

func (s *ServiceHookSlackRequest) GetUrlOk() (string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceHookSlackRequest) HasAccount

func (s *ServiceHookSlackRequest) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*ServiceHookSlackRequest) HasUrl

func (s *ServiceHookSlackRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*ServiceHookSlackRequest) SetAccount

func (s *ServiceHookSlackRequest) SetAccount(v string)

SetAccount allocates a new s.Account and returns the pointer to it.

func (*ServiceHookSlackRequest) SetUrl

func (s *ServiceHookSlackRequest) SetUrl(v string)

SetUrl allocates a new s.Url and returns the pointer to it.

type ServiceLevelObjective

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

func (s *ServiceLevelObjective) GetCreatedAt() int

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetCreatedAtOk

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

func (s *ServiceLevelObjective) GetCreator() Creator

GetCreator returns the Creator field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetCreatorOk

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

func (s *ServiceLevelObjective) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetDescriptionOk

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

func (s *ServiceLevelObjective) GetID() string

GetID returns the ID field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetIDOk

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

func (s *ServiceLevelObjective) GetModifiedAt() int

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetModifiedAtOk

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

func (s *ServiceLevelObjective) GetMonitorSearch() string

GetMonitorSearch returns the MonitorSearch field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetMonitorSearchOk

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

func (s *ServiceLevelObjective) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetNameOk

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

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetQueryOk

GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjective) GetType

func (s *ServiceLevelObjective) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetTypeID

func (s *ServiceLevelObjective) GetTypeID() int

GetTypeID returns the TypeID field if non-nil, zero value otherwise.

func (*ServiceLevelObjective) GetTypeIDOk

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

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

func (s *ServiceLevelObjective) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasCreator

func (s *ServiceLevelObjective) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasDescription

func (s *ServiceLevelObjective) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasID

func (s *ServiceLevelObjective) HasID() bool

HasID returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasModifiedAt

func (s *ServiceLevelObjective) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasMonitorSearch

func (s *ServiceLevelObjective) HasMonitorSearch() bool

HasMonitorSearch returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasName

func (s *ServiceLevelObjective) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasQuery

func (s *ServiceLevelObjective) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasType

func (s *ServiceLevelObjective) HasType() bool

HasType returns a boolean if a field has been set.

func (*ServiceLevelObjective) HasTypeID

func (s *ServiceLevelObjective) HasTypeID() bool

HasTypeID returns a boolean if a field has been set.

func (*ServiceLevelObjective) MarshalJSON

func (s *ServiceLevelObjective) MarshalJSON() ([]byte, error)

MarshalJSON implements custom marshaler to ignore some fields

func (*ServiceLevelObjective) SetCreatedAt

func (s *ServiceLevelObjective) SetCreatedAt(v int)

SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it.

func (*ServiceLevelObjective) SetCreator

func (s *ServiceLevelObjective) SetCreator(v Creator)

SetCreator allocates a new s.Creator and returns the pointer to it.

func (*ServiceLevelObjective) SetDescription

func (s *ServiceLevelObjective) SetDescription(v string)

SetDescription allocates a new s.Description and returns the pointer to it.

func (*ServiceLevelObjective) SetID

func (s *ServiceLevelObjective) SetID(v string)

SetID allocates a new s.ID and returns the pointer to it.

func (*ServiceLevelObjective) SetModifiedAt

func (s *ServiceLevelObjective) SetModifiedAt(v int)

SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it.

func (*ServiceLevelObjective) SetMonitorSearch

func (s *ServiceLevelObjective) SetMonitorSearch(v string)

SetMonitorSearch allocates a new s.MonitorSearch and returns the pointer to it.

func (*ServiceLevelObjective) SetName

func (s *ServiceLevelObjective) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*ServiceLevelObjective) SetQuery

SetQuery allocates a new s.Query and returns the pointer to it.

func (*ServiceLevelObjective) SetType

func (s *ServiceLevelObjective) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

func (*ServiceLevelObjective) SetTypeID

func (s *ServiceLevelObjective) SetTypeID(v int)

SetTypeID allocates a new s.TypeID and returns the pointer to it.

type ServiceLevelObjectiveDefinition

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

func (s *ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveID() string

GetServiceLevelObjectiveID returns the ServiceLevelObjectiveID field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetServiceLevelObjectiveIDOk

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

func (s *ServiceLevelObjectiveDefinition) GetShowErrorBudget() bool

GetShowErrorBudget returns the ShowErrorBudget field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetShowErrorBudgetOk

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

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleAlign

func (s *ServiceLevelObjectiveDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleAlignOk

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

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

func (s *ServiceLevelObjectiveDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTitleSizeOk

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

GetType returns the Type field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetTypeOk

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

func (s *ServiceLevelObjectiveDefinition) GetViewMode() string

GetViewMode returns the ViewMode field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetViewModeOk

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

func (s *ServiceLevelObjectiveDefinition) GetViewType() string

GetViewType returns the ViewType field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDefinition) GetViewTypeOk

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

func (s *ServiceLevelObjectiveDefinition) HasServiceLevelObjectiveID() bool

HasServiceLevelObjectiveID returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasShowErrorBudget

func (s *ServiceLevelObjectiveDefinition) HasShowErrorBudget() bool

HasShowErrorBudget returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitle

func (s *ServiceLevelObjectiveDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitleAlign

func (s *ServiceLevelObjectiveDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasTitleSize

func (s *ServiceLevelObjectiveDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasType

HasType returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasViewMode

func (s *ServiceLevelObjectiveDefinition) HasViewMode() bool

HasViewMode returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) HasViewType

func (s *ServiceLevelObjectiveDefinition) HasViewType() bool

HasViewType returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDefinition) SetServiceLevelObjectiveID

func (s *ServiceLevelObjectiveDefinition) SetServiceLevelObjectiveID(v string)

SetServiceLevelObjectiveID allocates a new s.ServiceLevelObjectiveID and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetShowErrorBudget

func (s *ServiceLevelObjectiveDefinition) SetShowErrorBudget(v bool)

SetShowErrorBudget allocates a new s.ShowErrorBudget and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitle

func (s *ServiceLevelObjectiveDefinition) SetTitle(v string)

SetTitle allocates a new s.Title and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitleAlign

func (s *ServiceLevelObjectiveDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new s.TitleAlign and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetTitleSize

func (s *ServiceLevelObjectiveDefinition) SetTitleSize(v string)

SetTitleSize allocates a new s.TitleSize and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetType

SetType allocates a new s.Type and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetViewMode

func (s *ServiceLevelObjectiveDefinition) SetViewMode(v string)

SetViewMode allocates a new s.ViewMode and returns the pointer to it.

func (*ServiceLevelObjectiveDefinition) SetViewType

func (s *ServiceLevelObjectiveDefinition) SetViewType(v string)

SetViewType allocates a new s.ViewType and returns the pointer to it.

type ServiceLevelObjectiveDeleteTimeFramesError

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

Error computes the human readable error

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetID

GetID returns the ID field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetIDOk

GetIDOk returns a tuple with the ID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetMessage

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetMessageOk

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetTimeFrame

GetTimeFrame returns the TimeFrame field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveDeleteTimeFramesError) GetTimeFrameOk

GetTimeFrameOk returns a tuple with the TimeFrame field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) HasID

HasID returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) HasMessage

HasMessage returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) HasTimeFrame

HasTimeFrame returns a boolean if a field has been set.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetID

SetID allocates a new s.ID and returns the pointer to it.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetMessage

SetMessage allocates a new s.Message and returns the pointer to it.

func (*ServiceLevelObjectiveDeleteTimeFramesError) SetTimeFrame

SetTimeFrame allocates a new s.TimeFrame and returns the pointer to it.

type ServiceLevelObjectiveDeleteTimeFramesResponse

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

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

GetDenominator returns the Denominator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryMetricSeries) GetDenominatorOk

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

GetNumerator returns the Numerator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryMetricSeries) GetNumeratorOk

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

func (s *ServiceLevelObjectiveHistoryMetricSeries) HasDenominator() bool

HasDenominator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) HasNumerator

HasNumerator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryMetricSeries) SetDenominator

SetDenominator allocates a new s.Denominator and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryMetricSeries) SetNumerator

SetNumerator allocates a new s.Numerator and returns the pointer to it.

type ServiceLevelObjectiveHistoryMetricSeriesData

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

ValuesAsFloats will transform all the values into a slice of float64

func (*ServiceLevelObjectiveHistoryMetricSeriesData) ValuesAsInt64s

func (d *ServiceLevelObjectiveHistoryMetricSeriesData) ValuesAsInt64s() ([]int64, error)

ValuesAsInt64s will transform all the values into a slice of int64

type ServiceLevelObjectiveHistoryMonitorSeries

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

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

type ServiceLevelObjectiveHistoryResponse struct {
	Data  *ServiceLevelObjectiveHistoryResponseData `json:"data"`
	Error *string                                   `json:"error"`
}

ServiceLevelObjectiveHistoryResponse is the canonical response for SLO history data.

func (*ServiceLevelObjectiveHistoryResponse) GetData

GetData returns the Data field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponse) GetDataOk

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

GetError returns the Error field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponse) GetErrorOk

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

HasData returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponse) HasError

HasError returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponse) SetData

SetData allocates a new s.Data and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryResponse) SetError

SetError allocates a new s.Error and returns the pointer to it.

type ServiceLevelObjectiveHistoryResponseData

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

GetMetrics returns the Metrics field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponseData) GetMetricsOk

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

GetOverall returns the Overall field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveHistoryResponseData) GetOverallOk

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

HasMetrics returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponseData) HasOverall

HasOverall returns a boolean if a field has been set.

func (*ServiceLevelObjectiveHistoryResponseData) SetMetrics

SetMetrics allocates a new s.Metrics and returns the pointer to it.

func (*ServiceLevelObjectiveHistoryResponseData) SetOverall

SetOverall allocates a new s.Overall and returns the pointer to it.

type ServiceLevelObjectiveHistorySeriesPoint

type ServiceLevelObjectiveHistorySeriesPoint [2]json.Number

ServiceLevelObjectiveHistorySeriesPoint is a convenient wrapper for (timestamp, value) history data response.

type ServiceLevelObjectiveMetricQuery

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

func (s *ServiceLevelObjectiveMetricQuery) GetDenominator() string

GetDenominator returns the Denominator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveMetricQuery) GetDenominatorOk

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

func (s *ServiceLevelObjectiveMetricQuery) GetNumerator() string

GetNumerator returns the Numerator field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveMetricQuery) GetNumeratorOk

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

func (s *ServiceLevelObjectiveMetricQuery) HasDenominator() bool

HasDenominator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveMetricQuery) HasNumerator

func (s *ServiceLevelObjectiveMetricQuery) HasNumerator() bool

HasNumerator returns a boolean if a field has been set.

func (*ServiceLevelObjectiveMetricQuery) SetDenominator

func (s *ServiceLevelObjectiveMetricQuery) SetDenominator(v string)

SetDenominator allocates a new s.Denominator and returns the pointer to it.

func (*ServiceLevelObjectiveMetricQuery) SetNumerator

func (s *ServiceLevelObjectiveMetricQuery) SetNumerator(v string)

SetNumerator allocates a new s.Numerator and returns the pointer to it.

type ServiceLevelObjectiveThreshold

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

func (s *ServiceLevelObjectiveThreshold) Equal(o interface{}) bool

Equal check if one threshold is equal to another.

func (*ServiceLevelObjectiveThreshold) GetTarget

func (s *ServiceLevelObjectiveThreshold) GetTarget() float64

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTargetDisplay

func (s *ServiceLevelObjectiveThreshold) GetTargetDisplay() string

GetTargetDisplay returns the TargetDisplay field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTargetDisplayOk

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

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

func (s *ServiceLevelObjectiveThreshold) GetTimeFrame() string

GetTimeFrame returns the TimeFrame field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetTimeFrameOk

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

func (s *ServiceLevelObjectiveThreshold) GetWarning() float64

GetWarning returns the Warning field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetWarningDisplay

func (s *ServiceLevelObjectiveThreshold) GetWarningDisplay() string

GetWarningDisplay returns the WarningDisplay field if non-nil, zero value otherwise.

func (*ServiceLevelObjectiveThreshold) GetWarningDisplayOk

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

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

func (s *ServiceLevelObjectiveThreshold) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasTargetDisplay

func (s *ServiceLevelObjectiveThreshold) HasTargetDisplay() bool

HasTargetDisplay returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasTimeFrame

func (s *ServiceLevelObjectiveThreshold) HasTimeFrame() bool

HasTimeFrame returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasWarning

func (s *ServiceLevelObjectiveThreshold) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) HasWarningDisplay

func (s *ServiceLevelObjectiveThreshold) HasWarningDisplay() bool

HasWarningDisplay returns a boolean if a field has been set.

func (*ServiceLevelObjectiveThreshold) SetTarget

func (s *ServiceLevelObjectiveThreshold) SetTarget(v float64)

SetTarget allocates a new s.Target and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetTargetDisplay

func (s *ServiceLevelObjectiveThreshold) SetTargetDisplay(v string)

SetTargetDisplay allocates a new s.TargetDisplay and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetTimeFrame

func (s *ServiceLevelObjectiveThreshold) SetTimeFrame(v string)

SetTimeFrame allocates a new s.TimeFrame and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetWarning

func (s *ServiceLevelObjectiveThreshold) SetWarning(v float64)

SetWarning allocates a new s.Warning and returns the pointer to it.

func (*ServiceLevelObjectiveThreshold) SetWarningDisplay

func (s *ServiceLevelObjectiveThreshold) SetWarningDisplay(v string)

SetWarningDisplay allocates a new s.WarningDisplay and returns the pointer to it.

func (ServiceLevelObjectiveThreshold) String

String implements Stringer

type ServiceLevelObjectiveThresholds

type ServiceLevelObjectiveThresholds []*ServiceLevelObjectiveThreshold

ServiceLevelObjectiveThresholds is a sortable array of ServiceLevelObjectiveThreshold(s)

func (ServiceLevelObjectiveThresholds) Equal

func (s ServiceLevelObjectiveThresholds) Equal(o interface{}) bool

Equal check if one set of thresholds is equal to another.

func (ServiceLevelObjectiveThresholds) Len

Len implements sort.Interface length

func (ServiceLevelObjectiveThresholds) Less

Less implements sort.Interface less comparator

func (ServiceLevelObjectiveThresholds) Swap

func (s ServiceLevelObjectiveThresholds) Swap(i, j int)

Swap implements sort.Interface swap method

type ServiceLevelObjectivesCanDeleteResponse

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

type ServicePDRequest struct {
	ServiceName *string `json:"service_name"`
	ServiceKey  *string `json:"service_key"`
}

ServicePDRequest defines the Services struct that is part of the IntegrationPDRequest.

func (*ServicePDRequest) GetServiceKey

func (s *ServicePDRequest) GetServiceKey() string

GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise.

func (*ServicePDRequest) GetServiceKeyOk

func (s *ServicePDRequest) GetServiceKeyOk() (string, bool)

GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServicePDRequest) GetServiceName

func (s *ServicePDRequest) GetServiceName() string

GetServiceName returns the ServiceName field if non-nil, zero value otherwise.

func (*ServicePDRequest) GetServiceNameOk

func (s *ServicePDRequest) GetServiceNameOk() (string, bool)

GetServiceNameOk returns a tuple with the ServiceName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ServicePDRequest) HasServiceKey

func (s *ServicePDRequest) HasServiceKey() bool

HasServiceKey returns a boolean if a field has been set.

func (*ServicePDRequest) HasServiceName

func (s *ServicePDRequest) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*ServicePDRequest) SetServiceKey

func (s *ServicePDRequest) SetServiceKey(v string)

SetServiceKey allocates a new s.ServiceKey and returns the pointer to it.

func (*ServicePDRequest) SetServiceName

func (s *ServicePDRequest) SetServiceName(v string)

SetServiceName allocates a new s.ServiceName and returns the pointer to it.

type SourceRemapper

type SourceRemapper struct {
	Sources []string `json:"sources"`
}

SourceRemapper represents the object from config API that contains only a list of sources.

type State

type State struct {
	Groups map[string]GroupData `json:"groups,omitempty"`
}

type Status

type Status int
const (
	OK Status = iota
	WARNING
	CRITICAL
	UNKNOWN
)

type StringBuilderProcessor

type StringBuilderProcessor struct {
	Template         *string `json:"template"`
	Target           *string `json:"target"`
	IsReplaceMissing *bool   `json:"is_replace_missing"`
}

func (*StringBuilderProcessor) GetIsReplaceMissing

func (s *StringBuilderProcessor) GetIsReplaceMissing() bool

GetIsReplaceMissing returns the IsReplaceMissing field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetIsReplaceMissingOk

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

func (s *StringBuilderProcessor) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetTargetOk

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

func (s *StringBuilderProcessor) GetTemplate() string

GetTemplate returns the Template field if non-nil, zero value otherwise.

func (*StringBuilderProcessor) GetTemplateOk

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

func (s *StringBuilderProcessor) HasIsReplaceMissing() bool

HasIsReplaceMissing returns a boolean if a field has been set.

func (*StringBuilderProcessor) HasTarget

func (s *StringBuilderProcessor) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*StringBuilderProcessor) HasTemplate

func (s *StringBuilderProcessor) HasTemplate() bool

HasTemplate returns a boolean if a field has been set.

func (*StringBuilderProcessor) SetIsReplaceMissing

func (s *StringBuilderProcessor) SetIsReplaceMissing(v bool)

SetIsReplaceMissing allocates a new s.IsReplaceMissing and returns the pointer to it.

func (*StringBuilderProcessor) SetTarget

func (s *StringBuilderProcessor) SetTarget(v string)

SetTarget allocates a new s.Target and returns the pointer to it.

func (*StringBuilderProcessor) SetTemplate

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

func (s *Style) GetFillMax() json.Number

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*Style) GetFillMaxOk

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

func (s *Style) GetFillMin() json.Number

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*Style) GetFillMinOk

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

func (s *Style) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*Style) HasFillMin

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

func (s *Style) SetFillMax(v json.Number)

SetFillMax allocates a new s.FillMax and returns the pointer to it.

func (*Style) SetFillMin

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

type SyntheticsAssertion struct {
	Operator *string `json:"operator,omitempty"`
	Property *string `json:"property,omitempty"`
	Type     *string `json:"type,omitempty"`
	// sometimes target is string ( like "text/html; charset=UTF-8" for header content-type )
	// and sometimes target is int ( like 1200 for responseTime, 200 for statusCode )
	Target interface{} `json:"target,omitempty"`
}

func (*SyntheticsAssertion) GetOperator

func (s *SyntheticsAssertion) GetOperator() string

GetOperator returns the Operator field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetOperatorOk

func (s *SyntheticsAssertion) GetOperatorOk() (string, bool)

GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertion) GetProperty

func (s *SyntheticsAssertion) GetProperty() string

GetProperty returns the Property field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetPropertyOk

func (s *SyntheticsAssertion) GetPropertyOk() (string, bool)

GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertion) GetType

func (s *SyntheticsAssertion) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*SyntheticsAssertion) GetTypeOk

func (s *SyntheticsAssertion) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsAssertion) HasOperator

func (s *SyntheticsAssertion) HasOperator() bool

HasOperator returns a boolean if a field has been set.

func (*SyntheticsAssertion) HasProperty

func (s *SyntheticsAssertion) HasProperty() bool

HasProperty returns a boolean if a field has been set.

func (*SyntheticsAssertion) HasType

func (s *SyntheticsAssertion) HasType() bool

HasType returns a boolean if a field has been set.

func (*SyntheticsAssertion) SetOperator

func (s *SyntheticsAssertion) SetOperator(v string)

SetOperator allocates a new s.Operator and returns the pointer to it.

func (*SyntheticsAssertion) SetProperty

func (s *SyntheticsAssertion) SetProperty(v string)

SetProperty allocates a new s.Property and returns the pointer to it.

func (*SyntheticsAssertion) SetType

func (s *SyntheticsAssertion) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

type SyntheticsConfig

type SyntheticsConfig struct {
	Request    *SyntheticsRequest    `json:"request,omitempty"`
	Assertions []SyntheticsAssertion `json:"assertions,omitempty"`
	Variables  []interface{}         `json:"variables,omitempty"`
}

func (*SyntheticsConfig) GetRequest

func (s *SyntheticsConfig) GetRequest() SyntheticsRequest

GetRequest returns the Request field if non-nil, zero value otherwise.

func (*SyntheticsConfig) GetRequestOk

func (s *SyntheticsConfig) GetRequestOk() (SyntheticsRequest, bool)

GetRequestOk returns a tuple with the Request field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsConfig) HasRequest

func (s *SyntheticsConfig) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*SyntheticsConfig) SetRequest

func (s *SyntheticsConfig) SetRequest(v SyntheticsRequest)

SetRequest allocates a new s.Request and returns the pointer to it.

type SyntheticsDevice

type SyntheticsDevice struct {
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Height      *int    `json:"height,omitempty"`
	Width       *int    `json:"width,omitempty"`
	IsLandscape *bool   `json:"isLandscape,omitempty"`
	IsMobile    *bool   `json:"isMobile,omitempty"`
	UserAgent   *string `json:"userAgent,omitempty"`
}

func (*SyntheticsDevice) GetHeight

func (s *SyntheticsDevice) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetHeightOk

func (s *SyntheticsDevice) GetHeightOk() (int, bool)

GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetId

func (s *SyntheticsDevice) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIdOk

func (s *SyntheticsDevice) GetIdOk() (string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetIsLandscape

func (s *SyntheticsDevice) GetIsLandscape() bool

GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIsLandscapeOk

func (s *SyntheticsDevice) GetIsLandscapeOk() (bool, bool)

GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetIsMobile

func (s *SyntheticsDevice) GetIsMobile() bool

GetIsMobile returns the IsMobile field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetIsMobileOk

func (s *SyntheticsDevice) GetIsMobileOk() (bool, bool)

GetIsMobileOk returns a tuple with the IsMobile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetName

func (s *SyntheticsDevice) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetNameOk

func (s *SyntheticsDevice) GetNameOk() (string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetUserAgent

func (s *SyntheticsDevice) GetUserAgent() string

GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetUserAgentOk

func (s *SyntheticsDevice) GetUserAgentOk() (string, bool)

GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) GetWidth

func (s *SyntheticsDevice) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*SyntheticsDevice) GetWidthOk

func (s *SyntheticsDevice) GetWidthOk() (int, bool)

GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsDevice) HasHeight

func (s *SyntheticsDevice) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*SyntheticsDevice) HasId

func (s *SyntheticsDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsDevice) HasIsLandscape

func (s *SyntheticsDevice) HasIsLandscape() bool

HasIsLandscape returns a boolean if a field has been set.

func (*SyntheticsDevice) HasIsMobile

func (s *SyntheticsDevice) HasIsMobile() bool

HasIsMobile returns a boolean if a field has been set.

func (*SyntheticsDevice) HasName

func (s *SyntheticsDevice) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsDevice) HasUserAgent

func (s *SyntheticsDevice) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (*SyntheticsDevice) HasWidth

func (s *SyntheticsDevice) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*SyntheticsDevice) SetHeight

func (s *SyntheticsDevice) SetHeight(v int)

SetHeight allocates a new s.Height and returns the pointer to it.

func (*SyntheticsDevice) SetId

func (s *SyntheticsDevice) SetId(v string)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsDevice) SetIsLandscape

func (s *SyntheticsDevice) SetIsLandscape(v bool)

SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.

func (*SyntheticsDevice) SetIsMobile

func (s *SyntheticsDevice) SetIsMobile(v bool)

SetIsMobile allocates a new s.IsMobile and returns the pointer to it.

func (*SyntheticsDevice) SetName

func (s *SyntheticsDevice) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsDevice) SetUserAgent

func (s *SyntheticsDevice) SetUserAgent(v string)

SetUserAgent allocates a new s.UserAgent and returns the pointer to it.

func (*SyntheticsDevice) SetWidth

func (s *SyntheticsDevice) SetWidth(v int)

SetWidth allocates a new s.Width and returns the pointer to it.

type SyntheticsLocation

type SyntheticsLocation struct {
	Id          *int    `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	DisplayName *string `json:"display_name,omitempty"`
	Region      *string `json:"region,omitempty"`
	IsLandscape *bool   `json:"is_active,omitempty"`
}

func (*SyntheticsLocation) GetDisplayName

func (s *SyntheticsLocation) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetDisplayNameOk

func (s *SyntheticsLocation) GetDisplayNameOk() (string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocation) GetId

func (s *SyntheticsLocation) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetIdOk

func (s *SyntheticsLocation) GetIdOk() (int, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocation) GetIsLandscape

func (s *SyntheticsLocation) GetIsLandscape() bool

GetIsLandscape returns the IsLandscape field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetIsLandscapeOk

func (s *SyntheticsLocation) GetIsLandscapeOk() (bool, bool)

GetIsLandscapeOk returns a tuple with the IsLandscape field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocation) GetName

func (s *SyntheticsLocation) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetNameOk

func (s *SyntheticsLocation) GetNameOk() (string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocation) GetRegion

func (s *SyntheticsLocation) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

func (*SyntheticsLocation) GetRegionOk

func (s *SyntheticsLocation) GetRegionOk() (string, bool)

GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsLocation) HasDisplayName

func (s *SyntheticsLocation) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*SyntheticsLocation) HasId

func (s *SyntheticsLocation) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsLocation) HasIsLandscape

func (s *SyntheticsLocation) HasIsLandscape() bool

HasIsLandscape returns a boolean if a field has been set.

func (*SyntheticsLocation) HasName

func (s *SyntheticsLocation) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsLocation) HasRegion

func (s *SyntheticsLocation) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*SyntheticsLocation) SetDisplayName

func (s *SyntheticsLocation) SetDisplayName(v string)

SetDisplayName allocates a new s.DisplayName and returns the pointer to it.

func (*SyntheticsLocation) SetId

func (s *SyntheticsLocation) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsLocation) SetIsLandscape

func (s *SyntheticsLocation) SetIsLandscape(v bool)

SetIsLandscape allocates a new s.IsLandscape and returns the pointer to it.

func (*SyntheticsLocation) SetName

func (s *SyntheticsLocation) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsLocation) SetRegion

func (s *SyntheticsLocation) SetRegion(v string)

SetRegion allocates a new s.Region and returns the pointer to it.

type SyntheticsOptions

type SyntheticsOptions struct {
	TickEvery          *int            `json:"tick_every,omitempty"`
	FollowRedirects    *bool           `json:"follow_redirects,omitempty"`
	MinFailureDuration *int            `json:"min_failure_duration,omitempty"`
	MinLocationFailed  *int            `json:"min_location_failed,omitempty"`
	DeviceIds          []string        `json:"device_ids,omitempty"`
	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

func (s *SyntheticsOptions) GetAcceptSelfSigned() bool

GetAcceptSelfSigned returns the AcceptSelfSigned field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetAcceptSelfSignedOk

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

func (s *SyntheticsOptions) GetAllowInsecure() bool

GetAllowInsecure returns the AllowInsecure field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetAllowInsecureOk

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

func (s *SyntheticsOptions) GetFollowRedirects() bool

GetFollowRedirects returns the FollowRedirects field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetFollowRedirectsOk

func (s *SyntheticsOptions) GetFollowRedirectsOk() (bool, bool)

GetFollowRedirectsOk returns a tuple with the FollowRedirects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetMinFailureDuration

func (s *SyntheticsOptions) GetMinFailureDuration() int

GetMinFailureDuration returns the MinFailureDuration field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMinFailureDurationOk

func (s *SyntheticsOptions) GetMinFailureDurationOk() (int, bool)

GetMinFailureDurationOk returns a tuple with the MinFailureDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetMinLocationFailed

func (s *SyntheticsOptions) GetMinLocationFailed() int

GetMinLocationFailed returns the MinLocationFailed field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMinLocationFailedOk

func (s *SyntheticsOptions) GetMinLocationFailedOk() (int, bool)

GetMinLocationFailedOk returns a tuple with the MinLocationFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) GetMonitorOptions

func (s *SyntheticsOptions) GetMonitorOptions() MonitorOptions

GetMonitorOptions returns the MonitorOptions field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetMonitorOptionsOk

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

func (s *SyntheticsOptions) GetRetry() Retry

GetRetry returns the Retry field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetRetryOk

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

func (s *SyntheticsOptions) GetTickEvery() int

GetTickEvery returns the TickEvery field if non-nil, zero value otherwise.

func (*SyntheticsOptions) GetTickEveryOk

func (s *SyntheticsOptions) GetTickEveryOk() (int, bool)

GetTickEveryOk returns a tuple with the TickEvery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsOptions) HasAcceptSelfSigned

func (s *SyntheticsOptions) HasAcceptSelfSigned() bool

HasAcceptSelfSigned returns a boolean if a field has been set.

func (*SyntheticsOptions) HasAllowInsecure

func (s *SyntheticsOptions) HasAllowInsecure() bool

HasAllowInsecure returns a boolean if a field has been set.

func (*SyntheticsOptions) HasFollowRedirects

func (s *SyntheticsOptions) HasFollowRedirects() bool

HasFollowRedirects returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMinFailureDuration

func (s *SyntheticsOptions) HasMinFailureDuration() bool

HasMinFailureDuration returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMinLocationFailed

func (s *SyntheticsOptions) HasMinLocationFailed() bool

HasMinLocationFailed returns a boolean if a field has been set.

func (*SyntheticsOptions) HasMonitorOptions

func (s *SyntheticsOptions) HasMonitorOptions() bool

HasMonitorOptions returns a boolean if a field has been set.

func (*SyntheticsOptions) HasRetry

func (s *SyntheticsOptions) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (*SyntheticsOptions) HasTickEvery

func (s *SyntheticsOptions) HasTickEvery() bool

HasTickEvery returns a boolean if a field has been set.

func (*SyntheticsOptions) SetAcceptSelfSigned

func (s *SyntheticsOptions) SetAcceptSelfSigned(v bool)

SetAcceptSelfSigned allocates a new s.AcceptSelfSigned and returns the pointer to it.

func (*SyntheticsOptions) SetAllowInsecure

func (s *SyntheticsOptions) SetAllowInsecure(v bool)

SetAllowInsecure allocates a new s.AllowInsecure and returns the pointer to it.

func (*SyntheticsOptions) SetFollowRedirects

func (s *SyntheticsOptions) SetFollowRedirects(v bool)

SetFollowRedirects allocates a new s.FollowRedirects and returns the pointer to it.

func (*SyntheticsOptions) SetMinFailureDuration

func (s *SyntheticsOptions) SetMinFailureDuration(v int)

SetMinFailureDuration allocates a new s.MinFailureDuration and returns the pointer to it.

func (*SyntheticsOptions) SetMinLocationFailed

func (s *SyntheticsOptions) SetMinLocationFailed(v int)

SetMinLocationFailed allocates a new s.MinLocationFailed and returns the pointer to it.

func (*SyntheticsOptions) SetMonitorOptions

func (s *SyntheticsOptions) SetMonitorOptions(v MonitorOptions)

SetMonitorOptions allocates a new s.MonitorOptions and returns the pointer to it.

func (*SyntheticsOptions) SetRetry

func (s *SyntheticsOptions) SetRetry(v Retry)

SetRetry allocates a new s.Retry and returns the pointer to it.

func (*SyntheticsOptions) SetTickEvery

func (s *SyntheticsOptions) SetTickEvery(v int)

SetTickEvery allocates a new s.TickEvery and returns the pointer to it.

type SyntheticsRequest

type SyntheticsRequest struct {
	Url     *string           `json:"url,omitempty"`
	Method  *string           `json:"method,omitempty"`
	Timeout *int              `json:"timeout,omitempty"`
	Headers map[string]string `json:"headers,omitempty"`
	Body    *string           `json:"body,omitempty"`
	Host    *string           `json:"host,omitempty"`
	Port    *int              `json:"port,omitempty"`
}

func (*SyntheticsRequest) GetBody

func (s *SyntheticsRequest) GetBody() string

GetBody returns the Body field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetBodyOk

func (s *SyntheticsRequest) GetBodyOk() (string, bool)

GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsRequest) GetHost

func (s *SyntheticsRequest) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetHostOk

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

func (s *SyntheticsRequest) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetMethodOk

func (s *SyntheticsRequest) GetMethodOk() (string, bool)

GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsRequest) GetPort

func (s *SyntheticsRequest) GetPort() int

GetPort returns the Port field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetPortOk

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

func (s *SyntheticsRequest) GetTimeout() int

GetTimeout returns the Timeout field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetTimeoutOk

func (s *SyntheticsRequest) GetTimeoutOk() (int, bool)

GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsRequest) GetUrl

func (s *SyntheticsRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

func (*SyntheticsRequest) GetUrlOk

func (s *SyntheticsRequest) GetUrlOk() (string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsRequest) HasBody

func (s *SyntheticsRequest) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*SyntheticsRequest) HasHost

func (s *SyntheticsRequest) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*SyntheticsRequest) HasMethod

func (s *SyntheticsRequest) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*SyntheticsRequest) HasPort

func (s *SyntheticsRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SyntheticsRequest) HasTimeout

func (s *SyntheticsRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*SyntheticsRequest) HasUrl

func (s *SyntheticsRequest) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*SyntheticsRequest) SetBody

func (s *SyntheticsRequest) SetBody(v string)

SetBody allocates a new s.Body and returns the pointer to it.

func (*SyntheticsRequest) SetHost

func (s *SyntheticsRequest) SetHost(v string)

SetHost allocates a new s.Host and returns the pointer to it.

func (*SyntheticsRequest) SetMethod

func (s *SyntheticsRequest) SetMethod(v string)

SetMethod allocates a new s.Method and returns the pointer to it.

func (*SyntheticsRequest) SetPort

func (s *SyntheticsRequest) SetPort(v int)

SetPort allocates a new s.Port and returns the pointer to it.

func (*SyntheticsRequest) SetTimeout

func (s *SyntheticsRequest) SetTimeout(v int)

SetTimeout allocates a new s.Timeout and returns the pointer to it.

func (*SyntheticsRequest) SetUrl

func (s *SyntheticsRequest) SetUrl(v string)

SetUrl allocates a new s.Url and returns the pointer to it.

type SyntheticsTest

type SyntheticsTest struct {
	PublicId      *string            `json:"public_id,omitempty"`
	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

func (s *SyntheticsTest) GetConfig() SyntheticsConfig

GetConfig returns the Config field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetConfigOk

func (s *SyntheticsTest) GetConfigOk() (SyntheticsConfig, bool)

GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetCreatedAt

func (s *SyntheticsTest) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetCreatedAtOk

func (s *SyntheticsTest) GetCreatedAtOk() (string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetCreatedBy

func (s *SyntheticsTest) GetCreatedBy() SyntheticsUser

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetCreatedByOk

func (s *SyntheticsTest) GetCreatedByOk() (SyntheticsUser, bool)

GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetDeletedAt

func (s *SyntheticsTest) GetDeletedAt() string

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetDeletedAtOk

func (s *SyntheticsTest) GetDeletedAtOk() (string, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetMessage

func (s *SyntheticsTest) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMessageOk

func (s *SyntheticsTest) GetMessageOk() (string, bool)

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetModifiedAt

func (s *SyntheticsTest) GetModifiedAt() string

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetModifiedAtOk

func (s *SyntheticsTest) GetModifiedAtOk() (string, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetModifiedBy

func (s *SyntheticsTest) GetModifiedBy() SyntheticsUser

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetModifiedByOk

func (s *SyntheticsTest) GetModifiedByOk() (SyntheticsUser, bool)

GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetMonitorId

func (s *SyntheticsTest) GetMonitorId() int

GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMonitorIdOk

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

func (s *SyntheticsTest) GetMonitorStatus() string

GetMonitorStatus returns the MonitorStatus field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetMonitorStatusOk

func (s *SyntheticsTest) GetMonitorStatusOk() (string, bool)

GetMonitorStatusOk returns a tuple with the MonitorStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetName

func (s *SyntheticsTest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetNameOk

func (s *SyntheticsTest) GetNameOk() (string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetOptions

func (s *SyntheticsTest) GetOptions() SyntheticsOptions

GetOptions returns the Options field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetOptionsOk

func (s *SyntheticsTest) GetOptionsOk() (SyntheticsOptions, bool)

GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetPublicId

func (s *SyntheticsTest) GetPublicId() string

GetPublicId returns the PublicId field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetPublicIdOk

func (s *SyntheticsTest) GetPublicIdOk() (string, bool)

GetPublicIdOk returns a tuple with the PublicId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetStatus

func (s *SyntheticsTest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetStatusOk

func (s *SyntheticsTest) GetStatusOk() (string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) GetSubtype

func (s *SyntheticsTest) GetSubtype() string

GetSubtype returns the Subtype field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetSubtypeOk

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

func (s *SyntheticsTest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*SyntheticsTest) GetTypeOk

func (s *SyntheticsTest) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsTest) HasConfig

func (s *SyntheticsTest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*SyntheticsTest) HasCreatedAt

func (s *SyntheticsTest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasCreatedBy

func (s *SyntheticsTest) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*SyntheticsTest) HasDeletedAt

func (s *SyntheticsTest) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasMessage

func (s *SyntheticsTest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SyntheticsTest) HasModifiedAt

func (s *SyntheticsTest) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*SyntheticsTest) HasModifiedBy

func (s *SyntheticsTest) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*SyntheticsTest) HasMonitorId

func (s *SyntheticsTest) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*SyntheticsTest) HasMonitorStatus

func (s *SyntheticsTest) HasMonitorStatus() bool

HasMonitorStatus returns a boolean if a field has been set.

func (*SyntheticsTest) HasName

func (s *SyntheticsTest) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsTest) HasOptions

func (s *SyntheticsTest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SyntheticsTest) HasPublicId

func (s *SyntheticsTest) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*SyntheticsTest) HasStatus

func (s *SyntheticsTest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SyntheticsTest) HasSubtype

func (s *SyntheticsTest) HasSubtype() bool

HasSubtype returns a boolean if a field has been set.

func (*SyntheticsTest) HasType

func (s *SyntheticsTest) HasType() bool

HasType returns a boolean if a field has been set.

func (*SyntheticsTest) SetConfig

func (s *SyntheticsTest) SetConfig(v SyntheticsConfig)

SetConfig allocates a new s.Config and returns the pointer to it.

func (*SyntheticsTest) SetCreatedAt

func (s *SyntheticsTest) SetCreatedAt(v string)

SetCreatedAt allocates a new s.CreatedAt and returns the pointer to it.

func (*SyntheticsTest) SetCreatedBy

func (s *SyntheticsTest) SetCreatedBy(v SyntheticsUser)

SetCreatedBy allocates a new s.CreatedBy and returns the pointer to it.

func (*SyntheticsTest) SetDeletedAt

func (s *SyntheticsTest) SetDeletedAt(v string)

SetDeletedAt allocates a new s.DeletedAt and returns the pointer to it.

func (*SyntheticsTest) SetMessage

func (s *SyntheticsTest) SetMessage(v string)

SetMessage allocates a new s.Message and returns the pointer to it.

func (*SyntheticsTest) SetModifiedAt

func (s *SyntheticsTest) SetModifiedAt(v string)

SetModifiedAt allocates a new s.ModifiedAt and returns the pointer to it.

func (*SyntheticsTest) SetModifiedBy

func (s *SyntheticsTest) SetModifiedBy(v SyntheticsUser)

SetModifiedBy allocates a new s.ModifiedBy and returns the pointer to it.

func (*SyntheticsTest) SetMonitorId

func (s *SyntheticsTest) SetMonitorId(v int)

SetMonitorId allocates a new s.MonitorId and returns the pointer to it.

func (*SyntheticsTest) SetMonitorStatus

func (s *SyntheticsTest) SetMonitorStatus(v string)

SetMonitorStatus allocates a new s.MonitorStatus and returns the pointer to it.

func (*SyntheticsTest) SetName

func (s *SyntheticsTest) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

func (*SyntheticsTest) SetOptions

func (s *SyntheticsTest) SetOptions(v SyntheticsOptions)

SetOptions allocates a new s.Options and returns the pointer to it.

func (*SyntheticsTest) SetPublicId

func (s *SyntheticsTest) SetPublicId(v string)

SetPublicId allocates a new s.PublicId and returns the pointer to it.

func (*SyntheticsTest) SetStatus

func (s *SyntheticsTest) SetStatus(v string)

SetStatus allocates a new s.Status and returns the pointer to it.

func (*SyntheticsTest) SetSubtype

func (s *SyntheticsTest) SetSubtype(v string)

SetSubtype allocates a new s.Subtype and returns the pointer to it.

func (*SyntheticsTest) SetType

func (s *SyntheticsTest) SetType(v string)

SetType allocates a new s.Type and returns the pointer to it.

type SyntheticsUser

type SyntheticsUser struct {
	Id     *int    `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Email  *string `json:"email,omitempty"`
	Handle *string `json:"handle,omitempty"`
}

func (*SyntheticsUser) GetEmail

func (s *SyntheticsUser) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetEmailOk

func (s *SyntheticsUser) GetEmailOk() (string, bool)

GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsUser) GetHandle

func (s *SyntheticsUser) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetHandleOk

func (s *SyntheticsUser) GetHandleOk() (string, bool)

GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsUser) GetId

func (s *SyntheticsUser) GetId() int

GetId returns the Id field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetIdOk

func (s *SyntheticsUser) GetIdOk() (int, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsUser) GetName

func (s *SyntheticsUser) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*SyntheticsUser) GetNameOk

func (s *SyntheticsUser) GetNameOk() (string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*SyntheticsUser) HasEmail

func (s *SyntheticsUser) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*SyntheticsUser) HasHandle

func (s *SyntheticsUser) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*SyntheticsUser) HasId

func (s *SyntheticsUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*SyntheticsUser) HasName

func (s *SyntheticsUser) HasName() bool

HasName returns a boolean if a field has been set.

func (*SyntheticsUser) SetEmail

func (s *SyntheticsUser) SetEmail(v string)

SetEmail allocates a new s.Email and returns the pointer to it.

func (*SyntheticsUser) SetHandle

func (s *SyntheticsUser) SetHandle(v string)

SetHandle allocates a new s.Handle and returns the pointer to it.

func (*SyntheticsUser) SetId

func (s *SyntheticsUser) SetId(v int)

SetId allocates a new s.Id and returns the pointer to it.

func (*SyntheticsUser) SetName

func (s *SyntheticsUser) SetName(v string)

SetName allocates a new s.Name and returns the pointer to it.

type 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

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

func (t *TemplateVariablePreset) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*TemplateVariablePreset) GetNameOk

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

func (t *TemplateVariablePreset) HasName() bool

HasName returns a boolean if a field has been set.

func (*TemplateVariablePreset) SetName

func (t *TemplateVariablePreset) SetName(v string)

SetName allocates a new t.Name and returns the pointer to it.

type TemplateVariablePresetValue

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

func (t *TemplateVariablePresetValue) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*TemplateVariablePresetValue) GetNameOk

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

func (t *TemplateVariablePresetValue) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TemplateVariablePresetValue) GetValueOk

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

func (t *TemplateVariablePresetValue) HasName() bool

HasName returns a boolean if a field has been set.

func (*TemplateVariablePresetValue) HasValue

func (t *TemplateVariablePresetValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TemplateVariablePresetValue) SetName

func (t *TemplateVariablePresetValue) SetName(v string)

SetName allocates a new t.Name and returns the pointer to it.

func (*TemplateVariablePresetValue) SetValue

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

func (t *ThresholdCount) GetPeriod() Period

GetPeriod returns the Period field if non-nil, zero value otherwise.

func (*ThresholdCount) GetPeriodOk

func (t *ThresholdCount) GetPeriodOk() (Period, bool)

GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdCount) GetTimeAggregator

func (t *ThresholdCount) GetTimeAggregator() string

GetTimeAggregator returns the TimeAggregator field if non-nil, zero value otherwise.

func (*ThresholdCount) GetTimeAggregatorOk

func (t *ThresholdCount) GetTimeAggregatorOk() (string, bool)

GetTimeAggregatorOk returns a tuple with the TimeAggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdCount) GetUnknown

func (t *ThresholdCount) GetUnknown() json.Number

GetUnknown returns the Unknown field if non-nil, zero value otherwise.

func (*ThresholdCount) GetUnknownOk

func (t *ThresholdCount) GetUnknownOk() (json.Number, bool)

GetUnknownOk returns a tuple with the Unknown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdCount) GetWarning

func (t *ThresholdCount) GetWarning() json.Number

GetWarning returns the Warning field if non-nil, zero value otherwise.

func (*ThresholdCount) GetWarningOk

func (t *ThresholdCount) GetWarningOk() (json.Number, bool)

GetWarningOk returns a tuple with the Warning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdCount) GetWarningRecovery

func (t *ThresholdCount) GetWarningRecovery() json.Number

GetWarningRecovery returns the WarningRecovery field if non-nil, zero value otherwise.

func (*ThresholdCount) GetWarningRecoveryOk

func (t *ThresholdCount) GetWarningRecoveryOk() (json.Number, bool)

GetWarningRecoveryOk returns a tuple with the WarningRecovery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdCount) HasCritical

func (t *ThresholdCount) HasCritical() bool

HasCritical returns a boolean if a field has been set.

func (*ThresholdCount) HasCriticalRecovery

func (t *ThresholdCount) HasCriticalRecovery() bool

HasCriticalRecovery returns a boolean if a field has been set.

func (*ThresholdCount) HasOk

func (t *ThresholdCount) HasOk() bool

HasOk returns a boolean if a field has been set.

func (*ThresholdCount) HasPeriod

func (t *ThresholdCount) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*ThresholdCount) HasTimeAggregator

func (t *ThresholdCount) HasTimeAggregator() bool

HasTimeAggregator returns a boolean if a field has been set.

func (*ThresholdCount) HasUnknown

func (t *ThresholdCount) HasUnknown() bool

HasUnknown returns a boolean if a field has been set.

func (*ThresholdCount) HasWarning

func (t *ThresholdCount) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (*ThresholdCount) HasWarningRecovery

func (t *ThresholdCount) HasWarningRecovery() bool

HasWarningRecovery returns a boolean if a field has been set.

func (*ThresholdCount) SetCritical

func (t *ThresholdCount) SetCritical(v json.Number)

SetCritical allocates a new t.Critical and returns the pointer to it.

func (*ThresholdCount) SetCriticalRecovery

func (t *ThresholdCount) SetCriticalRecovery(v json.Number)

SetCriticalRecovery allocates a new t.CriticalRecovery and returns the pointer to it.

func (*ThresholdCount) SetOk

func (t *ThresholdCount) SetOk(v json.Number)

SetOk allocates a new t.Ok and returns the pointer to it.

func (*ThresholdCount) SetPeriod

func (t *ThresholdCount) SetPeriod(v Period)

SetPeriod allocates a new t.Period and returns the pointer to it.

func (*ThresholdCount) SetTimeAggregator

func (t *ThresholdCount) SetTimeAggregator(v string)

SetTimeAggregator allocates a new t.TimeAggregator and returns the pointer to it.

func (*ThresholdCount) SetUnknown

func (t *ThresholdCount) SetUnknown(v json.Number)

SetUnknown allocates a new t.Unknown and returns the pointer to it.

func (*ThresholdCount) SetWarning

func (t *ThresholdCount) SetWarning(v json.Number)

SetWarning allocates a new t.Warning and returns the pointer to it.

func (*ThresholdCount) SetWarningRecovery

func (t *ThresholdCount) SetWarningRecovery(v json.Number)

SetWarningRecovery allocates a new t.WarningRecovery and returns the pointer to it.

type ThresholdWindows

type ThresholdWindows struct {
	RecoveryWindow *string `json:"recovery_window,omitempty"`
	TriggerWindow  *string `json:"trigger_window,omitempty"`
}

func (*ThresholdWindows) GetRecoveryWindow

func (t *ThresholdWindows) GetRecoveryWindow() string

GetRecoveryWindow returns the RecoveryWindow field if non-nil, zero value otherwise.

func (*ThresholdWindows) GetRecoveryWindowOk

func (t *ThresholdWindows) GetRecoveryWindowOk() (string, bool)

GetRecoveryWindowOk returns a tuple with the RecoveryWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdWindows) GetTriggerWindow

func (t *ThresholdWindows) GetTriggerWindow() string

GetTriggerWindow returns the TriggerWindow field if non-nil, zero value otherwise.

func (*ThresholdWindows) GetTriggerWindowOk

func (t *ThresholdWindows) GetTriggerWindowOk() (string, bool)

GetTriggerWindowOk returns a tuple with the TriggerWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ThresholdWindows) HasRecoveryWindow

func (t *ThresholdWindows) HasRecoveryWindow() bool

HasRecoveryWindow returns a boolean if a field has been set.

func (*ThresholdWindows) HasTriggerWindow

func (t *ThresholdWindows) HasTriggerWindow() bool

HasTriggerWindow returns a boolean if a field has been set.

func (*ThresholdWindows) SetRecoveryWindow

func (t *ThresholdWindows) SetRecoveryWindow(v string)

SetRecoveryWindow allocates a new t.RecoveryWindow and returns the pointer to it.

func (*ThresholdWindows) SetTriggerWindow

func (t *ThresholdWindows) SetTriggerWindow(v string)

SetTriggerWindow allocates a new t.TriggerWindow and returns the pointer to it.

type TileDef

type TileDef struct {
	Events     []TileDefEvent   `json:"events,omitempty"`
	Markers    []TileDefMarker  `json:"markers,omitempty"`
	Requests   []TileDefRequest `json:"requests,omitempty"`
	Viz        *string          `json:"viz,omitempty"`
	CustomUnit *string          `json:"custom_unit,omitempty"`
	Autoscale  *bool            `json:"autoscale,omitempty"`
	Precision  *PrecisionT      `json:"precision,omitempty"`
	TextAlign  *string          `json:"text_align,omitempty"`

	// For hostmap
	NodeType      *string       `json:"nodeType,omitempty"`
	Scope         []*string     `json:"scope,omitempty"`
	Group         []*string     `json:"group,omitempty"`
	NoGroupHosts  *bool         `json:"noGroupHosts,omitempty"`
	NoMetricHosts *bool         `json:"noMetricHosts,omitempty"`
	Style         *TileDefStyle `json:"style,omitempty"`
}

func (*TileDef) GetAutoscale

func (t *TileDef) GetAutoscale() bool

GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.

func (*TileDef) GetAutoscaleOk

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

func (t *TileDef) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.

func (*TileDef) GetCustomUnitOk

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

func (t *TileDef) GetNoGroupHosts() bool

GetNoGroupHosts returns the NoGroupHosts field if non-nil, zero value otherwise.

func (*TileDef) GetNoGroupHostsOk

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

func (t *TileDef) GetNoMetricHosts() bool

GetNoMetricHosts returns the NoMetricHosts field if non-nil, zero value otherwise.

func (*TileDef) GetNoMetricHostsOk

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

func (t *TileDef) GetNodeType() string

GetNodeType returns the NodeType field if non-nil, zero value otherwise.

func (*TileDef) GetNodeTypeOk

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

func (t *TileDef) GetPrecision() PrecisionT

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*TileDef) GetPrecisionOk

func (t *TileDef) GetPrecisionOk() (PrecisionT, bool)

GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDef) GetStyle

func (t *TileDef) GetStyle() TileDefStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*TileDef) GetStyleOk

func (t *TileDef) GetStyleOk() (TileDefStyle, bool)

GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDef) GetTextAlign

func (t *TileDef) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*TileDef) GetTextAlignOk

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

func (t *TileDef) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*TileDef) HasCustomUnit

func (t *TileDef) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*TileDef) HasNoGroupHosts

func (t *TileDef) HasNoGroupHosts() bool

HasNoGroupHosts returns a boolean if a field has been set.

func (*TileDef) HasNoMetricHosts

func (t *TileDef) HasNoMetricHosts() bool

HasNoMetricHosts returns a boolean if a field has been set.

func (*TileDef) HasNodeType

func (t *TileDef) HasNodeType() bool

HasNodeType returns a boolean if a field has been set.

func (*TileDef) HasPrecision

func (t *TileDef) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*TileDef) HasStyle

func (t *TileDef) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*TileDef) HasTextAlign

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

func (t *TileDef) SetAutoscale(v bool)

SetAutoscale allocates a new t.Autoscale and returns the pointer to it.

func (*TileDef) SetCustomUnit

func (t *TileDef) SetCustomUnit(v string)

SetCustomUnit allocates a new t.CustomUnit and returns the pointer to it.

func (*TileDef) SetNoGroupHosts

func (t *TileDef) SetNoGroupHosts(v bool)

SetNoGroupHosts allocates a new t.NoGroupHosts and returns the pointer to it.

func (*TileDef) SetNoMetricHosts

func (t *TileDef) SetNoMetricHosts(v bool)

SetNoMetricHosts allocates a new t.NoMetricHosts and returns the pointer to it.

func (*TileDef) SetNodeType

func (t *TileDef) SetNodeType(v string)

SetNodeType allocates a new t.NodeType and returns the pointer to it.

func (*TileDef) SetPrecision

func (t *TileDef) SetPrecision(v PrecisionT)

SetPrecision allocates a new t.Precision and returns the pointer to it.

func (*TileDef) SetStyle

func (t *TileDef) SetStyle(v TileDefStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

func (*TileDef) SetTextAlign

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

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

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetComputeOk

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

func (t *TileDefApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetIndexOk

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

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuery) GetSearchOk

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

func (t *TileDefApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) HasIndex

func (t *TileDefApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) HasSearch

func (t *TileDefApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*TileDefApmOrLogQuery) SetCompute

SetCompute allocates a new t.Compute and returns the pointer to it.

func (*TileDefApmOrLogQuery) SetIndex

func (t *TileDefApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new t.Index and returns the pointer to it.

func (*TileDefApmOrLogQuery) SetSearch

SetSearch allocates a new t.Search and returns the pointer to it.

type TileDefApmOrLogQueryCompute

type TileDefApmOrLogQueryCompute struct {
	Aggregation *string `json:"aggregation"`
	Facet       *string `json:"facet,omitempty"`
	Interval    *string `json:"interval,omitempty"`
}

func (*TileDefApmOrLogQueryCompute) GetAggregation

func (t *TileDefApmOrLogQueryCompute) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetAggregationOk

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

func (t *TileDefApmOrLogQueryCompute) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetFacetOk

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

func (t *TileDefApmOrLogQueryCompute) GetInterval() string

GetInterval returns the Interval field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryCompute) GetIntervalOk

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

func (t *TileDefApmOrLogQueryCompute) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) HasFacet

func (t *TileDefApmOrLogQueryCompute) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) HasInterval

func (t *TileDefApmOrLogQueryCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryCompute) SetAggregation

func (t *TileDefApmOrLogQueryCompute) SetAggregation(v string)

SetAggregation allocates a new t.Aggregation and returns the pointer to it.

func (*TileDefApmOrLogQueryCompute) SetFacet

func (t *TileDefApmOrLogQueryCompute) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryCompute) SetInterval

func (t *TileDefApmOrLogQueryCompute) SetInterval(v string)

SetInterval allocates a new t.Interval and returns the pointer to it.

type TileDefApmOrLogQueryGroupBy

type TileDefApmOrLogQueryGroupBy struct {
	Facet *string                          `json:"facet"`
	Limit *int                             `json:"limit,omitempty"`
	Sort  *TileDefApmOrLogQueryGroupBySort `json:"sort,omitempty"`
}

func (*TileDefApmOrLogQueryGroupBy) GetFacet

func (t *TileDefApmOrLogQueryGroupBy) GetFacet() string

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetFacetOk

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

func (t *TileDefApmOrLogQueryGroupBy) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetLimitOk

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

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBy) GetSortOk

GetSortOk returns a tuple with the Sort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefApmOrLogQueryGroupBy) HasFacet

func (t *TileDefApmOrLogQueryGroupBy) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) HasLimit

func (t *TileDefApmOrLogQueryGroupBy) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) HasSort

func (t *TileDefApmOrLogQueryGroupBy) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBy) SetFacet

func (t *TileDefApmOrLogQueryGroupBy) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBy) SetLimit

func (t *TileDefApmOrLogQueryGroupBy) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBy) SetSort

SetSort allocates a new t.Sort and returns the pointer to it.

type TileDefApmOrLogQueryGroupBySort

type TileDefApmOrLogQueryGroupBySort struct {
	Aggregation *string `json:"aggregation"`
	Order       *string `json:"order"`
	Facet       *string `json:"facet,omitempty"`
}

func (*TileDefApmOrLogQueryGroupBySort) GetAggregation

func (t *TileDefApmOrLogQueryGroupBySort) GetAggregation() string

GetAggregation returns the Aggregation field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetAggregationOk

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

GetFacet returns the Facet field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetFacetOk

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

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQueryGroupBySort) GetOrderOk

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

func (t *TileDefApmOrLogQueryGroupBySort) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) HasFacet

func (t *TileDefApmOrLogQueryGroupBySort) HasFacet() bool

HasFacet returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) HasOrder

func (t *TileDefApmOrLogQueryGroupBySort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*TileDefApmOrLogQueryGroupBySort) SetAggregation

func (t *TileDefApmOrLogQueryGroupBySort) SetAggregation(v string)

SetAggregation allocates a new t.Aggregation and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBySort) SetFacet

func (t *TileDefApmOrLogQueryGroupBySort) SetFacet(v string)

SetFacet allocates a new t.Facet and returns the pointer to it.

func (*TileDefApmOrLogQueryGroupBySort) SetOrder

func (t *TileDefApmOrLogQueryGroupBySort) SetOrder(v string)

SetOrder allocates a new t.Order and returns the pointer to it.

type TileDefApmOrLogQuerySearch

type TileDefApmOrLogQuerySearch struct {
	Query *string `json:"query"`
}

func (*TileDefApmOrLogQuerySearch) GetQuery

func (t *TileDefApmOrLogQuerySearch) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*TileDefApmOrLogQuerySearch) GetQueryOk

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

func (t *TileDefApmOrLogQuerySearch) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*TileDefApmOrLogQuerySearch) SetQuery

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

type TileDefMarker struct {
	Label *string `json:"label,omitempty"`
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*TileDefMarker) GetLabel

func (t *TileDefMarker) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*TileDefMarker) GetLabelOk

func (t *TileDefMarker) GetLabelOk() (string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefMarker) GetType

func (t *TileDefMarker) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefMarker) GetTypeOk

func (t *TileDefMarker) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefMarker) GetValue

func (t *TileDefMarker) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TileDefMarker) GetValueOk

func (t *TileDefMarker) GetValueOk() (string, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefMarker) HasLabel

func (t *TileDefMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*TileDefMarker) HasType

func (t *TileDefMarker) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefMarker) HasValue

func (t *TileDefMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TileDefMarker) SetLabel

func (t *TileDefMarker) SetLabel(v string)

SetLabel allocates a new t.Label and returns the pointer to it.

func (*TileDefMarker) SetType

func (t *TileDefMarker) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TileDefMarker) SetValue

func (t *TileDefMarker) SetValue(v string)

SetValue allocates a new t.Value and returns the pointer to it.

type TileDefMetadata

type TileDefMetadata struct {
	Alias *string `json:"alias,omitempty"`
}

func (*TileDefMetadata) GetAlias

func (t *TileDefMetadata) GetAlias() string

GetAlias returns the Alias field if non-nil, zero value otherwise.

func (*TileDefMetadata) GetAliasOk

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

func (t *TileDefMetadata) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*TileDefMetadata) SetAlias

func (t *TileDefMetadata) SetAlias(v string)

SetAlias allocates a new t.Alias and returns the pointer to it.

type TileDefProcessQuery

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

func (t *TileDefProcessQuery) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetLimitOk

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

func (t *TileDefProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetMetricOk

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

func (t *TileDefProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*TileDefProcessQuery) GetSearchByOk

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

func (t *TileDefProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefProcessQuery) HasMetric

func (t *TileDefProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*TileDefProcessQuery) HasSearchBy

func (t *TileDefProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*TileDefProcessQuery) SetLimit

func (t *TileDefProcessQuery) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefProcessQuery) SetMetric

func (t *TileDefProcessQuery) SetMetric(v string)

SetMetric allocates a new t.Metric and returns the pointer to it.

func (*TileDefProcessQuery) SetSearchBy

func (t *TileDefProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new t.SearchBy and returns the pointer to it.

type TileDefRequest

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

func (t *TileDefRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*TileDefRequest) GetAggregatorOk

func (t *TileDefRequest) GetAggregatorOk() (string, bool)

GetAggregatorOk returns a tuple with the Aggregator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetApmQuery

func (t *TileDefRequest) GetApmQuery() TileDefApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetApmQueryOk

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

func (t *TileDefRequest) GetChangeType() string

GetChangeType returns the ChangeType field if non-nil, zero value otherwise.

func (*TileDefRequest) GetChangeTypeOk

func (t *TileDefRequest) GetChangeTypeOk() (string, bool)

GetChangeTypeOk returns a tuple with the ChangeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetCompareTo

func (t *TileDefRequest) GetCompareTo() string

GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.

func (*TileDefRequest) GetCompareToOk

func (t *TileDefRequest) GetCompareToOk() (string, bool)

GetCompareToOk returns a tuple with the CompareTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetExtraCol

func (t *TileDefRequest) GetExtraCol() string

GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.

func (*TileDefRequest) GetExtraColOk

func (t *TileDefRequest) GetExtraColOk() (string, bool)

GetExtraColOk returns a tuple with the ExtraCol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetIncreaseGood

func (t *TileDefRequest) GetIncreaseGood() bool

GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.

func (*TileDefRequest) GetIncreaseGoodOk

func (t *TileDefRequest) GetIncreaseGoodOk() (bool, bool)

GetIncreaseGoodOk returns a tuple with the IncreaseGood field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetLimit

func (t *TileDefRequest) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*TileDefRequest) GetLimitOk

func (t *TileDefRequest) GetLimitOk() (int, bool)

GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetLogQuery

func (t *TileDefRequest) GetLogQuery() TileDefApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetLogQueryOk

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

func (t *TileDefRequest) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*TileDefRequest) GetMetricOk

func (t *TileDefRequest) GetMetricOk() (string, bool)

GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetOrderBy

func (t *TileDefRequest) GetOrderBy() string

GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.

func (*TileDefRequest) GetOrderByOk

func (t *TileDefRequest) GetOrderByOk() (string, bool)

GetOrderByOk returns a tuple with the OrderBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetOrderDir

func (t *TileDefRequest) GetOrderDir() string

GetOrderDir returns the OrderDir field if non-nil, zero value otherwise.

func (*TileDefRequest) GetOrderDirOk

func (t *TileDefRequest) GetOrderDirOk() (string, bool)

GetOrderDirOk returns a tuple with the OrderDir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetProcessQuery

func (t *TileDefRequest) GetProcessQuery() TileDefProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*TileDefRequest) GetProcessQueryOk

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

func (t *TileDefRequest) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*TileDefRequest) GetQueryOk

func (t *TileDefRequest) GetQueryOk() (string, bool)

GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetQueryType

func (t *TileDefRequest) GetQueryType() string

GetQueryType returns the QueryType field if non-nil, zero value otherwise.

func (*TileDefRequest) GetQueryTypeOk

func (t *TileDefRequest) GetQueryTypeOk() (string, bool)

GetQueryTypeOk returns a tuple with the QueryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetStyle

func (t *TileDefRequest) GetStyle() TileDefRequestStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*TileDefRequest) GetStyleOk

func (t *TileDefRequest) GetStyleOk() (TileDefRequestStyle, bool)

GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetTextFilter

func (t *TileDefRequest) GetTextFilter() string

GetTextFilter returns the TextFilter field if non-nil, zero value otherwise.

func (*TileDefRequest) GetTextFilterOk

func (t *TileDefRequest) GetTextFilterOk() (string, bool)

GetTextFilterOk returns a tuple with the TextFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) GetType

func (t *TileDefRequest) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefRequest) GetTypeOk

func (t *TileDefRequest) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequest) HasAggregator

func (t *TileDefRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*TileDefRequest) HasApmQuery

func (t *TileDefRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasChangeType

func (t *TileDefRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*TileDefRequest) HasCompareTo

func (t *TileDefRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*TileDefRequest) HasExtraCol

func (t *TileDefRequest) HasExtraCol() bool

HasExtraCol returns a boolean if a field has been set.

func (*TileDefRequest) HasIncreaseGood

func (t *TileDefRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*TileDefRequest) HasLimit

func (t *TileDefRequest) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*TileDefRequest) HasLogQuery

func (t *TileDefRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasMetric

func (t *TileDefRequest) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*TileDefRequest) HasOrderBy

func (t *TileDefRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*TileDefRequest) HasOrderDir

func (t *TileDefRequest) HasOrderDir() bool

HasOrderDir returns a boolean if a field has been set.

func (*TileDefRequest) HasProcessQuery

func (t *TileDefRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasQuery

func (t *TileDefRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*TileDefRequest) HasQueryType

func (t *TileDefRequest) HasQueryType() bool

HasQueryType returns a boolean if a field has been set.

func (*TileDefRequest) HasStyle

func (t *TileDefRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*TileDefRequest) HasTextFilter

func (t *TileDefRequest) HasTextFilter() bool

HasTextFilter returns a boolean if a field has been set.

func (*TileDefRequest) HasType

func (t *TileDefRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefRequest) SetAggregator

func (t *TileDefRequest) SetAggregator(v string)

SetAggregator allocates a new t.Aggregator and returns the pointer to it.

func (*TileDefRequest) SetApmQuery

func (t *TileDefRequest) SetApmQuery(v TileDefApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*TileDefRequest) SetChangeType

func (t *TileDefRequest) SetChangeType(v string)

SetChangeType allocates a new t.ChangeType and returns the pointer to it.

func (*TileDefRequest) SetCompareTo

func (t *TileDefRequest) SetCompareTo(v string)

SetCompareTo allocates a new t.CompareTo and returns the pointer to it.

func (*TileDefRequest) SetExtraCol

func (t *TileDefRequest) SetExtraCol(v string)

SetExtraCol allocates a new t.ExtraCol and returns the pointer to it.

func (*TileDefRequest) SetIncreaseGood

func (t *TileDefRequest) SetIncreaseGood(v bool)

SetIncreaseGood allocates a new t.IncreaseGood and returns the pointer to it.

func (*TileDefRequest) SetLimit

func (t *TileDefRequest) SetLimit(v int)

SetLimit allocates a new t.Limit and returns the pointer to it.

func (*TileDefRequest) SetLogQuery

func (t *TileDefRequest) SetLogQuery(v TileDefApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*TileDefRequest) SetMetric

func (t *TileDefRequest) SetMetric(v string)

SetMetric allocates a new t.Metric and returns the pointer to it.

func (*TileDefRequest) SetOrderBy

func (t *TileDefRequest) SetOrderBy(v string)

SetOrderBy allocates a new t.OrderBy and returns the pointer to it.

func (*TileDefRequest) SetOrderDir

func (t *TileDefRequest) SetOrderDir(v string)

SetOrderDir allocates a new t.OrderDir and returns the pointer to it.

func (*TileDefRequest) SetProcessQuery

func (t *TileDefRequest) SetProcessQuery(v TileDefProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*TileDefRequest) SetQuery

func (t *TileDefRequest) SetQuery(v string)

SetQuery allocates a new t.Query and returns the pointer to it.

func (*TileDefRequest) SetQueryType

func (t *TileDefRequest) SetQueryType(v string)

SetQueryType allocates a new t.QueryType and returns the pointer to it.

func (*TileDefRequest) SetStyle

func (t *TileDefRequest) SetStyle(v TileDefRequestStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

func (*TileDefRequest) SetTextFilter

func (t *TileDefRequest) SetTextFilter(v string)

SetTextFilter allocates a new t.TextFilter and returns the pointer to it.

func (*TileDefRequest) SetType

func (t *TileDefRequest) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type TileDefRequestStyle

type TileDefRequestStyle struct {
	Palette *string `json:"palette,omitempty"`
	Type    *string `json:"type,omitempty"`
	Width   *string `json:"width,omitempty"`
}

func (*TileDefRequestStyle) GetPalette

func (t *TileDefRequestStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetPaletteOk

func (t *TileDefRequestStyle) GetPaletteOk() (string, bool)

GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequestStyle) GetType

func (t *TileDefRequestStyle) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetTypeOk

func (t *TileDefRequestStyle) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequestStyle) GetWidth

func (t *TileDefRequestStyle) GetWidth() string

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*TileDefRequestStyle) GetWidthOk

func (t *TileDefRequestStyle) GetWidthOk() (string, bool)

GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefRequestStyle) HasPalette

func (t *TileDefRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*TileDefRequestStyle) HasType

func (t *TileDefRequestStyle) HasType() bool

HasType returns a boolean if a field has been set.

func (*TileDefRequestStyle) HasWidth

func (t *TileDefRequestStyle) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*TileDefRequestStyle) SetPalette

func (t *TileDefRequestStyle) SetPalette(v string)

SetPalette allocates a new t.Palette and returns the pointer to it.

func (*TileDefRequestStyle) SetType

func (t *TileDefRequestStyle) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TileDefRequestStyle) SetWidth

func (t *TileDefRequestStyle) SetWidth(v string)

SetWidth allocates a new t.Width and returns the pointer to it.

type TileDefStyle

type TileDefStyle struct {
	Palette     *string      `json:"palette,omitempty"`
	PaletteFlip *string      `json:"paletteFlip,omitempty"`
	FillMin     *json.Number `json:"fillMin,omitempty"`
	FillMax     *json.Number `json:"fillMax,omitempty"`
}

func (*TileDefStyle) GetFillMax

func (t *TileDefStyle) GetFillMax() json.Number

GetFillMax returns the FillMax field if non-nil, zero value otherwise.

func (*TileDefStyle) GetFillMaxOk

func (t *TileDefStyle) GetFillMaxOk() (json.Number, bool)

GetFillMaxOk returns a tuple with the FillMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefStyle) GetFillMin

func (t *TileDefStyle) GetFillMin() json.Number

GetFillMin returns the FillMin field if non-nil, zero value otherwise.

func (*TileDefStyle) GetFillMinOk

func (t *TileDefStyle) GetFillMinOk() (json.Number, bool)

GetFillMinOk returns a tuple with the FillMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefStyle) GetPalette

func (t *TileDefStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*TileDefStyle) GetPaletteFlip

func (t *TileDefStyle) GetPaletteFlip() string

GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.

func (*TileDefStyle) GetPaletteFlipOk

func (t *TileDefStyle) GetPaletteFlipOk() (string, bool)

GetPaletteFlipOk returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefStyle) GetPaletteOk

func (t *TileDefStyle) GetPaletteOk() (string, bool)

GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TileDefStyle) HasFillMax

func (t *TileDefStyle) HasFillMax() bool

HasFillMax returns a boolean if a field has been set.

func (*TileDefStyle) HasFillMin

func (t *TileDefStyle) HasFillMin() bool

HasFillMin returns a boolean if a field has been set.

func (*TileDefStyle) HasPalette

func (t *TileDefStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*TileDefStyle) HasPaletteFlip

func (t *TileDefStyle) HasPaletteFlip() bool

HasPaletteFlip returns a boolean if a field has been set.

func (*TileDefStyle) SetFillMax

func (t *TileDefStyle) SetFillMax(v json.Number)

SetFillMax allocates a new t.FillMax and returns the pointer to it.

func (*TileDefStyle) SetFillMin

func (t *TileDefStyle) SetFillMin(v json.Number)

SetFillMin allocates a new t.FillMin and returns the pointer to it.

func (*TileDefStyle) SetPalette

func (t *TileDefStyle) SetPalette(v string)

SetPalette allocates a new t.Palette and returns the pointer to it.

func (*TileDefStyle) SetPaletteFlip

func (t *TileDefStyle) SetPaletteFlip(v string)

SetPaletteFlip allocates a new t.PaletteFlip and returns the pointer to it.

type Time

type Time struct {
	LiveSpan *string `json:"live_span,omitempty"`
}

func (*Time) GetLiveSpan

func (t *Time) GetLiveSpan() string

GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.

func (*Time) GetLiveSpanOk

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

func (t *Time) HasLiveSpan() bool

HasLiveSpan returns a boolean if a field has been set.

func (*Time) SetLiveSpan

func (t *Time) SetLiveSpan(v string)

SetLiveSpan allocates a new t.LiveSpan and returns the pointer to it.

type TimeRange

type TimeRange struct {
	To   *json.Number `json:"to,omitempty"`
	From *json.Number `json:"from,omitempty"`
	Live *bool        `json:"live,omitempty"`
}

func (*TimeRange) GetFrom

func (t *TimeRange) GetFrom() json.Number

GetFrom returns the From field if non-nil, zero value otherwise.

func (*TimeRange) GetFromOk

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

func (t *TimeRange) GetLive() bool

GetLive returns the Live field if non-nil, zero value otherwise.

func (*TimeRange) GetLiveOk

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

func (t *TimeRange) GetTo() json.Number

GetTo returns the To field if non-nil, zero value otherwise.

func (*TimeRange) GetToOk

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

func (t *TimeRange) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*TimeRange) HasLive

func (t *TimeRange) HasLive() bool

HasLive returns a boolean if a field has been set.

func (*TimeRange) HasTo

func (t *TimeRange) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*TimeRange) SetFrom

func (t *TimeRange) SetFrom(v json.Number)

SetFrom allocates a new t.From and returns the pointer to it.

func (*TimeRange) SetLive

func (t *TimeRange) SetLive(v bool)

SetLive allocates a new t.Live and returns the pointer to it.

func (*TimeRange) SetTo

func (t *TimeRange) SetTo(v json.Number)

SetTo allocates a new t.To and returns the pointer to it.

type TimeseriesDefinition

type TimeseriesDefinition struct {
	Type       *string             `json:"type"`
	Requests   []TimeseriesRequest `json:"requests"`
	Yaxis      *WidgetAxis         `json:"yaxis,omitempty"`
	Events     []WidgetEvent       `json:"events,omitempty"`
	Markers    []WidgetMarker      `json:"markers,omitempty"`
	Title      *string             `json:"title,omitempty"`
	TitleSize  *string             `json:"title_size,omitempty"`
	TitleAlign *string             `json:"title_align,omitempty"`
	ShowLegend *bool               `json:"show_legend,omitempty"`
	LegendSize *string             `json:"legend_size,omitempty"`
	Time       *WidgetTime         `json:"time,omitempty"`
}

TimeseriesDefinition represents the definition for a Timeseries widget

func (*TimeseriesDefinition) GetLegendSize

func (t *TimeseriesDefinition) GetLegendSize() string

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetLegendSizeOk

func (t *TimeseriesDefinition) GetLegendSizeOk() (string, bool)

GetLegendSizeOk returns a tuple with the LegendSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetShowLegend

func (t *TimeseriesDefinition) GetShowLegend() bool

GetShowLegend returns the ShowLegend field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetShowLegendOk

func (t *TimeseriesDefinition) GetShowLegendOk() (bool, bool)

GetShowLegendOk returns a tuple with the ShowLegend field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetTime

func (t *TimeseriesDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTimeOk

func (t *TimeseriesDefinition) GetTimeOk() (WidgetTime, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetTitle

func (t *TimeseriesDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleAlign

func (t *TimeseriesDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleAlignOk

func (t *TimeseriesDefinition) GetTitleAlignOk() (string, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetTitleOk

func (t *TimeseriesDefinition) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetTitleSize

func (t *TimeseriesDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTitleSizeOk

func (t *TimeseriesDefinition) GetTitleSizeOk() (string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetType

func (t *TimeseriesDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetTypeOk

func (t *TimeseriesDefinition) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) GetYaxis

func (t *TimeseriesDefinition) GetYaxis() WidgetAxis

GetYaxis returns the Yaxis field if non-nil, zero value otherwise.

func (*TimeseriesDefinition) GetYaxisOk

func (t *TimeseriesDefinition) GetYaxisOk() (WidgetAxis, bool)

GetYaxisOk returns a tuple with the Yaxis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesDefinition) HasLegendSize

func (t *TimeseriesDefinition) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasShowLegend

func (t *TimeseriesDefinition) HasShowLegend() bool

HasShowLegend returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTime

func (t *TimeseriesDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitle

func (t *TimeseriesDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitleAlign

func (t *TimeseriesDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasTitleSize

func (t *TimeseriesDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasType

func (t *TimeseriesDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*TimeseriesDefinition) HasYaxis

func (t *TimeseriesDefinition) HasYaxis() bool

HasYaxis returns a boolean if a field has been set.

func (*TimeseriesDefinition) SetLegendSize

func (t *TimeseriesDefinition) SetLegendSize(v string)

SetLegendSize allocates a new t.LegendSize and returns the pointer to it.

func (*TimeseriesDefinition) SetShowLegend

func (t *TimeseriesDefinition) SetShowLegend(v bool)

SetShowLegend allocates a new t.ShowLegend and returns the pointer to it.

func (*TimeseriesDefinition) SetTime

func (t *TimeseriesDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*TimeseriesDefinition) SetTitle

func (t *TimeseriesDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*TimeseriesDefinition) SetTitleAlign

func (t *TimeseriesDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*TimeseriesDefinition) SetTitleSize

func (t *TimeseriesDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*TimeseriesDefinition) SetType

func (t *TimeseriesDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

func (*TimeseriesDefinition) SetYaxis

func (t *TimeseriesDefinition) SetYaxis(v WidgetAxis)

SetYaxis allocates a new t.Yaxis and returns the pointer to it.

type TimeseriesRequest

type TimeseriesRequest struct {
	Style       *TimeseriesRequestStyle `json:"style,omitempty"`
	Metadata    []WidgetMetadata        `json:"metadata,omitempty"`
	DisplayType *string                 `json:"display_type,omitempty"`
	// A TimeseriesRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*TimeseriesRequest) GetApmQuery

func (t *TimeseriesRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetApmQueryOk

func (t *TimeseriesRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetDisplayType

func (t *TimeseriesRequest) GetDisplayType() string

GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetDisplayTypeOk

func (t *TimeseriesRequest) GetDisplayTypeOk() (string, bool)

GetDisplayTypeOk returns a tuple with the DisplayType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetLogQuery

func (t *TimeseriesRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetLogQueryOk

func (t *TimeseriesRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetMetricQuery

func (t *TimeseriesRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetMetricQueryOk

func (t *TimeseriesRequest) GetMetricQueryOk() (string, bool)

GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetProcessQuery

func (t *TimeseriesRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetProcessQueryOk

func (t *TimeseriesRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequest) GetRumQuery

func (t *TimeseriesRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetRumQueryOk

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

func (t *TimeseriesRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*TimeseriesRequest) GetSecurityQueryOk

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

func (t *TimeseriesRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasDisplayType

func (t *TimeseriesRequest) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*TimeseriesRequest) HasLogQuery

func (t *TimeseriesRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasMetricQuery

func (t *TimeseriesRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasProcessQuery

func (t *TimeseriesRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasRumQuery

func (t *TimeseriesRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*TimeseriesRequest) HasSecurityQuery

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

func (t *TimeseriesRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*TimeseriesRequest) SetDisplayType

func (t *TimeseriesRequest) SetDisplayType(v string)

SetDisplayType allocates a new t.DisplayType and returns the pointer to it.

func (*TimeseriesRequest) SetLogQuery

func (t *TimeseriesRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*TimeseriesRequest) SetMetricQuery

func (t *TimeseriesRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.

func (*TimeseriesRequest) SetProcessQuery

func (t *TimeseriesRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*TimeseriesRequest) SetRumQuery

func (t *TimeseriesRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new t.RumQuery and returns the pointer to it.

func (*TimeseriesRequest) SetSecurityQuery

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

func (t *TimeseriesRequestStyle) GetLineType() string

GetLineType returns the LineType field if non-nil, zero value otherwise.

func (*TimeseriesRequestStyle) GetLineTypeOk

func (t *TimeseriesRequestStyle) GetLineTypeOk() (string, bool)

GetLineTypeOk returns a tuple with the LineType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequestStyle) GetLineWidth

func (t *TimeseriesRequestStyle) GetLineWidth() string

GetLineWidth returns the LineWidth field if non-nil, zero value otherwise.

func (*TimeseriesRequestStyle) GetLineWidthOk

func (t *TimeseriesRequestStyle) GetLineWidthOk() (string, bool)

GetLineWidthOk returns a tuple with the LineWidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequestStyle) GetPalette

func (t *TimeseriesRequestStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*TimeseriesRequestStyle) GetPaletteOk

func (t *TimeseriesRequestStyle) GetPaletteOk() (string, bool)

GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TimeseriesRequestStyle) HasLineType

func (t *TimeseriesRequestStyle) HasLineType() bool

HasLineType returns a boolean if a field has been set.

func (*TimeseriesRequestStyle) HasLineWidth

func (t *TimeseriesRequestStyle) HasLineWidth() bool

HasLineWidth returns a boolean if a field has been set.

func (*TimeseriesRequestStyle) HasPalette

func (t *TimeseriesRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*TimeseriesRequestStyle) SetLineType

func (t *TimeseriesRequestStyle) SetLineType(v string)

SetLineType allocates a new t.LineType and returns the pointer to it.

func (*TimeseriesRequestStyle) SetLineWidth

func (t *TimeseriesRequestStyle) SetLineWidth(v string)

SetLineWidth allocates a new t.LineWidth and returns the pointer to it.

func (*TimeseriesRequestStyle) SetPalette

func (t *TimeseriesRequestStyle) SetPalette(v string)

SetPalette allocates a new t.Palette and returns the pointer to it.

type ToggleStatus

type ToggleStatus struct {
	NewStatus *string `json:"new_status,omitempty"`
}

func (*ToggleStatus) GetNewStatus

func (t *ToggleStatus) GetNewStatus() string

GetNewStatus returns the NewStatus field if non-nil, zero value otherwise.

func (*ToggleStatus) GetNewStatusOk

func (t *ToggleStatus) GetNewStatusOk() (string, bool)

GetNewStatusOk returns a tuple with the NewStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToggleStatus) HasNewStatus

func (t *ToggleStatus) HasNewStatus() bool

HasNewStatus returns a boolean if a field has been set.

func (*ToggleStatus) SetNewStatus

func (t *ToggleStatus) SetNewStatus(v string)

SetNewStatus allocates a new t.NewStatus and returns the pointer to it.

type ToplistDefinition

type ToplistDefinition struct {
	Type       *string          `json:"type"`
	Requests   []ToplistRequest `json:"requests"`
	Title      *string          `json:"title,omitempty"`
	TitleSize  *string          `json:"title_size,omitempty"`
	TitleAlign *string          `json:"title_align,omitempty"`
	Time       *WidgetTime      `json:"time,omitempty"`
}

ToplistDefinition represents the definition for a Top list widget

func (*ToplistDefinition) GetTime

func (t *ToplistDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTimeOk

func (t *ToplistDefinition) GetTimeOk() (WidgetTime, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistDefinition) GetTitle

func (t *ToplistDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleAlign

func (t *ToplistDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleAlignOk

func (t *ToplistDefinition) GetTitleAlignOk() (string, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistDefinition) GetTitleOk

func (t *ToplistDefinition) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistDefinition) GetTitleSize

func (t *ToplistDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTitleSizeOk

func (t *ToplistDefinition) GetTitleSizeOk() (string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistDefinition) GetType

func (t *ToplistDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*ToplistDefinition) GetTypeOk

func (t *ToplistDefinition) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistDefinition) HasTime

func (t *ToplistDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitle

func (t *ToplistDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitleAlign

func (t *ToplistDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ToplistDefinition) HasTitleSize

func (t *ToplistDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ToplistDefinition) HasType

func (t *ToplistDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*ToplistDefinition) SetTime

func (t *ToplistDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*ToplistDefinition) SetTitle

func (t *ToplistDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*ToplistDefinition) SetTitleAlign

func (t *ToplistDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*ToplistDefinition) SetTitleSize

func (t *ToplistDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*ToplistDefinition) SetType

func (t *ToplistDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type ToplistRequest

type ToplistRequest struct {
	ConditionalFormats []WidgetConditionalFormat `json:"conditional_formats,omitempty"`
	Style              *WidgetRequestStyle       `json:"style,omitempty"`
	// A ToplistRequest should implement exactly one of the following query types
	MetricQuery   *string              `json:"q,omitempty"`
	ApmQuery      *WidgetApmOrLogQuery `json:"apm_query,omitempty"`
	LogQuery      *WidgetApmOrLogQuery `json:"log_query,omitempty"`
	ProcessQuery  *WidgetProcessQuery  `json:"process_query,omitempty"`
	RumQuery      *WidgetApmOrLogQuery `json:"rum_query,omitempty"`
	SecurityQuery *WidgetApmOrLogQuery `json:"security_query,omitempty"`
}

func (*ToplistRequest) GetApmQuery

func (t *ToplistRequest) GetApmQuery() WidgetApmOrLogQuery

GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetApmQueryOk

func (t *ToplistRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool)

GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetLogQuery

func (t *ToplistRequest) GetLogQuery() WidgetApmOrLogQuery

GetLogQuery returns the LogQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetLogQueryOk

func (t *ToplistRequest) GetLogQueryOk() (WidgetApmOrLogQuery, bool)

GetLogQueryOk returns a tuple with the LogQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetMetricQuery

func (t *ToplistRequest) GetMetricQuery() string

GetMetricQuery returns the MetricQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetMetricQueryOk

func (t *ToplistRequest) GetMetricQueryOk() (string, bool)

GetMetricQueryOk returns a tuple with the MetricQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetProcessQuery

func (t *ToplistRequest) GetProcessQuery() WidgetProcessQuery

GetProcessQuery returns the ProcessQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetProcessQueryOk

func (t *ToplistRequest) GetProcessQueryOk() (WidgetProcessQuery, bool)

GetProcessQueryOk returns a tuple with the ProcessQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) GetRumQuery

func (t *ToplistRequest) GetRumQuery() WidgetApmOrLogQuery

GetRumQuery returns the RumQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetRumQueryOk

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

func (t *ToplistRequest) GetSecurityQuery() WidgetApmOrLogQuery

GetSecurityQuery returns the SecurityQuery field if non-nil, zero value otherwise.

func (*ToplistRequest) GetSecurityQueryOk

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

func (t *ToplistRequest) GetStyle() WidgetRequestStyle

GetStyle returns the Style field if non-nil, zero value otherwise.

func (*ToplistRequest) GetStyleOk

func (t *ToplistRequest) GetStyleOk() (WidgetRequestStyle, bool)

GetStyleOk returns a tuple with the Style field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*ToplistRequest) HasApmQuery

func (t *ToplistRequest) HasApmQuery() bool

HasApmQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasLogQuery

func (t *ToplistRequest) HasLogQuery() bool

HasLogQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasMetricQuery

func (t *ToplistRequest) HasMetricQuery() bool

HasMetricQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasProcessQuery

func (t *ToplistRequest) HasProcessQuery() bool

HasProcessQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasRumQuery

func (t *ToplistRequest) HasRumQuery() bool

HasRumQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasSecurityQuery

func (t *ToplistRequest) HasSecurityQuery() bool

HasSecurityQuery returns a boolean if a field has been set.

func (*ToplistRequest) HasStyle

func (t *ToplistRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*ToplistRequest) SetApmQuery

func (t *ToplistRequest) SetApmQuery(v WidgetApmOrLogQuery)

SetApmQuery allocates a new t.ApmQuery and returns the pointer to it.

func (*ToplistRequest) SetLogQuery

func (t *ToplistRequest) SetLogQuery(v WidgetApmOrLogQuery)

SetLogQuery allocates a new t.LogQuery and returns the pointer to it.

func (*ToplistRequest) SetMetricQuery

func (t *ToplistRequest) SetMetricQuery(v string)

SetMetricQuery allocates a new t.MetricQuery and returns the pointer to it.

func (*ToplistRequest) SetProcessQuery

func (t *ToplistRequest) SetProcessQuery(v WidgetProcessQuery)

SetProcessQuery allocates a new t.ProcessQuery and returns the pointer to it.

func (*ToplistRequest) SetRumQuery

func (t *ToplistRequest) SetRumQuery(v WidgetApmOrLogQuery)

SetRumQuery allocates a new t.RumQuery and returns the pointer to it.

func (*ToplistRequest) SetSecurityQuery

func (t *ToplistRequest) SetSecurityQuery(v WidgetApmOrLogQuery)

SetSecurityQuery allocates a new t.SecurityQuery and returns the pointer to it.

func (*ToplistRequest) SetStyle

func (t *ToplistRequest) SetStyle(v WidgetRequestStyle)

SetStyle allocates a new t.Style and returns the pointer to it.

type TraceServiceDefinition

type TraceServiceDefinition struct {
	Type             *string     `json:"type"`
	Env              *string     `json:"env"`
	Service          *string     `json:"service"`
	SpanName         *string     `json:"span_name"`
	ShowHits         *bool       `json:"show_hits,omitempty"`
	ShowErrors       *bool       `json:"show_errors,omitempty"`
	ShowLatency      *bool       `json:"show_latency,omitempty"`
	ShowBreakdown    *bool       `json:"show_breakdown,omitempty"`
	ShowDistribution *bool       `json:"show_distribution,omitempty"`
	ShowResourceList *bool       `json:"show_resource_list,omitempty"`
	SizeFormat       *string     `json:"size_format,omitempty"`
	DisplayFormat    *string     `json:"display_format,omitempty"`
	Title            *string     `json:"title,omitempty"`
	TitleSize        *string     `json:"title_size,omitempty"`
	TitleAlign       *string     `json:"title_align,omitempty"`
	Time             *WidgetTime `json:"time,omitempty"`
}

TraceServiceDefinition represents the definition for a Trace Service widget

func (*TraceServiceDefinition) GetDisplayFormat

func (t *TraceServiceDefinition) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetDisplayFormatOk

func (t *TraceServiceDefinition) GetDisplayFormatOk() (string, bool)

GetDisplayFormatOk returns a tuple with the DisplayFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetEnv

func (t *TraceServiceDefinition) GetEnv() string

GetEnv returns the Env field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetEnvOk

func (t *TraceServiceDefinition) GetEnvOk() (string, bool)

GetEnvOk returns a tuple with the Env field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetService

func (t *TraceServiceDefinition) GetService() string

GetService returns the Service field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetServiceOk

func (t *TraceServiceDefinition) GetServiceOk() (string, bool)

GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowBreakdown

func (t *TraceServiceDefinition) GetShowBreakdown() bool

GetShowBreakdown returns the ShowBreakdown field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowBreakdownOk

func (t *TraceServiceDefinition) GetShowBreakdownOk() (bool, bool)

GetShowBreakdownOk returns a tuple with the ShowBreakdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowDistribution

func (t *TraceServiceDefinition) GetShowDistribution() bool

GetShowDistribution returns the ShowDistribution field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowDistributionOk

func (t *TraceServiceDefinition) GetShowDistributionOk() (bool, bool)

GetShowDistributionOk returns a tuple with the ShowDistribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowErrors

func (t *TraceServiceDefinition) GetShowErrors() bool

GetShowErrors returns the ShowErrors field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowErrorsOk

func (t *TraceServiceDefinition) GetShowErrorsOk() (bool, bool)

GetShowErrorsOk returns a tuple with the ShowErrors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowHits

func (t *TraceServiceDefinition) GetShowHits() bool

GetShowHits returns the ShowHits field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowHitsOk

func (t *TraceServiceDefinition) GetShowHitsOk() (bool, bool)

GetShowHitsOk returns a tuple with the ShowHits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowLatency

func (t *TraceServiceDefinition) GetShowLatency() bool

GetShowLatency returns the ShowLatency field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowLatencyOk

func (t *TraceServiceDefinition) GetShowLatencyOk() (bool, bool)

GetShowLatencyOk returns a tuple with the ShowLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetShowResourceList

func (t *TraceServiceDefinition) GetShowResourceList() bool

GetShowResourceList returns the ShowResourceList field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetShowResourceListOk

func (t *TraceServiceDefinition) GetShowResourceListOk() (bool, bool)

GetShowResourceListOk returns a tuple with the ShowResourceList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetSizeFormat

func (t *TraceServiceDefinition) GetSizeFormat() string

GetSizeFormat returns the SizeFormat field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetSizeFormatOk

func (t *TraceServiceDefinition) GetSizeFormatOk() (string, bool)

GetSizeFormatOk returns a tuple with the SizeFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetSpanName

func (t *TraceServiceDefinition) GetSpanName() string

GetSpanName returns the SpanName field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetSpanNameOk

func (t *TraceServiceDefinition) GetSpanNameOk() (string, bool)

GetSpanNameOk returns a tuple with the SpanName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetTime

func (t *TraceServiceDefinition) GetTime() WidgetTime

GetTime returns the Time field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTimeOk

func (t *TraceServiceDefinition) GetTimeOk() (WidgetTime, bool)

GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetTitle

func (t *TraceServiceDefinition) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleAlign

func (t *TraceServiceDefinition) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleAlignOk

func (t *TraceServiceDefinition) GetTitleAlignOk() (string, bool)

GetTitleAlignOk returns a tuple with the TitleAlign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetTitleOk

func (t *TraceServiceDefinition) GetTitleOk() (string, bool)

GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetTitleSize

func (t *TraceServiceDefinition) GetTitleSize() string

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTitleSizeOk

func (t *TraceServiceDefinition) GetTitleSizeOk() (string, bool)

GetTitleSizeOk returns a tuple with the TitleSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) GetType

func (t *TraceServiceDefinition) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*TraceServiceDefinition) GetTypeOk

func (t *TraceServiceDefinition) GetTypeOk() (string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TraceServiceDefinition) HasDisplayFormat

func (t *TraceServiceDefinition) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasEnv

func (t *TraceServiceDefinition) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasService

func (t *TraceServiceDefinition) HasService() bool

HasService returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowBreakdown

func (t *TraceServiceDefinition) HasShowBreakdown() bool

HasShowBreakdown returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowDistribution

func (t *TraceServiceDefinition) HasShowDistribution() bool

HasShowDistribution returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowErrors

func (t *TraceServiceDefinition) HasShowErrors() bool

HasShowErrors returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowHits

func (t *TraceServiceDefinition) HasShowHits() bool

HasShowHits returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowLatency

func (t *TraceServiceDefinition) HasShowLatency() bool

HasShowLatency returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasShowResourceList

func (t *TraceServiceDefinition) HasShowResourceList() bool

HasShowResourceList returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasSizeFormat

func (t *TraceServiceDefinition) HasSizeFormat() bool

HasSizeFormat returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasSpanName

func (t *TraceServiceDefinition) HasSpanName() bool

HasSpanName returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTime

func (t *TraceServiceDefinition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitle

func (t *TraceServiceDefinition) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitleAlign

func (t *TraceServiceDefinition) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasTitleSize

func (t *TraceServiceDefinition) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*TraceServiceDefinition) HasType

func (t *TraceServiceDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*TraceServiceDefinition) SetDisplayFormat

func (t *TraceServiceDefinition) SetDisplayFormat(v string)

SetDisplayFormat allocates a new t.DisplayFormat and returns the pointer to it.

func (*TraceServiceDefinition) SetEnv

func (t *TraceServiceDefinition) SetEnv(v string)

SetEnv allocates a new t.Env and returns the pointer to it.

func (*TraceServiceDefinition) SetService

func (t *TraceServiceDefinition) SetService(v string)

SetService allocates a new t.Service and returns the pointer to it.

func (*TraceServiceDefinition) SetShowBreakdown

func (t *TraceServiceDefinition) SetShowBreakdown(v bool)

SetShowBreakdown allocates a new t.ShowBreakdown and returns the pointer to it.

func (*TraceServiceDefinition) SetShowDistribution

func (t *TraceServiceDefinition) SetShowDistribution(v bool)

SetShowDistribution allocates a new t.ShowDistribution and returns the pointer to it.

func (*TraceServiceDefinition) SetShowErrors

func (t *TraceServiceDefinition) SetShowErrors(v bool)

SetShowErrors allocates a new t.ShowErrors and returns the pointer to it.

func (*TraceServiceDefinition) SetShowHits

func (t *TraceServiceDefinition) SetShowHits(v bool)

SetShowHits allocates a new t.ShowHits and returns the pointer to it.

func (*TraceServiceDefinition) SetShowLatency

func (t *TraceServiceDefinition) SetShowLatency(v bool)

SetShowLatency allocates a new t.ShowLatency and returns the pointer to it.

func (*TraceServiceDefinition) SetShowResourceList

func (t *TraceServiceDefinition) SetShowResourceList(v bool)

SetShowResourceList allocates a new t.ShowResourceList and returns the pointer to it.

func (*TraceServiceDefinition) SetSizeFormat

func (t *TraceServiceDefinition) SetSizeFormat(v string)

SetSizeFormat allocates a new t.SizeFormat and returns the pointer to it.

func (*TraceServiceDefinition) SetSpanName

func (t *TraceServiceDefinition) SetSpanName(v string)

SetSpanName allocates a new t.SpanName and returns the pointer to it.

func (*TraceServiceDefinition) SetTime

func (t *TraceServiceDefinition) SetTime(v WidgetTime)

SetTime allocates a new t.Time and returns the pointer to it.

func (*TraceServiceDefinition) SetTitle

func (t *TraceServiceDefinition) SetTitle(v string)

SetTitle allocates a new t.Title and returns the pointer to it.

func (*TraceServiceDefinition) SetTitleAlign

func (t *TraceServiceDefinition) SetTitleAlign(v string)

SetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.

func (*TraceServiceDefinition) SetTitleSize

func (t *TraceServiceDefinition) SetTitleSize(v string)

SetTitleSize allocates a new t.TitleSize and returns the pointer to it.

func (*TraceServiceDefinition) SetType

func (t *TraceServiceDefinition) SetType(v string)

SetType allocates a new t.Type and returns the pointer to it.

type TriggeringValue

type TriggeringValue struct {
	FromTs *int `json:"from_ts,omitempty"`
	ToTs   *int `json:"to_ts,omitempty"`
	Value  *int `json:"value,omitempty"`
}

func (*TriggeringValue) GetFromTs

func (t *TriggeringValue) GetFromTs() int

GetFromTs returns the FromTs field if non-nil, zero value otherwise.

func (*TriggeringValue) GetFromTsOk

func (t *TriggeringValue) GetFromTsOk() (int, bool)

GetFromTsOk returns a tuple with the FromTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TriggeringValue) GetToTs

func (t *TriggeringValue) GetToTs() int

GetToTs returns the ToTs field if non-nil, zero value otherwise.

func (*TriggeringValue) GetToTsOk

func (t *TriggeringValue) GetToTsOk() (int, bool)

GetToTsOk returns a tuple with the ToTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TriggeringValue) GetValue

func (t *TriggeringValue) GetValue() int

GetValue returns the Value field if non-nil, zero value otherwise.

func (*TriggeringValue) GetValueOk

func (t *TriggeringValue) GetValueOk() (int, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*TriggeringValue) HasFromTs

func (t *TriggeringValue) HasFromTs() bool

HasFromTs returns a boolean if a field has been set.

func (*TriggeringValue) HasToTs

func (t *TriggeringValue) HasToTs() bool

HasToTs returns a boolean if a field has been set.

func (*TriggeringValue) HasValue

func (t *TriggeringValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*TriggeringValue) SetFromTs

func (t *TriggeringValue) SetFromTs(v int)

SetFromTs allocates a new t.FromTs and returns the pointer to it.

func (*TriggeringValue) SetToTs

func (t *TriggeringValue) SetToTs(v int)

SetToTs allocates a new t.ToTs and returns the pointer to it.

func (*TriggeringValue) SetValue

func (t *TriggeringValue) SetValue(v int)

SetValue allocates a new t.Value and returns the pointer to it.

type Unit

type Unit struct {
	Family      string  `json:"family"`
	ScaleFactor float32 `json:"scale_factor"`
	Name        string  `json:"name"`
	ShortName   string  `json:"short_name"`
	Plural      string  `json:"plural"`
	Id          int     `json:"id"`
}

Unit represents a unit definition that we might receive when query for timeseries data.

type UnitPair

type UnitPair []*Unit

A Series is characterized by 2 units as: x per y One or both could be missing

type UnmuteMonitorScopes

type UnmuteMonitorScopes struct {
	Scope     *string `json:"scope,omitempty"`
	AllScopes *bool   `json:"all_scopes,omitempty"`
}

UnmuteMonitorScopes specifies which scope(s) to unmute

func (*UnmuteMonitorScopes) GetAllScopes

func (u *UnmuteMonitorScopes) GetAllScopes() bool

GetAllScopes returns the AllScopes field if non-nil, zero value otherwise.

func (*UnmuteMonitorScopes) GetAllScopesOk

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

func (u *UnmuteMonitorScopes) GetScope() string

GetScope returns the Scope field if non-nil, zero value otherwise.

func (*UnmuteMonitorScopes) GetScopeOk

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

func (u *UnmuteMonitorScopes) HasAllScopes() bool

HasAllScopes returns a boolean if a field has been set.

func (*UnmuteMonitorScopes) HasScope

func (u *UnmuteMonitorScopes) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*UnmuteMonitorScopes) SetAllScopes

func (u *UnmuteMonitorScopes) SetAllScopes(v bool)

SetAllScopes allocates a new u.AllScopes and returns the pointer to it.

func (*UnmuteMonitorScopes) SetScope

func (u *UnmuteMonitorScopes) SetScope(v string)

SetScope allocates a new u.Scope and returns the pointer to it.

type UrlParser

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

func (u *UrlParser) GetNormalizeEndingSlashes() bool

GetNormalizeEndingSlashes returns the NormalizeEndingSlashes field if non-nil, zero value otherwise.

func (*UrlParser) GetNormalizeEndingSlashesOk

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

func (u *UrlParser) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*UrlParser) GetTargetOk

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

func (u *UrlParser) HasNormalizeEndingSlashes() bool

HasNormalizeEndingSlashes returns a boolean if a field has been set.

func (*UrlParser) HasTarget

func (u *UrlParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*UrlParser) SetNormalizeEndingSlashes

func (u *UrlParser) SetNormalizeEndingSlashes(v bool)

SetNormalizeEndingSlashes allocates a new u.NormalizeEndingSlashes and returns the pointer to it.

func (*UrlParser) SetTarget

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

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

func (u *UserAgentParser) GetIsEncoded() bool

GetIsEncoded returns the IsEncoded field if non-nil, zero value otherwise.

func (*UserAgentParser) GetIsEncodedOk

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

func (u *UserAgentParser) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

func (*UserAgentParser) GetTargetOk

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

func (u *UserAgentParser) HasIsEncoded() bool

HasIsEncoded returns a boolean if a field has been set.

func (*UserAgentParser) HasTarget

func (u *UserAgentParser) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*UserAgentParser) SetIsEncoded

func (u *UserAgentParser) SetIsEncoded(v bool)

SetIsEncoded allocates a new u.IsEncoded and returns the pointer to it.

func (*UserAgentParser) SetTarget

func (u *UserAgentParser) SetTarget(v string)

SetTarget allocates a new u.Target and returns the pointer to it.

type Webhook

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

func (w *Webhook) GetCustomPayload() string

GetCustomPayload returns the CustomPayload field if non-nil, zero value otherwise.

func (*Webhook) GetCustomPayloadOk

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

func (w *Webhook) GetEncodeAsForm() string

GetEncodeAsForm returns the EncodeAsForm field if non-nil, zero value otherwise.

func (*Webhook) GetEncodeAsFormOk

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

func (w *Webhook) GetHeaders() string

GetHeaders returns the Headers field if non-nil, zero value otherwise.

func (*Webhook) GetHeadersOk

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

func (w *Webhook) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

func (*Webhook) GetNameOk

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

func (w *Webhook) GetURL() string

GetURL returns the URL field if non-nil, zero value otherwise.

func (*Webhook) GetURLOk

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

func (w *Webhook) GetUseCustomPayload() string

GetUseCustomPayload returns the UseCustomPayload field if non-nil, zero value otherwise.

func (*Webhook) GetUseCustomPayloadOk

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

func (w *Webhook) HasCustomPayload() bool

HasCustomPayload returns a boolean if a field has been set.

func (*Webhook) HasEncodeAsForm

func (w *Webhook) HasEncodeAsForm() bool

HasEncodeAsForm returns a boolean if a field has been set.

func (*Webhook) HasHeaders

func (w *Webhook) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*Webhook) HasName

func (w *Webhook) HasName() bool

HasName returns a boolean if a field has been set.

func (*Webhook) HasURL

func (w *Webhook) HasURL() bool

HasURL returns a boolean if a field has been set.

func (*Webhook) HasUseCustomPayload

func (w *Webhook) HasUseCustomPayload() bool

HasUseCustomPayload returns a boolean if a field has been set.

func (*Webhook) SetCustomPayload

func (w *Webhook) SetCustomPayload(v string)

SetCustomPayload allocates a new w.CustomPayload and returns the pointer to it.

func (*Webhook) SetEncodeAsForm

func (w *Webhook) SetEncodeAsForm(v string)

SetEncodeAsForm allocates a new w.EncodeAsForm and returns the pointer to it.

func (*Webhook) SetHeaders

func (w *Webhook) SetHeaders(v string)

SetHeaders allocates a new w.Headers and returns the pointer to it.

func (*Webhook) SetName

func (w *Webhook) SetName(v string)

SetName allocates a new w.Name and returns the pointer to it.

func (*Webhook) SetURL

func (w *Webhook) SetURL(v string)

SetURL allocates a new w.URL and returns the pointer to it.

func (*Webhook) SetUseCustomPayload

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

func (w *Widget) GetAlertID() int

GetAlertID returns the AlertID field if non-nil, zero value otherwise.

func (*Widget) GetAlertIDOk

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

func (w *Widget) GetAutoRefresh() bool

GetAutoRefresh returns the AutoRefresh field if non-nil, zero value otherwise.

func (*Widget) GetAutoRefreshOk

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

func (w *Widget) GetBgcolor() string

GetBgcolor returns the Bgcolor field if non-nil, zero value otherwise.

func (*Widget) GetBgcolorOk

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

func (w *Widget) GetCheck() string

GetCheck returns the Check field if non-nil, zero value otherwise.

func (*Widget) GetCheckOk

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

func (w *Widget) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

func (*Widget) GetColorOk

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

func (w *Widget) GetColorPreference() string

GetColorPreference returns the ColorPreference field if non-nil, zero value otherwise.

func (*Widget) GetColorPreferenceOk

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

func (w *Widget) GetColumns() string

GetColumns returns the Columns field if non-nil, zero value otherwise.

func (*Widget) GetColumnsOk

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

func (w *Widget) GetDisplayFormat() string

GetDisplayFormat returns the DisplayFormat field if non-nil, zero value otherwise.

func (*Widget) GetDisplayFormatOk

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

func (w *Widget) GetEnv() string

GetEnv returns the Env field if non-nil, zero value otherwise.

func (*Widget) GetEnvOk

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

func (w *Widget) GetEventSize() string

GetEventSize returns the EventSize field if non-nil, zero value otherwise.

func (*Widget) GetEventSizeOk

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

func (w *Widget) GetFontSize() string

GetFontSize returns the FontSize field if non-nil, zero value otherwise.

func (*Widget) GetFontSizeOk

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

func (w *Widget) GetGroup() string

GetGroup returns the Group field if non-nil, zero value otherwise.

func (*Widget) GetGroupOk

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

func (w *Widget) GetGrouping() string

GetGrouping returns the Grouping field if non-nil, zero value otherwise.

func (*Widget) GetGroupingOk

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

func (w *Widget) GetHTML() string

GetHTML returns the HTML field if non-nil, zero value otherwise.

func (*Widget) GetHTMLOk

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

func (w *Widget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*Widget) GetHeightOk

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

func (w *Widget) GetHideZeroCounts() bool

GetHideZeroCounts returns the HideZeroCounts field if non-nil, zero value otherwise.

func (*Widget) GetHideZeroCountsOk

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

func (w *Widget) GetLayoutVersion() string

GetLayoutVersion returns the LayoutVersion field if non-nil, zero value otherwise.

func (*Widget) GetLayoutVersionOk

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

func (w *Widget) GetLegend() bool

GetLegend returns the Legend field if non-nil, zero value otherwise.

func (*Widget) GetLegendOk

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

func (w *Widget) GetLegendSize() string

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*Widget) GetLegendSizeOk

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

func (w *Widget) GetLogset() string

GetLogset returns the Logset field if non-nil, zero value otherwise.

func (*Widget) GetLogsetOk

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

func (w *Widget) GetManageStatusShowTitle() bool

GetManageStatusShowTitle returns the ManageStatusShowTitle field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusShowTitleOk

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

func (w *Widget) GetManageStatusTitleAlign() string

GetManageStatusTitleAlign returns the ManageStatusTitleAlign field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleAlignOk

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

func (w *Widget) GetManageStatusTitleSize() string

GetManageStatusTitleSize returns the ManageStatusTitleSize field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleSizeOk

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

func (w *Widget) GetManageStatusTitleText() string

GetManageStatusTitleText returns the ManageStatusTitleText field if non-nil, zero value otherwise.

func (*Widget) GetManageStatusTitleTextOk

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

func (w *Widget) GetMargin() string

GetMargin returns the Margin field if non-nil, zero value otherwise.

func (*Widget) GetMarginOk

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

func (w *Widget) GetMessageDisplay() string

GetMessageDisplay returns the MessageDisplay field if non-nil, zero value otherwise.

func (*Widget) GetMessageDisplayOk

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

func (w *Widget) GetMonitor() ScreenboardMonitor

GetMonitor returns the Monitor field if non-nil, zero value otherwise.

func (*Widget) GetMonitorOk

func (w *Widget) GetMonitorOk() (ScreenboardMonitor, bool)

GetMonitorOk returns a tuple with the Monitor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetMustShowBreakdown

func (w *Widget) GetMustShowBreakdown() bool

GetMustShowBreakdown returns the MustShowBreakdown field if non-nil, zero value otherwise.

func (*Widget) GetMustShowBreakdownOk

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

func (w *Widget) GetMustShowDistribution() bool

GetMustShowDistribution returns the MustShowDistribution field if non-nil, zero value otherwise.

func (*Widget) GetMustShowDistributionOk

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

func (w *Widget) GetMustShowErrors() bool

GetMustShowErrors returns the MustShowErrors field if non-nil, zero value otherwise.

func (*Widget) GetMustShowErrorsOk

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

func (w *Widget) GetMustShowHits() bool

GetMustShowHits returns the MustShowHits field if non-nil, zero value otherwise.

func (*Widget) GetMustShowHitsOk

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

func (w *Widget) GetMustShowLatency() bool

GetMustShowLatency returns the MustShowLatency field if non-nil, zero value otherwise.

func (*Widget) GetMustShowLatencyOk

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

func (w *Widget) GetMustShowResourceList() bool

GetMustShowResourceList returns the MustShowResourceList field if non-nil, zero value otherwise.

func (*Widget) GetMustShowResourceListOk

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

func (w *Widget) GetParams() Params

GetParams returns the Params field if non-nil, zero value otherwise.

func (*Widget) GetParamsOk

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

func (w *Widget) GetPrecision() PrecisionT

GetPrecision returns the Precision field if non-nil, zero value otherwise.

func (*Widget) GetPrecisionOk

func (w *Widget) GetPrecisionOk() (PrecisionT, bool)

GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*Widget) GetQuery

func (w *Widget) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*Widget) GetQueryOk

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

func (w *Widget) GetServiceName() string

GetServiceName returns the ServiceName field if non-nil, zero value otherwise.

func (*Widget) GetServiceNameOk

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

func (w *Widget) GetServiceService() string

GetServiceService returns the ServiceService field if non-nil, zero value otherwise.

func (*Widget) GetServiceServiceOk

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

func (w *Widget) GetShowDateColumn() bool

GetShowDateColumn returns the ShowDateColumn field if non-nil, zero value otherwise.

func (*Widget) GetShowDateColumnOk

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

func (w *Widget) GetShowLastTriggered() bool

GetShowLastTriggered returns the ShowLastTriggered field if non-nil, zero value otherwise.

func (*Widget) GetShowLastTriggeredOk

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

func (w *Widget) GetShowMessageColumn() bool

GetShowMessageColumn returns the ShowMessageColumn field if non-nil, zero value otherwise.

func (*Widget) GetShowMessageColumnOk

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

func (w *Widget) GetSizeVersion() string

GetSizeVersion returns the SizeVersion field if non-nil, zero value otherwise.

func (*Widget) GetSizeVersionOk

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

func (w *Widget) GetSizing() string

GetSizing returns the Sizing field if non-nil, zero value otherwise.

func (*Widget) GetSizingOk

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

func (w *Widget) GetSort() WidgetFieldSort

GetSort returns the Sort field if non-nil, zero value otherwise.

func (*Widget) GetSortOk

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

func (w *Widget) GetSummaryType() string

GetSummaryType returns the SummaryType field if non-nil, zero value otherwise.

func (*Widget) GetSummaryTypeOk

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

func (w *Widget) GetTagsExecution() string

GetTagsExecution returns the TagsExecution field if non-nil, zero value otherwise.

func (*Widget) GetTagsExecutionOk

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

func (w *Widget) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

func (*Widget) GetTextAlign

func (w *Widget) GetTextAlign() string

GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.

func (*Widget) GetTextAlignOk

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

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

func (w *Widget) GetTextSize() string

GetTextSize returns the TextSize field if non-nil, zero value otherwise.

func (*Widget) GetTextSizeOk

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

func (w *Widget) GetTick() bool

GetTick returns the Tick field if non-nil, zero value otherwise.

func (*Widget) GetTickEdge

func (w *Widget) GetTickEdge() string

GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.

func (*Widget) GetTickEdgeOk

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

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

func (w *Widget) GetTickPos() string

GetTickPos returns the TickPos field if non-nil, zero value otherwise.

func (*Widget) GetTickPosOk

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

func (w *Widget) GetTileDef() TileDef

GetTileDef returns the TileDef field if non-nil, zero value otherwise.

func (*Widget) GetTileDefOk

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

func (w *Widget) GetTime() Time

GetTime returns the Time field if non-nil, zero value otherwise.

func (*Widget) GetTimeOk

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

func (w *Widget) GetTitle() bool

GetTitle returns the Title field if non-nil, zero value otherwise.

func (*Widget) GetTitleAlign

func (w *Widget) GetTitleAlign() string

GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.

func (*Widget) GetTitleAlignOk

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

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

func (w *Widget) GetTitleSize() int

GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.

func (*Widget) GetTitleSizeOk

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

func (w *Widget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*Widget) GetTitleTextOk

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

func (w *Widget) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

func (*Widget) GetTypeOk

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

func (w *Widget) GetURL() string

GetURL returns the URL field if non-nil, zero value otherwise.

func (*Widget) GetURLOk

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

func (w *Widget) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

func (*Widget) GetUnitOk

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

func (w *Widget) GetVizType() string

GetVizType returns the VizType field if non-nil, zero value otherwise.

func (*Widget) GetVizTypeOk

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

func (w *Widget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*Widget) GetWidthOk

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

func (w *Widget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*Widget) GetXOk

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

func (w *Widget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*Widget) GetYOk

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

func (w *Widget) HasAlertID() bool

HasAlertID returns a boolean if a field has been set.

func (*Widget) HasAutoRefresh

func (w *Widget) HasAutoRefresh() bool

HasAutoRefresh returns a boolean if a field has been set.

func (*Widget) HasBgcolor

func (w *Widget) HasBgcolor() bool

HasBgcolor returns a boolean if a field has been set.

func (*Widget) HasCheck

func (w *Widget) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*Widget) HasColor

func (w *Widget) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*Widget) HasColorPreference

func (w *Widget) HasColorPreference() bool

HasColorPreference returns a boolean if a field has been set.

func (*Widget) HasColumns

func (w *Widget) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*Widget) HasDisplayFormat

func (w *Widget) HasDisplayFormat() bool

HasDisplayFormat returns a boolean if a field has been set.

func (*Widget) HasEnv

func (w *Widget) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*Widget) HasEventSize

func (w *Widget) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*Widget) HasFontSize

func (w *Widget) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*Widget) HasGroup

func (w *Widget) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*Widget) HasGrouping

func (w *Widget) HasGrouping() bool

HasGrouping returns a boolean if a field has been set.

func (*Widget) HasHTML

func (w *Widget) HasHTML() bool

HasHTML returns a boolean if a field has been set.

func (*Widget) HasHeight

func (w *Widget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*Widget) HasHideZeroCounts

func (w *Widget) HasHideZeroCounts() bool

HasHideZeroCounts returns a boolean if a field has been set.

func (*Widget) HasLayoutVersion

func (w *Widget) HasLayoutVersion() bool

HasLayoutVersion returns a boolean if a field has been set.

func (*Widget) HasLegend

func (w *Widget) HasLegend() bool

HasLegend returns a boolean if a field has been set.

func (*Widget) HasLegendSize

func (w *Widget) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*Widget) HasLogset

func (w *Widget) HasLogset() bool

HasLogset returns a boolean if a field has been set.

func (*Widget) HasManageStatusShowTitle

func (w *Widget) HasManageStatusShowTitle() bool

HasManageStatusShowTitle returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleAlign

func (w *Widget) HasManageStatusTitleAlign() bool

HasManageStatusTitleAlign returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleSize

func (w *Widget) HasManageStatusTitleSize() bool

HasManageStatusTitleSize returns a boolean if a field has been set.

func (*Widget) HasManageStatusTitleText

func (w *Widget) HasManageStatusTitleText() bool

HasManageStatusTitleText returns a boolean if a field has been set.

func (*Widget) HasMargin

func (w *Widget) HasMargin() bool

HasMargin returns a boolean if a field has been set.

func (*Widget) HasMessageDisplay

func (w *Widget) HasMessageDisplay() bool

HasMessageDisplay returns a boolean if a field has been set.

func (*Widget) HasMonitor

func (w *Widget) HasMonitor() bool

HasMonitor returns a boolean if a field has been set.

func (*Widget) HasMustShowBreakdown

func (w *Widget) HasMustShowBreakdown() bool

HasMustShowBreakdown returns a boolean if a field has been set.

func (*Widget) HasMustShowDistribution

func (w *Widget) HasMustShowDistribution() bool

HasMustShowDistribution returns a boolean if a field has been set.

func (*Widget) HasMustShowErrors

func (w *Widget) HasMustShowErrors() bool

HasMustShowErrors returns a boolean if a field has been set.

func (*Widget) HasMustShowHits

func (w *Widget) HasMustShowHits() bool

HasMustShowHits returns a boolean if a field has been set.

func (*Widget) HasMustShowLatency

func (w *Widget) HasMustShowLatency() bool

HasMustShowLatency returns a boolean if a field has been set.

func (*Widget) HasMustShowResourceList

func (w *Widget) HasMustShowResourceList() bool

HasMustShowResourceList returns a boolean if a field has been set.

func (*Widget) HasParams

func (w *Widget) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*Widget) HasPrecision

func (w *Widget) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*Widget) HasQuery

func (w *Widget) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Widget) HasServiceName

func (w *Widget) HasServiceName() bool

HasServiceName returns a boolean if a field has been set.

func (*Widget) HasServiceService

func (w *Widget) HasServiceService() bool

HasServiceService returns a boolean if a field has been set.

func (*Widget) HasShowDateColumn

func (w *Widget) HasShowDateColumn() bool

HasShowDateColumn returns a boolean if a field has been set.

func (*Widget) HasShowLastTriggered

func (w *Widget) HasShowLastTriggered() bool

HasShowLastTriggered returns a boolean if a field has been set.

func (*Widget) HasShowMessageColumn

func (w *Widget) HasShowMessageColumn() bool

HasShowMessageColumn returns a boolean if a field has been set.

func (*Widget) HasSizeVersion

func (w *Widget) HasSizeVersion() bool

HasSizeVersion returns a boolean if a field has been set.

func (*Widget) HasSizing

func (w *Widget) HasSizing() bool

HasSizing returns a boolean if a field has been set.

func (*Widget) HasSort

func (w *Widget) HasSort() bool

HasSort returns a boolean if a field has been set.

func (*Widget) HasSummaryType

func (w *Widget) HasSummaryType() bool

HasSummaryType returns a boolean if a field has been set.

func (*Widget) HasTagsExecution

func (w *Widget) HasTagsExecution() bool

HasTagsExecution returns a boolean if a field has been set.

func (*Widget) HasText

func (w *Widget) HasText() bool

HasText returns a boolean if a field has been set.

func (*Widget) HasTextAlign

func (w *Widget) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*Widget) HasTextSize

func (w *Widget) HasTextSize() bool

HasTextSize returns a boolean if a field has been set.

func (*Widget) HasTick

func (w *Widget) HasTick() bool

HasTick returns a boolean if a field has been set.

func (*Widget) HasTickEdge

func (w *Widget) HasTickEdge() bool

HasTickEdge returns a boolean if a field has been set.

func (*Widget) HasTickPos

func (w *Widget) HasTickPos() bool

HasTickPos returns a boolean if a field has been set.

func (*Widget) HasTileDef

func (w *Widget) HasTileDef() bool

HasTileDef returns a boolean if a field has been set.

func (*Widget) HasTime

func (w *Widget) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*Widget) HasTitle

func (w *Widget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Widget) HasTitleAlign

func (w *Widget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*Widget) HasTitleSize

func (w *Widget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*Widget) HasTitleText

func (w *Widget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*Widget) HasType

func (w *Widget) HasType() bool

HasType returns a boolean if a field has been set.

func (*Widget) HasURL

func (w *Widget) HasURL() bool

HasURL returns a boolean if a field has been set.

func (*Widget) HasUnit

func (w *Widget) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*Widget) HasVizType

func (w *Widget) HasVizType() bool

HasVizType returns a boolean if a field has been set.

func (*Widget) HasWidth

func (w *Widget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*Widget) HasX

func (w *Widget) HasX() bool

HasX returns a boolean if a field has been set.

func (*Widget) HasY

func (w *Widget) HasY() bool

HasY returns a boolean if a field has been set.

func (*Widget) SetAlertID

func (w *Widget) SetAlertID(v int)

SetAlertID allocates a new w.AlertID and returns the pointer to it.

func (*Widget) SetAutoRefresh

func (w *Widget) SetAutoRefresh(v bool)

SetAutoRefresh allocates a new w.AutoRefresh and returns the pointer to it.

func (*Widget) SetBgcolor

func (w *Widget) SetBgcolor(v string)

SetBgcolor allocates a new w.Bgcolor and returns the pointer to it.

func (*Widget) SetCheck

func (w *Widget) SetCheck(v string)

SetCheck allocates a new w.Check and returns the pointer to it.

func (*Widget) SetColor

func (w *Widget) SetColor(v string)

SetColor allocates a new w.Color and returns the pointer to it.

func (*Widget) SetColorPreference

func (w *Widget) SetColorPreference(v string)

SetColorPreference allocates a new w.ColorPreference and returns the pointer to it.

func (*Widget) SetColumns

func (w *Widget) SetColumns(v string)

SetColumns allocates a new w.Columns and returns the pointer to it.

func (*Widget) SetDisplayFormat

func (w *Widget) SetDisplayFormat(v string)

SetDisplayFormat allocates a new w.DisplayFormat and returns the pointer to it.

func (*Widget) SetEnv

func (w *Widget) SetEnv(v string)

SetEnv allocates a new w.Env and returns the pointer to it.

func (*Widget) SetEventSize

func (w *Widget) SetEventSize(v string)

SetEventSize allocates a new w.EventSize and returns the pointer to it.

func (*Widget) SetFontSize

func (w *Widget) SetFontSize(v string)

SetFontSize allocates a new w.FontSize and returns the pointer to it.

func (*Widget) SetGroup

func (w *Widget) SetGroup(v string)

SetGroup allocates a new w.Group and returns the pointer to it.

func (*Widget) SetGrouping

func (w *Widget) SetGrouping(v string)

SetGrouping allocates a new w.Grouping and returns the pointer to it.

func (*Widget) SetHTML

func (w *Widget) SetHTML(v string)

SetHTML allocates a new w.HTML and returns the pointer to it.

func (*Widget) SetHeight

func (w *Widget) SetHeight(v int)

SetHeight allocates a new w.Height and returns the pointer to it.

func (*Widget) SetHideZeroCounts

func (w *Widget) SetHideZeroCounts(v bool)

SetHideZeroCounts allocates a new w.HideZeroCounts and returns the pointer to it.

func (*Widget) SetLayoutVersion

func (w *Widget) SetLayoutVersion(v string)

SetLayoutVersion allocates a new w.LayoutVersion and returns the pointer to it.

func (*Widget) SetLegend

func (w *Widget) SetLegend(v bool)

SetLegend allocates a new w.Legend and returns the pointer to it.

func (*Widget) SetLegendSize

func (w *Widget) SetLegendSize(v string)

SetLegendSize allocates a new w.LegendSize and returns the pointer to it.

func (*Widget) SetLogset

func (w *Widget) SetLogset(v string)

SetLogset allocates a new w.Logset and returns the pointer to it.

func (*Widget) SetManageStatusShowTitle

func (w *Widget) SetManageStatusShowTitle(v bool)

SetManageStatusShowTitle allocates a new w.ManageStatusShowTitle and returns the pointer to it.

func (*Widget) SetManageStatusTitleAlign

func (w *Widget) SetManageStatusTitleAlign(v string)

SetManageStatusTitleAlign allocates a new w.ManageStatusTitleAlign and returns the pointer to it.

func (*Widget) SetManageStatusTitleSize

func (w *Widget) SetManageStatusTitleSize(v string)

SetManageStatusTitleSize allocates a new w.ManageStatusTitleSize and returns the pointer to it.

func (*Widget) SetManageStatusTitleText

func (w *Widget) SetManageStatusTitleText(v string)

SetManageStatusTitleText allocates a new w.ManageStatusTitleText and returns the pointer to it.

func (*Widget) SetMargin

func (w *Widget) SetMargin(v string)

SetMargin allocates a new w.Margin and returns the pointer to it.

func (*Widget) SetMessageDisplay

func (w *Widget) SetMessageDisplay(v string)

SetMessageDisplay allocates a new w.MessageDisplay and returns the pointer to it.

func (*Widget) SetMonitor

func (w *Widget) SetMonitor(v ScreenboardMonitor)

SetMonitor allocates a new w.Monitor and returns the pointer to it.

func (*Widget) SetMustShowBreakdown

func (w *Widget) SetMustShowBreakdown(v bool)

SetMustShowBreakdown allocates a new w.MustShowBreakdown and returns the pointer to it.

func (*Widget) SetMustShowDistribution

func (w *Widget) SetMustShowDistribution(v bool)

SetMustShowDistribution allocates a new w.MustShowDistribution and returns the pointer to it.

func (*Widget) SetMustShowErrors

func (w *Widget) SetMustShowErrors(v bool)

SetMustShowErrors allocates a new w.MustShowErrors and returns the pointer to it.

func (*Widget) SetMustShowHits

func (w *Widget) SetMustShowHits(v bool)

SetMustShowHits allocates a new w.MustShowHits and returns the pointer to it.

func (*Widget) SetMustShowLatency

func (w *Widget) SetMustShowLatency(v bool)

SetMustShowLatency allocates a new w.MustShowLatency and returns the pointer to it.

func (*Widget) SetMustShowResourceList

func (w *Widget) SetMustShowResourceList(v bool)

SetMustShowResourceList allocates a new w.MustShowResourceList and returns the pointer to it.

func (*Widget) SetParams

func (w *Widget) SetParams(v Params)

SetParams allocates a new w.Params and returns the pointer to it.

func (*Widget) SetPrecision

func (w *Widget) SetPrecision(v PrecisionT)

SetPrecision allocates a new w.Precision and returns the pointer to it.

func (*Widget) SetQuery

func (w *Widget) SetQuery(v string)

SetQuery allocates a new w.Query and returns the pointer to it.

func (*Widget) SetServiceName

func (w *Widget) SetServiceName(v string)

SetServiceName allocates a new w.ServiceName and returns the pointer to it.

func (*Widget) SetServiceService

func (w *Widget) SetServiceService(v string)

SetServiceService allocates a new w.ServiceService and returns the pointer to it.

func (*Widget) SetShowDateColumn

func (w *Widget) SetShowDateColumn(v bool)

SetShowDateColumn allocates a new w.ShowDateColumn and returns the pointer to it.

func (*Widget) SetShowLastTriggered

func (w *Widget) SetShowLastTriggered(v bool)

SetShowLastTriggered allocates a new w.ShowLastTriggered and returns the pointer to it.

func (*Widget) SetShowMessageColumn

func (w *Widget) SetShowMessageColumn(v bool)

SetShowMessageColumn allocates a new w.ShowMessageColumn and returns the pointer to it.

func (*Widget) SetSizeVersion

func (w *Widget) SetSizeVersion(v string)

SetSizeVersion allocates a new w.SizeVersion and returns the pointer to it.

func (*Widget) SetSizing

func (w *Widget) SetSizing(v string)

SetSizing allocates a new w.Sizing and returns the pointer to it.

func (*Widget) SetSort

func (w *Widget) SetSort(v WidgetFieldSort)

SetSort allocates a new w.Sort and returns the pointer to it.

func (*Widget) SetSummaryType

func (w *Widget) SetSummaryType(v string)

SetSummaryType allocates a new w.SummaryType and returns the pointer to it.

func (*Widget) SetTagsExecution

func (w *Widget) SetTagsExecution(v string)

SetTagsExecution allocates a new w.TagsExecution and returns the pointer to it.

func (*Widget) SetText

func (w *Widget) SetText(v string)

SetText allocates a new w.Text and returns the pointer to it.

func (*Widget) SetTextAlign

func (w *Widget) SetTextAlign(v string)

SetTextAlign allocates a new w.TextAlign and returns the pointer to it.

func (*Widget) SetTextSize

func (w *Widget) SetTextSize(v string)

SetTextSize allocates a new w.TextSize and returns the pointer to it.

func (*Widget) SetTick

func (w *Widget) SetTick(v bool)

SetTick allocates a new w.Tick and returns the pointer to it.

func (*Widget) SetTickEdge

func (w *Widget) SetTickEdge(v string)

SetTickEdge allocates a new w.TickEdge and returns the pointer to it.

func (*Widget) SetTickPos

func (w *Widget) SetTickPos(v string)

SetTickPos allocates a new w.TickPos and returns the pointer to it.

func (*Widget) SetTileDef

func (w *Widget) SetTileDef(v TileDef)

SetTileDef allocates a new w.TileDef and returns the pointer to it.

func (*Widget) SetTime

func (w *Widget) SetTime(v Time)

SetTime allocates a new w.Time and returns the pointer to it.

func (*Widget) SetTitle

func (w *Widget) SetTitle(v bool)

SetTitle allocates a new w.Title and returns the pointer to it.

func (*Widget) SetTitleAlign

func (w *Widget) SetTitleAlign(v string)

SetTitleAlign allocates a new w.TitleAlign and returns the pointer to it.

func (*Widget) SetTitleSize

func (w *Widget) SetTitleSize(v int)

SetTitleSize allocates a new w.TitleSize and returns the pointer to it.

func (*Widget) SetTitleText

func (w *Widget) SetTitleText(v string)

SetTitleText allocates a new w.TitleText and returns the pointer to it.

func (*Widget) SetType

func (w *Widget) SetType(v string)

SetType allocates a new w.Type and returns the pointer to it.

func (*Widget) SetURL

func (w *Widget) SetURL(v string)

SetURL allocates a new w.URL and returns the pointer to it.

func (*Widget) SetUnit

func (w *Widget) SetUnit(v string)

SetUnit allocates a new w.Unit and returns the pointer to it.

func (*Widget) SetVizType

func (w *Widget) SetVizType(v string)

SetVizType allocates a new w.VizType and returns the pointer to it.

func (*Widget) SetWidth

func (w *Widget) SetWidth(v int)

SetWidth allocates a new w.Width and returns the pointer to it.

func (*Widget) SetX

func (w *Widget) SetX(v int)

SetX allocates a new w.X and returns the pointer to it.

func (*Widget) SetY

func (w *Widget) SetY(v int)

SetY allocates a new w.Y and returns the pointer to it.

type WidgetApmOrLogQuery

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

func (w *WidgetApmOrLogQuery) GetCompute() ApmOrLogQueryCompute

GetCompute returns the Compute field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetComputeOk

func (w *WidgetApmOrLogQuery) GetComputeOk() (ApmOrLogQueryCompute, bool)

GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetApmOrLogQuery) GetIndex

func (w *WidgetApmOrLogQuery) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetIndexOk

func (w *WidgetApmOrLogQuery) GetIndexOk() (string, bool)

GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetApmOrLogQuery) GetSearch

GetSearch returns the Search field if non-nil, zero value otherwise.

func (*WidgetApmOrLogQuery) GetSearchOk

func (w *WidgetApmOrLogQuery) GetSearchOk() (ApmOrLogQuerySearch, bool)

GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetApmOrLogQuery) HasCompute

func (w *WidgetApmOrLogQuery) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) HasIndex

func (w *WidgetApmOrLogQuery) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) HasSearch

func (w *WidgetApmOrLogQuery) HasSearch() bool

HasSearch returns a boolean if a field has been set.

func (*WidgetApmOrLogQuery) SetCompute

func (w *WidgetApmOrLogQuery) SetCompute(v ApmOrLogQueryCompute)

SetCompute allocates a new w.Compute and returns the pointer to it.

func (*WidgetApmOrLogQuery) SetIndex

func (w *WidgetApmOrLogQuery) SetIndex(v string)

SetIndex allocates a new w.Index and returns the pointer to it.

func (*WidgetApmOrLogQuery) SetSearch

func (w *WidgetApmOrLogQuery) SetSearch(v ApmOrLogQuerySearch)

SetSearch allocates a new w.Search and returns the pointer to it.

type WidgetAxis

type WidgetAxis struct {
	Label       *string `json:"label,omitempty"`
	Scale       *string `json:"scale,omitempty"`
	Min         *string `json:"min,omitempty"`
	Max         *string `json:"max,omitempty"`
	IncludeZero *bool   `json:"include_zero,omitempty"`
}

func (*WidgetAxis) GetIncludeZero

func (w *WidgetAxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.

func (*WidgetAxis) GetIncludeZeroOk

func (w *WidgetAxis) GetIncludeZeroOk() (bool, bool)

GetIncludeZeroOk returns a tuple with the IncludeZero field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetLabel

func (w *WidgetAxis) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*WidgetAxis) GetLabelOk

func (w *WidgetAxis) GetLabelOk() (string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetMax

func (w *WidgetAxis) GetMax() string

GetMax returns the Max field if non-nil, zero value otherwise.

func (*WidgetAxis) GetMaxOk

func (w *WidgetAxis) GetMaxOk() (string, bool)

GetMaxOk returns a tuple with the Max field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetMin

func (w *WidgetAxis) GetMin() string

GetMin returns the Min field if non-nil, zero value otherwise.

func (*WidgetAxis) GetMinOk

func (w *WidgetAxis) GetMinOk() (string, bool)

GetMinOk returns a tuple with the Min field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) GetScale

func (w *WidgetAxis) GetScale() string

GetScale returns the Scale field if non-nil, zero value otherwise.

func (*WidgetAxis) GetScaleOk

func (w *WidgetAxis) GetScaleOk() (string, bool)

GetScaleOk returns a tuple with the Scale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetAxis) HasIncludeZero

func (w *WidgetAxis) HasIncludeZero() bool

HasIncludeZero returns a boolean if a field has been set.

func (*WidgetAxis) HasLabel

func (w *WidgetAxis) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetAxis) HasMax

func (w *WidgetAxis) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*WidgetAxis) HasMin

func (w *WidgetAxis) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*WidgetAxis) HasScale

func (w *WidgetAxis) HasScale() bool

HasScale returns a boolean if a field has been set.

func (*WidgetAxis) SetIncludeZero

func (w *WidgetAxis) SetIncludeZero(v bool)

SetIncludeZero allocates a new w.IncludeZero and returns the pointer to it.

func (*WidgetAxis) SetLabel

func (w *WidgetAxis) SetLabel(v string)

SetLabel allocates a new w.Label and returns the pointer to it.

func (*WidgetAxis) SetMax

func (w *WidgetAxis) SetMax(v string)

SetMax allocates a new w.Max and returns the pointer to it.

func (*WidgetAxis) SetMin

func (w *WidgetAxis) SetMin(v string)

SetMin allocates a new w.Min and returns the pointer to it.

func (*WidgetAxis) SetScale

func (w *WidgetAxis) SetScale(v string)

SetScale allocates a new w.Scale and returns the pointer to it.

type WidgetConditionalFormat

type WidgetConditionalFormat struct {
	Comparator    *string  `json:"comparator"`
	Value         *float64 `json:"value"`
	Palette       *string  `json:"palette"`
	CustomBgColor *string  `json:"custom_bg_color,omitempty"`
	CustomFgColor *string  `json:"custom_fg_color,omitempty"`
	ImageUrl      *string  `json:"image_url,omitempty"`
	HideValue     *bool    `json:"hide_value,omitempty"`
	Timeframe     *string  `json:"timeframe,omitempty"`
	Metric        *string  `json:"metric,omitempty"`
}

func (*WidgetConditionalFormat) GetComparator

func (w *WidgetConditionalFormat) GetComparator() string

GetComparator returns the Comparator field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetComparatorOk

func (w *WidgetConditionalFormat) GetComparatorOk() (string, bool)

GetComparatorOk returns a tuple with the Comparator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetCustomBgColor

func (w *WidgetConditionalFormat) GetCustomBgColor() string

GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomBgColorOk

func (w *WidgetConditionalFormat) GetCustomBgColorOk() (string, bool)

GetCustomBgColorOk returns a tuple with the CustomBgColor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetCustomFgColor

func (w *WidgetConditionalFormat) GetCustomFgColor() string

GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetCustomFgColorOk

func (w *WidgetConditionalFormat) GetCustomFgColorOk() (string, bool)

GetCustomFgColorOk returns a tuple with the CustomFgColor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetHideValue

func (w *WidgetConditionalFormat) GetHideValue() bool

GetHideValue returns the HideValue field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetHideValueOk

func (w *WidgetConditionalFormat) GetHideValueOk() (bool, bool)

GetHideValueOk returns a tuple with the HideValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetImageUrl

func (w *WidgetConditionalFormat) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetImageUrlOk

func (w *WidgetConditionalFormat) GetImageUrlOk() (string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetMetric

func (w *WidgetConditionalFormat) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetMetricOk

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

func (w *WidgetConditionalFormat) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetPaletteOk

func (w *WidgetConditionalFormat) GetPaletteOk() (string, bool)

GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetTimeframe

func (w *WidgetConditionalFormat) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetTimeframeOk

func (w *WidgetConditionalFormat) GetTimeframeOk() (string, bool)

GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) GetValue

func (w *WidgetConditionalFormat) GetValue() float64

GetValue returns the Value field if non-nil, zero value otherwise.

func (*WidgetConditionalFormat) GetValueOk

func (w *WidgetConditionalFormat) GetValueOk() (float64, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetConditionalFormat) HasComparator

func (w *WidgetConditionalFormat) HasComparator() bool

HasComparator returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasCustomBgColor

func (w *WidgetConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasCustomFgColor

func (w *WidgetConditionalFormat) HasCustomFgColor() bool

HasCustomFgColor returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasHideValue

func (w *WidgetConditionalFormat) HasHideValue() bool

HasHideValue returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasImageUrl

func (w *WidgetConditionalFormat) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasMetric

func (w *WidgetConditionalFormat) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasPalette

func (w *WidgetConditionalFormat) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasTimeframe

func (w *WidgetConditionalFormat) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*WidgetConditionalFormat) HasValue

func (w *WidgetConditionalFormat) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*WidgetConditionalFormat) SetComparator

func (w *WidgetConditionalFormat) SetComparator(v string)

SetComparator allocates a new w.Comparator and returns the pointer to it.

func (*WidgetConditionalFormat) SetCustomBgColor

func (w *WidgetConditionalFormat) SetCustomBgColor(v string)

SetCustomBgColor allocates a new w.CustomBgColor and returns the pointer to it.

func (*WidgetConditionalFormat) SetCustomFgColor

func (w *WidgetConditionalFormat) SetCustomFgColor(v string)

SetCustomFgColor allocates a new w.CustomFgColor and returns the pointer to it.

func (*WidgetConditionalFormat) SetHideValue

func (w *WidgetConditionalFormat) SetHideValue(v bool)

SetHideValue allocates a new w.HideValue and returns the pointer to it.

func (*WidgetConditionalFormat) SetImageUrl

func (w *WidgetConditionalFormat) SetImageUrl(v string)

SetImageUrl allocates a new w.ImageUrl and returns the pointer to it.

func (*WidgetConditionalFormat) SetMetric

func (w *WidgetConditionalFormat) SetMetric(v string)

SetMetric allocates a new w.Metric and returns the pointer to it.

func (*WidgetConditionalFormat) SetPalette

func (w *WidgetConditionalFormat) SetPalette(v string)

SetPalette allocates a new w.Palette and returns the pointer to it.

func (*WidgetConditionalFormat) SetTimeframe

func (w *WidgetConditionalFormat) SetTimeframe(v string)

SetTimeframe allocates a new w.Timeframe and returns the pointer to it.

func (*WidgetConditionalFormat) SetValue

func (w *WidgetConditionalFormat) SetValue(v float64)

SetValue allocates a new w.Value and returns the pointer to it.

type WidgetEvent

type WidgetEvent struct {
	Query *string `json:"q"`
}

func (*WidgetEvent) GetQuery

func (w *WidgetEvent) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

func (*WidgetEvent) GetQueryOk

func (w *WidgetEvent) GetQueryOk() (string, bool)

GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetEvent) HasQuery

func (w *WidgetEvent) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*WidgetEvent) SetQuery

func (w *WidgetEvent) SetQuery(v string)

SetQuery allocates a new w.Query and returns the pointer to it.

type WidgetFieldSort

type WidgetFieldSort struct {
	Column *string `json:"column"`
	Order  *string `json:"order"`
}

func (*WidgetFieldSort) GetColumn

func (w *WidgetFieldSort) GetColumn() string

GetColumn returns the Column field if non-nil, zero value otherwise.

func (*WidgetFieldSort) GetColumnOk

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

func (w *WidgetFieldSort) GetOrder() string

GetOrder returns the Order field if non-nil, zero value otherwise.

func (*WidgetFieldSort) GetOrderOk

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

func (w *WidgetFieldSort) HasColumn() bool

HasColumn returns a boolean if a field has been set.

func (*WidgetFieldSort) HasOrder

func (w *WidgetFieldSort) HasOrder() bool

HasOrder returns a boolean if a field has been set.

func (*WidgetFieldSort) SetColumn

func (w *WidgetFieldSort) SetColumn(v string)

SetColumn allocates a new w.Column and returns the pointer to it.

func (*WidgetFieldSort) SetOrder

func (w *WidgetFieldSort) SetOrder(v string)

SetOrder allocates a new w.Order and returns the pointer to it.

type WidgetLayout

type WidgetLayout struct {
	X      *float64 `json:"x,omitempty"`
	Y      *float64 `json:"y,omitempty"`
	Height *float64 `json:"height,omitempty"`
	Width  *float64 `json:"width,omitempty"`
}

WidgetLayout represents the layout for a widget on a "free" dashboard

func (*WidgetLayout) GetHeight

func (w *WidgetLayout) GetHeight() float64

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*WidgetLayout) GetHeightOk

func (w *WidgetLayout) GetHeightOk() (float64, bool)

GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetLayout) GetWidth

func (w *WidgetLayout) GetWidth() float64

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*WidgetLayout) GetWidthOk

func (w *WidgetLayout) GetWidthOk() (float64, bool)

GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetLayout) GetX

func (w *WidgetLayout) GetX() float64

GetX returns the X field if non-nil, zero value otherwise.

func (*WidgetLayout) GetXOk

func (w *WidgetLayout) GetXOk() (float64, bool)

GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetLayout) GetY

func (w *WidgetLayout) GetY() float64

GetY returns the Y field if non-nil, zero value otherwise.

func (*WidgetLayout) GetYOk

func (w *WidgetLayout) GetYOk() (float64, bool)

GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetLayout) HasHeight

func (w *WidgetLayout) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*WidgetLayout) HasWidth

func (w *WidgetLayout) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*WidgetLayout) HasX

func (w *WidgetLayout) HasX() bool

HasX returns a boolean if a field has been set.

func (*WidgetLayout) HasY

func (w *WidgetLayout) HasY() bool

HasY returns a boolean if a field has been set.

func (*WidgetLayout) SetHeight

func (w *WidgetLayout) SetHeight(v float64)

SetHeight allocates a new w.Height and returns the pointer to it.

func (*WidgetLayout) SetWidth

func (w *WidgetLayout) SetWidth(v float64)

SetWidth allocates a new w.Width and returns the pointer to it.

func (*WidgetLayout) SetX

func (w *WidgetLayout) SetX(v float64)

SetX allocates a new w.X and returns the pointer to it.

func (*WidgetLayout) SetY

func (w *WidgetLayout) SetY(v float64)

SetY allocates a new w.Y and returns the pointer to it.

type WidgetMarker

type WidgetMarker struct {
	Value       *string `json:"value"`
	DisplayType *string `json:"display_type,omitempty"`
	Label       *string `json:"label,omitempty"`
}

func (*WidgetMarker) GetDisplayType

func (w *WidgetMarker) GetDisplayType() string

GetDisplayType returns the DisplayType field if non-nil, zero value otherwise.

func (*WidgetMarker) GetDisplayTypeOk

func (w *WidgetMarker) GetDisplayTypeOk() (string, bool)

GetDisplayTypeOk returns a tuple with the DisplayType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) GetLabel

func (w *WidgetMarker) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

func (*WidgetMarker) GetLabelOk

func (w *WidgetMarker) GetLabelOk() (string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) GetValue

func (w *WidgetMarker) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

func (*WidgetMarker) GetValueOk

func (w *WidgetMarker) GetValueOk() (string, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetMarker) HasDisplayType

func (w *WidgetMarker) HasDisplayType() bool

HasDisplayType returns a boolean if a field has been set.

func (*WidgetMarker) HasLabel

func (w *WidgetMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*WidgetMarker) HasValue

func (w *WidgetMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*WidgetMarker) SetDisplayType

func (w *WidgetMarker) SetDisplayType(v string)

SetDisplayType allocates a new w.DisplayType and returns the pointer to it.

func (*WidgetMarker) SetLabel

func (w *WidgetMarker) SetLabel(v string)

SetLabel allocates a new w.Label and returns the pointer to it.

func (*WidgetMarker) SetValue

func (w *WidgetMarker) SetValue(v string)

SetValue allocates a new w.Value and returns the pointer to it.

type WidgetMetadata

type WidgetMetadata struct {
	Expression *string `json:"expression"`
	AliasName  *string `json:"alias_name,omitempty"`
}

func (*WidgetMetadata) GetAliasName

func (w *WidgetMetadata) GetAliasName() string

GetAliasName returns the AliasName field if non-nil, zero value otherwise.

func (*WidgetMetadata) GetAliasNameOk

func (w *WidgetMetadata) GetAliasNameOk() (string, bool)

GetAliasNameOk returns a tuple with the AliasName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetMetadata) GetExpression

func (w *WidgetMetadata) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

func (*WidgetMetadata) GetExpressionOk

func (w *WidgetMetadata) GetExpressionOk() (string, bool)

GetExpressionOk returns a tuple with the Expression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetMetadata) HasAliasName

func (w *WidgetMetadata) HasAliasName() bool

HasAliasName returns a boolean if a field has been set.

func (*WidgetMetadata) HasExpression

func (w *WidgetMetadata) HasExpression() bool

HasExpression returns a boolean if a field has been set.

func (*WidgetMetadata) SetAliasName

func (w *WidgetMetadata) SetAliasName(v string)

SetAliasName allocates a new w.AliasName and returns the pointer to it.

func (*WidgetMetadata) SetExpression

func (w *WidgetMetadata) SetExpression(v string)

SetExpression allocates a new w.Expression and returns the pointer to it.

type WidgetProcessQuery

type WidgetProcessQuery struct {
	Metric   *string  `json:"metric"`
	SearchBy *string  `json:"search_by,omitempty"`
	FilterBy []string `json:"filter_by,omitempty"`
	Limit    *int     `json:"limit,omitempty"`
}

WidgetProcessQuery represents a Process query

func (*WidgetProcessQuery) GetLimit

func (w *WidgetProcessQuery) GetLimit() int

GetLimit returns the Limit field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetLimitOk

func (w *WidgetProcessQuery) GetLimitOk() (int, bool)

GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetProcessQuery) GetMetric

func (w *WidgetProcessQuery) GetMetric() string

GetMetric returns the Metric field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetMetricOk

func (w *WidgetProcessQuery) GetMetricOk() (string, bool)

GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetProcessQuery) GetSearchBy

func (w *WidgetProcessQuery) GetSearchBy() string

GetSearchBy returns the SearchBy field if non-nil, zero value otherwise.

func (*WidgetProcessQuery) GetSearchByOk

func (w *WidgetProcessQuery) GetSearchByOk() (string, bool)

GetSearchByOk returns a tuple with the SearchBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetProcessQuery) HasLimit

func (w *WidgetProcessQuery) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*WidgetProcessQuery) HasMetric

func (w *WidgetProcessQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*WidgetProcessQuery) HasSearchBy

func (w *WidgetProcessQuery) HasSearchBy() bool

HasSearchBy returns a boolean if a field has been set.

func (*WidgetProcessQuery) SetLimit

func (w *WidgetProcessQuery) SetLimit(v int)

SetLimit allocates a new w.Limit and returns the pointer to it.

func (*WidgetProcessQuery) SetMetric

func (w *WidgetProcessQuery) SetMetric(v string)

SetMetric allocates a new w.Metric and returns the pointer to it.

func (*WidgetProcessQuery) SetSearchBy

func (w *WidgetProcessQuery) SetSearchBy(v string)

SetSearchBy allocates a new w.SearchBy and returns the pointer to it.

type WidgetRequestStyle

type WidgetRequestStyle struct {
	Palette *string `json:"palette,omitempty"`
}

WidgetRequestStyle represents the style that can be apply to a request

func (*WidgetRequestStyle) GetPalette

func (w *WidgetRequestStyle) GetPalette() string

GetPalette returns the Palette field if non-nil, zero value otherwise.

func (*WidgetRequestStyle) GetPaletteOk

func (w *WidgetRequestStyle) GetPaletteOk() (string, bool)

GetPaletteOk returns a tuple with the Palette field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetRequestStyle) HasPalette

func (w *WidgetRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*WidgetRequestStyle) SetPalette

func (w *WidgetRequestStyle) SetPalette(v string)

SetPalette allocates a new w.Palette and returns the pointer to it.

type WidgetTime

type WidgetTime struct {
	LiveSpan *string `json:"live_span,omitempty"`
}

func (*WidgetTime) GetLiveSpan

func (w *WidgetTime) GetLiveSpan() string

GetLiveSpan returns the LiveSpan field if non-nil, zero value otherwise.

func (*WidgetTime) GetLiveSpanOk

func (w *WidgetTime) GetLiveSpanOk() (string, bool)

GetLiveSpanOk returns a tuple with the LiveSpan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

func (*WidgetTime) HasLiveSpan

func (w *WidgetTime) HasLiveSpan() bool

HasLiveSpan returns a boolean if a field has been set.

func (*WidgetTime) SetLiveSpan

func (w *WidgetTime) SetLiveSpan(v string)

SetLiveSpan allocates a new w.LiveSpan and returns the pointer to it.

type Yaxis

type Yaxis struct {
	Min          *float64 `json:"min,omitempty"`
	AutoMin      bool     `json:"-"`
	Max          *float64 `json:"max,omitempty"`
	AutoMax      bool     `json:"-"`
	Scale        *string  `json:"scale,omitempty"`
	IncludeZero  *bool    `json:"includeZero,omitempty"`
	IncludeUnits *bool    `json:"units,omitempty"`
}

func (*Yaxis) GetIncludeUnits

func (y *Yaxis) GetIncludeUnits() bool

GetIncludeUnits returns the IncludeUnits field if non-nil, zero value otherwise.

func (*Yaxis) GetIncludeUnitsOk

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

func (y *Yaxis) GetIncludeZero() bool

GetIncludeZero returns the IncludeZero field if non-nil, zero value otherwise.

func (*Yaxis) GetIncludeZeroOk

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

func (y *Yaxis) HasIncludeUnits() bool

HasIncludeUnits returns a boolean if a field has been set.

func (*Yaxis) HasIncludeZero

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

func (y *Yaxis) SetIncludeUnits(v bool)

SetIncludeUnits allocates a new y.IncludeUnits and returns the pointer to it.

func (*Yaxis) SetIncludeZero

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

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