go-datadog-api.v2: gopkg.in/zorkian/go-datadog-api.v2 Index | Files | Directories

package datadog

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

Index

Package Files

alerts.go checks.go client.go comments.go dashboards.go datadog-accessors.go downtimes.go events.go generate.go helpers.go metric_metadata.go monitors.go request.go screen_widgets.go screenboards.go search.go series.go snapshot.go tags.go users.go

func Bool Uses

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 GetBool Uses

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 GetIntOk Uses

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

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

func GetJsonNumberOk Uses

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

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

func GetStringOk Uses

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

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

func Int Uses

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 JsonNumber Uses

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 String Uses

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.

type Alert Uses

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 Uses

func (a *Alert) GetCreator() int

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

func (*Alert) GetCreatorOk Uses

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

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

func (*Alert) GetId Uses

func (a *Alert) GetId() int

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

func (*Alert) GetIdOk Uses

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

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

func (*Alert) GetMessage Uses

func (a *Alert) GetMessage() string

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

func (*Alert) GetMessageOk Uses

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

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

func (*Alert) GetName Uses

func (a *Alert) GetName() string

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

func (*Alert) GetNameOk Uses

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

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

func (*Alert) GetNotifyNoData Uses

func (a *Alert) GetNotifyNoData() bool

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

func (*Alert) GetNotifyNoDataOk Uses

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

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

func (*Alert) GetQuery Uses

func (a *Alert) GetQuery() string

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

func (*Alert) GetQueryOk Uses

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

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

func (*Alert) GetSilenced Uses

func (a *Alert) GetSilenced() bool

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

func (*Alert) GetSilencedOk Uses

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

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

func (*Alert) GetState Uses

func (a *Alert) GetState() string

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

func (*Alert) GetStateOk Uses

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

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

func (*Alert) HasCreator Uses

func (a *Alert) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Alert) HasId Uses

func (a *Alert) HasId() bool

HasId returns a boolean if a field has been set.

func (*Alert) HasMessage Uses

func (a *Alert) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Alert) HasName Uses

func (a *Alert) HasName() bool

HasName returns a boolean if a field has been set.

func (*Alert) HasNotifyNoData Uses

func (a *Alert) HasNotifyNoData() bool

HasNotifyNoData returns a boolean if a field has been set.

func (*Alert) HasQuery Uses

func (a *Alert) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Alert) HasSilenced Uses

func (a *Alert) HasSilenced() bool

HasSilenced returns a boolean if a field has been set.

func (*Alert) HasState Uses

func (a *Alert) HasState() bool

HasState returns a boolean if a field has been set.

func (*Alert) SetCreator Uses

func (a *Alert) SetCreator(v int)

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

func (*Alert) SetId Uses

func (a *Alert) SetId(v int)

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

func (*Alert) SetMessage Uses

func (a *Alert) SetMessage(v string)

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

func (*Alert) SetName Uses

func (a *Alert) SetName(v string)

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

func (*Alert) SetNotifyNoData Uses

func (a *Alert) SetNotifyNoData(v bool)

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

func (*Alert) SetQuery Uses

func (a *Alert) SetQuery(v string)

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

func (*Alert) SetSilenced Uses

func (a *Alert) SetSilenced(v bool)

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

func (*Alert) SetState Uses

func (a *Alert) SetState(v string)

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

type AlertGraphWidget Uses

type AlertGraphWidget struct {
    TitleSize    *int    `json:"title_size,omitempty"`
    VizType      *string `json:"timeseries,omitempty"`
    Title        *bool   `json:"title,omitempty"`
    TitleAlign   *string `json:"title_align,omitempty"`
    TitleText    *string `json:"title_text,omitempty"`
    Height       *int    `json:"height,omitempty"`
    Width        *int    `json:"width,omitempty"`
    X            *int    `json:"y,omitempty"`
    Y            *int    `json:"x,omitempty"`
    AlertId      *int    `json:"alert_id,omitempty"`
    Timeframe    *string `json:"timeframe,omitempty"`
    Type         *string `json:"type,omitempty"`
    AddTimeframe *bool   `json:"add_timeframe,omitempty"`
}

func (*AlertGraphWidget) GetAddTimeframe Uses

func (a *AlertGraphWidget) GetAddTimeframe() bool

GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetAddTimeframeOk Uses

func (a *AlertGraphWidget) GetAddTimeframeOk() (bool, bool)

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

func (*AlertGraphWidget) GetAlertId Uses

func (a *AlertGraphWidget) GetAlertId() int

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

func (*AlertGraphWidget) GetAlertIdOk Uses

func (a *AlertGraphWidget) GetAlertIdOk() (int, bool)

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

func (*AlertGraphWidget) GetHeight Uses

func (a *AlertGraphWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetHeightOk Uses

func (a *AlertGraphWidget) GetHeightOk() (int, bool)

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

func (*AlertGraphWidget) GetTimeframe Uses

func (a *AlertGraphWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetTimeframeOk Uses

func (a *AlertGraphWidget) GetTimeframeOk() (string, bool)

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

func (*AlertGraphWidget) GetTitle Uses

func (a *AlertGraphWidget) GetTitle() bool

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

func (*AlertGraphWidget) GetTitleAlign Uses

func (a *AlertGraphWidget) GetTitleAlign() string

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

func (*AlertGraphWidget) GetTitleAlignOk Uses

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

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

func (*AlertGraphWidget) GetTitleOk Uses

func (a *AlertGraphWidget) GetTitleOk() (bool, bool)

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

func (*AlertGraphWidget) GetTitleSize Uses

func (a *AlertGraphWidget) GetTitleSize() int

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

func (*AlertGraphWidget) GetTitleSizeOk Uses

func (a *AlertGraphWidget) GetTitleSizeOk() (int, bool)

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

func (*AlertGraphWidget) GetTitleText Uses

func (a *AlertGraphWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetTitleTextOk Uses

func (a *AlertGraphWidget) GetTitleTextOk() (string, bool)

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

func (*AlertGraphWidget) GetType Uses

func (a *AlertGraphWidget) GetType() string

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

func (*AlertGraphWidget) GetTypeOk Uses

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

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

func (*AlertGraphWidget) GetVizType Uses

func (a *AlertGraphWidget) GetVizType() string

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

func (*AlertGraphWidget) GetVizTypeOk Uses

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

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

func (*AlertGraphWidget) GetWidth Uses

func (a *AlertGraphWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetWidthOk Uses

func (a *AlertGraphWidget) GetWidthOk() (int, bool)

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

func (*AlertGraphWidget) GetX Uses

func (a *AlertGraphWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetXOk Uses

func (a *AlertGraphWidget) GetXOk() (int, bool)

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

func (*AlertGraphWidget) GetY Uses

func (a *AlertGraphWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*AlertGraphWidget) GetYOk Uses

func (a *AlertGraphWidget) GetYOk() (int, bool)

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

func (*AlertGraphWidget) HasAddTimeframe Uses

func (a *AlertGraphWidget) HasAddTimeframe() bool

HasAddTimeframe returns a boolean if a field has been set.

func (*AlertGraphWidget) HasAlertId Uses

func (a *AlertGraphWidget) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertGraphWidget) HasHeight Uses

func (a *AlertGraphWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*AlertGraphWidget) HasTimeframe Uses

func (a *AlertGraphWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*AlertGraphWidget) HasTitle Uses

func (a *AlertGraphWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertGraphWidget) HasTitleAlign Uses

func (a *AlertGraphWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertGraphWidget) HasTitleSize Uses

func (a *AlertGraphWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertGraphWidget) HasTitleText Uses

func (a *AlertGraphWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*AlertGraphWidget) HasType Uses

func (a *AlertGraphWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertGraphWidget) HasVizType Uses

func (a *AlertGraphWidget) HasVizType() bool

HasVizType returns a boolean if a field has been set.

func (*AlertGraphWidget) HasWidth Uses

func (a *AlertGraphWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*AlertGraphWidget) HasX Uses

func (a *AlertGraphWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*AlertGraphWidget) HasY Uses

func (a *AlertGraphWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*AlertGraphWidget) SetAddTimeframe Uses

func (a *AlertGraphWidget) SetAddTimeframe(v bool)

GetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.

func (*AlertGraphWidget) SetAlertId Uses

func (a *AlertGraphWidget) SetAlertId(v int)

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

func (*AlertGraphWidget) SetHeight Uses

func (a *AlertGraphWidget) SetHeight(v int)

GetHeight allocates a new a.Height and returns the pointer to it.

func (*AlertGraphWidget) SetTimeframe Uses

func (a *AlertGraphWidget) SetTimeframe(v string)

GetTimeframe allocates a new a.Timeframe and returns the pointer to it.

func (*AlertGraphWidget) SetTitle Uses

func (a *AlertGraphWidget) SetTitle(v bool)

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

func (*AlertGraphWidget) SetTitleAlign Uses

func (a *AlertGraphWidget) SetTitleAlign(v string)

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

func (*AlertGraphWidget) SetTitleSize Uses

func (a *AlertGraphWidget) SetTitleSize(v int)

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

func (*AlertGraphWidget) SetTitleText Uses

func (a *AlertGraphWidget) SetTitleText(v string)

GetTitleText allocates a new a.TitleText and returns the pointer to it.

func (*AlertGraphWidget) SetType Uses

func (a *AlertGraphWidget) SetType(v string)

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

func (*AlertGraphWidget) SetVizType Uses

func (a *AlertGraphWidget) SetVizType(v string)

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

func (*AlertGraphWidget) SetWidth Uses

func (a *AlertGraphWidget) SetWidth(v int)

GetWidth allocates a new a.Width and returns the pointer to it.

func (*AlertGraphWidget) SetX Uses

func (a *AlertGraphWidget) SetX(v int)

GetX allocates a new a.X and returns the pointer to it.

func (*AlertGraphWidget) SetY Uses

func (a *AlertGraphWidget) SetY(v int)

GetY allocates a new a.Y and returns the pointer to it.

type AlertValueWidget Uses

type AlertValueWidget struct {
    TitleSize    *int    `json:"title_size,omitempty"`
    Title        *bool   `json:"title,omitempty"`
    TitleAlign   *string `json:"title_align,omitempty"`
    TextAlign    *string `json:"text_align,omitempty"`
    TitleText    *string `json:"title_text,omitempty"`
    Precision    *int    `json:"precision,omitempty"`
    AlertId      *int    `json:"alert_id,omitempty"`
    Timeframe    *string `json:"timeframe,omitempty"`
    AddTimeframe *bool   `json:"add_timeframe,omitempty"`
    Y            *int    `json:"y,omitempty"`
    X            *int    `json:"x,omitempty"`
    TextSize     *string `json:"text_size,omitempty"`
    Height       *int    `json:"height,omitempty"`
    Width        *int    `json:"width,omitempty"`
    Type         *string `json:"type,omitempty"`
    Unit         *string `json:"unit,omitempty"`
}

func (*AlertValueWidget) GetAddTimeframe Uses

func (a *AlertValueWidget) GetAddTimeframe() bool

GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetAddTimeframeOk Uses

func (a *AlertValueWidget) GetAddTimeframeOk() (bool, bool)

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

func (*AlertValueWidget) GetAlertId Uses

func (a *AlertValueWidget) GetAlertId() int

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

func (*AlertValueWidget) GetAlertIdOk Uses

func (a *AlertValueWidget) GetAlertIdOk() (int, bool)

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

func (*AlertValueWidget) GetHeight Uses

func (a *AlertValueWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetHeightOk Uses

func (a *AlertValueWidget) GetHeightOk() (int, bool)

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

func (*AlertValueWidget) GetPrecision Uses

func (a *AlertValueWidget) GetPrecision() int

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

func (*AlertValueWidget) GetPrecisionOk Uses

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

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

func (*AlertValueWidget) GetTextAlign Uses

func (a *AlertValueWidget) GetTextAlign() string

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

func (*AlertValueWidget) GetTextAlignOk Uses

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

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

func (*AlertValueWidget) GetTextSize Uses

func (a *AlertValueWidget) GetTextSize() string

GetTextSize returns the TextSize field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetTextSizeOk Uses

func (a *AlertValueWidget) GetTextSizeOk() (string, bool)

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

func (*AlertValueWidget) GetTimeframe Uses

func (a *AlertValueWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetTimeframeOk Uses

func (a *AlertValueWidget) GetTimeframeOk() (string, bool)

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

func (*AlertValueWidget) GetTitle Uses

func (a *AlertValueWidget) GetTitle() bool

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

func (*AlertValueWidget) GetTitleAlign Uses

func (a *AlertValueWidget) GetTitleAlign() string

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

func (*AlertValueWidget) GetTitleAlignOk Uses

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

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

func (*AlertValueWidget) GetTitleOk Uses

func (a *AlertValueWidget) GetTitleOk() (bool, bool)

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

func (*AlertValueWidget) GetTitleSize Uses

func (a *AlertValueWidget) GetTitleSize() int

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

func (*AlertValueWidget) GetTitleSizeOk Uses

func (a *AlertValueWidget) GetTitleSizeOk() (int, bool)

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

func (*AlertValueWidget) GetTitleText Uses

func (a *AlertValueWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetTitleTextOk Uses

func (a *AlertValueWidget) GetTitleTextOk() (string, bool)

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

func (*AlertValueWidget) GetType Uses

func (a *AlertValueWidget) GetType() string

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

func (*AlertValueWidget) GetTypeOk Uses

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

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

func (*AlertValueWidget) GetUnit Uses

func (a *AlertValueWidget) GetUnit() string

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

func (*AlertValueWidget) GetUnitOk Uses

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

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

func (*AlertValueWidget) GetWidth Uses

func (a *AlertValueWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetWidthOk Uses

func (a *AlertValueWidget) GetWidthOk() (int, bool)

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

func (*AlertValueWidget) GetX Uses

func (a *AlertValueWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetXOk Uses

func (a *AlertValueWidget) GetXOk() (int, bool)

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

func (*AlertValueWidget) GetY Uses

func (a *AlertValueWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*AlertValueWidget) GetYOk Uses

func (a *AlertValueWidget) GetYOk() (int, bool)

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

func (*AlertValueWidget) HasAddTimeframe Uses

func (a *AlertValueWidget) HasAddTimeframe() bool

HasAddTimeframe returns a boolean if a field has been set.

func (*AlertValueWidget) HasAlertId Uses

func (a *AlertValueWidget) HasAlertId() bool

HasAlertId returns a boolean if a field has been set.

func (*AlertValueWidget) HasHeight Uses

func (a *AlertValueWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*AlertValueWidget) HasPrecision Uses

func (a *AlertValueWidget) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*AlertValueWidget) HasTextAlign Uses

func (a *AlertValueWidget) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*AlertValueWidget) HasTextSize Uses

func (a *AlertValueWidget) HasTextSize() bool

HasTextSize returns a boolean if a field has been set.

func (*AlertValueWidget) HasTimeframe Uses

func (a *AlertValueWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*AlertValueWidget) HasTitle Uses

func (a *AlertValueWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*AlertValueWidget) HasTitleAlign Uses

func (a *AlertValueWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*AlertValueWidget) HasTitleSize Uses

func (a *AlertValueWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*AlertValueWidget) HasTitleText Uses

func (a *AlertValueWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*AlertValueWidget) HasType Uses

func (a *AlertValueWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertValueWidget) HasUnit Uses

func (a *AlertValueWidget) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*AlertValueWidget) HasWidth Uses

func (a *AlertValueWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*AlertValueWidget) HasX Uses

func (a *AlertValueWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*AlertValueWidget) HasY Uses

func (a *AlertValueWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*AlertValueWidget) SetAddTimeframe Uses

func (a *AlertValueWidget) SetAddTimeframe(v bool)

GetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.

func (*AlertValueWidget) SetAlertId Uses

func (a *AlertValueWidget) SetAlertId(v int)

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

func (*AlertValueWidget) SetHeight Uses

func (a *AlertValueWidget) SetHeight(v int)

GetHeight allocates a new a.Height and returns the pointer to it.

func (*AlertValueWidget) SetPrecision Uses

func (a *AlertValueWidget) SetPrecision(v int)

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

func (*AlertValueWidget) SetTextAlign Uses

func (a *AlertValueWidget) SetTextAlign(v string)

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

func (*AlertValueWidget) SetTextSize Uses

func (a *AlertValueWidget) SetTextSize(v string)

GetTextSize allocates a new a.TextSize and returns the pointer to it.

func (*AlertValueWidget) SetTimeframe Uses

func (a *AlertValueWidget) SetTimeframe(v string)

GetTimeframe allocates a new a.Timeframe and returns the pointer to it.

func (*AlertValueWidget) SetTitle Uses

func (a *AlertValueWidget) SetTitle(v bool)

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

func (*AlertValueWidget) SetTitleAlign Uses

func (a *AlertValueWidget) SetTitleAlign(v string)

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

func (*AlertValueWidget) SetTitleSize Uses

func (a *AlertValueWidget) SetTitleSize(v int)

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

func (*AlertValueWidget) SetTitleText Uses

func (a *AlertValueWidget) SetTitleText(v string)

GetTitleText allocates a new a.TitleText and returns the pointer to it.

func (*AlertValueWidget) SetType Uses

func (a *AlertValueWidget) SetType(v string)

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

func (*AlertValueWidget) SetUnit Uses

func (a *AlertValueWidget) SetUnit(v string)

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

func (*AlertValueWidget) SetWidth Uses

func (a *AlertValueWidget) SetWidth(v int)

GetWidth allocates a new a.Width and returns the pointer to it.

func (*AlertValueWidget) SetX Uses

func (a *AlertValueWidget) SetX(v int)

GetX allocates a new a.X and returns the pointer to it.

func (*AlertValueWidget) SetY Uses

func (a *AlertValueWidget) SetY(v int)

GetY allocates a new a.Y and returns the pointer to it.

type ChangeWidget Uses

type ChangeWidget struct {
    TitleSize  *int     `json:"title_size,omitempty"`
    Title      *bool    `json:"title,omitempty"`
    TitleAlign *string  `json:"title_align,omitempty"`
    TitleText  *string  `json:"title_text,omitempty"`
    Height     *int     `json:"height,omitempty"`
    Width      *int     `json:"width,omitempty"`
    X          *int     `json:"y,omitempty"`
    Y          *int     `json:"x,omitempty"`
    Aggregator *string  `json:"aggregator,omitempty"`
    TileDef    *TileDef `json:"tile_def,omitempty"`
}

func (*ChangeWidget) GetAggregator Uses

func (c *ChangeWidget) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*ChangeWidget) GetAggregatorOk Uses

func (c *ChangeWidget) GetAggregatorOk() (string, bool)

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

func (*ChangeWidget) GetHeight Uses

func (c *ChangeWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*ChangeWidget) GetHeightOk Uses

func (c *ChangeWidget) GetHeightOk() (int, bool)

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

func (*ChangeWidget) GetTileDef Uses

func (c *ChangeWidget) GetTileDef() TileDef

GetTileDef returns the TileDef field if non-nil, zero value otherwise.

func (*ChangeWidget) GetTileDefOk Uses

func (c *ChangeWidget) GetTileDefOk() (TileDef, bool)

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

func (*ChangeWidget) GetTitle Uses

func (c *ChangeWidget) GetTitle() bool

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

func (*ChangeWidget) GetTitleAlign Uses

func (c *ChangeWidget) GetTitleAlign() string

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

func (*ChangeWidget) GetTitleAlignOk Uses

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

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

func (*ChangeWidget) GetTitleOk Uses

func (c *ChangeWidget) GetTitleOk() (bool, bool)

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

func (*ChangeWidget) GetTitleSize Uses

func (c *ChangeWidget) GetTitleSize() int

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

func (*ChangeWidget) GetTitleSizeOk Uses

func (c *ChangeWidget) GetTitleSizeOk() (int, bool)

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

func (*ChangeWidget) GetTitleText Uses

func (c *ChangeWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*ChangeWidget) GetTitleTextOk Uses

func (c *ChangeWidget) GetTitleTextOk() (string, bool)

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

func (*ChangeWidget) GetWidth Uses

func (c *ChangeWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*ChangeWidget) GetWidthOk Uses

func (c *ChangeWidget) GetWidthOk() (int, bool)

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

func (*ChangeWidget) GetX Uses

func (c *ChangeWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*ChangeWidget) GetXOk Uses

func (c *ChangeWidget) GetXOk() (int, bool)

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

func (*ChangeWidget) GetY Uses

func (c *ChangeWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*ChangeWidget) GetYOk Uses

func (c *ChangeWidget) GetYOk() (int, bool)

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

func (*ChangeWidget) HasAggregator Uses

func (c *ChangeWidget) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*ChangeWidget) HasHeight Uses

func (c *ChangeWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*ChangeWidget) HasTileDef Uses

func (c *ChangeWidget) HasTileDef() bool

HasTileDef returns a boolean if a field has been set.

func (*ChangeWidget) HasTitle Uses

func (c *ChangeWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ChangeWidget) HasTitleAlign Uses

func (c *ChangeWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*ChangeWidget) HasTitleSize Uses

func (c *ChangeWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*ChangeWidget) HasTitleText Uses

func (c *ChangeWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*ChangeWidget) HasWidth Uses

func (c *ChangeWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*ChangeWidget) HasX Uses

func (c *ChangeWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*ChangeWidget) HasY Uses

func (c *ChangeWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*ChangeWidget) SetAggregator Uses

func (c *ChangeWidget) SetAggregator(v string)

GetAggregator allocates a new c.Aggregator and returns the pointer to it.

func (*ChangeWidget) SetHeight Uses

func (c *ChangeWidget) SetHeight(v int)

GetHeight allocates a new c.Height and returns the pointer to it.

func (*ChangeWidget) SetTileDef Uses

func (c *ChangeWidget) SetTileDef(v TileDef)

GetTileDef allocates a new c.TileDef and returns the pointer to it.

func (*ChangeWidget) SetTitle Uses

func (c *ChangeWidget) SetTitle(v bool)

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

func (*ChangeWidget) SetTitleAlign Uses

func (c *ChangeWidget) SetTitleAlign(v string)

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

func (*ChangeWidget) SetTitleSize Uses

func (c *ChangeWidget) SetTitleSize(v int)

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

func (*ChangeWidget) SetTitleText Uses

func (c *ChangeWidget) SetTitleText(v string)

GetTitleText allocates a new c.TitleText and returns the pointer to it.

func (*ChangeWidget) SetWidth Uses

func (c *ChangeWidget) SetWidth(v int)

GetWidth allocates a new c.Width and returns the pointer to it.

func (*ChangeWidget) SetX Uses

func (c *ChangeWidget) SetX(v int)

GetX allocates a new c.X and returns the pointer to it.

func (*ChangeWidget) SetY Uses

func (c *ChangeWidget) SetY(v int)

GetY allocates a new c.Y and returns the pointer to it.

type Check Uses

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 Uses

func (c *Check) GetCheck() string

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

func (*Check) GetCheckOk Uses

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

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

func (*Check) GetHostName Uses

func (c *Check) GetHostName() string

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

func (*Check) GetHostNameOk Uses

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

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

func (*Check) GetMessage Uses

func (c *Check) GetMessage() string

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

func (*Check) GetMessageOk Uses

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

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

func (*Check) GetStatus Uses

func (c *Check) GetStatus() Status

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

func (*Check) GetStatusOk Uses

func (c *Check) GetStatusOk() (Status, bool)

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

func (*Check) GetTimestamp Uses

func (c *Check) GetTimestamp() string

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

func (*Check) GetTimestampOk Uses

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

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

func (*Check) HasCheck Uses

func (c *Check) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*Check) HasHostName Uses

func (c *Check) HasHostName() bool

HasHostName returns a boolean if a field has been set.

func (*Check) HasMessage Uses

func (c *Check) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Check) HasStatus Uses

func (c *Check) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Check) HasTimestamp Uses

func (c *Check) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*Check) SetCheck Uses

func (c *Check) SetCheck(v string)

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

func (*Check) SetHostName Uses

func (c *Check) SetHostName(v string)

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

func (*Check) SetMessage Uses

func (c *Check) SetMessage(v string)

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

func (*Check) SetStatus Uses

func (c *Check) SetStatus(v Status)

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

func (*Check) SetTimestamp Uses

func (c *Check) SetTimestamp(v string)

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

type CheckStatusWidget Uses

type CheckStatusWidget struct {
    TitleSize  *int    `json:"title_size,omitempty"`
    Title      *bool   `json:"title,omitempty"`
    TitleAlign *string `json:"title_align,omitempty"`
    TextAlign  *string `json:"text_align,omitempty"`
    TitleText  *string `json:"title_text,omitempty"`
    Height     *int    `json:"height,omitempty"`
    Width      *int    `json:"width,omitempty"`
    X          *int    `json:"y,omitempty"`
    Y          *int    `json:"x,omitempty"`
    Tags       *string `json:"tags,omitempty"`
    Timeframe  *string `json:"timeframe,omitempty"`
    TextSize   *string `json:"text_size,omitempty"`
    Type       *string `json:"type,omitempty"`
    Check      *string `json:"check,omitempty"`
    Group      *string `json:"group,omitempty"`
    Grouping   *string `json:"grouping,omitempty"`
}

func (*CheckStatusWidget) GetCheck Uses

func (c *CheckStatusWidget) GetCheck() string

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

func (*CheckStatusWidget) GetCheckOk Uses

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

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

func (*CheckStatusWidget) GetGroup Uses

func (c *CheckStatusWidget) GetGroup() string

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

func (*CheckStatusWidget) GetGroupOk Uses

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

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

func (*CheckStatusWidget) GetGrouping Uses

func (c *CheckStatusWidget) GetGrouping() string

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

func (*CheckStatusWidget) GetGroupingOk Uses

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

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

func (*CheckStatusWidget) GetHeight Uses

func (c *CheckStatusWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetHeightOk Uses

func (c *CheckStatusWidget) GetHeightOk() (int, bool)

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

func (*CheckStatusWidget) GetTags Uses

func (c *CheckStatusWidget) GetTags() string

GetTags returns the Tags field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetTagsOk Uses

func (c *CheckStatusWidget) GetTagsOk() (string, bool)

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

func (*CheckStatusWidget) GetTextAlign Uses

func (c *CheckStatusWidget) GetTextAlign() string

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

func (*CheckStatusWidget) GetTextAlignOk Uses

func (c *CheckStatusWidget) GetTextAlignOk() (string, bool)

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

func (*CheckStatusWidget) GetTextSize Uses

func (c *CheckStatusWidget) GetTextSize() string

GetTextSize returns the TextSize field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetTextSizeOk Uses

func (c *CheckStatusWidget) GetTextSizeOk() (string, bool)

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

func (*CheckStatusWidget) GetTimeframe Uses

func (c *CheckStatusWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetTimeframeOk Uses

func (c *CheckStatusWidget) GetTimeframeOk() (string, bool)

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

func (*CheckStatusWidget) GetTitle Uses

func (c *CheckStatusWidget) GetTitle() bool

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

func (*CheckStatusWidget) GetTitleAlign Uses

func (c *CheckStatusWidget) GetTitleAlign() string

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

func (*CheckStatusWidget) GetTitleAlignOk Uses

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

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

func (*CheckStatusWidget) GetTitleOk Uses

func (c *CheckStatusWidget) GetTitleOk() (bool, bool)

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

func (*CheckStatusWidget) GetTitleSize Uses

func (c *CheckStatusWidget) GetTitleSize() int

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

func (*CheckStatusWidget) GetTitleSizeOk Uses

func (c *CheckStatusWidget) GetTitleSizeOk() (int, bool)

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

func (*CheckStatusWidget) GetTitleText Uses

func (c *CheckStatusWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetTitleTextOk Uses

func (c *CheckStatusWidget) GetTitleTextOk() (string, bool)

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

func (*CheckStatusWidget) GetType Uses

func (c *CheckStatusWidget) GetType() string

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

func (*CheckStatusWidget) GetTypeOk Uses

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

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

func (*CheckStatusWidget) GetWidth Uses

func (c *CheckStatusWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetWidthOk Uses

func (c *CheckStatusWidget) GetWidthOk() (int, bool)

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

func (*CheckStatusWidget) GetX Uses

func (c *CheckStatusWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetXOk Uses

func (c *CheckStatusWidget) GetXOk() (int, bool)

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

func (*CheckStatusWidget) GetY Uses

func (c *CheckStatusWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*CheckStatusWidget) GetYOk Uses

func (c *CheckStatusWidget) GetYOk() (int, bool)

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

func (*CheckStatusWidget) HasCheck Uses

func (c *CheckStatusWidget) HasCheck() bool

HasCheck returns a boolean if a field has been set.

func (*CheckStatusWidget) HasGroup Uses

func (c *CheckStatusWidget) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*CheckStatusWidget) HasGrouping Uses

func (c *CheckStatusWidget) HasGrouping() bool

HasGrouping returns a boolean if a field has been set.

func (*CheckStatusWidget) HasHeight Uses

func (c *CheckStatusWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTags Uses

func (c *CheckStatusWidget) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTextAlign Uses

func (c *CheckStatusWidget) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTextSize Uses

func (c *CheckStatusWidget) HasTextSize() bool

HasTextSize returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTimeframe Uses

func (c *CheckStatusWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTitle Uses

func (c *CheckStatusWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTitleAlign Uses

func (c *CheckStatusWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTitleSize Uses

func (c *CheckStatusWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*CheckStatusWidget) HasTitleText Uses

func (c *CheckStatusWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*CheckStatusWidget) HasType Uses

func (c *CheckStatusWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*CheckStatusWidget) HasWidth Uses

func (c *CheckStatusWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*CheckStatusWidget) HasX Uses

func (c *CheckStatusWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*CheckStatusWidget) HasY Uses

func (c *CheckStatusWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*CheckStatusWidget) SetCheck Uses

func (c *CheckStatusWidget) SetCheck(v string)

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

func (*CheckStatusWidget) SetGroup Uses

func (c *CheckStatusWidget) SetGroup(v string)

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

func (*CheckStatusWidget) SetGrouping Uses

func (c *CheckStatusWidget) SetGrouping(v string)

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

func (*CheckStatusWidget) SetHeight Uses

func (c *CheckStatusWidget) SetHeight(v int)

GetHeight allocates a new c.Height and returns the pointer to it.

func (*CheckStatusWidget) SetTags Uses

func (c *CheckStatusWidget) SetTags(v string)

GetTags allocates a new c.Tags and returns the pointer to it.

func (*CheckStatusWidget) SetTextAlign Uses

func (c *CheckStatusWidget) SetTextAlign(v string)

GetTextAlign allocates a new c.TextAlign and returns the pointer to it.

func (*CheckStatusWidget) SetTextSize Uses

func (c *CheckStatusWidget) SetTextSize(v string)

GetTextSize allocates a new c.TextSize and returns the pointer to it.

func (*CheckStatusWidget) SetTimeframe Uses

func (c *CheckStatusWidget) SetTimeframe(v string)

GetTimeframe allocates a new c.Timeframe and returns the pointer to it.

func (*CheckStatusWidget) SetTitle Uses

func (c *CheckStatusWidget) SetTitle(v bool)

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

func (*CheckStatusWidget) SetTitleAlign Uses

func (c *CheckStatusWidget) SetTitleAlign(v string)

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

func (*CheckStatusWidget) SetTitleSize Uses

func (c *CheckStatusWidget) SetTitleSize(v int)

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

func (*CheckStatusWidget) SetTitleText Uses

func (c *CheckStatusWidget) SetTitleText(v string)

GetTitleText allocates a new c.TitleText and returns the pointer to it.

func (*CheckStatusWidget) SetType Uses

func (c *CheckStatusWidget) SetType(v string)

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

func (*CheckStatusWidget) SetWidth Uses

func (c *CheckStatusWidget) SetWidth(v int)

GetWidth allocates a new c.Width and returns the pointer to it.

func (*CheckStatusWidget) SetX Uses

func (c *CheckStatusWidget) SetX(v int)

GetX allocates a new c.X and returns the pointer to it.

func (*CheckStatusWidget) SetY Uses

func (c *CheckStatusWidget) SetY(v int)

GetY allocates a new c.Y and returns the pointer to it.

type Client Uses

type Client struct {

    //The Http Client that is used to make requests
    HttpClient   *http.Client
    RetryTimeout time.Duration
    // contains filtered or unexported fields
}

Client is the object that handles talking to the Datadog API. This maintains state information for a particular application connection.

func NewClient Uses

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) AddTagsToHost Uses

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) CreateAlert Uses

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) CreateComment Uses

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

CreateComment adds a new comment to the system.

func (*Client) CreateDashboard Uses

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) CreateDowntime Uses

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) CreateMonitor Uses

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 Uses

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 Uses

func (client *Client) CreateScreenboard(board *Screenboard) (*Screenboard, error)

CreateScreenboard creates a new screenboard when given a Screenboard struct. Note that the Id, Resource, Url and similar elements are not used in creation.

func (*Client) CreateUser Uses

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

CreateUser creates an user account for an email address

func (*Client) DeleteAlert Uses

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

DeleteAlert removes an alert from the system.

func (*Client) DeleteComment Uses

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

DeleteComment does exactly what you expect.

func (*Client) DeleteDashboard Uses

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

DeleteDashboard deletes a dashboard by the identifier.

func (*Client) DeleteDowntime Uses

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

DeleteDowntime removes an downtime from the system.

func (*Client) DeleteMonitor Uses

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

DeleteMonitor removes a monitor from the system

func (*Client) DeleteScreenboard Uses

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

DeleteScreenboard deletes a screenboard by the identifier.

func (*Client) DeleteUser Uses

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

DeleteUser deletes a user and returns an error if deletion failed

func (*Client) EditComment Uses

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

EditComment changes the message and possibly handle of a particular comment.

func (*Client) EditMetricMetadata Uses

func (client *Client) EditMetricMetadata(mn string, mm *MetricMetadata) (*MetricMetadata, error)

EditMetricMetadata edits the metadata for the given metric.

func (*Client) GetAlert Uses

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

GetAlert retrieves an alert by identifier.

func (*Client) GetAlerts Uses

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

GetAlerts returns a slice of all alerts.

func (*Client) GetDashboard Uses

func (client *Client) GetDashboard(id int) (*Dashboard, error)

GetDashboard returns a single dashboard created on this account.

func (*Client) GetDashboards Uses

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

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

func (*Client) GetDowntime Uses

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

Getdowntime retrieves an downtime by identifier.

func (*Client) GetDowntimes Uses

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

GetDowntimes returns a slice of all downtimes.

func (*Client) GetEvent Uses

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

GetEvent gets a single event given an identifier.

func (*Client) GetEvents Uses

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

QueryEvents returns a slice of events from the query stream.

func (*Client) GetHostTags Uses

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

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

func (*Client) GetHostTagsBySource Uses

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) GetMonitor Uses

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

GetMonitor retrieves a monitor by identifier

func (*Client) GetMonitors Uses

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

GetMonitors returns a slice of all monitors

func (*Client) GetMonitorsByName Uses

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

GetMonitor retrieves monitors by name

func (*Client) GetMonitorsByTags Uses

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

GetMonitor retrieves monitors by a slice of tags

func (*Client) GetScreenboard Uses

func (client *Client) GetScreenboard(id int) (*Screenboard, error)

GetScreenboard returns a single screenboard created on this account.

func (*Client) GetScreenboards Uses

func (client *Client) GetScreenboards() ([]*ScreenboardLite, error)

GetScreenboards returns a list of all screenboards created on this account.

func (*Client) GetTags Uses

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

GetTags returns a map of tags.

func (*Client) GetUser Uses

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 Uses

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

GetUsers returns all user, or an error if not found

func (*Client) InviteUsers Uses

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

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

func (*Client) MuteAlerts Uses

func (client *Client) MuteAlerts() error

MuteAlerts turns off alerting notifications.

func (*Client) MuteMonitor Uses

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

MuteMonitor turns off monitoring notifications for a monitor

func (*Client) MuteMonitors Uses

func (client *Client) MuteMonitors() error

MuteMonitors turns off monitoring notifications

func (*Client) PostCheck Uses

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

PostCheck posts the result of a check run to the server

func (*Client) PostEvent Uses

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

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

func (*Client) PostMetrics Uses

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 Uses

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 Uses

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) RevokeScreenboard Uses

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

RevokeScreenboard revokes a currently shared screenboard

func (*Client) SearchHosts Uses

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

SearchHosts searches through the hosts facet, returning matching hostnames.

func (*Client) SearchMetrics Uses

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

SearchMetrics searches through the metrics facet, returning matching ones.

func (*Client) SetKeys Uses

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

SetKeys changes the value of apiKey and appKey.

func (*Client) ShareScreenboard Uses

func (client *Client) ShareScreenboard(id int, response *ScreenShareResponse) error

ShareScreenboard shares an existing screenboard, it takes and updates ScreenShareResponse

func (*Client) Snapshot Uses

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) UnmuteAlerts Uses

func (client *Client) UnmuteAlerts() error

UnmuteAlerts turns on alerting notifications.

func (*Client) UnmuteMonitor Uses

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

UnmuteMonitor turns on monitoring notifications for a monitor

func (*Client) UnmuteMonitors Uses

func (client *Client) UnmuteMonitors() error

UnmuteMonitors turns on monitoring notifications

func (*Client) UpdateAlert Uses

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) UpdateDashboard Uses

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) UpdateDowntime Uses

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 Uses

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) UpdateMonitor Uses

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 Uses

func (client *Client) UpdateScreenboard(board *Screenboard) error

UpdateScreenboard in essence takes a Screenboard struct and persists it back to the server. Use this if you've updated your local and need to push it back.

func (*Client) UpdateUser Uses

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 Uses

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

Validate checks if the API and application keys are valid.

func (*Client) ViewMetricMetadata Uses

func (client *Client) ViewMetricMetadata(mn string) (*MetricMetadata, error)

ViewMetricMetadata allows you to get metadata about a specific metric.

type Comment Uses

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 Uses

func (c *Comment) GetHandle() string

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

func (*Comment) GetHandleOk Uses

func (c *Comment) GetHandleOk() (string, bool)

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

func (*Comment) GetId Uses

func (c *Comment) GetId() int

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

func (*Comment) GetIdOk Uses

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

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

func (*Comment) GetMessage Uses

func (c *Comment) GetMessage() string

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

func (*Comment) GetMessageOk Uses

func (c *Comment) GetMessageOk() (string, bool)

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

func (*Comment) GetRelatedId Uses

func (c *Comment) GetRelatedId() int

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

func (*Comment) GetRelatedIdOk Uses

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

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

func (*Comment) GetResource Uses

func (c *Comment) GetResource() string

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

func (*Comment) GetResourceOk Uses

func (c *Comment) GetResourceOk() (string, bool)

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

func (*Comment) GetUrl Uses

func (c *Comment) GetUrl() string

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

func (*Comment) GetUrlOk Uses

func (c *Comment) GetUrlOk() (string, bool)

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

func (*Comment) HasHandle Uses

func (c *Comment) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Comment) HasId Uses

func (c *Comment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Comment) HasMessage Uses

func (c *Comment) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Comment) HasRelatedId Uses

func (c *Comment) HasRelatedId() bool

HasRelatedId returns a boolean if a field has been set.

func (*Comment) HasResource Uses

func (c *Comment) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*Comment) HasUrl Uses

func (c *Comment) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Comment) SetHandle Uses

func (c *Comment) SetHandle(v string)

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

func (*Comment) SetId Uses

func (c *Comment) SetId(v int)

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

func (*Comment) SetMessage Uses

func (c *Comment) SetMessage(v string)

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

func (*Comment) SetRelatedId Uses

func (c *Comment) SetRelatedId(v int)

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

func (*Comment) SetResource Uses

func (c *Comment) SetResource(v string)

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

func (*Comment) SetUrl Uses

func (c *Comment) SetUrl(v string)

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

type ConditionalFormat Uses

type ConditionalFormat struct {
    Color      *string `json:"color,omitempty"`
    Comparator *string `json:"comparator,omitempty"`
    Inverted   *bool   `json:"invert,omitempty"`
    Value      *int    `json:"value,omitempty"`
}

func (*ConditionalFormat) GetColor Uses

func (c *ConditionalFormat) GetColor() string

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

func (*ConditionalFormat) GetColorOk Uses

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

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

func (*ConditionalFormat) GetComparator Uses

func (c *ConditionalFormat) GetComparator() string

GetComparator returns the Comparator field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetComparatorOk Uses

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

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

func (*ConditionalFormat) GetInverted Uses

func (c *ConditionalFormat) GetInverted() bool

GetInverted returns the Inverted field if non-nil, zero value otherwise.

func (*ConditionalFormat) GetInvertedOk Uses

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

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

func (*ConditionalFormat) GetValue Uses

func (c *ConditionalFormat) GetValue() int

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

func (*ConditionalFormat) GetValueOk Uses

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

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

func (*ConditionalFormat) HasColor Uses

func (c *ConditionalFormat) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ConditionalFormat) HasComparator Uses

func (c *ConditionalFormat) HasComparator() bool

HasComparator returns a boolean if a field has been set.

func (*ConditionalFormat) HasInverted Uses

func (c *ConditionalFormat) HasInverted() bool

HasInverted returns a boolean if a field has been set.

func (*ConditionalFormat) HasValue Uses

func (c *ConditionalFormat) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*ConditionalFormat) SetColor Uses

func (c *ConditionalFormat) SetColor(v string)

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

func (*ConditionalFormat) SetComparator Uses

func (c *ConditionalFormat) SetComparator(v string)

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

func (*ConditionalFormat) SetInverted Uses

func (c *ConditionalFormat) SetInverted(v bool)

GetInverted allocates a new c.Inverted and returns the pointer to it.

func (*ConditionalFormat) SetValue Uses

func (c *ConditionalFormat) SetValue(v int)

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

type Creator Uses

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 Uses

func (c *Creator) GetEmail() string

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

func (*Creator) GetEmailOk Uses

func (c *Creator) GetEmailOk() (string, bool)

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

func (*Creator) GetHandle Uses

func (c *Creator) GetHandle() string

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

func (*Creator) GetHandleOk Uses

func (c *Creator) GetHandleOk() (string, bool)

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

func (*Creator) GetId Uses

func (c *Creator) GetId() int

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

func (*Creator) GetIdOk Uses

func (c *Creator) GetIdOk() (int, bool)

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

func (*Creator) GetName Uses

func (c *Creator) GetName() string

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

func (*Creator) GetNameOk Uses

func (c *Creator) GetNameOk() (string, bool)

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

func (*Creator) HasEmail Uses

func (c *Creator) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Creator) HasHandle Uses

func (c *Creator) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Creator) HasId Uses

func (c *Creator) HasId() bool

HasId returns a boolean if a field has been set.

func (*Creator) HasName Uses

func (c *Creator) HasName() bool

HasName returns a boolean if a field has been set.

func (*Creator) SetEmail Uses

func (c *Creator) SetEmail(v string)

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

func (*Creator) SetHandle Uses

func (c *Creator) SetHandle(v string)

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

func (*Creator) SetId Uses

func (c *Creator) SetId(v int)

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

func (*Creator) SetName Uses

func (c *Creator) SetName(v string)

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

type Dashboard Uses

type Dashboard struct {
    Id                *int               `json:"id,omitempty"`
    Description       *string            `json:"description,omitempty"`
    Title             *string            `json:"title,omitempty"`
    Graphs            []Graph            `json:"graphs,omitempty"`
    TemplateVariables []TemplateVariable `json:"template_variables,omitempty"`
    ReadOnly          *bool              `json:"read_only,omitempty"`
}

Dashboard represents a user created dashboard. This is the full dashboard struct when we load a dashboard in detail.

func (*Dashboard) GetDescription Uses

func (d *Dashboard) GetDescription() string

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

func (*Dashboard) GetDescriptionOk Uses

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

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

func (*Dashboard) GetId Uses

func (d *Dashboard) GetId() int

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

func (*Dashboard) GetIdOk Uses

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

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

func (*Dashboard) GetReadOnly Uses

func (d *Dashboard) GetReadOnly() bool

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

func (*Dashboard) GetReadOnlyOk Uses

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

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

func (*Dashboard) GetTitle Uses

func (d *Dashboard) GetTitle() string

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

func (*Dashboard) GetTitleOk Uses

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

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

func (*Dashboard) HasDescription Uses

func (d *Dashboard) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Dashboard) HasId Uses

func (d *Dashboard) HasId() bool

HasId returns a boolean if a field has been set.

func (*Dashboard) HasReadOnly Uses

func (d *Dashboard) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*Dashboard) HasTitle Uses

func (d *Dashboard) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Dashboard) SetDescription Uses

func (d *Dashboard) SetDescription(v string)

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

func (*Dashboard) SetId Uses

func (d *Dashboard) SetId(v int)

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

func (*Dashboard) SetReadOnly Uses

func (d *Dashboard) SetReadOnly(v bool)

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

func (*Dashboard) SetTitle Uses

func (d *Dashboard) SetTitle(v string)

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

type DashboardConditionalFormat Uses

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"`
}

func (*DashboardConditionalFormat) GetComparator Uses

func (d *DashboardConditionalFormat) GetComparator() string

GetComparator returns the Comparator field if non-nil, zero value otherwise.

func (*DashboardConditionalFormat) GetComparatorOk Uses

func (d *DashboardConditionalFormat) GetComparatorOk() (string, bool)

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

func (*DashboardConditionalFormat) GetCustomBgColor Uses

func (d *DashboardConditionalFormat) GetCustomBgColor() string

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

func (*DashboardConditionalFormat) GetCustomBgColorOk Uses

func (d *DashboardConditionalFormat) GetCustomBgColorOk() (string, bool)

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

func (*DashboardConditionalFormat) GetCustomFgColor Uses

func (d *DashboardConditionalFormat) GetCustomFgColor() string

GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.

func (*DashboardConditionalFormat) GetCustomFgColorOk Uses

func (d *DashboardConditionalFormat) GetCustomFgColorOk() (string, bool)

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

func (*DashboardConditionalFormat) GetInverted Uses

func (d *DashboardConditionalFormat) GetInverted() bool

GetInverted returns the Inverted field if non-nil, zero value otherwise.

func (*DashboardConditionalFormat) GetInvertedOk Uses

func (d *DashboardConditionalFormat) GetInvertedOk() (bool, bool)

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

func (*DashboardConditionalFormat) GetPalette Uses

func (d *DashboardConditionalFormat) GetPalette() string

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

func (*DashboardConditionalFormat) GetPaletteOk Uses

func (d *DashboardConditionalFormat) GetPaletteOk() (string, bool)

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

func (*DashboardConditionalFormat) GetValue Uses

func (d *DashboardConditionalFormat) GetValue() json.Number

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

func (*DashboardConditionalFormat) GetValueOk Uses

func (d *DashboardConditionalFormat) GetValueOk() (json.Number, bool)

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

func (*DashboardConditionalFormat) HasComparator Uses

func (d *DashboardConditionalFormat) HasComparator() bool

HasComparator returns a boolean if a field has been set.

func (*DashboardConditionalFormat) HasCustomBgColor Uses

func (d *DashboardConditionalFormat) HasCustomBgColor() bool

HasCustomBgColor returns a boolean if a field has been set.

func (*DashboardConditionalFormat) HasCustomFgColor Uses

func (d *DashboardConditionalFormat) HasCustomFgColor() bool

HasCustomFgColor returns a boolean if a field has been set.

func (*DashboardConditionalFormat) HasInverted Uses

func (d *DashboardConditionalFormat) HasInverted() bool

HasInverted returns a boolean if a field has been set.

func (*DashboardConditionalFormat) HasPalette Uses

func (d *DashboardConditionalFormat) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*DashboardConditionalFormat) HasValue Uses

func (d *DashboardConditionalFormat) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*DashboardConditionalFormat) SetComparator Uses

func (d *DashboardConditionalFormat) SetComparator(v string)

GetComparator allocates a new d.Comparator and returns the pointer to it.

func (*DashboardConditionalFormat) SetCustomBgColor Uses

func (d *DashboardConditionalFormat) SetCustomBgColor(v string)

GetCustomBgColor allocates a new d.CustomBgColor and returns the pointer to it.

func (*DashboardConditionalFormat) SetCustomFgColor Uses

func (d *DashboardConditionalFormat) SetCustomFgColor(v string)

GetCustomFgColor allocates a new d.CustomFgColor and returns the pointer to it.

func (*DashboardConditionalFormat) SetInverted Uses

func (d *DashboardConditionalFormat) SetInverted(v bool)

GetInverted allocates a new d.Inverted and returns the pointer to it.

func (*DashboardConditionalFormat) SetPalette Uses

func (d *DashboardConditionalFormat) SetPalette(v string)

GetPalette allocates a new d.Palette and returns the pointer to it.

func (*DashboardConditionalFormat) SetValue Uses

func (d *DashboardConditionalFormat) SetValue(v json.Number)

GetValue allocates a new d.Value and returns the pointer to it.

type DashboardLite Uses

type DashboardLite struct {
    Id          *int    `json:"id,string,omitempty"` // TODO: Remove ',string'.
    Resource    *string `json:"resource,omitempty"`
    Description *string `json:"description,omitempty"`
    Title       *string `json:"title,omitempty"`
}

DashboardLite represents a user created dashboard. This is the mini struct when we load the summaries.

func (*DashboardLite) GetDescription Uses

func (d *DashboardLite) GetDescription() string

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

func (*DashboardLite) GetDescriptionOk Uses

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

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

func (*DashboardLite) GetId Uses

func (d *DashboardLite) GetId() int

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

func (*DashboardLite) GetIdOk Uses

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

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

func (*DashboardLite) GetResource Uses

func (d *DashboardLite) GetResource() string

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

func (*DashboardLite) GetResourceOk Uses

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

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

func (*DashboardLite) GetTitle Uses

func (d *DashboardLite) GetTitle() string

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

func (*DashboardLite) GetTitleOk Uses

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

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

func (*DashboardLite) HasDescription Uses

func (d *DashboardLite) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DashboardLite) HasId Uses

func (d *DashboardLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*DashboardLite) HasResource Uses

func (d *DashboardLite) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*DashboardLite) HasTitle Uses

func (d *DashboardLite) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DashboardLite) SetDescription Uses

func (d *DashboardLite) SetDescription(v string)

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

func (*DashboardLite) SetId Uses

func (d *DashboardLite) SetId(v int)

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

func (*DashboardLite) SetResource Uses

func (d *DashboardLite) SetResource(v string)

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

func (*DashboardLite) SetTitle Uses

func (d *DashboardLite) SetTitle(v string)

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

type DataPoint Uses

type DataPoint [2]float64

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

type Downtime Uses

type Downtime struct {
    Active     *bool       `json:"active,omitempty"`
    Canceled   *int        `json:"canceled,omitempty"`
    Disabled   *bool       `json:"disabled,omitempty"`
    End        *int        `json:"end,omitempty"`
    Id         *int        `json:"id,omitempty"`
    MonitorId  *int        `json:"monitor_id,omitempty"`
    Message    *string     `json:"message,omitempty"`
    Recurrence *Recurrence `json:"recurrence,omitempty"`
    Scope      []string    `json:"scope,omitempty"`
    Start      *int        `json:"start,omitempty"`
}

func (*Downtime) GetActive Uses

func (d *Downtime) GetActive() bool

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

func (*Downtime) GetActiveOk Uses

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

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

func (*Downtime) GetCanceled Uses

func (d *Downtime) GetCanceled() int

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

func (*Downtime) GetCanceledOk Uses

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

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

func (*Downtime) GetDisabled Uses

func (d *Downtime) GetDisabled() bool

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

func (*Downtime) GetDisabledOk Uses

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

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

func (*Downtime) GetEnd Uses

func (d *Downtime) GetEnd() int

GetEnd returns the End field if non-nil, zero value otherwise.

func (*Downtime) GetEndOk Uses

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

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

func (*Downtime) GetId Uses

func (d *Downtime) GetId() int

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

func (*Downtime) GetIdOk Uses

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

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

func (*Downtime) GetMessage Uses

func (d *Downtime) GetMessage() string

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

func (*Downtime) GetMessageOk Uses

func (d *Downtime) GetMessageOk() (string, bool)

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

func (*Downtime) GetMonitorId Uses

func (d *Downtime) GetMonitorId() int

GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.

func (*Downtime) GetMonitorIdOk Uses

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

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

func (*Downtime) GetRecurrence Uses

func (d *Downtime) GetRecurrence() Recurrence

GetRecurrence returns the Recurrence field if non-nil, zero value otherwise.

func (*Downtime) GetRecurrenceOk Uses

func (d *Downtime) GetRecurrenceOk() (Recurrence, bool)

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

func (*Downtime) GetStart Uses

func (d *Downtime) GetStart() int

GetStart returns the Start field if non-nil, zero value otherwise.

func (*Downtime) GetStartOk Uses

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

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

func (*Downtime) HasActive Uses

func (d *Downtime) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Downtime) HasCanceled Uses

func (d *Downtime) HasCanceled() bool

HasCanceled returns a boolean if a field has been set.

func (*Downtime) HasDisabled Uses

func (d *Downtime) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*Downtime) HasEnd Uses

func (d *Downtime) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*Downtime) HasId Uses

func (d *Downtime) HasId() bool

HasId returns a boolean if a field has been set.

func (*Downtime) HasMessage Uses

func (d *Downtime) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Downtime) HasMonitorId Uses

func (d *Downtime) HasMonitorId() bool

HasMonitorId returns a boolean if a field has been set.

func (*Downtime) HasRecurrence Uses

func (d *Downtime) HasRecurrence() bool

HasRecurrence returns a boolean if a field has been set.

func (*Downtime) HasStart Uses

func (d *Downtime) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Downtime) SetActive Uses

func (d *Downtime) SetActive(v bool)

GetActive allocates a new d.Active and returns the pointer to it.

func (*Downtime) SetCanceled Uses

func (d *Downtime) SetCanceled(v int)

GetCanceled allocates a new d.Canceled and returns the pointer to it.

func (*Downtime) SetDisabled Uses

func (d *Downtime) SetDisabled(v bool)

GetDisabled allocates a new d.Disabled and returns the pointer to it.

func (*Downtime) SetEnd Uses

func (d *Downtime) SetEnd(v int)

GetEnd allocates a new d.End and returns the pointer to it.

func (*Downtime) SetId Uses

func (d *Downtime) SetId(v int)

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

func (*Downtime) SetMessage Uses

func (d *Downtime) SetMessage(v string)

GetMessage allocates a new d.Message and returns the pointer to it.

func (*Downtime) SetMonitorId Uses

func (d *Downtime) SetMonitorId(v int)

GetMonitorId allocates a new d.MonitorId and returns the pointer to it.

func (*Downtime) SetRecurrence Uses

func (d *Downtime) SetRecurrence(v Recurrence)

GetRecurrence allocates a new d.Recurrence and returns the pointer to it.

func (*Downtime) SetStart Uses

func (d *Downtime) SetStart(v int)

GetStart allocates a new d.Start and returns the pointer to it.

type Event Uses

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 Uses

func (e *Event) GetAggregation() string

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

func (*Event) GetAggregationOk Uses

func (e *Event) GetAggregationOk() (string, bool)

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

func (*Event) GetAlertType Uses

func (e *Event) GetAlertType() string

GetAlertType returns the AlertType field if non-nil, zero value otherwise.

func (*Event) GetAlertTypeOk Uses

func (e *Event) GetAlertTypeOk() (string, bool)

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

func (*Event) GetEventType Uses

func (e *Event) GetEventType() string

GetEventType returns the EventType field if non-nil, zero value otherwise.

func (*Event) GetEventTypeOk Uses

func (e *Event) GetEventTypeOk() (string, bool)

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

func (*Event) GetHost Uses

func (e *Event) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

func (*Event) GetHostOk Uses

func (e *Event) GetHostOk() (string, bool)

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

func (*Event) GetId Uses

func (e *Event) GetId() int

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

func (*Event) GetIdOk Uses

func (e *Event) GetIdOk() (int, bool)

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

func (*Event) GetPriority Uses

func (e *Event) GetPriority() string

GetPriority returns the Priority field if non-nil, zero value otherwise.

func (*Event) GetPriorityOk Uses

func (e *Event) GetPriorityOk() (string, bool)

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

func (*Event) GetResource Uses

func (e *Event) GetResource() string

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

func (*Event) GetResourceOk Uses

func (e *Event) GetResourceOk() (string, bool)

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

func (*Event) GetSourceType Uses

func (e *Event) GetSourceType() string

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

func (*Event) GetSourceTypeOk Uses

func (e *Event) GetSourceTypeOk() (string, bool)

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

func (*Event) GetText Uses

func (e *Event) GetText() string

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

func (*Event) GetTextOk Uses

func (e *Event) GetTextOk() (string, bool)

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

func (*Event) GetTime Uses

func (e *Event) GetTime() int

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

func (*Event) GetTimeOk Uses

func (e *Event) GetTimeOk() (int, bool)

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

func (*Event) GetTitle Uses

func (e *Event) GetTitle() string

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

func (*Event) GetTitleOk Uses

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

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

func (*Event) GetUrl Uses

func (e *Event) GetUrl() string

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

func (*Event) GetUrlOk Uses

func (e *Event) GetUrlOk() (string, bool)

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

func (*Event) HasAggregation Uses

func (e *Event) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*Event) HasAlertType Uses

func (e *Event) HasAlertType() bool

HasAlertType returns a boolean if a field has been set.

func (*Event) HasEventType Uses

func (e *Event) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*Event) HasHost Uses

func (e *Event) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Event) HasId Uses

func (e *Event) HasId() bool

HasId returns a boolean if a field has been set.

func (*Event) HasPriority Uses

func (e *Event) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Event) HasResource Uses

func (e *Event) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*Event) HasSourceType Uses

func (e *Event) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

func (*Event) HasText Uses

func (e *Event) HasText() bool

HasText returns a boolean if a field has been set.

func (*Event) HasTime Uses

func (e *Event) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*Event) HasTitle Uses

func (e *Event) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Event) HasUrl Uses

func (e *Event) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Event) SetAggregation Uses

func (e *Event) SetAggregation(v string)

GetAggregation allocates a new e.Aggregation and returns the pointer to it.

func (*Event) SetAlertType Uses

func (e *Event) SetAlertType(v string)

GetAlertType allocates a new e.AlertType and returns the pointer to it.

func (*Event) SetEventType Uses

func (e *Event) SetEventType(v string)

GetEventType allocates a new e.EventType and returns the pointer to it.

func (*Event) SetHost Uses

func (e *Event) SetHost(v string)

GetHost allocates a new e.Host and returns the pointer to it.

func (*Event) SetId Uses

func (e *Event) SetId(v int)

GetId allocates a new e.Id and returns the pointer to it.

func (*Event) SetPriority Uses

func (e *Event) SetPriority(v string)

GetPriority allocates a new e.Priority and returns the pointer to it.

func (*Event) SetResource Uses

func (e *Event) SetResource(v string)

GetResource allocates a new e.Resource and returns the pointer to it.

func (*Event) SetSourceType Uses

func (e *Event) SetSourceType(v string)

GetSourceType allocates a new e.SourceType and returns the pointer to it.

func (*Event) SetText Uses

func (e *Event) SetText(v string)

GetText allocates a new e.Text and returns the pointer to it.

func (*Event) SetTime Uses

func (e *Event) SetTime(v int)

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

func (*Event) SetTitle Uses

func (e *Event) SetTitle(v string)

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

func (*Event) SetUrl Uses

func (e *Event) SetUrl(v string)

GetUrl allocates a new e.Url and returns the pointer to it.

type EventStreamWidget Uses

type EventStreamWidget struct {
    EventSize  *string   `json:"event_size,omitempty"`
    Height     *int      `json:"height,omitempty"`
    Query      *string   `json:"query,omitempty"`
    Timeframe  *string   `json:"timeframe,omitempty"`
    Title      *bool     `json:"title,omitempty"`
    TitleAlign *string   `json:"title_align,omitempty"`
    TitleSize  *TextSize `json:"title_size,omitempty"`
    TitleText  *string   `json:"title_text,omitempty"`
    Type       *string   `json:"type,omitempty"`
    Width      *int      `json:"width,omitempty"`
    X          *int      `json:"x,omitempty"`
    Y          *int      `json:"y,omitempty"`
}

func (*EventStreamWidget) GetEventSize Uses

func (e *EventStreamWidget) GetEventSize() string

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

func (*EventStreamWidget) GetEventSizeOk Uses

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

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

func (*EventStreamWidget) GetHeight Uses

func (e *EventStreamWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetHeightOk Uses

func (e *EventStreamWidget) GetHeightOk() (int, bool)

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

func (*EventStreamWidget) GetQuery Uses

func (e *EventStreamWidget) GetQuery() string

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

func (*EventStreamWidget) GetQueryOk Uses

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

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

func (*EventStreamWidget) GetTimeframe Uses

func (e *EventStreamWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetTimeframeOk Uses

func (e *EventStreamWidget) GetTimeframeOk() (string, bool)

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

func (*EventStreamWidget) GetTitle Uses

func (e *EventStreamWidget) GetTitle() bool

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

func (*EventStreamWidget) GetTitleAlign Uses

func (e *EventStreamWidget) GetTitleAlign() string

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

func (*EventStreamWidget) GetTitleAlignOk Uses

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

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

func (*EventStreamWidget) GetTitleOk Uses

func (e *EventStreamWidget) GetTitleOk() (bool, bool)

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

func (*EventStreamWidget) GetTitleSize Uses

func (e *EventStreamWidget) GetTitleSize() TextSize

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

func (*EventStreamWidget) GetTitleSizeOk Uses

func (e *EventStreamWidget) GetTitleSizeOk() (TextSize, bool)

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

func (*EventStreamWidget) GetTitleText Uses

func (e *EventStreamWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetTitleTextOk Uses

func (e *EventStreamWidget) GetTitleTextOk() (string, bool)

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

func (*EventStreamWidget) GetType Uses

func (e *EventStreamWidget) GetType() string

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

func (*EventStreamWidget) GetTypeOk Uses

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

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

func (*EventStreamWidget) GetWidth Uses

func (e *EventStreamWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetWidthOk Uses

func (e *EventStreamWidget) GetWidthOk() (int, bool)

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

func (*EventStreamWidget) GetX Uses

func (e *EventStreamWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetXOk Uses

func (e *EventStreamWidget) GetXOk() (int, bool)

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

func (*EventStreamWidget) GetY Uses

func (e *EventStreamWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*EventStreamWidget) GetYOk Uses

func (e *EventStreamWidget) GetYOk() (int, bool)

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

func (*EventStreamWidget) HasEventSize Uses

func (e *EventStreamWidget) HasEventSize() bool

HasEventSize returns a boolean if a field has been set.

func (*EventStreamWidget) HasHeight Uses

func (e *EventStreamWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*EventStreamWidget) HasQuery Uses

func (e *EventStreamWidget) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventStreamWidget) HasTimeframe Uses

func (e *EventStreamWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*EventStreamWidget) HasTitle Uses

func (e *EventStreamWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventStreamWidget) HasTitleAlign Uses

func (e *EventStreamWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventStreamWidget) HasTitleSize Uses

func (e *EventStreamWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventStreamWidget) HasTitleText Uses

func (e *EventStreamWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*EventStreamWidget) HasType Uses

func (e *EventStreamWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventStreamWidget) HasWidth Uses

func (e *EventStreamWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*EventStreamWidget) HasX Uses

func (e *EventStreamWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*EventStreamWidget) HasY Uses

func (e *EventStreamWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*EventStreamWidget) SetEventSize Uses

func (e *EventStreamWidget) SetEventSize(v string)

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

func (*EventStreamWidget) SetHeight Uses

func (e *EventStreamWidget) SetHeight(v int)

GetHeight allocates a new e.Height and returns the pointer to it.

func (*EventStreamWidget) SetQuery Uses

func (e *EventStreamWidget) SetQuery(v string)

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

func (*EventStreamWidget) SetTimeframe Uses

func (e *EventStreamWidget) SetTimeframe(v string)

GetTimeframe allocates a new e.Timeframe and returns the pointer to it.

func (*EventStreamWidget) SetTitle Uses

func (e *EventStreamWidget) SetTitle(v bool)

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

func (*EventStreamWidget) SetTitleAlign Uses

func (e *EventStreamWidget) SetTitleAlign(v string)

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

func (*EventStreamWidget) SetTitleSize Uses

func (e *EventStreamWidget) SetTitleSize(v TextSize)

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

func (*EventStreamWidget) SetTitleText Uses

func (e *EventStreamWidget) SetTitleText(v string)

GetTitleText allocates a new e.TitleText and returns the pointer to it.

func (*EventStreamWidget) SetType Uses

func (e *EventStreamWidget) SetType(v string)

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

func (*EventStreamWidget) SetWidth Uses

func (e *EventStreamWidget) SetWidth(v int)

GetWidth allocates a new e.Width and returns the pointer to it.

func (*EventStreamWidget) SetX Uses

func (e *EventStreamWidget) SetX(v int)

GetX allocates a new e.X and returns the pointer to it.

func (*EventStreamWidget) SetY Uses

func (e *EventStreamWidget) SetY(v int)

GetY allocates a new e.Y and returns the pointer to it.

type EventTimelineWidget Uses

type EventTimelineWidget struct {
    TitleSize  *int    `json:"title_size,omitempty"`
    Title      *bool   `json:"title,omitempty"`
    TitleAlign *string `json:"title_align,omitempty"`
    TitleText  *string `json:"title_text,omitempty"`
    Height     *int    `json:"height,omitempty"`
    Width      *int    `json:"width,omitempty"`
    X          *int    `json:"y,omitempty"`
    Y          *int    `json:"x,omitempty"`
    Type       *string `json:"type,omitempty"`
    Timeframe  *string `json:"timeframe,omitempty"`
    Query      *string `json:"query,omitempty"`
}

func (*EventTimelineWidget) GetHeight Uses

func (e *EventTimelineWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetHeightOk Uses

func (e *EventTimelineWidget) GetHeightOk() (int, bool)

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

func (*EventTimelineWidget) GetQuery Uses

func (e *EventTimelineWidget) GetQuery() string

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

func (*EventTimelineWidget) GetQueryOk Uses

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

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

func (*EventTimelineWidget) GetTimeframe Uses

func (e *EventTimelineWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetTimeframeOk Uses

func (e *EventTimelineWidget) GetTimeframeOk() (string, bool)

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

func (*EventTimelineWidget) GetTitle Uses

func (e *EventTimelineWidget) GetTitle() bool

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

func (*EventTimelineWidget) GetTitleAlign Uses

func (e *EventTimelineWidget) GetTitleAlign() string

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

func (*EventTimelineWidget) GetTitleAlignOk Uses

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

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

func (*EventTimelineWidget) GetTitleOk Uses

func (e *EventTimelineWidget) GetTitleOk() (bool, bool)

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

func (*EventTimelineWidget) GetTitleSize Uses

func (e *EventTimelineWidget) GetTitleSize() int

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

func (*EventTimelineWidget) GetTitleSizeOk Uses

func (e *EventTimelineWidget) GetTitleSizeOk() (int, bool)

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

func (*EventTimelineWidget) GetTitleText Uses

func (e *EventTimelineWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetTitleTextOk Uses

func (e *EventTimelineWidget) GetTitleTextOk() (string, bool)

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

func (*EventTimelineWidget) GetType Uses

func (e *EventTimelineWidget) GetType() string

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

func (*EventTimelineWidget) GetTypeOk Uses

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

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

func (*EventTimelineWidget) GetWidth Uses

func (e *EventTimelineWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetWidthOk Uses

func (e *EventTimelineWidget) GetWidthOk() (int, bool)

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

func (*EventTimelineWidget) GetX Uses

func (e *EventTimelineWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetXOk Uses

func (e *EventTimelineWidget) GetXOk() (int, bool)

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

func (*EventTimelineWidget) GetY Uses

func (e *EventTimelineWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*EventTimelineWidget) GetYOk Uses

func (e *EventTimelineWidget) GetYOk() (int, bool)

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

func (*EventTimelineWidget) HasHeight Uses

func (e *EventTimelineWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*EventTimelineWidget) HasQuery Uses

func (e *EventTimelineWidget) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*EventTimelineWidget) HasTimeframe Uses

func (e *EventTimelineWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*EventTimelineWidget) HasTitle Uses

func (e *EventTimelineWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*EventTimelineWidget) HasTitleAlign Uses

func (e *EventTimelineWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*EventTimelineWidget) HasTitleSize Uses

func (e *EventTimelineWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*EventTimelineWidget) HasTitleText Uses

func (e *EventTimelineWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*EventTimelineWidget) HasType Uses

func (e *EventTimelineWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*EventTimelineWidget) HasWidth Uses

func (e *EventTimelineWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*EventTimelineWidget) HasX Uses

func (e *EventTimelineWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*EventTimelineWidget) HasY Uses

func (e *EventTimelineWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*EventTimelineWidget) SetHeight Uses

func (e *EventTimelineWidget) SetHeight(v int)

GetHeight allocates a new e.Height and returns the pointer to it.

func (*EventTimelineWidget) SetQuery Uses

func (e *EventTimelineWidget) SetQuery(v string)

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

func (*EventTimelineWidget) SetTimeframe Uses

func (e *EventTimelineWidget) SetTimeframe(v string)

GetTimeframe allocates a new e.Timeframe and returns the pointer to it.

func (*EventTimelineWidget) SetTitle Uses

func (e *EventTimelineWidget) SetTitle(v bool)

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

func (*EventTimelineWidget) SetTitleAlign Uses

func (e *EventTimelineWidget) SetTitleAlign(v string)

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

func (*EventTimelineWidget) SetTitleSize Uses

func (e *EventTimelineWidget) SetTitleSize(v int)

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

func (*EventTimelineWidget) SetTitleText Uses

func (e *EventTimelineWidget) SetTitleText(v string)

GetTitleText allocates a new e.TitleText and returns the pointer to it.

func (*EventTimelineWidget) SetType Uses

func (e *EventTimelineWidget) SetType(v string)

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

func (*EventTimelineWidget) SetWidth Uses

func (e *EventTimelineWidget) SetWidth(v int)

GetWidth allocates a new e.Width and returns the pointer to it.

func (*EventTimelineWidget) SetX Uses

func (e *EventTimelineWidget) SetX(v int)

GetX allocates a new e.X and returns the pointer to it.

func (*EventTimelineWidget) SetY Uses

func (e *EventTimelineWidget) SetY(v int)

GetY allocates a new e.Y and returns the pointer to it.

type FreeTextWidget Uses

type FreeTextWidget struct {
    Color     *string `json:"color,omitempty"`
    FontSize  *string `json:"font_size,omitempty"`
    Height    *int    `json:"height,omitempty"`
    Text      *string `json:"text,omitempty"`
    TextAlign *string `json:"text_align,omitempty"`
    Type      *string `json:"type,omitempty"`
    Width     *int    `json:"width,omitempty"`
    X         *int    `json:"x,omitempty"`
    Y         *int    `json:"y,omitempty"`
}

func (*FreeTextWidget) GetColor Uses

func (f *FreeTextWidget) GetColor() string

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

func (*FreeTextWidget) GetColorOk Uses

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

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

func (*FreeTextWidget) GetFontSize Uses

func (f *FreeTextWidget) GetFontSize() string

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

func (*FreeTextWidget) GetFontSizeOk Uses

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

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

func (*FreeTextWidget) GetHeight Uses

func (f *FreeTextWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*FreeTextWidget) GetHeightOk Uses

func (f *FreeTextWidget) GetHeightOk() (int, bool)

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

func (*FreeTextWidget) GetText Uses

func (f *FreeTextWidget) GetText() string

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

func (*FreeTextWidget) GetTextAlign Uses

func (f *FreeTextWidget) GetTextAlign() string

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

func (*FreeTextWidget) GetTextAlignOk Uses

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

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

func (*FreeTextWidget) GetTextOk Uses

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

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

func (*FreeTextWidget) GetType Uses

func (f *FreeTextWidget) GetType() string

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

func (*FreeTextWidget) GetTypeOk Uses

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

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

func (*FreeTextWidget) GetWidth Uses

func (f *FreeTextWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*FreeTextWidget) GetWidthOk Uses

func (f *FreeTextWidget) GetWidthOk() (int, bool)

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

func (*FreeTextWidget) GetX Uses

func (f *FreeTextWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*FreeTextWidget) GetXOk Uses

func (f *FreeTextWidget) GetXOk() (int, bool)

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

func (*FreeTextWidget) GetY Uses

func (f *FreeTextWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*FreeTextWidget) GetYOk Uses

func (f *FreeTextWidget) GetYOk() (int, bool)

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

func (*FreeTextWidget) HasColor Uses

func (f *FreeTextWidget) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*FreeTextWidget) HasFontSize Uses

func (f *FreeTextWidget) HasFontSize() bool

HasFontSize returns a boolean if a field has been set.

func (*FreeTextWidget) HasHeight Uses

func (f *FreeTextWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*FreeTextWidget) HasText Uses

func (f *FreeTextWidget) HasText() bool

HasText returns a boolean if a field has been set.

func (*FreeTextWidget) HasTextAlign Uses

func (f *FreeTextWidget) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*FreeTextWidget) HasType Uses

func (f *FreeTextWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*FreeTextWidget) HasWidth Uses

func (f *FreeTextWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*FreeTextWidget) HasX Uses

func (f *FreeTextWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*FreeTextWidget) HasY Uses

func (f *FreeTextWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*FreeTextWidget) SetColor Uses

func (f *FreeTextWidget) SetColor(v string)

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

func (*FreeTextWidget) SetFontSize Uses

func (f *FreeTextWidget) SetFontSize(v string)

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

func (*FreeTextWidget) SetHeight Uses

func (f *FreeTextWidget) SetHeight(v int)

GetHeight allocates a new f.Height and returns the pointer to it.

func (*FreeTextWidget) SetText Uses

func (f *FreeTextWidget) SetText(v string)

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

func (*FreeTextWidget) SetTextAlign Uses

func (f *FreeTextWidget) SetTextAlign(v string)

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

func (*FreeTextWidget) SetType Uses

func (f *FreeTextWidget) SetType(v string)

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

func (*FreeTextWidget) SetWidth Uses

func (f *FreeTextWidget) SetWidth(v int)

GetWidth allocates a new f.Width and returns the pointer to it.

func (*FreeTextWidget) SetX Uses

func (f *FreeTextWidget) SetX(v int)

GetX allocates a new f.X and returns the pointer to it.

func (*FreeTextWidget) SetY Uses

func (f *FreeTextWidget) SetY(v int)

GetY allocates a new f.Y and returns the pointer to it.

type Graph Uses

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 Uses

func (g *Graph) GetDefinition() GraphDefinition

GetDefinition returns the Definition field if non-nil, zero value otherwise.

func (*Graph) GetDefinitionOk Uses

func (g *Graph) GetDefinitionOk() (GraphDefinition, bool)

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

func (*Graph) GetTitle Uses

func (g *Graph) GetTitle() string

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

func (*Graph) GetTitleOk Uses

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

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

func (*Graph) HasDefinition Uses

func (g *Graph) HasDefinition() bool

HasDefinition returns a boolean if a field has been set.

func (*Graph) HasTitle Uses

func (g *Graph) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Graph) SetDefinition Uses

func (g *Graph) SetDefinition(v GraphDefinition)

GetDefinition allocates a new g.Definition and returns the pointer to it.

func (*Graph) SetTitle Uses

func (g *Graph) SetTitle(v string)

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

type GraphDefinition Uses

type GraphDefinition struct {
    Viz      *string                  `json:"viz,omitempty"`
    Requests []GraphDefinitionRequest `json:"requests,omitempty"`
    Events   []GraphEvent             `json:"events,omitempty"`
    Markers  []GraphDefinitionMarker  `json:"markers,omitempty"`

    // For timeseries type graphs
    Yaxis Yaxis `json:"yaxis,omitempty"`

    // For query value type graphs
    Autoscale  *bool   `json:"autoscale,omitempty"`
    TextAlign  *string `json:"text_align,omitempty"`
    Precision  *string `json:"precision,omitempty"`
    CustomUnit *string `json:"custom_unit,omitempty"`

    // For hostname type graphs
    Style *Style `json:"Style,omitempty"`

    Groups                []string `json:"group,omitempty"`
    IncludeNoMetricHosts  *bool    `json:"noMetricHosts,omitempty"`
    Scopes                []string `json:"scope,omitempty"`
    IncludeUngroupedHosts *bool    `json:"noGroupHosts,omitempty"`
}

func (*GraphDefinition) GetAutoscale Uses

func (g *GraphDefinition) GetAutoscale() bool

GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.

func (*GraphDefinition) GetAutoscaleOk Uses

func (g *GraphDefinition) GetAutoscaleOk() (bool, bool)

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

func (*GraphDefinition) GetCustomUnit Uses

func (g *GraphDefinition) GetCustomUnit() string

GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.

func (*GraphDefinition) GetCustomUnitOk Uses

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

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

func (*GraphDefinition) GetIncludeNoMetricHosts Uses

func (g *GraphDefinition) GetIncludeNoMetricHosts() bool

GetIncludeNoMetricHosts returns the IncludeNoMetricHosts field if non-nil, zero value otherwise.

func (*GraphDefinition) GetIncludeNoMetricHostsOk Uses

func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool)

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

func (*GraphDefinition) GetIncludeUngroupedHosts Uses

func (g *GraphDefinition) GetIncludeUngroupedHosts() bool

GetIncludeUngroupedHosts returns the IncludeUngroupedHosts field if non-nil, zero value otherwise.

func (*GraphDefinition) GetIncludeUngroupedHostsOk Uses

func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool)

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

func (*GraphDefinition) GetPrecision Uses

func (g *GraphDefinition) GetPrecision() string

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

func (*GraphDefinition) GetPrecisionOk Uses

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

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

func (*GraphDefinition) GetStyle Uses

func (g *GraphDefinition) GetStyle() Style

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

func (*GraphDefinition) GetStyleOk Uses

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

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

func (*GraphDefinition) GetTextAlign Uses

func (g *GraphDefinition) GetTextAlign() string

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

func (*GraphDefinition) GetTextAlignOk Uses

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

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

func (*GraphDefinition) GetViz Uses

func (g *GraphDefinition) GetViz() string

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

func (*GraphDefinition) GetVizOk Uses

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

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

func (*GraphDefinition) HasAutoscale Uses

func (g *GraphDefinition) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*GraphDefinition) HasCustomUnit Uses

func (g *GraphDefinition) HasCustomUnit() bool

HasCustomUnit returns a boolean if a field has been set.

func (*GraphDefinition) HasIncludeNoMetricHosts Uses

func (g *GraphDefinition) HasIncludeNoMetricHosts() bool

HasIncludeNoMetricHosts returns a boolean if a field has been set.

func (*GraphDefinition) HasIncludeUngroupedHosts Uses

func (g *GraphDefinition) HasIncludeUngroupedHosts() bool

HasIncludeUngroupedHosts returns a boolean if a field has been set.

func (*GraphDefinition) HasPrecision Uses

func (g *GraphDefinition) HasPrecision() bool

HasPrecision returns a boolean if a field has been set.

func (*GraphDefinition) HasStyle Uses

func (g *GraphDefinition) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*GraphDefinition) HasTextAlign Uses

func (g *GraphDefinition) HasTextAlign() bool

HasTextAlign returns a boolean if a field has been set.

func (*GraphDefinition) HasViz Uses

func (g *GraphDefinition) HasViz() bool

HasViz returns a boolean if a field has been set.

func (*GraphDefinition) SetAutoscale Uses

func (g *GraphDefinition) SetAutoscale(v bool)

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

func (*GraphDefinition) SetCustomUnit Uses

func (g *GraphDefinition) SetCustomUnit(v string)

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

func (*GraphDefinition) SetIncludeNoMetricHosts Uses

func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool)

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

func (*GraphDefinition) SetIncludeUngroupedHosts Uses

func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool)

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

func (*GraphDefinition) SetPrecision Uses

func (g *GraphDefinition) SetPrecision(v string)

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

func (*GraphDefinition) SetStyle Uses

func (g *GraphDefinition) SetStyle(v Style)

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

func (*GraphDefinition) SetTextAlign Uses

func (g *GraphDefinition) SetTextAlign(v string)

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

func (*GraphDefinition) SetViz Uses

func (g *GraphDefinition) SetViz(v string)

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

type GraphDefinitionMarker Uses

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 Uses

func (g *GraphDefinitionMarker) GetLabel() string

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

func (*GraphDefinitionMarker) GetLabelOk Uses

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

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

func (*GraphDefinitionMarker) GetMax Uses

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

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

func (*GraphDefinitionMarker) GetMaxOk Uses

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

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

func (*GraphDefinitionMarker) GetMin Uses

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

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

func (*GraphDefinitionMarker) GetMinOk Uses

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

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

func (*GraphDefinitionMarker) GetType Uses

func (g *GraphDefinitionMarker) GetType() string

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

func (*GraphDefinitionMarker) GetTypeOk Uses

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

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

func (*GraphDefinitionMarker) GetVal Uses

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

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

func (*GraphDefinitionMarker) GetValOk Uses

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

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

func (*GraphDefinitionMarker) GetValue Uses

func (g *GraphDefinitionMarker) GetValue() string

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

func (*GraphDefinitionMarker) GetValueOk Uses

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

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

func (*GraphDefinitionMarker) HasLabel Uses

func (g *GraphDefinitionMarker) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasMax Uses

func (g *GraphDefinitionMarker) HasMax() bool

HasMax returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasMin Uses

func (g *GraphDefinitionMarker) HasMin() bool

HasMin returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasType Uses

func (g *GraphDefinitionMarker) HasType() bool

HasType returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasVal Uses

func (g *GraphDefinitionMarker) HasVal() bool

HasVal returns a boolean if a field has been set.

func (*GraphDefinitionMarker) HasValue Uses

func (g *GraphDefinitionMarker) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*GraphDefinitionMarker) SetLabel Uses

func (g *GraphDefinitionMarker) SetLabel(v string)

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

func (*GraphDefinitionMarker) SetMax Uses

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

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

func (*GraphDefinitionMarker) SetMin Uses

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

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

func (*GraphDefinitionMarker) SetType Uses

func (g *GraphDefinitionMarker) SetType(v string)

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

func (*GraphDefinitionMarker) SetVal Uses

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

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

func (*GraphDefinitionMarker) SetValue Uses

func (g *GraphDefinitionMarker) SetValue(v string)

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

type GraphDefinitionRequest Uses

type GraphDefinitionRequest struct {
    Query              *string                      `json:"q,omitempty"`
    Stacked            *bool                        `json:"stacked,omitempty"`
    Aggregator         *string                      `json:"aggregator,omitempty"`
    ConditionalFormats []DashboardConditionalFormat `json:"conditional_formats,omitempty"`
    Type               *string                      `json:"type,omitempty"`
    Style              *GraphDefinitionRequestStyle `json:"style,omitempty"`

    // For change type graphs
    ChangeType     *string `json:"change_type,omitempty"`
    OrderDirection *string `json:"order_dir,omitempty"`
    CompareTo      *string `json:"compare_to,omitempty"`
    IncreaseGood   *bool   `json:"increase_good,omitempty"`
    OrderBy        *string `json:"order_by,omitempty"`
    ExtraCol       *string `json:"extra_col,omitempty"`
}

GraphDefinitionRequest represents the requests passed into each graph.

func (*GraphDefinitionRequest) GetAggregator Uses

func (g *GraphDefinitionRequest) GetAggregator() string

GetAggregator returns the Aggregator field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetAggregatorOk Uses

func (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool)

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

func (*GraphDefinitionRequest) GetChangeType Uses

func (g *GraphDefinitionRequest) GetChangeType() string

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

func (*GraphDefinitionRequest) GetChangeTypeOk Uses

func (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool)

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

func (*GraphDefinitionRequest) GetCompareTo Uses

func (g *GraphDefinitionRequest) GetCompareTo() string

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

func (*GraphDefinitionRequest) GetCompareToOk Uses

func (g *GraphDefinitionRequest) GetCompareToOk() (string, bool)

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

func (*GraphDefinitionRequest) GetExtraCol Uses

func (g *GraphDefinitionRequest) GetExtraCol() string

GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetExtraColOk Uses

func (g *GraphDefinitionRequest) GetExtraColOk() (string, bool)

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

func (*GraphDefinitionRequest) GetIncreaseGood Uses

func (g *GraphDefinitionRequest) GetIncreaseGood() bool

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

func (*GraphDefinitionRequest) GetIncreaseGoodOk Uses

func (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool)

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

func (*GraphDefinitionRequest) GetOrderBy Uses

func (g *GraphDefinitionRequest) GetOrderBy() string

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

func (*GraphDefinitionRequest) GetOrderByOk Uses

func (g *GraphDefinitionRequest) GetOrderByOk() (string, bool)

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

func (*GraphDefinitionRequest) GetOrderDirection Uses

func (g *GraphDefinitionRequest) GetOrderDirection() string

GetOrderDirection returns the OrderDirection field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetOrderDirectionOk Uses

func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool)

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

func (*GraphDefinitionRequest) GetQuery Uses

func (g *GraphDefinitionRequest) GetQuery() string

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

func (*GraphDefinitionRequest) GetQueryOk Uses

func (g *GraphDefinitionRequest) GetQueryOk() (string, bool)

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

func (*GraphDefinitionRequest) GetStacked Uses

func (g *GraphDefinitionRequest) GetStacked() bool

GetStacked returns the Stacked field if non-nil, zero value otherwise.

func (*GraphDefinitionRequest) GetStackedOk Uses

func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool)

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

func (*GraphDefinitionRequest) GetStyle Uses

func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle

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

func (*GraphDefinitionRequest) GetStyleOk Uses

func (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool)

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

func (*GraphDefinitionRequest) GetType Uses

func (g *GraphDefinitionRequest) GetType() string

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

func (*GraphDefinitionRequest) GetTypeOk Uses

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

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

func (*GraphDefinitionRequest) HasAggregator Uses

func (g *GraphDefinitionRequest) HasAggregator() bool

HasAggregator returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasChangeType Uses

func (g *GraphDefinitionRequest) HasChangeType() bool

HasChangeType returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasCompareTo Uses

func (g *GraphDefinitionRequest) HasCompareTo() bool

HasCompareTo returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasExtraCol Uses

func (g *GraphDefinitionRequest) HasExtraCol() bool

HasExtraCol returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasIncreaseGood Uses

func (g *GraphDefinitionRequest) HasIncreaseGood() bool

HasIncreaseGood returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasOrderBy Uses

func (g *GraphDefinitionRequest) HasOrderBy() bool

HasOrderBy returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasOrderDirection Uses

func (g *GraphDefinitionRequest) HasOrderDirection() bool

HasOrderDirection returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasQuery Uses

func (g *GraphDefinitionRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasStacked Uses

func (g *GraphDefinitionRequest) HasStacked() bool

HasStacked returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasStyle Uses

func (g *GraphDefinitionRequest) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*GraphDefinitionRequest) HasType Uses

func (g *GraphDefinitionRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*GraphDefinitionRequest) SetAggregator Uses

func (g *GraphDefinitionRequest) SetAggregator(v string)

GetAggregator allocates a new g.Aggregator and returns the pointer to it.

func (*GraphDefinitionRequest) SetChangeType Uses

func (g *GraphDefinitionRequest) SetChangeType(v string)

GetChangeType allocates a new g.ChangeType and returns the pointer to it.

func (*GraphDefinitionRequest) SetCompareTo Uses

func (g *GraphDefinitionRequest) SetCompareTo(v string)

GetCompareTo allocates a new g.CompareTo and returns the pointer to it.

func (*GraphDefinitionRequest) SetExtraCol Uses

func (g *GraphDefinitionRequest) SetExtraCol(v string)

GetExtraCol allocates a new g.ExtraCol and returns the pointer to it.

func (*GraphDefinitionRequest) SetIncreaseGood Uses

func (g *GraphDefinitionRequest) SetIncreaseGood(v bool)

GetIncreaseGood allocates a new g.IncreaseGood and returns the pointer to it.

func (*GraphDefinitionRequest) SetOrderBy Uses

func (g *GraphDefinitionRequest) SetOrderBy(v string)

GetOrderBy allocates a new g.OrderBy and returns the pointer to it.

func (*GraphDefinitionRequest) SetOrderDirection Uses

func (g *GraphDefinitionRequest) SetOrderDirection(v string)

GetOrderDirection allocates a new g.OrderDirection and returns the pointer to it.

func (*GraphDefinitionRequest) SetQuery Uses

func (g *GraphDefinitionRequest) SetQuery(v string)

GetQuery allocates a new g.Query and returns the pointer to it.

func (*GraphDefinitionRequest) SetStacked Uses

func (g *GraphDefinitionRequest) SetStacked(v bool)

GetStacked allocates a new g.Stacked and returns the pointer to it.

func (*GraphDefinitionRequest) SetStyle Uses

func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle)

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

func (*GraphDefinitionRequest) SetType Uses

func (g *GraphDefinitionRequest) SetType(v string)

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

type GraphDefinitionRequestStyle Uses

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 Uses

func (g *GraphDefinitionRequestStyle) GetPalette() string

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

func (*GraphDefinitionRequestStyle) GetPaletteOk Uses

func (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool)

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

func (*GraphDefinitionRequestStyle) GetType Uses

func (g *GraphDefinitionRequestStyle) GetType() string

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

func (*GraphDefinitionRequestStyle) GetTypeOk Uses

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

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

func (*GraphDefinitionRequestStyle) GetWidth Uses

func (g *GraphDefinitionRequestStyle) GetWidth() string

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*GraphDefinitionRequestStyle) GetWidthOk Uses

func (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool)

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

func (*GraphDefinitionRequestStyle) HasPalette Uses

func (g *GraphDefinitionRequestStyle) HasPalette() bool

HasPalette returns a boolean if a field has been set.

func (*GraphDefinitionRequestStyle) HasType Uses

func (g *GraphDefinitionRequestStyle) HasType() bool

HasType returns a boolean if a field has been set.

func (*GraphDefinitionRequestStyle) HasWidth Uses

func (g *GraphDefinitionRequestStyle) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*GraphDefinitionRequestStyle) SetPalette Uses

func (g *GraphDefinitionRequestStyle) SetPalette(v string)

GetPalette allocates a new g.Palette and returns the pointer to it.

func (*GraphDefinitionRequestStyle) SetType Uses

func (g *GraphDefinitionRequestStyle) SetType(v string)

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

func (*GraphDefinitionRequestStyle) SetWidth Uses

func (g *GraphDefinitionRequestStyle) SetWidth(v string)

GetWidth allocates a new g.Width and returns the pointer to it.

type GraphEvent Uses

type GraphEvent struct {
    Query *string `json:"q,omitempty"`
}

func (*GraphEvent) GetQuery Uses

func (g *GraphEvent) GetQuery() string

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

func (*GraphEvent) GetQueryOk Uses

func (g *GraphEvent) GetQueryOk() (string, bool)

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

func (*GraphEvent) HasQuery Uses

func (g *GraphEvent) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*GraphEvent) SetQuery Uses

func (g *GraphEvent) SetQuery(v string)

GetQuery allocates a new g.Query and returns the pointer to it.

type GraphWidget Uses

type GraphWidget struct {
    TitleSize  *int     `json:"title_size,omitempty"`
    Title      *bool    `json:"title,omitempty"`
    TitleAlign *string  `json:"title_align,omitempty"`
    TitleText  *string  `json:"title_text,omitempty"`
    Height     *int     `json:"height,omitempty"`
    Width      *int     `json:"width,omitempty"`
    X          *int     `json:"y,omitempty"`
    Y          *int     `json:"x,omitempty"`
    Type       *string  `json:"type,omitempty"`
    Timeframe  *string  `json:"timeframe,omitempty"`
    LegendSize *int     `json:"legend_size,omitempty"`
    Legend     *bool    `json:"legend,omitempty"`
    TileDef    *TileDef `json:"tile_def,omitempty"`
}

func (*GraphWidget) GetHeight Uses

func (g *GraphWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*GraphWidget) GetHeightOk Uses

func (g *GraphWidget) GetHeightOk() (int, bool)

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

func (*GraphWidget) GetLegend Uses

func (g *GraphWidget) GetLegend() bool

GetLegend returns the Legend field if non-nil, zero value otherwise.

func (*GraphWidget) GetLegendOk Uses

func (g *GraphWidget) GetLegendOk() (bool, bool)

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

func (*GraphWidget) GetLegendSize Uses

func (g *GraphWidget) GetLegendSize() int

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*GraphWidget) GetLegendSizeOk Uses

func (g *GraphWidget) GetLegendSizeOk() (int, bool)

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

func (*GraphWidget) GetTileDef Uses

func (g *GraphWidget) GetTileDef() TileDef

GetTileDef returns the TileDef field if non-nil, zero value otherwise.

func (*GraphWidget) GetTileDefOk Uses

func (g *GraphWidget) GetTileDefOk() (TileDef, bool)

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

func (*GraphWidget) GetTimeframe Uses

func (g *GraphWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*GraphWidget) GetTimeframeOk Uses

func (g *GraphWidget) GetTimeframeOk() (string, bool)

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

func (*GraphWidget) GetTitle Uses

func (g *GraphWidget) GetTitle() bool

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

func (*GraphWidget) GetTitleAlign Uses

func (g *GraphWidget) GetTitleAlign() string

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

func (*GraphWidget) GetTitleAlignOk Uses

func (g *GraphWidget) GetTitleAlignOk() (string, bool)

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

func (*GraphWidget) GetTitleOk Uses

func (g *GraphWidget) GetTitleOk() (bool, bool)

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

func (*GraphWidget) GetTitleSize Uses

func (g *GraphWidget) GetTitleSize() int

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

func (*GraphWidget) GetTitleSizeOk Uses

func (g *GraphWidget) GetTitleSizeOk() (int, bool)

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

func (*GraphWidget) GetTitleText Uses

func (g *GraphWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*GraphWidget) GetTitleTextOk Uses

func (g *GraphWidget) GetTitleTextOk() (string, bool)

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

func (*GraphWidget) GetType Uses

func (g *GraphWidget) GetType() string

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

func (*GraphWidget) GetTypeOk Uses

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

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

func (*GraphWidget) GetWidth Uses

func (g *GraphWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*GraphWidget) GetWidthOk Uses

func (g *GraphWidget) GetWidthOk() (int, bool)

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

func (*GraphWidget) GetX Uses

func (g *GraphWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*GraphWidget) GetXOk Uses

func (g *GraphWidget) GetXOk() (int, bool)

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

func (*GraphWidget) GetY Uses

func (g *GraphWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*GraphWidget) GetYOk Uses

func (g *GraphWidget) GetYOk() (int, bool)

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

func (*GraphWidget) HasHeight Uses

func (g *GraphWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*GraphWidget) HasLegend Uses

func (g *GraphWidget) HasLegend() bool

HasLegend returns a boolean if a field has been set.

func (*GraphWidget) HasLegendSize Uses

func (g *GraphWidget) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*GraphWidget) HasTileDef Uses

func (g *GraphWidget) HasTileDef() bool

HasTileDef returns a boolean if a field has been set.

func (*GraphWidget) HasTimeframe Uses

func (g *GraphWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*GraphWidget) HasTitle Uses

func (g *GraphWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*GraphWidget) HasTitleAlign Uses

func (g *GraphWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*GraphWidget) HasTitleSize Uses

func (g *GraphWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*GraphWidget) HasTitleText Uses

func (g *GraphWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*GraphWidget) HasType Uses

func (g *GraphWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*GraphWidget) HasWidth Uses

func (g *GraphWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*GraphWidget) HasX Uses

func (g *GraphWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*GraphWidget) HasY Uses

func (g *GraphWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*GraphWidget) SetHeight Uses

func (g *GraphWidget) SetHeight(v int)

GetHeight allocates a new g.Height and returns the pointer to it.

func (*GraphWidget) SetLegend Uses

func (g *GraphWidget) SetLegend(v bool)

GetLegend allocates a new g.Legend and returns the pointer to it.

func (*GraphWidget) SetLegendSize Uses

func (g *GraphWidget) SetLegendSize(v int)

GetLegendSize allocates a new g.LegendSize and returns the pointer to it.

func (*GraphWidget) SetTileDef Uses

func (g *GraphWidget) SetTileDef(v TileDef)

GetTileDef allocates a new g.TileDef and returns the pointer to it.

func (*GraphWidget) SetTimeframe Uses

func (g *GraphWidget) SetTimeframe(v string)

GetTimeframe allocates a new g.Timeframe and returns the pointer to it.

func (*GraphWidget) SetTitle Uses

func (g *GraphWidget) SetTitle(v bool)

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

func (*GraphWidget) SetTitleAlign Uses

func (g *GraphWidget) SetTitleAlign(v string)

GetTitleAlign allocates a new g.TitleAlign and returns the pointer to it.

func (*GraphWidget) SetTitleSize Uses

func (g *GraphWidget) SetTitleSize(v int)

GetTitleSize allocates a new g.TitleSize and returns the pointer to it.

func (*GraphWidget) SetTitleText Uses

func (g *GraphWidget) SetTitleText(v string)

GetTitleText allocates a new g.TitleText and returns the pointer to it.

func (*GraphWidget) SetType Uses

func (g *GraphWidget) SetType(v string)

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

func (*GraphWidget) SetWidth Uses

func (g *GraphWidget) SetWidth(v int)

GetWidth allocates a new g.Width and returns the pointer to it.

func (*GraphWidget) SetX Uses

func (g *GraphWidget) SetX(v int)

GetX allocates a new g.X and returns the pointer to it.

func (*GraphWidget) SetY Uses

func (g *GraphWidget) SetY(v int)

GetY allocates a new g.Y and returns the pointer to it.

type HostMapWidget Uses

type HostMapWidget struct {
    TitleSize  *int     `json:"title_size,omitempty"`
    Title      *bool    `json:"title,omitempty"`
    TitleAlign *string  `json:"title_align,omitempty"`
    TitleText  *string  `json:"title_text,omitempty"`
    Height     *int     `json:"height,omitempty"`
    Width      *int     `json:"width,omitempty"`
    X          *int     `json:"y,omitempty"`
    Y          *int     `json:"x,omitempty"`
    Query      *string  `json:"query,omitempty"`
    Timeframe  *string  `json:"timeframe,omitempty"`
    LegendSize *int     `json:"legend_size,omitempty"`
    Type       *string  `json:"type,omitempty"`
    Legend     *bool    `json:"legend,omitempty"`
    TileDef    *TileDef `json:"tile_def,omitempty"`
}

func (*HostMapWidget) GetHeight Uses

func (h *HostMapWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*HostMapWidget) GetHeightOk Uses

func (h *HostMapWidget) GetHeightOk() (int, bool)

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

func (*HostMapWidget) GetLegend Uses

func (h *HostMapWidget) GetLegend() bool

GetLegend returns the Legend field if non-nil, zero value otherwise.

func (*HostMapWidget) GetLegendOk Uses

func (h *HostMapWidget) GetLegendOk() (bool, bool)

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

func (*HostMapWidget) GetLegendSize Uses

func (h *HostMapWidget) GetLegendSize() int

GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.

func (*HostMapWidget) GetLegendSizeOk Uses

func (h *HostMapWidget) GetLegendSizeOk() (int, bool)

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

func (*HostMapWidget) GetQuery Uses

func (h *HostMapWidget) GetQuery() string

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

func (*HostMapWidget) GetQueryOk Uses

func (h *HostMapWidget) GetQueryOk() (string, bool)

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

func (*HostMapWidget) GetTileDef Uses

func (h *HostMapWidget) GetTileDef() TileDef

GetTileDef returns the TileDef field if non-nil, zero value otherwise.

func (*HostMapWidget) GetTileDefOk Uses

func (h *HostMapWidget) GetTileDefOk() (TileDef, bool)

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

func (*HostMapWidget) GetTimeframe Uses

func (h *HostMapWidget) GetTimeframe() string

GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.

func (*HostMapWidget) GetTimeframeOk Uses

func (h *HostMapWidget) GetTimeframeOk() (string, bool)

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

func (*HostMapWidget) GetTitle Uses

func (h *HostMapWidget) GetTitle() bool

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

func (*HostMapWidget) GetTitleAlign Uses

func (h *HostMapWidget) GetTitleAlign() string

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

func (*HostMapWidget) GetTitleAlignOk Uses

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

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

func (*HostMapWidget) GetTitleOk Uses

func (h *HostMapWidget) GetTitleOk() (bool, bool)

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

func (*HostMapWidget) GetTitleSize Uses

func (h *HostMapWidget) GetTitleSize() int

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

func (*HostMapWidget) GetTitleSizeOk Uses

func (h *HostMapWidget) GetTitleSizeOk() (int, bool)

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

func (*HostMapWidget) GetTitleText Uses

func (h *HostMapWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*HostMapWidget) GetTitleTextOk Uses

func (h *HostMapWidget) GetTitleTextOk() (string, bool)

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

func (*HostMapWidget) GetType Uses

func (h *HostMapWidget) GetType() string

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

func (*HostMapWidget) GetTypeOk Uses

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

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

func (*HostMapWidget) GetWidth Uses

func (h *HostMapWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*HostMapWidget) GetWidthOk Uses

func (h *HostMapWidget) GetWidthOk() (int, bool)

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

func (*HostMapWidget) GetX Uses

func (h *HostMapWidget) GetX() int

GetX returns the X field if non-nil, zero value otherwise.

func (*HostMapWidget) GetXOk Uses

func (h *HostMapWidget) GetXOk() (int, bool)

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

func (*HostMapWidget) GetY Uses

func (h *HostMapWidget) GetY() int

GetY returns the Y field if non-nil, zero value otherwise.

func (*HostMapWidget) GetYOk Uses

func (h *HostMapWidget) GetYOk() (int, bool)

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

func (*HostMapWidget) HasHeight Uses

func (h *HostMapWidget) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*HostMapWidget) HasLegend Uses

func (h *HostMapWidget) HasLegend() bool

HasLegend returns a boolean if a field has been set.

func (*HostMapWidget) HasLegendSize Uses

func (h *HostMapWidget) HasLegendSize() bool

HasLegendSize returns a boolean if a field has been set.

func (*HostMapWidget) HasQuery Uses

func (h *HostMapWidget) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*HostMapWidget) HasTileDef Uses

func (h *HostMapWidget) HasTileDef() bool

HasTileDef returns a boolean if a field has been set.

func (*HostMapWidget) HasTimeframe Uses

func (h *HostMapWidget) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (*HostMapWidget) HasTitle Uses

func (h *HostMapWidget) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*HostMapWidget) HasTitleAlign Uses

func (h *HostMapWidget) HasTitleAlign() bool

HasTitleAlign returns a boolean if a field has been set.

func (*HostMapWidget) HasTitleSize Uses

func (h *HostMapWidget) HasTitleSize() bool

HasTitleSize returns a boolean if a field has been set.

func (*HostMapWidget) HasTitleText Uses

func (h *HostMapWidget) HasTitleText() bool

HasTitleText returns a boolean if a field has been set.

func (*HostMapWidget) HasType Uses

func (h *HostMapWidget) HasType() bool

HasType returns a boolean if a field has been set.

func (*HostMapWidget) HasWidth Uses

func (h *HostMapWidget) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (*HostMapWidget) HasX Uses

func (h *HostMapWidget) HasX() bool

HasX returns a boolean if a field has been set.

func (*HostMapWidget) HasY Uses

func (h *HostMapWidget) HasY() bool

HasY returns a boolean if a field has been set.

func (*HostMapWidget) SetHeight Uses

func (h *HostMapWidget) SetHeight(v int)

GetHeight allocates a new h.Height and returns the pointer to it.

func (*HostMapWidget) SetLegend Uses

func (h *HostMapWidget) SetLegend(v bool)

GetLegend allocates a new h.Legend and returns the pointer to it.

func (*HostMapWidget) SetLegendSize Uses

func (h *HostMapWidget) SetLegendSize(v int)

GetLegendSize allocates a new h.LegendSize and returns the pointer to it.

func (*HostMapWidget) SetQuery Uses

func (h *HostMapWidget) SetQuery(v string)

GetQuery allocates a new h.Query and returns the pointer to it.

func (*HostMapWidget) SetTileDef Uses

func (h *HostMapWidget) SetTileDef(v TileDef)

GetTileDef allocates a new h.TileDef and returns the pointer to it.

func (*HostMapWidget) SetTimeframe Uses

func (h *HostMapWidget) SetTimeframe(v string)

GetTimeframe allocates a new h.Timeframe and returns the pointer to it.

func (*HostMapWidget) SetTitle Uses

func (h *HostMapWidget) SetTitle(v bool)

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

func (*HostMapWidget) SetTitleAlign Uses

func (h *HostMapWidget) SetTitleAlign(v string)

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

func (*HostMapWidget) SetTitleSize Uses

func (h *HostMapWidget) SetTitleSize(v int)

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

func (*HostMapWidget) SetTitleText Uses

func (h *HostMapWidget) SetTitleText(v string)

GetTitleText allocates a new h.TitleText and returns the pointer to it.

func (*HostMapWidget) SetType Uses

func (h *HostMapWidget) SetType(v string)

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

func (*HostMapWidget) SetWidth Uses

func (h *HostMapWidget) SetWidth(v int)

GetWidth allocates a new h.Width and returns the pointer to it.

func (*HostMapWidget) SetX Uses

func (h *HostMapWidget) SetX(v int)

GetX allocates a new h.X and returns the pointer to it.

func (*HostMapWidget) SetY Uses

func (h *HostMapWidget) SetY(v int)

GetY allocates a new h.Y and returns the pointer to it.

type IFrameWidget Uses

type IFrameWidget struct {
    TitleSize  *int    `json:"title_size,omitempty"`
    Title      *bool   `json:"title,omitempty"`
    Url        *string `json:"url,omitempty"`
    TitleAlign *string `json:"title_align,omitempty"`
    TitleText  *string `json:"title_text,omitempty"`
    Height     *int    `json:"height,omitempty"`
    Width      *int    `json:"width,omitempty"`
    X          *int    `json:"y,omitempty"`
    Y          *int    `json:"x,omitempty"`
    Type       *string `json:"type,omitempty"`
}

func (*IFrameWidget) GetHeight Uses

func (i *IFrameWidget) GetHeight() int

GetHeight returns the Height field if non-nil, zero value otherwise.

func (*IFrameWidget) GetHeightOk Uses

func (i *IFrameWidget) GetHeightOk() (int, bool)

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

func (*IFrameWidget) GetTitle Uses

func (i *IFrameWidget) GetTitle() bool

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

func (*IFrameWidget) GetTitleAlign Uses

func (i *IFrameWidget) GetTitleAlign() string

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

func (*IFrameWidget) GetTitleAlignOk Uses

func (i *IFrameWidget) GetTitleAlignOk() (string, bool)

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

func (*IFrameWidget) GetTitleOk Uses

func (i *IFrameWidget) GetTitleOk() (bool, bool)

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

func (*IFrameWidget) GetTitleSize Uses

func (i *IFrameWidget) GetTitleSize() int

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

func (*IFrameWidget) GetTitleSizeOk Uses

func (i *IFrameWidget) GetTitleSizeOk() (int, bool)

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

func (*IFrameWidget) GetTitleText Uses

func (i *IFrameWidget) GetTitleText() string

GetTitleText returns the TitleText field if non-nil, zero value otherwise.

func (*IFrameWidget) GetTitleTextOk Uses

func (i *IFrameWidget) GetTitleTextOk() (string, bool)

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

func (*IFrameWidget) GetType Uses

func (i *IFrameWidget) GetType() string

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

func (*IFrameWidget) GetTypeOk Uses

func (i *IFrameWidget) GetTypeOk() (string, bool)

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

func (*IFrameWidget) GetUrl Uses

func (i *IFrameWidget) GetUrl() string

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

func (*IFrameWidget) GetUrlOk Uses

func (i *IFrameWidget) GetUrlOk() (string, bool)

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

func (*IFrameWidget) GetWidth Uses

func (i *IFrameWidget) GetWidth() int

GetWidth returns the Width field if non-nil, zero value otherwise.

func (*IFrameWidget) GetWidthOk Uses

func (i *IFrameWidget) GetWidthOk() (int, bool)

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

func (*IFrameWidget) GetX