12136 lines
299 KiB
Go
12136 lines
299 KiB
Go
/*
|
|
THIS FILE IS AUTOMATICALLY GENERATED BY create-accessors; DO NOT EDIT.
|
|
* Datadog API for Go
|
|
*
|
|
* Please see the included LICENSE file for licensing information.
|
|
*
|
|
* Copyright 2017 by authors and contributors.
|
|
*/
|
|
|
|
package datadog
|
|
|
|
import (
|
|
"encoding/json"
|
|
)
|
|
|
|
// GetCreator returns the Creator field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetCreator() int {
|
|
if a == nil || a.Creator == nil {
|
|
return 0
|
|
}
|
|
return *a.Creator
|
|
}
|
|
|
|
// 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 (a *Alert) GetCreatorOk() (int, bool) {
|
|
if a == nil || a.Creator == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Creator, true
|
|
}
|
|
|
|
// HasCreator returns a boolean if a field has been set.
|
|
func (a *Alert) HasCreator() bool {
|
|
if a != nil && a.Creator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCreator allocates a new a.Creator and returns the pointer to it.
|
|
func (a *Alert) SetCreator(v int) {
|
|
a.Creator = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetId() int {
|
|
if a == nil || a.Id == nil {
|
|
return 0
|
|
}
|
|
return *a.Id
|
|
}
|
|
|
|
// 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 (a *Alert) GetIdOk() (int, bool) {
|
|
if a == nil || a.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (a *Alert) HasId() bool {
|
|
if a != nil && a.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new a.Id and returns the pointer to it.
|
|
func (a *Alert) SetId(v int) {
|
|
a.Id = &v
|
|
}
|
|
|
|
// GetMessage returns the Message field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetMessage() string {
|
|
if a == nil || a.Message == nil {
|
|
return ""
|
|
}
|
|
return *a.Message
|
|
}
|
|
|
|
// 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 (a *Alert) GetMessageOk() (string, bool) {
|
|
if a == nil || a.Message == nil {
|
|
return "", false
|
|
}
|
|
return *a.Message, true
|
|
}
|
|
|
|
// HasMessage returns a boolean if a field has been set.
|
|
func (a *Alert) HasMessage() bool {
|
|
if a != nil && a.Message != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMessage allocates a new a.Message and returns the pointer to it.
|
|
func (a *Alert) SetMessage(v string) {
|
|
a.Message = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetName() string {
|
|
if a == nil || a.Name == nil {
|
|
return ""
|
|
}
|
|
return *a.Name
|
|
}
|
|
|
|
// 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 (a *Alert) GetNameOk() (string, bool) {
|
|
if a == nil || a.Name == nil {
|
|
return "", false
|
|
}
|
|
return *a.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (a *Alert) HasName() bool {
|
|
if a != nil && a.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new a.Name and returns the pointer to it.
|
|
func (a *Alert) SetName(v string) {
|
|
a.Name = &v
|
|
}
|
|
|
|
// GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetNotifyNoData() bool {
|
|
if a == nil || a.NotifyNoData == nil {
|
|
return false
|
|
}
|
|
return *a.NotifyNoData
|
|
}
|
|
|
|
// 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 (a *Alert) GetNotifyNoDataOk() (bool, bool) {
|
|
if a == nil || a.NotifyNoData == nil {
|
|
return false, false
|
|
}
|
|
return *a.NotifyNoData, true
|
|
}
|
|
|
|
// HasNotifyNoData returns a boolean if a field has been set.
|
|
func (a *Alert) HasNotifyNoData() bool {
|
|
if a != nil && a.NotifyNoData != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNotifyNoData allocates a new a.NotifyNoData and returns the pointer to it.
|
|
func (a *Alert) SetNotifyNoData(v bool) {
|
|
a.NotifyNoData = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetQuery() string {
|
|
if a == nil || a.Query == nil {
|
|
return ""
|
|
}
|
|
return *a.Query
|
|
}
|
|
|
|
// 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 (a *Alert) GetQueryOk() (string, bool) {
|
|
if a == nil || a.Query == nil {
|
|
return "", false
|
|
}
|
|
return *a.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (a *Alert) HasQuery() bool {
|
|
if a != nil && a.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new a.Query and returns the pointer to it.
|
|
func (a *Alert) SetQuery(v string) {
|
|
a.Query = &v
|
|
}
|
|
|
|
// GetSilenced returns the Silenced field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetSilenced() bool {
|
|
if a == nil || a.Silenced == nil {
|
|
return false
|
|
}
|
|
return *a.Silenced
|
|
}
|
|
|
|
// 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 (a *Alert) GetSilencedOk() (bool, bool) {
|
|
if a == nil || a.Silenced == nil {
|
|
return false, false
|
|
}
|
|
return *a.Silenced, true
|
|
}
|
|
|
|
// HasSilenced returns a boolean if a field has been set.
|
|
func (a *Alert) HasSilenced() bool {
|
|
if a != nil && a.Silenced != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetSilenced allocates a new a.Silenced and returns the pointer to it.
|
|
func (a *Alert) SetSilenced(v bool) {
|
|
a.Silenced = &v
|
|
}
|
|
|
|
// GetState returns the State field if non-nil, zero value otherwise.
|
|
func (a *Alert) GetState() string {
|
|
if a == nil || a.State == nil {
|
|
return ""
|
|
}
|
|
return *a.State
|
|
}
|
|
|
|
// 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 (a *Alert) GetStateOk() (string, bool) {
|
|
if a == nil || a.State == nil {
|
|
return "", false
|
|
}
|
|
return *a.State, true
|
|
}
|
|
|
|
// HasState returns a boolean if a field has been set.
|
|
func (a *Alert) HasState() bool {
|
|
if a != nil && a.State != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetState allocates a new a.State and returns the pointer to it.
|
|
func (a *Alert) SetState(v string) {
|
|
a.State = &v
|
|
}
|
|
|
|
// GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetAddTimeframe() bool {
|
|
if a == nil || a.AddTimeframe == nil {
|
|
return false
|
|
}
|
|
return *a.AddTimeframe
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetAddTimeframeOk() (bool, bool) {
|
|
if a == nil || a.AddTimeframe == nil {
|
|
return false, false
|
|
}
|
|
return *a.AddTimeframe, true
|
|
}
|
|
|
|
// HasAddTimeframe returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasAddTimeframe() bool {
|
|
if a != nil && a.AddTimeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetAddTimeframe(v bool) {
|
|
a.AddTimeframe = &v
|
|
}
|
|
|
|
// GetAlertId returns the AlertId field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetAlertId() int {
|
|
if a == nil || a.AlertId == nil {
|
|
return 0
|
|
}
|
|
return *a.AlertId
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetAlertIdOk() (int, bool) {
|
|
if a == nil || a.AlertId == nil {
|
|
return 0, false
|
|
}
|
|
return *a.AlertId, true
|
|
}
|
|
|
|
// HasAlertId returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasAlertId() bool {
|
|
if a != nil && a.AlertId != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAlertId allocates a new a.AlertId and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetAlertId(v int) {
|
|
a.AlertId = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetHeight() int {
|
|
if a == nil || a.Height == nil {
|
|
return 0
|
|
}
|
|
return *a.Height
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetHeightOk() (int, bool) {
|
|
if a == nil || a.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasHeight() bool {
|
|
if a != nil && a.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new a.Height and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetHeight(v int) {
|
|
a.Height = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetTimeframe() string {
|
|
if a == nil || a.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *a.Timeframe
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTimeframeOk() (string, bool) {
|
|
if a == nil || a.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *a.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasTimeframe() bool {
|
|
if a != nil && a.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new a.Timeframe and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetTimeframe(v string) {
|
|
a.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetTitle() bool {
|
|
if a == nil || a.Title == nil {
|
|
return false
|
|
}
|
|
return *a.Title
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTitleOk() (bool, bool) {
|
|
if a == nil || a.Title == nil {
|
|
return false, false
|
|
}
|
|
return *a.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasTitle() bool {
|
|
if a != nil && a.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new a.Title and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetTitle(v bool) {
|
|
a.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetTitleAlign() string {
|
|
if a == nil || a.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *a.TitleAlign
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTitleAlignOk() (string, bool) {
|
|
if a == nil || a.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *a.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasTitleAlign() bool {
|
|
if a != nil && a.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetTitleAlign(v string) {
|
|
a.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetTitleSize() int {
|
|
if a == nil || a.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *a.TitleSize
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTitleSizeOk() (int, bool) {
|
|
if a == nil || a.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *a.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasTitleSize() bool {
|
|
if a != nil && a.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new a.TitleSize and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetTitleSize(v int) {
|
|
a.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetTitleText() string {
|
|
if a == nil || a.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *a.TitleText
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTitleTextOk() (string, bool) {
|
|
if a == nil || a.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *a.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasTitleText() bool {
|
|
if a != nil && a.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new a.TitleText and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetTitleText(v string) {
|
|
a.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetType() string {
|
|
if a == nil || a.Type == nil {
|
|
return ""
|
|
}
|
|
return *a.Type
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetTypeOk() (string, bool) {
|
|
if a == nil || a.Type == nil {
|
|
return "", false
|
|
}
|
|
return *a.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasType() bool {
|
|
if a != nil && a.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new a.Type and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetType(v string) {
|
|
a.Type = &v
|
|
}
|
|
|
|
// GetVizType returns the VizType field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetVizType() string {
|
|
if a == nil || a.VizType == nil {
|
|
return ""
|
|
}
|
|
return *a.VizType
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetVizTypeOk() (string, bool) {
|
|
if a == nil || a.VizType == nil {
|
|
return "", false
|
|
}
|
|
return *a.VizType, true
|
|
}
|
|
|
|
// HasVizType returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasVizType() bool {
|
|
if a != nil && a.VizType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetVizType allocates a new a.VizType and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetVizType(v string) {
|
|
a.VizType = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetWidth() int {
|
|
if a == nil || a.Width == nil {
|
|
return 0
|
|
}
|
|
return *a.Width
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetWidthOk() (int, bool) {
|
|
if a == nil || a.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasWidth() bool {
|
|
if a != nil && a.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new a.Width and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetWidth(v int) {
|
|
a.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetX() int {
|
|
if a == nil || a.X == nil {
|
|
return 0
|
|
}
|
|
return *a.X
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetXOk() (int, bool) {
|
|
if a == nil || a.X == nil {
|
|
return 0, false
|
|
}
|
|
return *a.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasX() bool {
|
|
if a != nil && a.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new a.X and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetX(v int) {
|
|
a.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (a *AlertGraphWidget) GetY() int {
|
|
if a == nil || a.Y == nil {
|
|
return 0
|
|
}
|
|
return *a.Y
|
|
}
|
|
|
|
// 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 (a *AlertGraphWidget) GetYOk() (int, bool) {
|
|
if a == nil || a.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (a *AlertGraphWidget) HasY() bool {
|
|
if a != nil && a.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new a.Y and returns the pointer to it.
|
|
func (a *AlertGraphWidget) SetY(v int) {
|
|
a.Y = &v
|
|
}
|
|
|
|
// GetAddTimeframe returns the AddTimeframe field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetAddTimeframe() bool {
|
|
if a == nil || a.AddTimeframe == nil {
|
|
return false
|
|
}
|
|
return *a.AddTimeframe
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetAddTimeframeOk() (bool, bool) {
|
|
if a == nil || a.AddTimeframe == nil {
|
|
return false, false
|
|
}
|
|
return *a.AddTimeframe, true
|
|
}
|
|
|
|
// HasAddTimeframe returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasAddTimeframe() bool {
|
|
if a != nil && a.AddTimeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAddTimeframe allocates a new a.AddTimeframe and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetAddTimeframe(v bool) {
|
|
a.AddTimeframe = &v
|
|
}
|
|
|
|
// GetAlertId returns the AlertId field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetAlertId() int {
|
|
if a == nil || a.AlertId == nil {
|
|
return 0
|
|
}
|
|
return *a.AlertId
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetAlertIdOk() (int, bool) {
|
|
if a == nil || a.AlertId == nil {
|
|
return 0, false
|
|
}
|
|
return *a.AlertId, true
|
|
}
|
|
|
|
// HasAlertId returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasAlertId() bool {
|
|
if a != nil && a.AlertId != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAlertId allocates a new a.AlertId and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetAlertId(v int) {
|
|
a.AlertId = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetHeight() int {
|
|
if a == nil || a.Height == nil {
|
|
return 0
|
|
}
|
|
return *a.Height
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetHeightOk() (int, bool) {
|
|
if a == nil || a.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasHeight() bool {
|
|
if a != nil && a.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new a.Height and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetHeight(v int) {
|
|
a.Height = &v
|
|
}
|
|
|
|
// GetPrecision returns the Precision field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetPrecision() int {
|
|
if a == nil || a.Precision == nil {
|
|
return 0
|
|
}
|
|
return *a.Precision
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetPrecisionOk() (int, bool) {
|
|
if a == nil || a.Precision == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Precision, true
|
|
}
|
|
|
|
// HasPrecision returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasPrecision() bool {
|
|
if a != nil && a.Precision != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPrecision allocates a new a.Precision and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetPrecision(v int) {
|
|
a.Precision = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTextAlign() string {
|
|
if a == nil || a.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *a.TextAlign
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTextAlignOk() (string, bool) {
|
|
if a == nil || a.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *a.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTextAlign() bool {
|
|
if a != nil && a.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new a.TextAlign and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTextAlign(v string) {
|
|
a.TextAlign = &v
|
|
}
|
|
|
|
// GetTextSize returns the TextSize field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTextSize() string {
|
|
if a == nil || a.TextSize == nil {
|
|
return ""
|
|
}
|
|
return *a.TextSize
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTextSizeOk() (string, bool) {
|
|
if a == nil || a.TextSize == nil {
|
|
return "", false
|
|
}
|
|
return *a.TextSize, true
|
|
}
|
|
|
|
// HasTextSize returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTextSize() bool {
|
|
if a != nil && a.TextSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextSize allocates a new a.TextSize and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTextSize(v string) {
|
|
a.TextSize = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTimeframe() string {
|
|
if a == nil || a.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *a.Timeframe
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTimeframeOk() (string, bool) {
|
|
if a == nil || a.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *a.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTimeframe() bool {
|
|
if a != nil && a.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new a.Timeframe and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTimeframe(v string) {
|
|
a.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTitle() bool {
|
|
if a == nil || a.Title == nil {
|
|
return false
|
|
}
|
|
return *a.Title
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTitleOk() (bool, bool) {
|
|
if a == nil || a.Title == nil {
|
|
return false, false
|
|
}
|
|
return *a.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTitle() bool {
|
|
if a != nil && a.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new a.Title and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTitle(v bool) {
|
|
a.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTitleAlign() string {
|
|
if a == nil || a.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *a.TitleAlign
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTitleAlignOk() (string, bool) {
|
|
if a == nil || a.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *a.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTitleAlign() bool {
|
|
if a != nil && a.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new a.TitleAlign and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTitleAlign(v string) {
|
|
a.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTitleSize() int {
|
|
if a == nil || a.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *a.TitleSize
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTitleSizeOk() (int, bool) {
|
|
if a == nil || a.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *a.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTitleSize() bool {
|
|
if a != nil && a.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new a.TitleSize and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTitleSize(v int) {
|
|
a.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetTitleText() string {
|
|
if a == nil || a.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *a.TitleText
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTitleTextOk() (string, bool) {
|
|
if a == nil || a.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *a.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasTitleText() bool {
|
|
if a != nil && a.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new a.TitleText and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetTitleText(v string) {
|
|
a.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetType() string {
|
|
if a == nil || a.Type == nil {
|
|
return ""
|
|
}
|
|
return *a.Type
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetTypeOk() (string, bool) {
|
|
if a == nil || a.Type == nil {
|
|
return "", false
|
|
}
|
|
return *a.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasType() bool {
|
|
if a != nil && a.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new a.Type and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetType(v string) {
|
|
a.Type = &v
|
|
}
|
|
|
|
// GetUnit returns the Unit field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetUnit() string {
|
|
if a == nil || a.Unit == nil {
|
|
return ""
|
|
}
|
|
return *a.Unit
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetUnitOk() (string, bool) {
|
|
if a == nil || a.Unit == nil {
|
|
return "", false
|
|
}
|
|
return *a.Unit, true
|
|
}
|
|
|
|
// HasUnit returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasUnit() bool {
|
|
if a != nil && a.Unit != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUnit allocates a new a.Unit and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetUnit(v string) {
|
|
a.Unit = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetWidth() int {
|
|
if a == nil || a.Width == nil {
|
|
return 0
|
|
}
|
|
return *a.Width
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetWidthOk() (int, bool) {
|
|
if a == nil || a.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasWidth() bool {
|
|
if a != nil && a.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new a.Width and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetWidth(v int) {
|
|
a.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetX() int {
|
|
if a == nil || a.X == nil {
|
|
return 0
|
|
}
|
|
return *a.X
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetXOk() (int, bool) {
|
|
if a == nil || a.X == nil {
|
|
return 0, false
|
|
}
|
|
return *a.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasX() bool {
|
|
if a != nil && a.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new a.X and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetX(v int) {
|
|
a.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (a *AlertValueWidget) GetY() int {
|
|
if a == nil || a.Y == nil {
|
|
return 0
|
|
}
|
|
return *a.Y
|
|
}
|
|
|
|
// 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 (a *AlertValueWidget) GetYOk() (int, bool) {
|
|
if a == nil || a.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *a.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (a *AlertValueWidget) HasY() bool {
|
|
if a != nil && a.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new a.Y and returns the pointer to it.
|
|
func (a *AlertValueWidget) SetY(v int) {
|
|
a.Y = &v
|
|
}
|
|
|
|
// GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetAggregator() string {
|
|
if c == nil || c.Aggregator == nil {
|
|
return ""
|
|
}
|
|
return *c.Aggregator
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetAggregatorOk() (string, bool) {
|
|
if c == nil || c.Aggregator == nil {
|
|
return "", false
|
|
}
|
|
return *c.Aggregator, true
|
|
}
|
|
|
|
// HasAggregator returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasAggregator() bool {
|
|
if c != nil && c.Aggregator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAggregator allocates a new c.Aggregator and returns the pointer to it.
|
|
func (c *ChangeWidget) SetAggregator(v string) {
|
|
c.Aggregator = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetHeight() int {
|
|
if c == nil || c.Height == nil {
|
|
return 0
|
|
}
|
|
return *c.Height
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetHeightOk() (int, bool) {
|
|
if c == nil || c.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasHeight() bool {
|
|
if c != nil && c.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new c.Height and returns the pointer to it.
|
|
func (c *ChangeWidget) SetHeight(v int) {
|
|
c.Height = &v
|
|
}
|
|
|
|
// GetTileDef returns the TileDef field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetTileDef() TileDef {
|
|
if c == nil || c.TileDef == nil {
|
|
return TileDef{}
|
|
}
|
|
return *c.TileDef
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetTileDefOk() (TileDef, bool) {
|
|
if c == nil || c.TileDef == nil {
|
|
return TileDef{}, false
|
|
}
|
|
return *c.TileDef, true
|
|
}
|
|
|
|
// HasTileDef returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasTileDef() bool {
|
|
if c != nil && c.TileDef != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTileDef allocates a new c.TileDef and returns the pointer to it.
|
|
func (c *ChangeWidget) SetTileDef(v TileDef) {
|
|
c.TileDef = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetTitle() bool {
|
|
if c == nil || c.Title == nil {
|
|
return false
|
|
}
|
|
return *c.Title
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetTitleOk() (bool, bool) {
|
|
if c == nil || c.Title == nil {
|
|
return false, false
|
|
}
|
|
return *c.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasTitle() bool {
|
|
if c != nil && c.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new c.Title and returns the pointer to it.
|
|
func (c *ChangeWidget) SetTitle(v bool) {
|
|
c.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetTitleAlign() string {
|
|
if c == nil || c.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *c.TitleAlign
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetTitleAlignOk() (string, bool) {
|
|
if c == nil || c.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *c.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasTitleAlign() bool {
|
|
if c != nil && c.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
|
|
func (c *ChangeWidget) SetTitleAlign(v string) {
|
|
c.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetTitleSize() int {
|
|
if c == nil || c.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *c.TitleSize
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetTitleSizeOk() (int, bool) {
|
|
if c == nil || c.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *c.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasTitleSize() bool {
|
|
if c != nil && c.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new c.TitleSize and returns the pointer to it.
|
|
func (c *ChangeWidget) SetTitleSize(v int) {
|
|
c.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetTitleText() string {
|
|
if c == nil || c.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *c.TitleText
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetTitleTextOk() (string, bool) {
|
|
if c == nil || c.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *c.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasTitleText() bool {
|
|
if c != nil && c.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new c.TitleText and returns the pointer to it.
|
|
func (c *ChangeWidget) SetTitleText(v string) {
|
|
c.TitleText = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetWidth() int {
|
|
if c == nil || c.Width == nil {
|
|
return 0
|
|
}
|
|
return *c.Width
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetWidthOk() (int, bool) {
|
|
if c == nil || c.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasWidth() bool {
|
|
if c != nil && c.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new c.Width and returns the pointer to it.
|
|
func (c *ChangeWidget) SetWidth(v int) {
|
|
c.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetX() int {
|
|
if c == nil || c.X == nil {
|
|
return 0
|
|
}
|
|
return *c.X
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetXOk() (int, bool) {
|
|
if c == nil || c.X == nil {
|
|
return 0, false
|
|
}
|
|
return *c.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasX() bool {
|
|
if c != nil && c.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new c.X and returns the pointer to it.
|
|
func (c *ChangeWidget) SetX(v int) {
|
|
c.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (c *ChangeWidget) GetY() int {
|
|
if c == nil || c.Y == nil {
|
|
return 0
|
|
}
|
|
return *c.Y
|
|
}
|
|
|
|
// 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 (c *ChangeWidget) GetYOk() (int, bool) {
|
|
if c == nil || c.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (c *ChangeWidget) HasY() bool {
|
|
if c != nil && c.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new c.Y and returns the pointer to it.
|
|
func (c *ChangeWidget) SetY(v int) {
|
|
c.Y = &v
|
|
}
|
|
|
|
// GetCheck returns the Check field if non-nil, zero value otherwise.
|
|
func (c *Check) GetCheck() string {
|
|
if c == nil || c.Check == nil {
|
|
return ""
|
|
}
|
|
return *c.Check
|
|
}
|
|
|
|
// 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 (c *Check) GetCheckOk() (string, bool) {
|
|
if c == nil || c.Check == nil {
|
|
return "", false
|
|
}
|
|
return *c.Check, true
|
|
}
|
|
|
|
// HasCheck returns a boolean if a field has been set.
|
|
func (c *Check) HasCheck() bool {
|
|
if c != nil && c.Check != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCheck allocates a new c.Check and returns the pointer to it.
|
|
func (c *Check) SetCheck(v string) {
|
|
c.Check = &v
|
|
}
|
|
|
|
// GetHostName returns the HostName field if non-nil, zero value otherwise.
|
|
func (c *Check) GetHostName() string {
|
|
if c == nil || c.HostName == nil {
|
|
return ""
|
|
}
|
|
return *c.HostName
|
|
}
|
|
|
|
// 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 (c *Check) GetHostNameOk() (string, bool) {
|
|
if c == nil || c.HostName == nil {
|
|
return "", false
|
|
}
|
|
return *c.HostName, true
|
|
}
|
|
|
|
// HasHostName returns a boolean if a field has been set.
|
|
func (c *Check) HasHostName() bool {
|
|
if c != nil && c.HostName != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHostName allocates a new c.HostName and returns the pointer to it.
|
|
func (c *Check) SetHostName(v string) {
|
|
c.HostName = &v
|
|
}
|
|
|
|
// GetMessage returns the Message field if non-nil, zero value otherwise.
|
|
func (c *Check) GetMessage() string {
|
|
if c == nil || c.Message == nil {
|
|
return ""
|
|
}
|
|
return *c.Message
|
|
}
|
|
|
|
// 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 (c *Check) GetMessageOk() (string, bool) {
|
|
if c == nil || c.Message == nil {
|
|
return "", false
|
|
}
|
|
return *c.Message, true
|
|
}
|
|
|
|
// HasMessage returns a boolean if a field has been set.
|
|
func (c *Check) HasMessage() bool {
|
|
if c != nil && c.Message != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMessage allocates a new c.Message and returns the pointer to it.
|
|
func (c *Check) SetMessage(v string) {
|
|
c.Message = &v
|
|
}
|
|
|
|
// GetStatus returns the Status field if non-nil, zero value otherwise.
|
|
func (c *Check) GetStatus() Status {
|
|
if c == nil || c.Status == nil {
|
|
return 0
|
|
}
|
|
return *c.Status
|
|
}
|
|
|
|
// 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 (c *Check) GetStatusOk() (Status, bool) {
|
|
if c == nil || c.Status == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Status, true
|
|
}
|
|
|
|
// HasStatus returns a boolean if a field has been set.
|
|
func (c *Check) HasStatus() bool {
|
|
if c != nil && c.Status != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStatus allocates a new c.Status and returns the pointer to it.
|
|
func (c *Check) SetStatus(v Status) {
|
|
c.Status = &v
|
|
}
|
|
|
|
// GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
|
|
func (c *Check) GetTimestamp() string {
|
|
if c == nil || c.Timestamp == nil {
|
|
return ""
|
|
}
|
|
return *c.Timestamp
|
|
}
|
|
|
|
// 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 (c *Check) GetTimestampOk() (string, bool) {
|
|
if c == nil || c.Timestamp == nil {
|
|
return "", false
|
|
}
|
|
return *c.Timestamp, true
|
|
}
|
|
|
|
// HasTimestamp returns a boolean if a field has been set.
|
|
func (c *Check) HasTimestamp() bool {
|
|
if c != nil && c.Timestamp != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimestamp allocates a new c.Timestamp and returns the pointer to it.
|
|
func (c *Check) SetTimestamp(v string) {
|
|
c.Timestamp = &v
|
|
}
|
|
|
|
// GetCheck returns the Check field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetCheck() string {
|
|
if c == nil || c.Check == nil {
|
|
return ""
|
|
}
|
|
return *c.Check
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetCheckOk() (string, bool) {
|
|
if c == nil || c.Check == nil {
|
|
return "", false
|
|
}
|
|
return *c.Check, true
|
|
}
|
|
|
|
// HasCheck returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasCheck() bool {
|
|
if c != nil && c.Check != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCheck allocates a new c.Check and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetCheck(v string) {
|
|
c.Check = &v
|
|
}
|
|
|
|
// GetGroup returns the Group field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetGroup() string {
|
|
if c == nil || c.Group == nil {
|
|
return ""
|
|
}
|
|
return *c.Group
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetGroupOk() (string, bool) {
|
|
if c == nil || c.Group == nil {
|
|
return "", false
|
|
}
|
|
return *c.Group, true
|
|
}
|
|
|
|
// HasGroup returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasGroup() bool {
|
|
if c != nil && c.Group != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetGroup allocates a new c.Group and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetGroup(v string) {
|
|
c.Group = &v
|
|
}
|
|
|
|
// GetGrouping returns the Grouping field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetGrouping() string {
|
|
if c == nil || c.Grouping == nil {
|
|
return ""
|
|
}
|
|
return *c.Grouping
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetGroupingOk() (string, bool) {
|
|
if c == nil || c.Grouping == nil {
|
|
return "", false
|
|
}
|
|
return *c.Grouping, true
|
|
}
|
|
|
|
// HasGrouping returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasGrouping() bool {
|
|
if c != nil && c.Grouping != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetGrouping allocates a new c.Grouping and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetGrouping(v string) {
|
|
c.Grouping = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetHeight() int {
|
|
if c == nil || c.Height == nil {
|
|
return 0
|
|
}
|
|
return *c.Height
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetHeightOk() (int, bool) {
|
|
if c == nil || c.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasHeight() bool {
|
|
if c != nil && c.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new c.Height and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetHeight(v int) {
|
|
c.Height = &v
|
|
}
|
|
|
|
// GetTags returns the Tags field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTags() string {
|
|
if c == nil || c.Tags == nil {
|
|
return ""
|
|
}
|
|
return *c.Tags
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTagsOk() (string, bool) {
|
|
if c == nil || c.Tags == nil {
|
|
return "", false
|
|
}
|
|
return *c.Tags, true
|
|
}
|
|
|
|
// HasTags returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTags() bool {
|
|
if c != nil && c.Tags != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTags allocates a new c.Tags and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTags(v string) {
|
|
c.Tags = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTextAlign() string {
|
|
if c == nil || c.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *c.TextAlign
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTextAlignOk() (string, bool) {
|
|
if c == nil || c.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *c.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTextAlign() bool {
|
|
if c != nil && c.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new c.TextAlign and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTextAlign(v string) {
|
|
c.TextAlign = &v
|
|
}
|
|
|
|
// GetTextSize returns the TextSize field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTextSize() string {
|
|
if c == nil || c.TextSize == nil {
|
|
return ""
|
|
}
|
|
return *c.TextSize
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTextSizeOk() (string, bool) {
|
|
if c == nil || c.TextSize == nil {
|
|
return "", false
|
|
}
|
|
return *c.TextSize, true
|
|
}
|
|
|
|
// HasTextSize returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTextSize() bool {
|
|
if c != nil && c.TextSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextSize allocates a new c.TextSize and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTextSize(v string) {
|
|
c.TextSize = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTimeframe() string {
|
|
if c == nil || c.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *c.Timeframe
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTimeframeOk() (string, bool) {
|
|
if c == nil || c.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *c.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTimeframe() bool {
|
|
if c != nil && c.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new c.Timeframe and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTimeframe(v string) {
|
|
c.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTitle() bool {
|
|
if c == nil || c.Title == nil {
|
|
return false
|
|
}
|
|
return *c.Title
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTitleOk() (bool, bool) {
|
|
if c == nil || c.Title == nil {
|
|
return false, false
|
|
}
|
|
return *c.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTitle() bool {
|
|
if c != nil && c.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new c.Title and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTitle(v bool) {
|
|
c.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTitleAlign() string {
|
|
if c == nil || c.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *c.TitleAlign
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTitleAlignOk() (string, bool) {
|
|
if c == nil || c.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *c.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTitleAlign() bool {
|
|
if c != nil && c.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new c.TitleAlign and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTitleAlign(v string) {
|
|
c.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTitleSize() int {
|
|
if c == nil || c.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *c.TitleSize
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTitleSizeOk() (int, bool) {
|
|
if c == nil || c.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *c.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTitleSize() bool {
|
|
if c != nil && c.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new c.TitleSize and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTitleSize(v int) {
|
|
c.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetTitleText() string {
|
|
if c == nil || c.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *c.TitleText
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTitleTextOk() (string, bool) {
|
|
if c == nil || c.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *c.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasTitleText() bool {
|
|
if c != nil && c.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new c.TitleText and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetTitleText(v string) {
|
|
c.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetType() string {
|
|
if c == nil || c.Type == nil {
|
|
return ""
|
|
}
|
|
return *c.Type
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetTypeOk() (string, bool) {
|
|
if c == nil || c.Type == nil {
|
|
return "", false
|
|
}
|
|
return *c.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasType() bool {
|
|
if c != nil && c.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new c.Type and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetType(v string) {
|
|
c.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetWidth() int {
|
|
if c == nil || c.Width == nil {
|
|
return 0
|
|
}
|
|
return *c.Width
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetWidthOk() (int, bool) {
|
|
if c == nil || c.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasWidth() bool {
|
|
if c != nil && c.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new c.Width and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetWidth(v int) {
|
|
c.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetX() int {
|
|
if c == nil || c.X == nil {
|
|
return 0
|
|
}
|
|
return *c.X
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetXOk() (int, bool) {
|
|
if c == nil || c.X == nil {
|
|
return 0, false
|
|
}
|
|
return *c.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasX() bool {
|
|
if c != nil && c.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new c.X and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetX(v int) {
|
|
c.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (c *CheckStatusWidget) GetY() int {
|
|
if c == nil || c.Y == nil {
|
|
return 0
|
|
}
|
|
return *c.Y
|
|
}
|
|
|
|
// 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 (c *CheckStatusWidget) GetYOk() (int, bool) {
|
|
if c == nil || c.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (c *CheckStatusWidget) HasY() bool {
|
|
if c != nil && c.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new c.Y and returns the pointer to it.
|
|
func (c *CheckStatusWidget) SetY(v int) {
|
|
c.Y = &v
|
|
}
|
|
|
|
// GetHandle returns the Handle field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetHandle() string {
|
|
if c == nil || c.Handle == nil {
|
|
return ""
|
|
}
|
|
return *c.Handle
|
|
}
|
|
|
|
// 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 (c *Comment) GetHandleOk() (string, bool) {
|
|
if c == nil || c.Handle == nil {
|
|
return "", false
|
|
}
|
|
return *c.Handle, true
|
|
}
|
|
|
|
// HasHandle returns a boolean if a field has been set.
|
|
func (c *Comment) HasHandle() bool {
|
|
if c != nil && c.Handle != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHandle allocates a new c.Handle and returns the pointer to it.
|
|
func (c *Comment) SetHandle(v string) {
|
|
c.Handle = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetId() int {
|
|
if c == nil || c.Id == nil {
|
|
return 0
|
|
}
|
|
return *c.Id
|
|
}
|
|
|
|
// 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 (c *Comment) GetIdOk() (int, bool) {
|
|
if c == nil || c.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (c *Comment) HasId() bool {
|
|
if c != nil && c.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new c.Id and returns the pointer to it.
|
|
func (c *Comment) SetId(v int) {
|
|
c.Id = &v
|
|
}
|
|
|
|
// GetMessage returns the Message field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetMessage() string {
|
|
if c == nil || c.Message == nil {
|
|
return ""
|
|
}
|
|
return *c.Message
|
|
}
|
|
|
|
// 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 (c *Comment) GetMessageOk() (string, bool) {
|
|
if c == nil || c.Message == nil {
|
|
return "", false
|
|
}
|
|
return *c.Message, true
|
|
}
|
|
|
|
// HasMessage returns a boolean if a field has been set.
|
|
func (c *Comment) HasMessage() bool {
|
|
if c != nil && c.Message != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMessage allocates a new c.Message and returns the pointer to it.
|
|
func (c *Comment) SetMessage(v string) {
|
|
c.Message = &v
|
|
}
|
|
|
|
// GetRelatedId returns the RelatedId field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetRelatedId() int {
|
|
if c == nil || c.RelatedId == nil {
|
|
return 0
|
|
}
|
|
return *c.RelatedId
|
|
}
|
|
|
|
// 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 (c *Comment) GetRelatedIdOk() (int, bool) {
|
|
if c == nil || c.RelatedId == nil {
|
|
return 0, false
|
|
}
|
|
return *c.RelatedId, true
|
|
}
|
|
|
|
// HasRelatedId returns a boolean if a field has been set.
|
|
func (c *Comment) HasRelatedId() bool {
|
|
if c != nil && c.RelatedId != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRelatedId allocates a new c.RelatedId and returns the pointer to it.
|
|
func (c *Comment) SetRelatedId(v int) {
|
|
c.RelatedId = &v
|
|
}
|
|
|
|
// GetResource returns the Resource field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetResource() string {
|
|
if c == nil || c.Resource == nil {
|
|
return ""
|
|
}
|
|
return *c.Resource
|
|
}
|
|
|
|
// 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 (c *Comment) GetResourceOk() (string, bool) {
|
|
if c == nil || c.Resource == nil {
|
|
return "", false
|
|
}
|
|
return *c.Resource, true
|
|
}
|
|
|
|
// HasResource returns a boolean if a field has been set.
|
|
func (c *Comment) HasResource() bool {
|
|
if c != nil && c.Resource != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResource allocates a new c.Resource and returns the pointer to it.
|
|
func (c *Comment) SetResource(v string) {
|
|
c.Resource = &v
|
|
}
|
|
|
|
// GetUrl returns the Url field if non-nil, zero value otherwise.
|
|
func (c *Comment) GetUrl() string {
|
|
if c == nil || c.Url == nil {
|
|
return ""
|
|
}
|
|
return *c.Url
|
|
}
|
|
|
|
// 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 (c *Comment) GetUrlOk() (string, bool) {
|
|
if c == nil || c.Url == nil {
|
|
return "", false
|
|
}
|
|
return *c.Url, true
|
|
}
|
|
|
|
// HasUrl returns a boolean if a field has been set.
|
|
func (c *Comment) HasUrl() bool {
|
|
if c != nil && c.Url != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUrl allocates a new c.Url and returns the pointer to it.
|
|
func (c *Comment) SetUrl(v string) {
|
|
c.Url = &v
|
|
}
|
|
|
|
// GetColor returns the Color field if non-nil, zero value otherwise.
|
|
func (c *ConditionalFormat) GetColor() string {
|
|
if c == nil || c.Color == nil {
|
|
return ""
|
|
}
|
|
return *c.Color
|
|
}
|
|
|
|
// 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 (c *ConditionalFormat) GetColorOk() (string, bool) {
|
|
if c == nil || c.Color == nil {
|
|
return "", false
|
|
}
|
|
return *c.Color, true
|
|
}
|
|
|
|
// HasColor returns a boolean if a field has been set.
|
|
func (c *ConditionalFormat) HasColor() bool {
|
|
if c != nil && c.Color != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetColor allocates a new c.Color and returns the pointer to it.
|
|
func (c *ConditionalFormat) SetColor(v string) {
|
|
c.Color = &v
|
|
}
|
|
|
|
// GetComparator returns the Comparator field if non-nil, zero value otherwise.
|
|
func (c *ConditionalFormat) GetComparator() string {
|
|
if c == nil || c.Comparator == nil {
|
|
return ""
|
|
}
|
|
return *c.Comparator
|
|
}
|
|
|
|
// 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 (c *ConditionalFormat) GetComparatorOk() (string, bool) {
|
|
if c == nil || c.Comparator == nil {
|
|
return "", false
|
|
}
|
|
return *c.Comparator, true
|
|
}
|
|
|
|
// HasComparator returns a boolean if a field has been set.
|
|
func (c *ConditionalFormat) HasComparator() bool {
|
|
if c != nil && c.Comparator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetComparator allocates a new c.Comparator and returns the pointer to it.
|
|
func (c *ConditionalFormat) SetComparator(v string) {
|
|
c.Comparator = &v
|
|
}
|
|
|
|
// GetInverted returns the Inverted field if non-nil, zero value otherwise.
|
|
func (c *ConditionalFormat) GetInverted() bool {
|
|
if c == nil || c.Inverted == nil {
|
|
return false
|
|
}
|
|
return *c.Inverted
|
|
}
|
|
|
|
// 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 (c *ConditionalFormat) GetInvertedOk() (bool, bool) {
|
|
if c == nil || c.Inverted == nil {
|
|
return false, false
|
|
}
|
|
return *c.Inverted, true
|
|
}
|
|
|
|
// HasInverted returns a boolean if a field has been set.
|
|
func (c *ConditionalFormat) HasInverted() bool {
|
|
if c != nil && c.Inverted != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetInverted allocates a new c.Inverted and returns the pointer to it.
|
|
func (c *ConditionalFormat) SetInverted(v bool) {
|
|
c.Inverted = &v
|
|
}
|
|
|
|
// GetValue returns the Value field if non-nil, zero value otherwise.
|
|
func (c *ConditionalFormat) GetValue() int {
|
|
if c == nil || c.Value == nil {
|
|
return 0
|
|
}
|
|
return *c.Value
|
|
}
|
|
|
|
// 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 (c *ConditionalFormat) GetValueOk() (int, bool) {
|
|
if c == nil || c.Value == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Value, true
|
|
}
|
|
|
|
// HasValue returns a boolean if a field has been set.
|
|
func (c *ConditionalFormat) HasValue() bool {
|
|
if c != nil && c.Value != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetValue allocates a new c.Value and returns the pointer to it.
|
|
func (c *ConditionalFormat) SetValue(v int) {
|
|
c.Value = &v
|
|
}
|
|
|
|
// GetEmail returns the Email field if non-nil, zero value otherwise.
|
|
func (c *Creator) GetEmail() string {
|
|
if c == nil || c.Email == nil {
|
|
return ""
|
|
}
|
|
return *c.Email
|
|
}
|
|
|
|
// 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 (c *Creator) GetEmailOk() (string, bool) {
|
|
if c == nil || c.Email == nil {
|
|
return "", false
|
|
}
|
|
return *c.Email, true
|
|
}
|
|
|
|
// HasEmail returns a boolean if a field has been set.
|
|
func (c *Creator) HasEmail() bool {
|
|
if c != nil && c.Email != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEmail allocates a new c.Email and returns the pointer to it.
|
|
func (c *Creator) SetEmail(v string) {
|
|
c.Email = &v
|
|
}
|
|
|
|
// GetHandle returns the Handle field if non-nil, zero value otherwise.
|
|
func (c *Creator) GetHandle() string {
|
|
if c == nil || c.Handle == nil {
|
|
return ""
|
|
}
|
|
return *c.Handle
|
|
}
|
|
|
|
// 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 (c *Creator) GetHandleOk() (string, bool) {
|
|
if c == nil || c.Handle == nil {
|
|
return "", false
|
|
}
|
|
return *c.Handle, true
|
|
}
|
|
|
|
// HasHandle returns a boolean if a field has been set.
|
|
func (c *Creator) HasHandle() bool {
|
|
if c != nil && c.Handle != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHandle allocates a new c.Handle and returns the pointer to it.
|
|
func (c *Creator) SetHandle(v string) {
|
|
c.Handle = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (c *Creator) GetId() int {
|
|
if c == nil || c.Id == nil {
|
|
return 0
|
|
}
|
|
return *c.Id
|
|
}
|
|
|
|
// 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 (c *Creator) GetIdOk() (int, bool) {
|
|
if c == nil || c.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *c.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (c *Creator) HasId() bool {
|
|
if c != nil && c.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new c.Id and returns the pointer to it.
|
|
func (c *Creator) SetId(v int) {
|
|
c.Id = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (c *Creator) GetName() string {
|
|
if c == nil || c.Name == nil {
|
|
return ""
|
|
}
|
|
return *c.Name
|
|
}
|
|
|
|
// 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 (c *Creator) GetNameOk() (string, bool) {
|
|
if c == nil || c.Name == nil {
|
|
return "", false
|
|
}
|
|
return *c.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (c *Creator) HasName() bool {
|
|
if c != nil && c.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new c.Name and returns the pointer to it.
|
|
func (c *Creator) SetName(v string) {
|
|
c.Name = &v
|
|
}
|
|
|
|
// GetDescription returns the Description field if non-nil, zero value otherwise.
|
|
func (d *Dashboard) GetDescription() string {
|
|
if d == nil || d.Description == nil {
|
|
return ""
|
|
}
|
|
return *d.Description
|
|
}
|
|
|
|
// 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 (d *Dashboard) GetDescriptionOk() (string, bool) {
|
|
if d == nil || d.Description == nil {
|
|
return "", false
|
|
}
|
|
return *d.Description, true
|
|
}
|
|
|
|
// HasDescription returns a boolean if a field has been set.
|
|
func (d *Dashboard) HasDescription() bool {
|
|
if d != nil && d.Description != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDescription allocates a new d.Description and returns the pointer to it.
|
|
func (d *Dashboard) SetDescription(v string) {
|
|
d.Description = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (d *Dashboard) GetId() int {
|
|
if d == nil || d.Id == nil {
|
|
return 0
|
|
}
|
|
return *d.Id
|
|
}
|
|
|
|
// 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 (d *Dashboard) GetIdOk() (int, bool) {
|
|
if d == nil || d.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *d.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (d *Dashboard) HasId() bool {
|
|
if d != nil && d.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new d.Id and returns the pointer to it.
|
|
func (d *Dashboard) SetId(v int) {
|
|
d.Id = &v
|
|
}
|
|
|
|
// GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
|
|
func (d *Dashboard) GetReadOnly() bool {
|
|
if d == nil || d.ReadOnly == nil {
|
|
return false
|
|
}
|
|
return *d.ReadOnly
|
|
}
|
|
|
|
// 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 (d *Dashboard) GetReadOnlyOk() (bool, bool) {
|
|
if d == nil || d.ReadOnly == nil {
|
|
return false, false
|
|
}
|
|
return *d.ReadOnly, true
|
|
}
|
|
|
|
// HasReadOnly returns a boolean if a field has been set.
|
|
func (d *Dashboard) HasReadOnly() bool {
|
|
if d != nil && d.ReadOnly != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetReadOnly allocates a new d.ReadOnly and returns the pointer to it.
|
|
func (d *Dashboard) SetReadOnly(v bool) {
|
|
d.ReadOnly = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (d *Dashboard) GetTitle() string {
|
|
if d == nil || d.Title == nil {
|
|
return ""
|
|
}
|
|
return *d.Title
|
|
}
|
|
|
|
// 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 (d *Dashboard) GetTitleOk() (string, bool) {
|
|
if d == nil || d.Title == nil {
|
|
return "", false
|
|
}
|
|
return *d.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (d *Dashboard) HasTitle() bool {
|
|
if d != nil && d.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new d.Title and returns the pointer to it.
|
|
func (d *Dashboard) SetTitle(v string) {
|
|
d.Title = &v
|
|
}
|
|
|
|
// GetComparator returns the Comparator field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetComparator() string {
|
|
if d == nil || d.Comparator == nil {
|
|
return ""
|
|
}
|
|
return *d.Comparator
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetComparatorOk() (string, bool) {
|
|
if d == nil || d.Comparator == nil {
|
|
return "", false
|
|
}
|
|
return *d.Comparator, true
|
|
}
|
|
|
|
// HasComparator returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasComparator() bool {
|
|
if d != nil && d.Comparator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetComparator allocates a new d.Comparator and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetComparator(v string) {
|
|
d.Comparator = &v
|
|
}
|
|
|
|
// GetCustomBgColor returns the CustomBgColor field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetCustomBgColor() string {
|
|
if d == nil || d.CustomBgColor == nil {
|
|
return ""
|
|
}
|
|
return *d.CustomBgColor
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetCustomBgColorOk() (string, bool) {
|
|
if d == nil || d.CustomBgColor == nil {
|
|
return "", false
|
|
}
|
|
return *d.CustomBgColor, true
|
|
}
|
|
|
|
// HasCustomBgColor returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasCustomBgColor() bool {
|
|
if d != nil && d.CustomBgColor != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCustomBgColor allocates a new d.CustomBgColor and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetCustomBgColor(v string) {
|
|
d.CustomBgColor = &v
|
|
}
|
|
|
|
// GetCustomFgColor returns the CustomFgColor field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetCustomFgColor() string {
|
|
if d == nil || d.CustomFgColor == nil {
|
|
return ""
|
|
}
|
|
return *d.CustomFgColor
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetCustomFgColorOk() (string, bool) {
|
|
if d == nil || d.CustomFgColor == nil {
|
|
return "", false
|
|
}
|
|
return *d.CustomFgColor, true
|
|
}
|
|
|
|
// HasCustomFgColor returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasCustomFgColor() bool {
|
|
if d != nil && d.CustomFgColor != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCustomFgColor allocates a new d.CustomFgColor and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetCustomFgColor(v string) {
|
|
d.CustomFgColor = &v
|
|
}
|
|
|
|
// GetInverted returns the Inverted field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetInverted() bool {
|
|
if d == nil || d.Inverted == nil {
|
|
return false
|
|
}
|
|
return *d.Inverted
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetInvertedOk() (bool, bool) {
|
|
if d == nil || d.Inverted == nil {
|
|
return false, false
|
|
}
|
|
return *d.Inverted, true
|
|
}
|
|
|
|
// HasInverted returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasInverted() bool {
|
|
if d != nil && d.Inverted != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetInverted allocates a new d.Inverted and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetInverted(v bool) {
|
|
d.Inverted = &v
|
|
}
|
|
|
|
// GetPalette returns the Palette field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetPalette() string {
|
|
if d == nil || d.Palette == nil {
|
|
return ""
|
|
}
|
|
return *d.Palette
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetPaletteOk() (string, bool) {
|
|
if d == nil || d.Palette == nil {
|
|
return "", false
|
|
}
|
|
return *d.Palette, true
|
|
}
|
|
|
|
// HasPalette returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasPalette() bool {
|
|
if d != nil && d.Palette != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPalette allocates a new d.Palette and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetPalette(v string) {
|
|
d.Palette = &v
|
|
}
|
|
|
|
// GetValue returns the Value field if non-nil, zero value otherwise.
|
|
func (d *DashboardConditionalFormat) GetValue() json.Number {
|
|
if d == nil || d.Value == nil {
|
|
return ""
|
|
}
|
|
return *d.Value
|
|
}
|
|
|
|
// 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 (d *DashboardConditionalFormat) GetValueOk() (json.Number, bool) {
|
|
if d == nil || d.Value == nil {
|
|
return "", false
|
|
}
|
|
return *d.Value, true
|
|
}
|
|
|
|
// HasValue returns a boolean if a field has been set.
|
|
func (d *DashboardConditionalFormat) HasValue() bool {
|
|
if d != nil && d.Value != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetValue allocates a new d.Value and returns the pointer to it.
|
|
func (d *DashboardConditionalFormat) SetValue(v json.Number) {
|
|
d.Value = &v
|
|
}
|
|
|
|
// GetDescription returns the Description field if non-nil, zero value otherwise.
|
|
func (d *DashboardLite) GetDescription() string {
|
|
if d == nil || d.Description == nil {
|
|
return ""
|
|
}
|
|
return *d.Description
|
|
}
|
|
|
|
// 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 (d *DashboardLite) GetDescriptionOk() (string, bool) {
|
|
if d == nil || d.Description == nil {
|
|
return "", false
|
|
}
|
|
return *d.Description, true
|
|
}
|
|
|
|
// HasDescription returns a boolean if a field has been set.
|
|
func (d *DashboardLite) HasDescription() bool {
|
|
if d != nil && d.Description != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDescription allocates a new d.Description and returns the pointer to it.
|
|
func (d *DashboardLite) SetDescription(v string) {
|
|
d.Description = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (d *DashboardLite) GetId() int {
|
|
if d == nil || d.Id == nil {
|
|
return 0
|
|
}
|
|
return *d.Id
|
|
}
|
|
|
|
// 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 (d *DashboardLite) GetIdOk() (int, bool) {
|
|
if d == nil || d.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *d.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (d *DashboardLite) HasId() bool {
|
|
if d != nil && d.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new d.Id and returns the pointer to it.
|
|
func (d *DashboardLite) SetId(v int) {
|
|
d.Id = &v
|
|
}
|
|
|
|
// GetResource returns the Resource field if non-nil, zero value otherwise.
|
|
func (d *DashboardLite) GetResource() string {
|
|
if d == nil || d.Resource == nil {
|
|
return ""
|
|
}
|
|
return *d.Resource
|
|
}
|
|
|
|
// 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 (d *DashboardLite) GetResourceOk() (string, bool) {
|
|
if d == nil || d.Resource == nil {
|
|
return "", false
|
|
}
|
|
return *d.Resource, true
|
|
}
|
|
|
|
// HasResource returns a boolean if a field has been set.
|
|
func (d *DashboardLite) HasResource() bool {
|
|
if d != nil && d.Resource != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResource allocates a new d.Resource and returns the pointer to it.
|
|
func (d *DashboardLite) SetResource(v string) {
|
|
d.Resource = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (d *DashboardLite) GetTitle() string {
|
|
if d == nil || d.Title == nil {
|
|
return ""
|
|
}
|
|
return *d.Title
|
|
}
|
|
|
|
// 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 (d *DashboardLite) GetTitleOk() (string, bool) {
|
|
if d == nil || d.Title == nil {
|
|
return "", false
|
|
}
|
|
return *d.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (d *DashboardLite) HasTitle() bool {
|
|
if d != nil && d.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new d.Title and returns the pointer to it.
|
|
func (d *DashboardLite) SetTitle(v string) {
|
|
d.Title = &v
|
|
}
|
|
|
|
// GetActive returns the Active field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetActive() bool {
|
|
if d == nil || d.Active == nil {
|
|
return false
|
|
}
|
|
return *d.Active
|
|
}
|
|
|
|
// 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 (d *Downtime) GetActiveOk() (bool, bool) {
|
|
if d == nil || d.Active == nil {
|
|
return false, false
|
|
}
|
|
return *d.Active, true
|
|
}
|
|
|
|
// HasActive returns a boolean if a field has been set.
|
|
func (d *Downtime) HasActive() bool {
|
|
if d != nil && d.Active != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetActive allocates a new d.Active and returns the pointer to it.
|
|
func (d *Downtime) SetActive(v bool) {
|
|
d.Active = &v
|
|
}
|
|
|
|
// GetCanceled returns the Canceled field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetCanceled() int {
|
|
if d == nil || d.Canceled == nil {
|
|
return 0
|
|
}
|
|
return *d.Canceled
|
|
}
|
|
|
|
// 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 (d *Downtime) GetCanceledOk() (int, bool) {
|
|
if d == nil || d.Canceled == nil {
|
|
return 0, false
|
|
}
|
|
return *d.Canceled, true
|
|
}
|
|
|
|
// HasCanceled returns a boolean if a field has been set.
|
|
func (d *Downtime) HasCanceled() bool {
|
|
if d != nil && d.Canceled != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCanceled allocates a new d.Canceled and returns the pointer to it.
|
|
func (d *Downtime) SetCanceled(v int) {
|
|
d.Canceled = &v
|
|
}
|
|
|
|
// GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetDisabled() bool {
|
|
if d == nil || d.Disabled == nil {
|
|
return false
|
|
}
|
|
return *d.Disabled
|
|
}
|
|
|
|
// 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 (d *Downtime) GetDisabledOk() (bool, bool) {
|
|
if d == nil || d.Disabled == nil {
|
|
return false, false
|
|
}
|
|
return *d.Disabled, true
|
|
}
|
|
|
|
// HasDisabled returns a boolean if a field has been set.
|
|
func (d *Downtime) HasDisabled() bool {
|
|
if d != nil && d.Disabled != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDisabled allocates a new d.Disabled and returns the pointer to it.
|
|
func (d *Downtime) SetDisabled(v bool) {
|
|
d.Disabled = &v
|
|
}
|
|
|
|
// GetEnd returns the End field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetEnd() int {
|
|
if d == nil || d.End == nil {
|
|
return 0
|
|
}
|
|
return *d.End
|
|
}
|
|
|
|
// 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 (d *Downtime) GetEndOk() (int, bool) {
|
|
if d == nil || d.End == nil {
|
|
return 0, false
|
|
}
|
|
return *d.End, true
|
|
}
|
|
|
|
// HasEnd returns a boolean if a field has been set.
|
|
func (d *Downtime) HasEnd() bool {
|
|
if d != nil && d.End != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEnd allocates a new d.End and returns the pointer to it.
|
|
func (d *Downtime) SetEnd(v int) {
|
|
d.End = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetId() int {
|
|
if d == nil || d.Id == nil {
|
|
return 0
|
|
}
|
|
return *d.Id
|
|
}
|
|
|
|
// 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 (d *Downtime) GetIdOk() (int, bool) {
|
|
if d == nil || d.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *d.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (d *Downtime) HasId() bool {
|
|
if d != nil && d.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new d.Id and returns the pointer to it.
|
|
func (d *Downtime) SetId(v int) {
|
|
d.Id = &v
|
|
}
|
|
|
|
// GetMessage returns the Message field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetMessage() string {
|
|
if d == nil || d.Message == nil {
|
|
return ""
|
|
}
|
|
return *d.Message
|
|
}
|
|
|
|
// 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 (d *Downtime) GetMessageOk() (string, bool) {
|
|
if d == nil || d.Message == nil {
|
|
return "", false
|
|
}
|
|
return *d.Message, true
|
|
}
|
|
|
|
// HasMessage returns a boolean if a field has been set.
|
|
func (d *Downtime) HasMessage() bool {
|
|
if d != nil && d.Message != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMessage allocates a new d.Message and returns the pointer to it.
|
|
func (d *Downtime) SetMessage(v string) {
|
|
d.Message = &v
|
|
}
|
|
|
|
// GetMonitorId returns the MonitorId field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetMonitorId() int {
|
|
if d == nil || d.MonitorId == nil {
|
|
return 0
|
|
}
|
|
return *d.MonitorId
|
|
}
|
|
|
|
// 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 (d *Downtime) GetMonitorIdOk() (int, bool) {
|
|
if d == nil || d.MonitorId == nil {
|
|
return 0, false
|
|
}
|
|
return *d.MonitorId, true
|
|
}
|
|
|
|
// HasMonitorId returns a boolean if a field has been set.
|
|
func (d *Downtime) HasMonitorId() bool {
|
|
if d != nil && d.MonitorId != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMonitorId allocates a new d.MonitorId and returns the pointer to it.
|
|
func (d *Downtime) SetMonitorId(v int) {
|
|
d.MonitorId = &v
|
|
}
|
|
|
|
// GetRecurrence returns the Recurrence field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetRecurrence() Recurrence {
|
|
if d == nil || d.Recurrence == nil {
|
|
return Recurrence{}
|
|
}
|
|
return *d.Recurrence
|
|
}
|
|
|
|
// 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 (d *Downtime) GetRecurrenceOk() (Recurrence, bool) {
|
|
if d == nil || d.Recurrence == nil {
|
|
return Recurrence{}, false
|
|
}
|
|
return *d.Recurrence, true
|
|
}
|
|
|
|
// HasRecurrence returns a boolean if a field has been set.
|
|
func (d *Downtime) HasRecurrence() bool {
|
|
if d != nil && d.Recurrence != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRecurrence allocates a new d.Recurrence and returns the pointer to it.
|
|
func (d *Downtime) SetRecurrence(v Recurrence) {
|
|
d.Recurrence = &v
|
|
}
|
|
|
|
// GetStart returns the Start field if non-nil, zero value otherwise.
|
|
func (d *Downtime) GetStart() int {
|
|
if d == nil || d.Start == nil {
|
|
return 0
|
|
}
|
|
return *d.Start
|
|
}
|
|
|
|
// 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 (d *Downtime) GetStartOk() (int, bool) {
|
|
if d == nil || d.Start == nil {
|
|
return 0, false
|
|
}
|
|
return *d.Start, true
|
|
}
|
|
|
|
// HasStart returns a boolean if a field has been set.
|
|
func (d *Downtime) HasStart() bool {
|
|
if d != nil && d.Start != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStart allocates a new d.Start and returns the pointer to it.
|
|
func (d *Downtime) SetStart(v int) {
|
|
d.Start = &v
|
|
}
|
|
|
|
// GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
|
|
func (e *Event) GetAggregation() string {
|
|
if e == nil || e.Aggregation == nil {
|
|
return ""
|
|
}
|
|
return *e.Aggregation
|
|
}
|
|
|
|
// 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 (e *Event) GetAggregationOk() (string, bool) {
|
|
if e == nil || e.Aggregation == nil {
|
|
return "", false
|
|
}
|
|
return *e.Aggregation, true
|
|
}
|
|
|
|
// HasAggregation returns a boolean if a field has been set.
|
|
func (e *Event) HasAggregation() bool {
|
|
if e != nil && e.Aggregation != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAggregation allocates a new e.Aggregation and returns the pointer to it.
|
|
func (e *Event) SetAggregation(v string) {
|
|
e.Aggregation = &v
|
|
}
|
|
|
|
// GetAlertType returns the AlertType field if non-nil, zero value otherwise.
|
|
func (e *Event) GetAlertType() string {
|
|
if e == nil || e.AlertType == nil {
|
|
return ""
|
|
}
|
|
return *e.AlertType
|
|
}
|
|
|
|
// 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 (e *Event) GetAlertTypeOk() (string, bool) {
|
|
if e == nil || e.AlertType == nil {
|
|
return "", false
|
|
}
|
|
return *e.AlertType, true
|
|
}
|
|
|
|
// HasAlertType returns a boolean if a field has been set.
|
|
func (e *Event) HasAlertType() bool {
|
|
if e != nil && e.AlertType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAlertType allocates a new e.AlertType and returns the pointer to it.
|
|
func (e *Event) SetAlertType(v string) {
|
|
e.AlertType = &v
|
|
}
|
|
|
|
// GetEventType returns the EventType field if non-nil, zero value otherwise.
|
|
func (e *Event) GetEventType() string {
|
|
if e == nil || e.EventType == nil {
|
|
return ""
|
|
}
|
|
return *e.EventType
|
|
}
|
|
|
|
// 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 (e *Event) GetEventTypeOk() (string, bool) {
|
|
if e == nil || e.EventType == nil {
|
|
return "", false
|
|
}
|
|
return *e.EventType, true
|
|
}
|
|
|
|
// HasEventType returns a boolean if a field has been set.
|
|
func (e *Event) HasEventType() bool {
|
|
if e != nil && e.EventType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEventType allocates a new e.EventType and returns the pointer to it.
|
|
func (e *Event) SetEventType(v string) {
|
|
e.EventType = &v
|
|
}
|
|
|
|
// GetHost returns the Host field if non-nil, zero value otherwise.
|
|
func (e *Event) GetHost() string {
|
|
if e == nil || e.Host == nil {
|
|
return ""
|
|
}
|
|
return *e.Host
|
|
}
|
|
|
|
// 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 (e *Event) GetHostOk() (string, bool) {
|
|
if e == nil || e.Host == nil {
|
|
return "", false
|
|
}
|
|
return *e.Host, true
|
|
}
|
|
|
|
// HasHost returns a boolean if a field has been set.
|
|
func (e *Event) HasHost() bool {
|
|
if e != nil && e.Host != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHost allocates a new e.Host and returns the pointer to it.
|
|
func (e *Event) SetHost(v string) {
|
|
e.Host = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (e *Event) GetId() int {
|
|
if e == nil || e.Id == nil {
|
|
return 0
|
|
}
|
|
return *e.Id
|
|
}
|
|
|
|
// 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 (e *Event) GetIdOk() (int, bool) {
|
|
if e == nil || e.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (e *Event) HasId() bool {
|
|
if e != nil && e.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new e.Id and returns the pointer to it.
|
|
func (e *Event) SetId(v int) {
|
|
e.Id = &v
|
|
}
|
|
|
|
// GetPriority returns the Priority field if non-nil, zero value otherwise.
|
|
func (e *Event) GetPriority() string {
|
|
if e == nil || e.Priority == nil {
|
|
return ""
|
|
}
|
|
return *e.Priority
|
|
}
|
|
|
|
// 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 (e *Event) GetPriorityOk() (string, bool) {
|
|
if e == nil || e.Priority == nil {
|
|
return "", false
|
|
}
|
|
return *e.Priority, true
|
|
}
|
|
|
|
// HasPriority returns a boolean if a field has been set.
|
|
func (e *Event) HasPriority() bool {
|
|
if e != nil && e.Priority != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPriority allocates a new e.Priority and returns the pointer to it.
|
|
func (e *Event) SetPriority(v string) {
|
|
e.Priority = &v
|
|
}
|
|
|
|
// GetResource returns the Resource field if non-nil, zero value otherwise.
|
|
func (e *Event) GetResource() string {
|
|
if e == nil || e.Resource == nil {
|
|
return ""
|
|
}
|
|
return *e.Resource
|
|
}
|
|
|
|
// 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 (e *Event) GetResourceOk() (string, bool) {
|
|
if e == nil || e.Resource == nil {
|
|
return "", false
|
|
}
|
|
return *e.Resource, true
|
|
}
|
|
|
|
// HasResource returns a boolean if a field has been set.
|
|
func (e *Event) HasResource() bool {
|
|
if e != nil && e.Resource != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResource allocates a new e.Resource and returns the pointer to it.
|
|
func (e *Event) SetResource(v string) {
|
|
e.Resource = &v
|
|
}
|
|
|
|
// GetSourceType returns the SourceType field if non-nil, zero value otherwise.
|
|
func (e *Event) GetSourceType() string {
|
|
if e == nil || e.SourceType == nil {
|
|
return ""
|
|
}
|
|
return *e.SourceType
|
|
}
|
|
|
|
// 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 (e *Event) GetSourceTypeOk() (string, bool) {
|
|
if e == nil || e.SourceType == nil {
|
|
return "", false
|
|
}
|
|
return *e.SourceType, true
|
|
}
|
|
|
|
// HasSourceType returns a boolean if a field has been set.
|
|
func (e *Event) HasSourceType() bool {
|
|
if e != nil && e.SourceType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetSourceType allocates a new e.SourceType and returns the pointer to it.
|
|
func (e *Event) SetSourceType(v string) {
|
|
e.SourceType = &v
|
|
}
|
|
|
|
// GetText returns the Text field if non-nil, zero value otherwise.
|
|
func (e *Event) GetText() string {
|
|
if e == nil || e.Text == nil {
|
|
return ""
|
|
}
|
|
return *e.Text
|
|
}
|
|
|
|
// 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 (e *Event) GetTextOk() (string, bool) {
|
|
if e == nil || e.Text == nil {
|
|
return "", false
|
|
}
|
|
return *e.Text, true
|
|
}
|
|
|
|
// HasText returns a boolean if a field has been set.
|
|
func (e *Event) HasText() bool {
|
|
if e != nil && e.Text != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetText allocates a new e.Text and returns the pointer to it.
|
|
func (e *Event) SetText(v string) {
|
|
e.Text = &v
|
|
}
|
|
|
|
// GetTime returns the Time field if non-nil, zero value otherwise.
|
|
func (e *Event) GetTime() int {
|
|
if e == nil || e.Time == nil {
|
|
return 0
|
|
}
|
|
return *e.Time
|
|
}
|
|
|
|
// 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 (e *Event) GetTimeOk() (int, bool) {
|
|
if e == nil || e.Time == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Time, true
|
|
}
|
|
|
|
// HasTime returns a boolean if a field has been set.
|
|
func (e *Event) HasTime() bool {
|
|
if e != nil && e.Time != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTime allocates a new e.Time and returns the pointer to it.
|
|
func (e *Event) SetTime(v int) {
|
|
e.Time = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (e *Event) GetTitle() string {
|
|
if e == nil || e.Title == nil {
|
|
return ""
|
|
}
|
|
return *e.Title
|
|
}
|
|
|
|
// 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 (e *Event) GetTitleOk() (string, bool) {
|
|
if e == nil || e.Title == nil {
|
|
return "", false
|
|
}
|
|
return *e.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (e *Event) HasTitle() bool {
|
|
if e != nil && e.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new e.Title and returns the pointer to it.
|
|
func (e *Event) SetTitle(v string) {
|
|
e.Title = &v
|
|
}
|
|
|
|
// GetUrl returns the Url field if non-nil, zero value otherwise.
|
|
func (e *Event) GetUrl() string {
|
|
if e == nil || e.Url == nil {
|
|
return ""
|
|
}
|
|
return *e.Url
|
|
}
|
|
|
|
// 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 (e *Event) GetUrlOk() (string, bool) {
|
|
if e == nil || e.Url == nil {
|
|
return "", false
|
|
}
|
|
return *e.Url, true
|
|
}
|
|
|
|
// HasUrl returns a boolean if a field has been set.
|
|
func (e *Event) HasUrl() bool {
|
|
if e != nil && e.Url != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUrl allocates a new e.Url and returns the pointer to it.
|
|
func (e *Event) SetUrl(v string) {
|
|
e.Url = &v
|
|
}
|
|
|
|
// GetEventSize returns the EventSize field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetEventSize() string {
|
|
if e == nil || e.EventSize == nil {
|
|
return ""
|
|
}
|
|
return *e.EventSize
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetEventSizeOk() (string, bool) {
|
|
if e == nil || e.EventSize == nil {
|
|
return "", false
|
|
}
|
|
return *e.EventSize, true
|
|
}
|
|
|
|
// HasEventSize returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasEventSize() bool {
|
|
if e != nil && e.EventSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEventSize allocates a new e.EventSize and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetEventSize(v string) {
|
|
e.EventSize = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetHeight() int {
|
|
if e == nil || e.Height == nil {
|
|
return 0
|
|
}
|
|
return *e.Height
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetHeightOk() (int, bool) {
|
|
if e == nil || e.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasHeight() bool {
|
|
if e != nil && e.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new e.Height and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetHeight(v int) {
|
|
e.Height = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetQuery() string {
|
|
if e == nil || e.Query == nil {
|
|
return ""
|
|
}
|
|
return *e.Query
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetQueryOk() (string, bool) {
|
|
if e == nil || e.Query == nil {
|
|
return "", false
|
|
}
|
|
return *e.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasQuery() bool {
|
|
if e != nil && e.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new e.Query and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetQuery(v string) {
|
|
e.Query = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetTimeframe() string {
|
|
if e == nil || e.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *e.Timeframe
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTimeframeOk() (string, bool) {
|
|
if e == nil || e.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *e.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasTimeframe() bool {
|
|
if e != nil && e.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new e.Timeframe and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetTimeframe(v string) {
|
|
e.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetTitle() bool {
|
|
if e == nil || e.Title == nil {
|
|
return false
|
|
}
|
|
return *e.Title
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTitleOk() (bool, bool) {
|
|
if e == nil || e.Title == nil {
|
|
return false, false
|
|
}
|
|
return *e.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasTitle() bool {
|
|
if e != nil && e.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new e.Title and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetTitle(v bool) {
|
|
e.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetTitleAlign() string {
|
|
if e == nil || e.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *e.TitleAlign
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTitleAlignOk() (string, bool) {
|
|
if e == nil || e.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *e.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasTitleAlign() bool {
|
|
if e != nil && e.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetTitleAlign(v string) {
|
|
e.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetTitleSize() TextSize {
|
|
if e == nil || e.TitleSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *e.TitleSize
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTitleSizeOk() (TextSize, bool) {
|
|
if e == nil || e.TitleSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *e.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasTitleSize() bool {
|
|
if e != nil && e.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new e.TitleSize and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetTitleSize(v TextSize) {
|
|
e.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetTitleText() string {
|
|
if e == nil || e.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *e.TitleText
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTitleTextOk() (string, bool) {
|
|
if e == nil || e.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *e.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasTitleText() bool {
|
|
if e != nil && e.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new e.TitleText and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetTitleText(v string) {
|
|
e.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetType() string {
|
|
if e == nil || e.Type == nil {
|
|
return ""
|
|
}
|
|
return *e.Type
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetTypeOk() (string, bool) {
|
|
if e == nil || e.Type == nil {
|
|
return "", false
|
|
}
|
|
return *e.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasType() bool {
|
|
if e != nil && e.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new e.Type and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetType(v string) {
|
|
e.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetWidth() int {
|
|
if e == nil || e.Width == nil {
|
|
return 0
|
|
}
|
|
return *e.Width
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetWidthOk() (int, bool) {
|
|
if e == nil || e.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasWidth() bool {
|
|
if e != nil && e.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new e.Width and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetWidth(v int) {
|
|
e.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetX() int {
|
|
if e == nil || e.X == nil {
|
|
return 0
|
|
}
|
|
return *e.X
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetXOk() (int, bool) {
|
|
if e == nil || e.X == nil {
|
|
return 0, false
|
|
}
|
|
return *e.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasX() bool {
|
|
if e != nil && e.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new e.X and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetX(v int) {
|
|
e.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (e *EventStreamWidget) GetY() int {
|
|
if e == nil || e.Y == nil {
|
|
return 0
|
|
}
|
|
return *e.Y
|
|
}
|
|
|
|
// 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 (e *EventStreamWidget) GetYOk() (int, bool) {
|
|
if e == nil || e.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (e *EventStreamWidget) HasY() bool {
|
|
if e != nil && e.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new e.Y and returns the pointer to it.
|
|
func (e *EventStreamWidget) SetY(v int) {
|
|
e.Y = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetHeight() int {
|
|
if e == nil || e.Height == nil {
|
|
return 0
|
|
}
|
|
return *e.Height
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetHeightOk() (int, bool) {
|
|
if e == nil || e.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasHeight() bool {
|
|
if e != nil && e.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new e.Height and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetHeight(v int) {
|
|
e.Height = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetQuery() string {
|
|
if e == nil || e.Query == nil {
|
|
return ""
|
|
}
|
|
return *e.Query
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetQueryOk() (string, bool) {
|
|
if e == nil || e.Query == nil {
|
|
return "", false
|
|
}
|
|
return *e.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasQuery() bool {
|
|
if e != nil && e.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new e.Query and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetQuery(v string) {
|
|
e.Query = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetTimeframe() string {
|
|
if e == nil || e.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *e.Timeframe
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTimeframeOk() (string, bool) {
|
|
if e == nil || e.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *e.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasTimeframe() bool {
|
|
if e != nil && e.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new e.Timeframe and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetTimeframe(v string) {
|
|
e.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetTitle() bool {
|
|
if e == nil || e.Title == nil {
|
|
return false
|
|
}
|
|
return *e.Title
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTitleOk() (bool, bool) {
|
|
if e == nil || e.Title == nil {
|
|
return false, false
|
|
}
|
|
return *e.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasTitle() bool {
|
|
if e != nil && e.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new e.Title and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetTitle(v bool) {
|
|
e.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetTitleAlign() string {
|
|
if e == nil || e.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *e.TitleAlign
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTitleAlignOk() (string, bool) {
|
|
if e == nil || e.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *e.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasTitleAlign() bool {
|
|
if e != nil && e.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new e.TitleAlign and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetTitleAlign(v string) {
|
|
e.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetTitleSize() int {
|
|
if e == nil || e.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *e.TitleSize
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTitleSizeOk() (int, bool) {
|
|
if e == nil || e.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *e.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasTitleSize() bool {
|
|
if e != nil && e.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new e.TitleSize and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetTitleSize(v int) {
|
|
e.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetTitleText() string {
|
|
if e == nil || e.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *e.TitleText
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTitleTextOk() (string, bool) {
|
|
if e == nil || e.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *e.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasTitleText() bool {
|
|
if e != nil && e.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new e.TitleText and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetTitleText(v string) {
|
|
e.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetType() string {
|
|
if e == nil || e.Type == nil {
|
|
return ""
|
|
}
|
|
return *e.Type
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetTypeOk() (string, bool) {
|
|
if e == nil || e.Type == nil {
|
|
return "", false
|
|
}
|
|
return *e.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasType() bool {
|
|
if e != nil && e.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new e.Type and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetType(v string) {
|
|
e.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetWidth() int {
|
|
if e == nil || e.Width == nil {
|
|
return 0
|
|
}
|
|
return *e.Width
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetWidthOk() (int, bool) {
|
|
if e == nil || e.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasWidth() bool {
|
|
if e != nil && e.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new e.Width and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetWidth(v int) {
|
|
e.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetX() int {
|
|
if e == nil || e.X == nil {
|
|
return 0
|
|
}
|
|
return *e.X
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetXOk() (int, bool) {
|
|
if e == nil || e.X == nil {
|
|
return 0, false
|
|
}
|
|
return *e.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasX() bool {
|
|
if e != nil && e.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new e.X and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetX(v int) {
|
|
e.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (e *EventTimelineWidget) GetY() int {
|
|
if e == nil || e.Y == nil {
|
|
return 0
|
|
}
|
|
return *e.Y
|
|
}
|
|
|
|
// 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 (e *EventTimelineWidget) GetYOk() (int, bool) {
|
|
if e == nil || e.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *e.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (e *EventTimelineWidget) HasY() bool {
|
|
if e != nil && e.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new e.Y and returns the pointer to it.
|
|
func (e *EventTimelineWidget) SetY(v int) {
|
|
e.Y = &v
|
|
}
|
|
|
|
// GetColor returns the Color field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetColor() string {
|
|
if f == nil || f.Color == nil {
|
|
return ""
|
|
}
|
|
return *f.Color
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetColorOk() (string, bool) {
|
|
if f == nil || f.Color == nil {
|
|
return "", false
|
|
}
|
|
return *f.Color, true
|
|
}
|
|
|
|
// HasColor returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasColor() bool {
|
|
if f != nil && f.Color != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetColor allocates a new f.Color and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetColor(v string) {
|
|
f.Color = &v
|
|
}
|
|
|
|
// GetFontSize returns the FontSize field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetFontSize() string {
|
|
if f == nil || f.FontSize == nil {
|
|
return ""
|
|
}
|
|
return *f.FontSize
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetFontSizeOk() (string, bool) {
|
|
if f == nil || f.FontSize == nil {
|
|
return "", false
|
|
}
|
|
return *f.FontSize, true
|
|
}
|
|
|
|
// HasFontSize returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasFontSize() bool {
|
|
if f != nil && f.FontSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetFontSize allocates a new f.FontSize and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetFontSize(v string) {
|
|
f.FontSize = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetHeight() int {
|
|
if f == nil || f.Height == nil {
|
|
return 0
|
|
}
|
|
return *f.Height
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetHeightOk() (int, bool) {
|
|
if f == nil || f.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *f.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasHeight() bool {
|
|
if f != nil && f.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new f.Height and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetHeight(v int) {
|
|
f.Height = &v
|
|
}
|
|
|
|
// GetText returns the Text field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetText() string {
|
|
if f == nil || f.Text == nil {
|
|
return ""
|
|
}
|
|
return *f.Text
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetTextOk() (string, bool) {
|
|
if f == nil || f.Text == nil {
|
|
return "", false
|
|
}
|
|
return *f.Text, true
|
|
}
|
|
|
|
// HasText returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasText() bool {
|
|
if f != nil && f.Text != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetText allocates a new f.Text and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetText(v string) {
|
|
f.Text = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetTextAlign() string {
|
|
if f == nil || f.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *f.TextAlign
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetTextAlignOk() (string, bool) {
|
|
if f == nil || f.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *f.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasTextAlign() bool {
|
|
if f != nil && f.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new f.TextAlign and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetTextAlign(v string) {
|
|
f.TextAlign = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetType() string {
|
|
if f == nil || f.Type == nil {
|
|
return ""
|
|
}
|
|
return *f.Type
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetTypeOk() (string, bool) {
|
|
if f == nil || f.Type == nil {
|
|
return "", false
|
|
}
|
|
return *f.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasType() bool {
|
|
if f != nil && f.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new f.Type and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetType(v string) {
|
|
f.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetWidth() int {
|
|
if f == nil || f.Width == nil {
|
|
return 0
|
|
}
|
|
return *f.Width
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetWidthOk() (int, bool) {
|
|
if f == nil || f.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *f.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasWidth() bool {
|
|
if f != nil && f.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new f.Width and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetWidth(v int) {
|
|
f.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetX() int {
|
|
if f == nil || f.X == nil {
|
|
return 0
|
|
}
|
|
return *f.X
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetXOk() (int, bool) {
|
|
if f == nil || f.X == nil {
|
|
return 0, false
|
|
}
|
|
return *f.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasX() bool {
|
|
if f != nil && f.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new f.X and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetX(v int) {
|
|
f.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (f *FreeTextWidget) GetY() int {
|
|
if f == nil || f.Y == nil {
|
|
return 0
|
|
}
|
|
return *f.Y
|
|
}
|
|
|
|
// 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 (f *FreeTextWidget) GetYOk() (int, bool) {
|
|
if f == nil || f.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *f.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (f *FreeTextWidget) HasY() bool {
|
|
if f != nil && f.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new f.Y and returns the pointer to it.
|
|
func (f *FreeTextWidget) SetY(v int) {
|
|
f.Y = &v
|
|
}
|
|
|
|
// GetDefinition returns the Definition field if non-nil, zero value otherwise.
|
|
func (g *Graph) GetDefinition() GraphDefinition {
|
|
if g == nil || g.Definition == nil {
|
|
return GraphDefinition{}
|
|
}
|
|
return *g.Definition
|
|
}
|
|
|
|
// 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 (g *Graph) GetDefinitionOk() (GraphDefinition, bool) {
|
|
if g == nil || g.Definition == nil {
|
|
return GraphDefinition{}, false
|
|
}
|
|
return *g.Definition, true
|
|
}
|
|
|
|
// HasDefinition returns a boolean if a field has been set.
|
|
func (g *Graph) HasDefinition() bool {
|
|
if g != nil && g.Definition != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDefinition allocates a new g.Definition and returns the pointer to it.
|
|
func (g *Graph) SetDefinition(v GraphDefinition) {
|
|
g.Definition = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (g *Graph) GetTitle() string {
|
|
if g == nil || g.Title == nil {
|
|
return ""
|
|
}
|
|
return *g.Title
|
|
}
|
|
|
|
// 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 (g *Graph) GetTitleOk() (string, bool) {
|
|
if g == nil || g.Title == nil {
|
|
return "", false
|
|
}
|
|
return *g.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (g *Graph) HasTitle() bool {
|
|
if g != nil && g.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new g.Title and returns the pointer to it.
|
|
func (g *Graph) SetTitle(v string) {
|
|
g.Title = &v
|
|
}
|
|
|
|
// GetAutoscale returns the Autoscale field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetAutoscale() bool {
|
|
if g == nil || g.Autoscale == nil {
|
|
return false
|
|
}
|
|
return *g.Autoscale
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetAutoscaleOk() (bool, bool) {
|
|
if g == nil || g.Autoscale == nil {
|
|
return false, false
|
|
}
|
|
return *g.Autoscale, true
|
|
}
|
|
|
|
// HasAutoscale returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasAutoscale() bool {
|
|
if g != nil && g.Autoscale != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAutoscale allocates a new g.Autoscale and returns the pointer to it.
|
|
func (g *GraphDefinition) SetAutoscale(v bool) {
|
|
g.Autoscale = &v
|
|
}
|
|
|
|
// GetCustomUnit returns the CustomUnit field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetCustomUnit() string {
|
|
if g == nil || g.CustomUnit == nil {
|
|
return ""
|
|
}
|
|
return *g.CustomUnit
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetCustomUnitOk() (string, bool) {
|
|
if g == nil || g.CustomUnit == nil {
|
|
return "", false
|
|
}
|
|
return *g.CustomUnit, true
|
|
}
|
|
|
|
// HasCustomUnit returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasCustomUnit() bool {
|
|
if g != nil && g.CustomUnit != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCustomUnit allocates a new g.CustomUnit and returns the pointer to it.
|
|
func (g *GraphDefinition) SetCustomUnit(v string) {
|
|
g.CustomUnit = &v
|
|
}
|
|
|
|
// GetIncludeNoMetricHosts returns the IncludeNoMetricHosts field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetIncludeNoMetricHosts() bool {
|
|
if g == nil || g.IncludeNoMetricHosts == nil {
|
|
return false
|
|
}
|
|
return *g.IncludeNoMetricHosts
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool) {
|
|
if g == nil || g.IncludeNoMetricHosts == nil {
|
|
return false, false
|
|
}
|
|
return *g.IncludeNoMetricHosts, true
|
|
}
|
|
|
|
// HasIncludeNoMetricHosts returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasIncludeNoMetricHosts() bool {
|
|
if g != nil && g.IncludeNoMetricHosts != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIncludeNoMetricHosts allocates a new g.IncludeNoMetricHosts and returns the pointer to it.
|
|
func (g *GraphDefinition) SetIncludeNoMetricHosts(v bool) {
|
|
g.IncludeNoMetricHosts = &v
|
|
}
|
|
|
|
// GetIncludeUngroupedHosts returns the IncludeUngroupedHosts field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetIncludeUngroupedHosts() bool {
|
|
if g == nil || g.IncludeUngroupedHosts == nil {
|
|
return false
|
|
}
|
|
return *g.IncludeUngroupedHosts
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool) {
|
|
if g == nil || g.IncludeUngroupedHosts == nil {
|
|
return false, false
|
|
}
|
|
return *g.IncludeUngroupedHosts, true
|
|
}
|
|
|
|
// HasIncludeUngroupedHosts returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasIncludeUngroupedHosts() bool {
|
|
if g != nil && g.IncludeUngroupedHosts != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIncludeUngroupedHosts allocates a new g.IncludeUngroupedHosts and returns the pointer to it.
|
|
func (g *GraphDefinition) SetIncludeUngroupedHosts(v bool) {
|
|
g.IncludeUngroupedHosts = &v
|
|
}
|
|
|
|
// GetPrecision returns the Precision field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetPrecision() string {
|
|
if g == nil || g.Precision == nil {
|
|
return ""
|
|
}
|
|
return *g.Precision
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetPrecisionOk() (string, bool) {
|
|
if g == nil || g.Precision == nil {
|
|
return "", false
|
|
}
|
|
return *g.Precision, true
|
|
}
|
|
|
|
// HasPrecision returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasPrecision() bool {
|
|
if g != nil && g.Precision != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPrecision allocates a new g.Precision and returns the pointer to it.
|
|
func (g *GraphDefinition) SetPrecision(v string) {
|
|
g.Precision = &v
|
|
}
|
|
|
|
// GetStyle returns the Style field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetStyle() Style {
|
|
if g == nil || g.Style == nil {
|
|
return Style{}
|
|
}
|
|
return *g.Style
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetStyleOk() (Style, bool) {
|
|
if g == nil || g.Style == nil {
|
|
return Style{}, false
|
|
}
|
|
return *g.Style, true
|
|
}
|
|
|
|
// HasStyle returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasStyle() bool {
|
|
if g != nil && g.Style != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStyle allocates a new g.Style and returns the pointer to it.
|
|
func (g *GraphDefinition) SetStyle(v Style) {
|
|
g.Style = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetTextAlign() string {
|
|
if g == nil || g.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *g.TextAlign
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetTextAlignOk() (string, bool) {
|
|
if g == nil || g.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *g.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasTextAlign() bool {
|
|
if g != nil && g.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new g.TextAlign and returns the pointer to it.
|
|
func (g *GraphDefinition) SetTextAlign(v string) {
|
|
g.TextAlign = &v
|
|
}
|
|
|
|
// GetViz returns the Viz field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinition) GetViz() string {
|
|
if g == nil || g.Viz == nil {
|
|
return ""
|
|
}
|
|
return *g.Viz
|
|
}
|
|
|
|
// 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 (g *GraphDefinition) GetVizOk() (string, bool) {
|
|
if g == nil || g.Viz == nil {
|
|
return "", false
|
|
}
|
|
return *g.Viz, true
|
|
}
|
|
|
|
// HasViz returns a boolean if a field has been set.
|
|
func (g *GraphDefinition) HasViz() bool {
|
|
if g != nil && g.Viz != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetViz allocates a new g.Viz and returns the pointer to it.
|
|
func (g *GraphDefinition) SetViz(v string) {
|
|
g.Viz = &v
|
|
}
|
|
|
|
// GetLabel returns the Label field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetLabel() string {
|
|
if g == nil || g.Label == nil {
|
|
return ""
|
|
}
|
|
return *g.Label
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetLabelOk() (string, bool) {
|
|
if g == nil || g.Label == nil {
|
|
return "", false
|
|
}
|
|
return *g.Label, true
|
|
}
|
|
|
|
// HasLabel returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasLabel() bool {
|
|
if g != nil && g.Label != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLabel allocates a new g.Label and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetLabel(v string) {
|
|
g.Label = &v
|
|
}
|
|
|
|
// GetMax returns the Max field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetMax() json.Number {
|
|
if g == nil || g.Max == nil {
|
|
return ""
|
|
}
|
|
return *g.Max
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetMaxOk() (json.Number, bool) {
|
|
if g == nil || g.Max == nil {
|
|
return "", false
|
|
}
|
|
return *g.Max, true
|
|
}
|
|
|
|
// HasMax returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasMax() bool {
|
|
if g != nil && g.Max != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMax allocates a new g.Max and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetMax(v json.Number) {
|
|
g.Max = &v
|
|
}
|
|
|
|
// GetMin returns the Min field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetMin() json.Number {
|
|
if g == nil || g.Min == nil {
|
|
return ""
|
|
}
|
|
return *g.Min
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetMinOk() (json.Number, bool) {
|
|
if g == nil || g.Min == nil {
|
|
return "", false
|
|
}
|
|
return *g.Min, true
|
|
}
|
|
|
|
// HasMin returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasMin() bool {
|
|
if g != nil && g.Min != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMin allocates a new g.Min and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetMin(v json.Number) {
|
|
g.Min = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetType() string {
|
|
if g == nil || g.Type == nil {
|
|
return ""
|
|
}
|
|
return *g.Type
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetTypeOk() (string, bool) {
|
|
if g == nil || g.Type == nil {
|
|
return "", false
|
|
}
|
|
return *g.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasType() bool {
|
|
if g != nil && g.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new g.Type and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetType(v string) {
|
|
g.Type = &v
|
|
}
|
|
|
|
// GetVal returns the Val field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetVal() json.Number {
|
|
if g == nil || g.Val == nil {
|
|
return ""
|
|
}
|
|
return *g.Val
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetValOk() (json.Number, bool) {
|
|
if g == nil || g.Val == nil {
|
|
return "", false
|
|
}
|
|
return *g.Val, true
|
|
}
|
|
|
|
// HasVal returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasVal() bool {
|
|
if g != nil && g.Val != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetVal allocates a new g.Val and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetVal(v json.Number) {
|
|
g.Val = &v
|
|
}
|
|
|
|
// GetValue returns the Value field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionMarker) GetValue() string {
|
|
if g == nil || g.Value == nil {
|
|
return ""
|
|
}
|
|
return *g.Value
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionMarker) GetValueOk() (string, bool) {
|
|
if g == nil || g.Value == nil {
|
|
return "", false
|
|
}
|
|
return *g.Value, true
|
|
}
|
|
|
|
// HasValue returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionMarker) HasValue() bool {
|
|
if g != nil && g.Value != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetValue allocates a new g.Value and returns the pointer to it.
|
|
func (g *GraphDefinitionMarker) SetValue(v string) {
|
|
g.Value = &v
|
|
}
|
|
|
|
// GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetAggregator() string {
|
|
if g == nil || g.Aggregator == nil {
|
|
return ""
|
|
}
|
|
return *g.Aggregator
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetAggregatorOk() (string, bool) {
|
|
if g == nil || g.Aggregator == nil {
|
|
return "", false
|
|
}
|
|
return *g.Aggregator, true
|
|
}
|
|
|
|
// HasAggregator returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasAggregator() bool {
|
|
if g != nil && g.Aggregator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAggregator allocates a new g.Aggregator and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetAggregator(v string) {
|
|
g.Aggregator = &v
|
|
}
|
|
|
|
// GetChangeType returns the ChangeType field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetChangeType() string {
|
|
if g == nil || g.ChangeType == nil {
|
|
return ""
|
|
}
|
|
return *g.ChangeType
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetChangeTypeOk() (string, bool) {
|
|
if g == nil || g.ChangeType == nil {
|
|
return "", false
|
|
}
|
|
return *g.ChangeType, true
|
|
}
|
|
|
|
// HasChangeType returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasChangeType() bool {
|
|
if g != nil && g.ChangeType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetChangeType allocates a new g.ChangeType and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetChangeType(v string) {
|
|
g.ChangeType = &v
|
|
}
|
|
|
|
// GetCompareTo returns the CompareTo field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetCompareTo() string {
|
|
if g == nil || g.CompareTo == nil {
|
|
return ""
|
|
}
|
|
return *g.CompareTo
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetCompareToOk() (string, bool) {
|
|
if g == nil || g.CompareTo == nil {
|
|
return "", false
|
|
}
|
|
return *g.CompareTo, true
|
|
}
|
|
|
|
// HasCompareTo returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasCompareTo() bool {
|
|
if g != nil && g.CompareTo != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCompareTo allocates a new g.CompareTo and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetCompareTo(v string) {
|
|
g.CompareTo = &v
|
|
}
|
|
|
|
// GetExtraCol returns the ExtraCol field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetExtraCol() string {
|
|
if g == nil || g.ExtraCol == nil {
|
|
return ""
|
|
}
|
|
return *g.ExtraCol
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetExtraColOk() (string, bool) {
|
|
if g == nil || g.ExtraCol == nil {
|
|
return "", false
|
|
}
|
|
return *g.ExtraCol, true
|
|
}
|
|
|
|
// HasExtraCol returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasExtraCol() bool {
|
|
if g != nil && g.ExtraCol != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetExtraCol allocates a new g.ExtraCol and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetExtraCol(v string) {
|
|
g.ExtraCol = &v
|
|
}
|
|
|
|
// GetIncreaseGood returns the IncreaseGood field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetIncreaseGood() bool {
|
|
if g == nil || g.IncreaseGood == nil {
|
|
return false
|
|
}
|
|
return *g.IncreaseGood
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetIncreaseGoodOk() (bool, bool) {
|
|
if g == nil || g.IncreaseGood == nil {
|
|
return false, false
|
|
}
|
|
return *g.IncreaseGood, true
|
|
}
|
|
|
|
// HasIncreaseGood returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasIncreaseGood() bool {
|
|
if g != nil && g.IncreaseGood != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIncreaseGood allocates a new g.IncreaseGood and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetIncreaseGood(v bool) {
|
|
g.IncreaseGood = &v
|
|
}
|
|
|
|
// GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetOrderBy() string {
|
|
if g == nil || g.OrderBy == nil {
|
|
return ""
|
|
}
|
|
return *g.OrderBy
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetOrderByOk() (string, bool) {
|
|
if g == nil || g.OrderBy == nil {
|
|
return "", false
|
|
}
|
|
return *g.OrderBy, true
|
|
}
|
|
|
|
// HasOrderBy returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasOrderBy() bool {
|
|
if g != nil && g.OrderBy != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetOrderBy allocates a new g.OrderBy and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetOrderBy(v string) {
|
|
g.OrderBy = &v
|
|
}
|
|
|
|
// GetOrderDirection returns the OrderDirection field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetOrderDirection() string {
|
|
if g == nil || g.OrderDirection == nil {
|
|
return ""
|
|
}
|
|
return *g.OrderDirection
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool) {
|
|
if g == nil || g.OrderDirection == nil {
|
|
return "", false
|
|
}
|
|
return *g.OrderDirection, true
|
|
}
|
|
|
|
// HasOrderDirection returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasOrderDirection() bool {
|
|
if g != nil && g.OrderDirection != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetOrderDirection allocates a new g.OrderDirection and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetOrderDirection(v string) {
|
|
g.OrderDirection = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetQuery() string {
|
|
if g == nil || g.Query == nil {
|
|
return ""
|
|
}
|
|
return *g.Query
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetQueryOk() (string, bool) {
|
|
if g == nil || g.Query == nil {
|
|
return "", false
|
|
}
|
|
return *g.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasQuery() bool {
|
|
if g != nil && g.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new g.Query and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetQuery(v string) {
|
|
g.Query = &v
|
|
}
|
|
|
|
// GetStacked returns the Stacked field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetStacked() bool {
|
|
if g == nil || g.Stacked == nil {
|
|
return false
|
|
}
|
|
return *g.Stacked
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetStackedOk() (bool, bool) {
|
|
if g == nil || g.Stacked == nil {
|
|
return false, false
|
|
}
|
|
return *g.Stacked, true
|
|
}
|
|
|
|
// HasStacked returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasStacked() bool {
|
|
if g != nil && g.Stacked != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStacked allocates a new g.Stacked and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetStacked(v bool) {
|
|
g.Stacked = &v
|
|
}
|
|
|
|
// GetStyle returns the Style field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetStyle() GraphDefinitionRequestStyle {
|
|
if g == nil || g.Style == nil {
|
|
return GraphDefinitionRequestStyle{}
|
|
}
|
|
return *g.Style
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetStyleOk() (GraphDefinitionRequestStyle, bool) {
|
|
if g == nil || g.Style == nil {
|
|
return GraphDefinitionRequestStyle{}, false
|
|
}
|
|
return *g.Style, true
|
|
}
|
|
|
|
// HasStyle returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasStyle() bool {
|
|
if g != nil && g.Style != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStyle allocates a new g.Style and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetStyle(v GraphDefinitionRequestStyle) {
|
|
g.Style = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequest) GetType() string {
|
|
if g == nil || g.Type == nil {
|
|
return ""
|
|
}
|
|
return *g.Type
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequest) GetTypeOk() (string, bool) {
|
|
if g == nil || g.Type == nil {
|
|
return "", false
|
|
}
|
|
return *g.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequest) HasType() bool {
|
|
if g != nil && g.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new g.Type and returns the pointer to it.
|
|
func (g *GraphDefinitionRequest) SetType(v string) {
|
|
g.Type = &v
|
|
}
|
|
|
|
// GetPalette returns the Palette field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequestStyle) GetPalette() string {
|
|
if g == nil || g.Palette == nil {
|
|
return ""
|
|
}
|
|
return *g.Palette
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequestStyle) GetPaletteOk() (string, bool) {
|
|
if g == nil || g.Palette == nil {
|
|
return "", false
|
|
}
|
|
return *g.Palette, true
|
|
}
|
|
|
|
// HasPalette returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequestStyle) HasPalette() bool {
|
|
if g != nil && g.Palette != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPalette allocates a new g.Palette and returns the pointer to it.
|
|
func (g *GraphDefinitionRequestStyle) SetPalette(v string) {
|
|
g.Palette = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequestStyle) GetType() string {
|
|
if g == nil || g.Type == nil {
|
|
return ""
|
|
}
|
|
return *g.Type
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequestStyle) GetTypeOk() (string, bool) {
|
|
if g == nil || g.Type == nil {
|
|
return "", false
|
|
}
|
|
return *g.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequestStyle) HasType() bool {
|
|
if g != nil && g.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new g.Type and returns the pointer to it.
|
|
func (g *GraphDefinitionRequestStyle) SetType(v string) {
|
|
g.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (g *GraphDefinitionRequestStyle) GetWidth() string {
|
|
if g == nil || g.Width == nil {
|
|
return ""
|
|
}
|
|
return *g.Width
|
|
}
|
|
|
|
// 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 (g *GraphDefinitionRequestStyle) GetWidthOk() (string, bool) {
|
|
if g == nil || g.Width == nil {
|
|
return "", false
|
|
}
|
|
return *g.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (g *GraphDefinitionRequestStyle) HasWidth() bool {
|
|
if g != nil && g.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new g.Width and returns the pointer to it.
|
|
func (g *GraphDefinitionRequestStyle) SetWidth(v string) {
|
|
g.Width = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (g *GraphEvent) GetQuery() string {
|
|
if g == nil || g.Query == nil {
|
|
return ""
|
|
}
|
|
return *g.Query
|
|
}
|
|
|
|
// 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 (g *GraphEvent) GetQueryOk() (string, bool) {
|
|
if g == nil || g.Query == nil {
|
|
return "", false
|
|
}
|
|
return *g.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (g *GraphEvent) HasQuery() bool {
|
|
if g != nil && g.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new g.Query and returns the pointer to it.
|
|
func (g *GraphEvent) SetQuery(v string) {
|
|
g.Query = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetHeight() int {
|
|
if g == nil || g.Height == nil {
|
|
return 0
|
|
}
|
|
return *g.Height
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetHeightOk() (int, bool) {
|
|
if g == nil || g.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *g.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasHeight() bool {
|
|
if g != nil && g.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new g.Height and returns the pointer to it.
|
|
func (g *GraphWidget) SetHeight(v int) {
|
|
g.Height = &v
|
|
}
|
|
|
|
// GetLegend returns the Legend field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetLegend() bool {
|
|
if g == nil || g.Legend == nil {
|
|
return false
|
|
}
|
|
return *g.Legend
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetLegendOk() (bool, bool) {
|
|
if g == nil || g.Legend == nil {
|
|
return false, false
|
|
}
|
|
return *g.Legend, true
|
|
}
|
|
|
|
// HasLegend returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasLegend() bool {
|
|
if g != nil && g.Legend != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegend allocates a new g.Legend and returns the pointer to it.
|
|
func (g *GraphWidget) SetLegend(v bool) {
|
|
g.Legend = &v
|
|
}
|
|
|
|
// GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetLegendSize() int {
|
|
if g == nil || g.LegendSize == nil {
|
|
return 0
|
|
}
|
|
return *g.LegendSize
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetLegendSizeOk() (int, bool) {
|
|
if g == nil || g.LegendSize == nil {
|
|
return 0, false
|
|
}
|
|
return *g.LegendSize, true
|
|
}
|
|
|
|
// HasLegendSize returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasLegendSize() bool {
|
|
if g != nil && g.LegendSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegendSize allocates a new g.LegendSize and returns the pointer to it.
|
|
func (g *GraphWidget) SetLegendSize(v int) {
|
|
g.LegendSize = &v
|
|
}
|
|
|
|
// GetTileDef returns the TileDef field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTileDef() TileDef {
|
|
if g == nil || g.TileDef == nil {
|
|
return TileDef{}
|
|
}
|
|
return *g.TileDef
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTileDefOk() (TileDef, bool) {
|
|
if g == nil || g.TileDef == nil {
|
|
return TileDef{}, false
|
|
}
|
|
return *g.TileDef, true
|
|
}
|
|
|
|
// HasTileDef returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTileDef() bool {
|
|
if g != nil && g.TileDef != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTileDef allocates a new g.TileDef and returns the pointer to it.
|
|
func (g *GraphWidget) SetTileDef(v TileDef) {
|
|
g.TileDef = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTimeframe() string {
|
|
if g == nil || g.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *g.Timeframe
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTimeframeOk() (string, bool) {
|
|
if g == nil || g.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *g.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTimeframe() bool {
|
|
if g != nil && g.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new g.Timeframe and returns the pointer to it.
|
|
func (g *GraphWidget) SetTimeframe(v string) {
|
|
g.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTitle() bool {
|
|
if g == nil || g.Title == nil {
|
|
return false
|
|
}
|
|
return *g.Title
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTitleOk() (bool, bool) {
|
|
if g == nil || g.Title == nil {
|
|
return false, false
|
|
}
|
|
return *g.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTitle() bool {
|
|
if g != nil && g.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new g.Title and returns the pointer to it.
|
|
func (g *GraphWidget) SetTitle(v bool) {
|
|
g.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTitleAlign() string {
|
|
if g == nil || g.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *g.TitleAlign
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTitleAlignOk() (string, bool) {
|
|
if g == nil || g.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *g.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTitleAlign() bool {
|
|
if g != nil && g.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new g.TitleAlign and returns the pointer to it.
|
|
func (g *GraphWidget) SetTitleAlign(v string) {
|
|
g.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTitleSize() int {
|
|
if g == nil || g.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *g.TitleSize
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTitleSizeOk() (int, bool) {
|
|
if g == nil || g.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *g.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTitleSize() bool {
|
|
if g != nil && g.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new g.TitleSize and returns the pointer to it.
|
|
func (g *GraphWidget) SetTitleSize(v int) {
|
|
g.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetTitleText() string {
|
|
if g == nil || g.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *g.TitleText
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTitleTextOk() (string, bool) {
|
|
if g == nil || g.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *g.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasTitleText() bool {
|
|
if g != nil && g.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new g.TitleText and returns the pointer to it.
|
|
func (g *GraphWidget) SetTitleText(v string) {
|
|
g.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetType() string {
|
|
if g == nil || g.Type == nil {
|
|
return ""
|
|
}
|
|
return *g.Type
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetTypeOk() (string, bool) {
|
|
if g == nil || g.Type == nil {
|
|
return "", false
|
|
}
|
|
return *g.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasType() bool {
|
|
if g != nil && g.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new g.Type and returns the pointer to it.
|
|
func (g *GraphWidget) SetType(v string) {
|
|
g.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetWidth() int {
|
|
if g == nil || g.Width == nil {
|
|
return 0
|
|
}
|
|
return *g.Width
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetWidthOk() (int, bool) {
|
|
if g == nil || g.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *g.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasWidth() bool {
|
|
if g != nil && g.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new g.Width and returns the pointer to it.
|
|
func (g *GraphWidget) SetWidth(v int) {
|
|
g.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetX() int {
|
|
if g == nil || g.X == nil {
|
|
return 0
|
|
}
|
|
return *g.X
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetXOk() (int, bool) {
|
|
if g == nil || g.X == nil {
|
|
return 0, false
|
|
}
|
|
return *g.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasX() bool {
|
|
if g != nil && g.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new g.X and returns the pointer to it.
|
|
func (g *GraphWidget) SetX(v int) {
|
|
g.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (g *GraphWidget) GetY() int {
|
|
if g == nil || g.Y == nil {
|
|
return 0
|
|
}
|
|
return *g.Y
|
|
}
|
|
|
|
// 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 (g *GraphWidget) GetYOk() (int, bool) {
|
|
if g == nil || g.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *g.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (g *GraphWidget) HasY() bool {
|
|
if g != nil && g.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new g.Y and returns the pointer to it.
|
|
func (g *GraphWidget) SetY(v int) {
|
|
g.Y = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetHeight() int {
|
|
if h == nil || h.Height == nil {
|
|
return 0
|
|
}
|
|
return *h.Height
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetHeightOk() (int, bool) {
|
|
if h == nil || h.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *h.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasHeight() bool {
|
|
if h != nil && h.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new h.Height and returns the pointer to it.
|
|
func (h *HostMapWidget) SetHeight(v int) {
|
|
h.Height = &v
|
|
}
|
|
|
|
// GetLegend returns the Legend field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetLegend() bool {
|
|
if h == nil || h.Legend == nil {
|
|
return false
|
|
}
|
|
return *h.Legend
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetLegendOk() (bool, bool) {
|
|
if h == nil || h.Legend == nil {
|
|
return false, false
|
|
}
|
|
return *h.Legend, true
|
|
}
|
|
|
|
// HasLegend returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasLegend() bool {
|
|
if h != nil && h.Legend != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegend allocates a new h.Legend and returns the pointer to it.
|
|
func (h *HostMapWidget) SetLegend(v bool) {
|
|
h.Legend = &v
|
|
}
|
|
|
|
// GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetLegendSize() int {
|
|
if h == nil || h.LegendSize == nil {
|
|
return 0
|
|
}
|
|
return *h.LegendSize
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetLegendSizeOk() (int, bool) {
|
|
if h == nil || h.LegendSize == nil {
|
|
return 0, false
|
|
}
|
|
return *h.LegendSize, true
|
|
}
|
|
|
|
// HasLegendSize returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasLegendSize() bool {
|
|
if h != nil && h.LegendSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegendSize allocates a new h.LegendSize and returns the pointer to it.
|
|
func (h *HostMapWidget) SetLegendSize(v int) {
|
|
h.LegendSize = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetQuery() string {
|
|
if h == nil || h.Query == nil {
|
|
return ""
|
|
}
|
|
return *h.Query
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetQueryOk() (string, bool) {
|
|
if h == nil || h.Query == nil {
|
|
return "", false
|
|
}
|
|
return *h.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasQuery() bool {
|
|
if h != nil && h.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new h.Query and returns the pointer to it.
|
|
func (h *HostMapWidget) SetQuery(v string) {
|
|
h.Query = &v
|
|
}
|
|
|
|
// GetTileDef returns the TileDef field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTileDef() TileDef {
|
|
if h == nil || h.TileDef == nil {
|
|
return TileDef{}
|
|
}
|
|
return *h.TileDef
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTileDefOk() (TileDef, bool) {
|
|
if h == nil || h.TileDef == nil {
|
|
return TileDef{}, false
|
|
}
|
|
return *h.TileDef, true
|
|
}
|
|
|
|
// HasTileDef returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTileDef() bool {
|
|
if h != nil && h.TileDef != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTileDef allocates a new h.TileDef and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTileDef(v TileDef) {
|
|
h.TileDef = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTimeframe() string {
|
|
if h == nil || h.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *h.Timeframe
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTimeframeOk() (string, bool) {
|
|
if h == nil || h.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *h.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTimeframe() bool {
|
|
if h != nil && h.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new h.Timeframe and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTimeframe(v string) {
|
|
h.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTitle() bool {
|
|
if h == nil || h.Title == nil {
|
|
return false
|
|
}
|
|
return *h.Title
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTitleOk() (bool, bool) {
|
|
if h == nil || h.Title == nil {
|
|
return false, false
|
|
}
|
|
return *h.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTitle() bool {
|
|
if h != nil && h.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new h.Title and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTitle(v bool) {
|
|
h.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTitleAlign() string {
|
|
if h == nil || h.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *h.TitleAlign
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTitleAlignOk() (string, bool) {
|
|
if h == nil || h.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *h.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTitleAlign() bool {
|
|
if h != nil && h.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new h.TitleAlign and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTitleAlign(v string) {
|
|
h.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTitleSize() int {
|
|
if h == nil || h.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *h.TitleSize
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTitleSizeOk() (int, bool) {
|
|
if h == nil || h.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *h.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTitleSize() bool {
|
|
if h != nil && h.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new h.TitleSize and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTitleSize(v int) {
|
|
h.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetTitleText() string {
|
|
if h == nil || h.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *h.TitleText
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTitleTextOk() (string, bool) {
|
|
if h == nil || h.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *h.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasTitleText() bool {
|
|
if h != nil && h.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new h.TitleText and returns the pointer to it.
|
|
func (h *HostMapWidget) SetTitleText(v string) {
|
|
h.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetType() string {
|
|
if h == nil || h.Type == nil {
|
|
return ""
|
|
}
|
|
return *h.Type
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetTypeOk() (string, bool) {
|
|
if h == nil || h.Type == nil {
|
|
return "", false
|
|
}
|
|
return *h.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasType() bool {
|
|
if h != nil && h.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new h.Type and returns the pointer to it.
|
|
func (h *HostMapWidget) SetType(v string) {
|
|
h.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetWidth() int {
|
|
if h == nil || h.Width == nil {
|
|
return 0
|
|
}
|
|
return *h.Width
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetWidthOk() (int, bool) {
|
|
if h == nil || h.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *h.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasWidth() bool {
|
|
if h != nil && h.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new h.Width and returns the pointer to it.
|
|
func (h *HostMapWidget) SetWidth(v int) {
|
|
h.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetX() int {
|
|
if h == nil || h.X == nil {
|
|
return 0
|
|
}
|
|
return *h.X
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetXOk() (int, bool) {
|
|
if h == nil || h.X == nil {
|
|
return 0, false
|
|
}
|
|
return *h.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasX() bool {
|
|
if h != nil && h.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new h.X and returns the pointer to it.
|
|
func (h *HostMapWidget) SetX(v int) {
|
|
h.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (h *HostMapWidget) GetY() int {
|
|
if h == nil || h.Y == nil {
|
|
return 0
|
|
}
|
|
return *h.Y
|
|
}
|
|
|
|
// 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 (h *HostMapWidget) GetYOk() (int, bool) {
|
|
if h == nil || h.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *h.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (h *HostMapWidget) HasY() bool {
|
|
if h != nil && h.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new h.Y and returns the pointer to it.
|
|
func (h *HostMapWidget) SetY(v int) {
|
|
h.Y = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetHeight() int {
|
|
if i == nil || i.Height == nil {
|
|
return 0
|
|
}
|
|
return *i.Height
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetHeightOk() (int, bool) {
|
|
if i == nil || i.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasHeight() bool {
|
|
if i != nil && i.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new i.Height and returns the pointer to it.
|
|
func (i *IFrameWidget) SetHeight(v int) {
|
|
i.Height = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetTitle() bool {
|
|
if i == nil || i.Title == nil {
|
|
return false
|
|
}
|
|
return *i.Title
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetTitleOk() (bool, bool) {
|
|
if i == nil || i.Title == nil {
|
|
return false, false
|
|
}
|
|
return *i.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasTitle() bool {
|
|
if i != nil && i.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new i.Title and returns the pointer to it.
|
|
func (i *IFrameWidget) SetTitle(v bool) {
|
|
i.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetTitleAlign() string {
|
|
if i == nil || i.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *i.TitleAlign
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetTitleAlignOk() (string, bool) {
|
|
if i == nil || i.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *i.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasTitleAlign() bool {
|
|
if i != nil && i.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new i.TitleAlign and returns the pointer to it.
|
|
func (i *IFrameWidget) SetTitleAlign(v string) {
|
|
i.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetTitleSize() int {
|
|
if i == nil || i.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *i.TitleSize
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetTitleSizeOk() (int, bool) {
|
|
if i == nil || i.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *i.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasTitleSize() bool {
|
|
if i != nil && i.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new i.TitleSize and returns the pointer to it.
|
|
func (i *IFrameWidget) SetTitleSize(v int) {
|
|
i.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetTitleText() string {
|
|
if i == nil || i.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *i.TitleText
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetTitleTextOk() (string, bool) {
|
|
if i == nil || i.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *i.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasTitleText() bool {
|
|
if i != nil && i.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new i.TitleText and returns the pointer to it.
|
|
func (i *IFrameWidget) SetTitleText(v string) {
|
|
i.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetType() string {
|
|
if i == nil || i.Type == nil {
|
|
return ""
|
|
}
|
|
return *i.Type
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetTypeOk() (string, bool) {
|
|
if i == nil || i.Type == nil {
|
|
return "", false
|
|
}
|
|
return *i.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasType() bool {
|
|
if i != nil && i.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new i.Type and returns the pointer to it.
|
|
func (i *IFrameWidget) SetType(v string) {
|
|
i.Type = &v
|
|
}
|
|
|
|
// GetUrl returns the Url field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetUrl() string {
|
|
if i == nil || i.Url == nil {
|
|
return ""
|
|
}
|
|
return *i.Url
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetUrlOk() (string, bool) {
|
|
if i == nil || i.Url == nil {
|
|
return "", false
|
|
}
|
|
return *i.Url, true
|
|
}
|
|
|
|
// HasUrl returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasUrl() bool {
|
|
if i != nil && i.Url != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUrl allocates a new i.Url and returns the pointer to it.
|
|
func (i *IFrameWidget) SetUrl(v string) {
|
|
i.Url = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetWidth() int {
|
|
if i == nil || i.Width == nil {
|
|
return 0
|
|
}
|
|
return *i.Width
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetWidthOk() (int, bool) {
|
|
if i == nil || i.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasWidth() bool {
|
|
if i != nil && i.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new i.Width and returns the pointer to it.
|
|
func (i *IFrameWidget) SetWidth(v int) {
|
|
i.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetX() int {
|
|
if i == nil || i.X == nil {
|
|
return 0
|
|
}
|
|
return *i.X
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetXOk() (int, bool) {
|
|
if i == nil || i.X == nil {
|
|
return 0, false
|
|
}
|
|
return *i.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasX() bool {
|
|
if i != nil && i.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new i.X and returns the pointer to it.
|
|
func (i *IFrameWidget) SetX(v int) {
|
|
i.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (i *IFrameWidget) GetY() int {
|
|
if i == nil || i.Y == nil {
|
|
return 0
|
|
}
|
|
return *i.Y
|
|
}
|
|
|
|
// 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 (i *IFrameWidget) GetYOk() (int, bool) {
|
|
if i == nil || i.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (i *IFrameWidget) HasY() bool {
|
|
if i != nil && i.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new i.Y and returns the pointer to it.
|
|
func (i *IFrameWidget) SetY(v int) {
|
|
i.Y = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetHeight() int {
|
|
if i == nil || i.Height == nil {
|
|
return 0
|
|
}
|
|
return *i.Height
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetHeightOk() (int, bool) {
|
|
if i == nil || i.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasHeight() bool {
|
|
if i != nil && i.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new i.Height and returns the pointer to it.
|
|
func (i *ImageWidget) SetHeight(v int) {
|
|
i.Height = &v
|
|
}
|
|
|
|
// GetSizing returns the Sizing field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetSizing() string {
|
|
if i == nil || i.Sizing == nil {
|
|
return ""
|
|
}
|
|
return *i.Sizing
|
|
}
|
|
|
|
// GetOkSizing returns a tuple with the Sizing field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (i *ImageWidget) GetSizingOk() (string, bool) {
|
|
if i == nil || i.Sizing == nil {
|
|
return "", false
|
|
}
|
|
return *i.Sizing, true
|
|
}
|
|
|
|
// HasSizing returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasSizing() bool {
|
|
if i != nil && i.Sizing != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetSizing allocates a new i.Sizing and returns the pointer to it.
|
|
func (i *ImageWidget) SetSizing(v string) {
|
|
i.Sizing = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetTitle() bool {
|
|
if i == nil || i.Title == nil {
|
|
return false
|
|
}
|
|
return *i.Title
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetTitleOk() (bool, bool) {
|
|
if i == nil || i.Title == nil {
|
|
return false, false
|
|
}
|
|
return *i.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasTitle() bool {
|
|
if i != nil && i.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new i.Title and returns the pointer to it.
|
|
func (i *ImageWidget) SetTitle(v bool) {
|
|
i.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetTitleAlign() string {
|
|
if i == nil || i.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *i.TitleAlign
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetTitleAlignOk() (string, bool) {
|
|
if i == nil || i.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *i.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasTitleAlign() bool {
|
|
if i != nil && i.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new i.TitleAlign and returns the pointer to it.
|
|
func (i *ImageWidget) SetTitleAlign(v string) {
|
|
i.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetTitleSize() TextSize {
|
|
if i == nil || i.TitleSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *i.TitleSize
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetTitleSizeOk() (TextSize, bool) {
|
|
if i == nil || i.TitleSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *i.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasTitleSize() bool {
|
|
if i != nil && i.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new i.TitleSize and returns the pointer to it.
|
|
func (i *ImageWidget) SetTitleSize(v TextSize) {
|
|
i.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetTitleText() string {
|
|
if i == nil || i.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *i.TitleText
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetTitleTextOk() (string, bool) {
|
|
if i == nil || i.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *i.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasTitleText() bool {
|
|
if i != nil && i.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new i.TitleText and returns the pointer to it.
|
|
func (i *ImageWidget) SetTitleText(v string) {
|
|
i.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetType() string {
|
|
if i == nil || i.Type == nil {
|
|
return ""
|
|
}
|
|
return *i.Type
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetTypeOk() (string, bool) {
|
|
if i == nil || i.Type == nil {
|
|
return "", false
|
|
}
|
|
return *i.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasType() bool {
|
|
if i != nil && i.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new i.Type and returns the pointer to it.
|
|
func (i *ImageWidget) SetType(v string) {
|
|
i.Type = &v
|
|
}
|
|
|
|
// GetUrl returns the Url field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetUrl() string {
|
|
if i == nil || i.Url == nil {
|
|
return ""
|
|
}
|
|
return *i.Url
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetUrlOk() (string, bool) {
|
|
if i == nil || i.Url == nil {
|
|
return "", false
|
|
}
|
|
return *i.Url, true
|
|
}
|
|
|
|
// HasUrl returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasUrl() bool {
|
|
if i != nil && i.Url != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUrl allocates a new i.Url and returns the pointer to it.
|
|
func (i *ImageWidget) SetUrl(v string) {
|
|
i.Url = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetWidth() int {
|
|
if i == nil || i.Width == nil {
|
|
return 0
|
|
}
|
|
return *i.Width
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetWidthOk() (int, bool) {
|
|
if i == nil || i.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasWidth() bool {
|
|
if i != nil && i.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new i.Width and returns the pointer to it.
|
|
func (i *ImageWidget) SetWidth(v int) {
|
|
i.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetX() int {
|
|
if i == nil || i.X == nil {
|
|
return 0
|
|
}
|
|
return *i.X
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetXOk() (int, bool) {
|
|
if i == nil || i.X == nil {
|
|
return 0, false
|
|
}
|
|
return *i.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasX() bool {
|
|
if i != nil && i.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new i.X and returns the pointer to it.
|
|
func (i *ImageWidget) SetX(v int) {
|
|
i.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (i *ImageWidget) GetY() int {
|
|
if i == nil || i.Y == nil {
|
|
return 0
|
|
}
|
|
return *i.Y
|
|
}
|
|
|
|
// 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 (i *ImageWidget) GetYOk() (int, bool) {
|
|
if i == nil || i.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *i.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (i *ImageWidget) HasY() bool {
|
|
if i != nil && i.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new i.Y and returns the pointer to it.
|
|
func (i *ImageWidget) SetY(v int) {
|
|
i.Y = &v
|
|
}
|
|
|
|
// GetHost returns the Host field if non-nil, zero value otherwise.
|
|
func (m *Metric) GetHost() string {
|
|
if m == nil || m.Host == nil {
|
|
return ""
|
|
}
|
|
return *m.Host
|
|
}
|
|
|
|
// 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 (m *Metric) GetHostOk() (string, bool) {
|
|
if m == nil || m.Host == nil {
|
|
return "", false
|
|
}
|
|
return *m.Host, true
|
|
}
|
|
|
|
// HasHost returns a boolean if a field has been set.
|
|
func (m *Metric) HasHost() bool {
|
|
if m != nil && m.Host != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHost allocates a new m.Host and returns the pointer to it.
|
|
func (m *Metric) SetHost(v string) {
|
|
m.Host = &v
|
|
}
|
|
|
|
// GetMetric returns the Metric field if non-nil, zero value otherwise.
|
|
func (m *Metric) GetMetric() string {
|
|
if m == nil || m.Metric == nil {
|
|
return ""
|
|
}
|
|
return *m.Metric
|
|
}
|
|
|
|
// GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (m *Metric) GetMetricOk() (string, bool) {
|
|
if m == nil || m.Metric == nil {
|
|
return "", false
|
|
}
|
|
return *m.Metric, true
|
|
}
|
|
|
|
// HasMetric returns a boolean if a field has been set.
|
|
func (m *Metric) HasMetric() bool {
|
|
if m != nil && m.Metric != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMetric allocates a new m.Metric and returns the pointer to it.
|
|
func (m *Metric) SetMetric(v string) {
|
|
m.Metric = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (m *Metric) GetType() string {
|
|
if m == nil || m.Type == nil {
|
|
return ""
|
|
}
|
|
return *m.Type
|
|
}
|
|
|
|
// 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 (m *Metric) GetTypeOk() (string, bool) {
|
|
if m == nil || m.Type == nil {
|
|
return "", false
|
|
}
|
|
return *m.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (m *Metric) HasType() bool {
|
|
if m != nil && m.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new m.Type and returns the pointer to it.
|
|
func (m *Metric) SetType(v string) {
|
|
m.Type = &v
|
|
}
|
|
|
|
// GetUnit returns the Unit field if non-nil, zero value otherwise.
|
|
func (m *Metric) GetUnit() string {
|
|
if m == nil || m.Unit == nil {
|
|
return ""
|
|
}
|
|
return *m.Unit
|
|
}
|
|
|
|
// 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 (m *Metric) GetUnitOk() (string, bool) {
|
|
if m == nil || m.Unit == nil {
|
|
return "", false
|
|
}
|
|
return *m.Unit, true
|
|
}
|
|
|
|
// HasUnit returns a boolean if a field has been set.
|
|
func (m *Metric) HasUnit() bool {
|
|
if m != nil && m.Unit != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUnit allocates a new m.Unit and returns the pointer to it.
|
|
func (m *Metric) SetUnit(v string) {
|
|
m.Unit = &v
|
|
}
|
|
|
|
// GetCreator returns the Creator field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetCreator() Creator {
|
|
if m == nil || m.Creator == nil {
|
|
return Creator{}
|
|
}
|
|
return *m.Creator
|
|
}
|
|
|
|
// 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 (m *Monitor) GetCreatorOk() (Creator, bool) {
|
|
if m == nil || m.Creator == nil {
|
|
return Creator{}, false
|
|
}
|
|
return *m.Creator, true
|
|
}
|
|
|
|
// HasCreator returns a boolean if a field has been set.
|
|
func (m *Monitor) HasCreator() bool {
|
|
if m != nil && m.Creator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCreator allocates a new m.Creator and returns the pointer to it.
|
|
func (m *Monitor) SetCreator(v Creator) {
|
|
m.Creator = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetId() int {
|
|
if m == nil || m.Id == nil {
|
|
return 0
|
|
}
|
|
return *m.Id
|
|
}
|
|
|
|
// 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 (m *Monitor) GetIdOk() (int, bool) {
|
|
if m == nil || m.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *m.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (m *Monitor) HasId() bool {
|
|
if m != nil && m.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new m.Id and returns the pointer to it.
|
|
func (m *Monitor) SetId(v int) {
|
|
m.Id = &v
|
|
}
|
|
|
|
// GetMessage returns the Message field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetMessage() string {
|
|
if m == nil || m.Message == nil {
|
|
return ""
|
|
}
|
|
return *m.Message
|
|
}
|
|
|
|
// 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 (m *Monitor) GetMessageOk() (string, bool) {
|
|
if m == nil || m.Message == nil {
|
|
return "", false
|
|
}
|
|
return *m.Message, true
|
|
}
|
|
|
|
// HasMessage returns a boolean if a field has been set.
|
|
func (m *Monitor) HasMessage() bool {
|
|
if m != nil && m.Message != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMessage allocates a new m.Message and returns the pointer to it.
|
|
func (m *Monitor) SetMessage(v string) {
|
|
m.Message = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetName() string {
|
|
if m == nil || m.Name == nil {
|
|
return ""
|
|
}
|
|
return *m.Name
|
|
}
|
|
|
|
// 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 (m *Monitor) GetNameOk() (string, bool) {
|
|
if m == nil || m.Name == nil {
|
|
return "", false
|
|
}
|
|
return *m.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (m *Monitor) HasName() bool {
|
|
if m != nil && m.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new m.Name and returns the pointer to it.
|
|
func (m *Monitor) SetName(v string) {
|
|
m.Name = &v
|
|
}
|
|
|
|
// GetOptions returns the Options field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetOptions() Options {
|
|
if m == nil || m.Options == nil {
|
|
return Options{}
|
|
}
|
|
return *m.Options
|
|
}
|
|
|
|
// GetOkOptions returns a tuple with the Options field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (m *Monitor) GetOptionsOk() (Options, bool) {
|
|
if m == nil || m.Options == nil {
|
|
return Options{}, false
|
|
}
|
|
return *m.Options, true
|
|
}
|
|
|
|
// HasOptions returns a boolean if a field has been set.
|
|
func (m *Monitor) HasOptions() bool {
|
|
if m != nil && m.Options != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetOptions allocates a new m.Options and returns the pointer to it.
|
|
func (m *Monitor) SetOptions(v Options) {
|
|
m.Options = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetQuery() string {
|
|
if m == nil || m.Query == nil {
|
|
return ""
|
|
}
|
|
return *m.Query
|
|
}
|
|
|
|
// 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 (m *Monitor) GetQueryOk() (string, bool) {
|
|
if m == nil || m.Query == nil {
|
|
return "", false
|
|
}
|
|
return *m.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (m *Monitor) HasQuery() bool {
|
|
if m != nil && m.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new m.Query and returns the pointer to it.
|
|
func (m *Monitor) SetQuery(v string) {
|
|
m.Query = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (m *Monitor) GetType() string {
|
|
if m == nil || m.Type == nil {
|
|
return ""
|
|
}
|
|
return *m.Type
|
|
}
|
|
|
|
// 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 (m *Monitor) GetTypeOk() (string, bool) {
|
|
if m == nil || m.Type == nil {
|
|
return "", false
|
|
}
|
|
return *m.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (m *Monitor) HasType() bool {
|
|
if m != nil && m.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new m.Type and returns the pointer to it.
|
|
func (m *Monitor) SetType(v string) {
|
|
m.Type = &v
|
|
}
|
|
|
|
// GetAutoRefresh returns the AutoRefresh field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetAutoRefresh() bool {
|
|
if n == nil || n.AutoRefresh == nil {
|
|
return false
|
|
}
|
|
return *n.AutoRefresh
|
|
}
|
|
|
|
// GetOkAutoRefresh returns a tuple with the AutoRefresh field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetAutoRefreshOk() (bool, bool) {
|
|
if n == nil || n.AutoRefresh == nil {
|
|
return false, false
|
|
}
|
|
return *n.AutoRefresh, true
|
|
}
|
|
|
|
// HasAutoRefresh returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasAutoRefresh() bool {
|
|
if n != nil && n.AutoRefresh != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAutoRefresh allocates a new n.AutoRefresh and returns the pointer to it.
|
|
func (n *NoteWidget) SetAutoRefresh(v bool) {
|
|
n.AutoRefresh = &v
|
|
}
|
|
|
|
// GetColor returns the Color field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetColor() string {
|
|
if n == nil || n.Color == nil {
|
|
return ""
|
|
}
|
|
return *n.Color
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetColorOk() (string, bool) {
|
|
if n == nil || n.Color == nil {
|
|
return "", false
|
|
}
|
|
return *n.Color, true
|
|
}
|
|
|
|
// HasColor returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasColor() bool {
|
|
if n != nil && n.Color != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetColor allocates a new n.Color and returns the pointer to it.
|
|
func (n *NoteWidget) SetColor(v string) {
|
|
n.Color = &v
|
|
}
|
|
|
|
// GetFontSize returns the FontSize field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetFontSize() int {
|
|
if n == nil || n.FontSize == nil {
|
|
return 0
|
|
}
|
|
return *n.FontSize
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetFontSizeOk() (int, bool) {
|
|
if n == nil || n.FontSize == nil {
|
|
return 0, false
|
|
}
|
|
return *n.FontSize, true
|
|
}
|
|
|
|
// HasFontSize returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasFontSize() bool {
|
|
if n != nil && n.FontSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetFontSize allocates a new n.FontSize and returns the pointer to it.
|
|
func (n *NoteWidget) SetFontSize(v int) {
|
|
n.FontSize = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetHeight() int {
|
|
if n == nil || n.Height == nil {
|
|
return 0
|
|
}
|
|
return *n.Height
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetHeightOk() (int, bool) {
|
|
if n == nil || n.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *n.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasHeight() bool {
|
|
if n != nil && n.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new n.Height and returns the pointer to it.
|
|
func (n *NoteWidget) SetHeight(v int) {
|
|
n.Height = &v
|
|
}
|
|
|
|
// GetHtml returns the Html field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetHtml() string {
|
|
if n == nil || n.Html == nil {
|
|
return ""
|
|
}
|
|
return *n.Html
|
|
}
|
|
|
|
// GetOkHtml returns a tuple with the Html field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetHtmlOk() (string, bool) {
|
|
if n == nil || n.Html == nil {
|
|
return "", false
|
|
}
|
|
return *n.Html, true
|
|
}
|
|
|
|
// HasHtml returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasHtml() bool {
|
|
if n != nil && n.Html != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHtml allocates a new n.Html and returns the pointer to it.
|
|
func (n *NoteWidget) SetHtml(v string) {
|
|
n.Html = &v
|
|
}
|
|
|
|
// GetNote returns the Note field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetNote() string {
|
|
if n == nil || n.Note == nil {
|
|
return ""
|
|
}
|
|
return *n.Note
|
|
}
|
|
|
|
// GetOkNote returns a tuple with the Note field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetNoteOk() (string, bool) {
|
|
if n == nil || n.Note == nil {
|
|
return "", false
|
|
}
|
|
return *n.Note, true
|
|
}
|
|
|
|
// HasNote returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasNote() bool {
|
|
if n != nil && n.Note != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNote allocates a new n.Note and returns the pointer to it.
|
|
func (n *NoteWidget) SetNote(v string) {
|
|
n.Note = &v
|
|
}
|
|
|
|
// GetRefreshEvery returns the RefreshEvery field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetRefreshEvery() int {
|
|
if n == nil || n.RefreshEvery == nil {
|
|
return 0
|
|
}
|
|
return *n.RefreshEvery
|
|
}
|
|
|
|
// GetOkRefreshEvery returns a tuple with the RefreshEvery field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetRefreshEveryOk() (int, bool) {
|
|
if n == nil || n.RefreshEvery == nil {
|
|
return 0, false
|
|
}
|
|
return *n.RefreshEvery, true
|
|
}
|
|
|
|
// HasRefreshEvery returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasRefreshEvery() bool {
|
|
if n != nil && n.RefreshEvery != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRefreshEvery allocates a new n.RefreshEvery and returns the pointer to it.
|
|
func (n *NoteWidget) SetRefreshEvery(v int) {
|
|
n.RefreshEvery = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTextAlign() string {
|
|
if n == nil || n.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *n.TextAlign
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetTextAlignOk() (string, bool) {
|
|
if n == nil || n.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *n.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTextAlign() bool {
|
|
if n != nil && n.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new n.TextAlign and returns the pointer to it.
|
|
func (n *NoteWidget) SetTextAlign(v string) {
|
|
n.TextAlign = &v
|
|
}
|
|
|
|
// GetTick returns the Tick field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTick() bool {
|
|
if n == nil || n.Tick == nil {
|
|
return false
|
|
}
|
|
return *n.Tick
|
|
}
|
|
|
|
// GetOkTick returns a tuple with the Tick field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetTickOk() (bool, bool) {
|
|
if n == nil || n.Tick == nil {
|
|
return false, false
|
|
}
|
|
return *n.Tick, true
|
|
}
|
|
|
|
// HasTick returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTick() bool {
|
|
if n != nil && n.Tick != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTick allocates a new n.Tick and returns the pointer to it.
|
|
func (n *NoteWidget) SetTick(v bool) {
|
|
n.Tick = &v
|
|
}
|
|
|
|
// GetTickEdge returns the TickEdge field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTickEdge() string {
|
|
if n == nil || n.TickEdge == nil {
|
|
return ""
|
|
}
|
|
return *n.TickEdge
|
|
}
|
|
|
|
// GetOkTickEdge returns a tuple with the TickEdge field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetTickEdgeOk() (string, bool) {
|
|
if n == nil || n.TickEdge == nil {
|
|
return "", false
|
|
}
|
|
return *n.TickEdge, true
|
|
}
|
|
|
|
// HasTickEdge returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTickEdge() bool {
|
|
if n != nil && n.TickEdge != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTickEdge allocates a new n.TickEdge and returns the pointer to it.
|
|
func (n *NoteWidget) SetTickEdge(v string) {
|
|
n.TickEdge = &v
|
|
}
|
|
|
|
// GetTickPos returns the TickPos field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTickPos() string {
|
|
if n == nil || n.TickPos == nil {
|
|
return ""
|
|
}
|
|
return *n.TickPos
|
|
}
|
|
|
|
// GetOkTickPos returns a tuple with the TickPos field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (n *NoteWidget) GetTickPosOk() (string, bool) {
|
|
if n == nil || n.TickPos == nil {
|
|
return "", false
|
|
}
|
|
return *n.TickPos, true
|
|
}
|
|
|
|
// HasTickPos returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTickPos() bool {
|
|
if n != nil && n.TickPos != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTickPos allocates a new n.TickPos and returns the pointer to it.
|
|
func (n *NoteWidget) SetTickPos(v string) {
|
|
n.TickPos = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTitle() bool {
|
|
if n == nil || n.Title == nil {
|
|
return false
|
|
}
|
|
return *n.Title
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetTitleOk() (bool, bool) {
|
|
if n == nil || n.Title == nil {
|
|
return false, false
|
|
}
|
|
return *n.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTitle() bool {
|
|
if n != nil && n.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new n.Title and returns the pointer to it.
|
|
func (n *NoteWidget) SetTitle(v bool) {
|
|
n.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTitleAlign() string {
|
|
if n == nil || n.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *n.TitleAlign
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetTitleAlignOk() (string, bool) {
|
|
if n == nil || n.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *n.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTitleAlign() bool {
|
|
if n != nil && n.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new n.TitleAlign and returns the pointer to it.
|
|
func (n *NoteWidget) SetTitleAlign(v string) {
|
|
n.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTitleSize() int {
|
|
if n == nil || n.TitleSize == nil {
|
|
return 0
|
|
}
|
|
return *n.TitleSize
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetTitleSizeOk() (int, bool) {
|
|
if n == nil || n.TitleSize == nil {
|
|
return 0, false
|
|
}
|
|
return *n.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTitleSize() bool {
|
|
if n != nil && n.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new n.TitleSize and returns the pointer to it.
|
|
func (n *NoteWidget) SetTitleSize(v int) {
|
|
n.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetTitleText() string {
|
|
if n == nil || n.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *n.TitleText
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetTitleTextOk() (string, bool) {
|
|
if n == nil || n.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *n.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasTitleText() bool {
|
|
if n != nil && n.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new n.TitleText and returns the pointer to it.
|
|
func (n *NoteWidget) SetTitleText(v string) {
|
|
n.TitleText = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetWidth() int {
|
|
if n == nil || n.Width == nil {
|
|
return 0
|
|
}
|
|
return *n.Width
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetWidthOk() (int, bool) {
|
|
if n == nil || n.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *n.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasWidth() bool {
|
|
if n != nil && n.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new n.Width and returns the pointer to it.
|
|
func (n *NoteWidget) SetWidth(v int) {
|
|
n.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetX() int {
|
|
if n == nil || n.X == nil {
|
|
return 0
|
|
}
|
|
return *n.X
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetXOk() (int, bool) {
|
|
if n == nil || n.X == nil {
|
|
return 0, false
|
|
}
|
|
return *n.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasX() bool {
|
|
if n != nil && n.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new n.X and returns the pointer to it.
|
|
func (n *NoteWidget) SetX(v int) {
|
|
n.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (n *NoteWidget) GetY() int {
|
|
if n == nil || n.Y == nil {
|
|
return 0
|
|
}
|
|
return *n.Y
|
|
}
|
|
|
|
// 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 (n *NoteWidget) GetYOk() (int, bool) {
|
|
if n == nil || n.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *n.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (n *NoteWidget) HasY() bool {
|
|
if n != nil && n.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new n.Y and returns the pointer to it.
|
|
func (n *NoteWidget) SetY(v int) {
|
|
n.Y = &v
|
|
}
|
|
|
|
// GetEscalationMessage returns the EscalationMessage field if non-nil, zero value otherwise.
|
|
func (o *Options) GetEscalationMessage() string {
|
|
if o == nil || o.EscalationMessage == nil {
|
|
return ""
|
|
}
|
|
return *o.EscalationMessage
|
|
}
|
|
|
|
// GetOkEscalationMessage returns a tuple with the EscalationMessage field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetEscalationMessageOk() (string, bool) {
|
|
if o == nil || o.EscalationMessage == nil {
|
|
return "", false
|
|
}
|
|
return *o.EscalationMessage, true
|
|
}
|
|
|
|
// HasEscalationMessage returns a boolean if a field has been set.
|
|
func (o *Options) HasEscalationMessage() bool {
|
|
if o != nil && o.EscalationMessage != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEscalationMessage allocates a new o.EscalationMessage and returns the pointer to it.
|
|
func (o *Options) SetEscalationMessage(v string) {
|
|
o.EscalationMessage = &v
|
|
}
|
|
|
|
// GetEvaluationDelay returns the EvaluationDelay field if non-nil, zero value otherwise.
|
|
func (o *Options) GetEvaluationDelay() int {
|
|
if o == nil || o.EvaluationDelay == nil {
|
|
return 0
|
|
}
|
|
return *o.EvaluationDelay
|
|
}
|
|
|
|
// GetOkEvaluationDelay returns a tuple with the EvaluationDelay field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetEvaluationDelayOk() (int, bool) {
|
|
if o == nil || o.EvaluationDelay == nil {
|
|
return 0, false
|
|
}
|
|
return *o.EvaluationDelay, true
|
|
}
|
|
|
|
// HasEvaluationDelay returns a boolean if a field has been set.
|
|
func (o *Options) HasEvaluationDelay() bool {
|
|
if o != nil && o.EvaluationDelay != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEvaluationDelay allocates a new o.EvaluationDelay and returns the pointer to it.
|
|
func (o *Options) SetEvaluationDelay(v int) {
|
|
o.EvaluationDelay = &v
|
|
}
|
|
|
|
// GetIncludeTags returns the IncludeTags field if non-nil, zero value otherwise.
|
|
func (o *Options) GetIncludeTags() bool {
|
|
if o == nil || o.IncludeTags == nil {
|
|
return false
|
|
}
|
|
return *o.IncludeTags
|
|
}
|
|
|
|
// GetOkIncludeTags returns a tuple with the IncludeTags field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetIncludeTagsOk() (bool, bool) {
|
|
if o == nil || o.IncludeTags == nil {
|
|
return false, false
|
|
}
|
|
return *o.IncludeTags, true
|
|
}
|
|
|
|
// HasIncludeTags returns a boolean if a field has been set.
|
|
func (o *Options) HasIncludeTags() bool {
|
|
if o != nil && o.IncludeTags != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIncludeTags allocates a new o.IncludeTags and returns the pointer to it.
|
|
func (o *Options) SetIncludeTags(v bool) {
|
|
o.IncludeTags = &v
|
|
}
|
|
|
|
// GetLocked returns the Locked field if non-nil, zero value otherwise.
|
|
func (o *Options) GetLocked() bool {
|
|
if o == nil || o.Locked == nil {
|
|
return false
|
|
}
|
|
return *o.Locked
|
|
}
|
|
|
|
// GetOkLocked returns a tuple with the Locked field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetLockedOk() (bool, bool) {
|
|
if o == nil || o.Locked == nil {
|
|
return false, false
|
|
}
|
|
return *o.Locked, true
|
|
}
|
|
|
|
// HasLocked returns a boolean if a field has been set.
|
|
func (o *Options) HasLocked() bool {
|
|
if o != nil && o.Locked != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLocked allocates a new o.Locked and returns the pointer to it.
|
|
func (o *Options) SetLocked(v bool) {
|
|
o.Locked = &v
|
|
}
|
|
|
|
// GetNewHostDelay returns the NewHostDelay field if non-nil, zero value otherwise.
|
|
func (o *Options) GetNewHostDelay() int {
|
|
if o == nil || o.NewHostDelay == nil {
|
|
return 0
|
|
}
|
|
return *o.NewHostDelay
|
|
}
|
|
|
|
// GetOkNewHostDelay returns a tuple with the NewHostDelay field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetNewHostDelayOk() (int, bool) {
|
|
if o == nil || o.NewHostDelay == nil {
|
|
return 0, false
|
|
}
|
|
return *o.NewHostDelay, true
|
|
}
|
|
|
|
// HasNewHostDelay returns a boolean if a field has been set.
|
|
func (o *Options) HasNewHostDelay() bool {
|
|
if o != nil && o.NewHostDelay != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNewHostDelay allocates a new o.NewHostDelay and returns the pointer to it.
|
|
func (o *Options) SetNewHostDelay(v int) {
|
|
o.NewHostDelay = &v
|
|
}
|
|
|
|
// GetNotifyAudit returns the NotifyAudit field if non-nil, zero value otherwise.
|
|
func (o *Options) GetNotifyAudit() bool {
|
|
if o == nil || o.NotifyAudit == nil {
|
|
return false
|
|
}
|
|
return *o.NotifyAudit
|
|
}
|
|
|
|
// GetOkNotifyAudit returns a tuple with the NotifyAudit field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetNotifyAuditOk() (bool, bool) {
|
|
if o == nil || o.NotifyAudit == nil {
|
|
return false, false
|
|
}
|
|
return *o.NotifyAudit, true
|
|
}
|
|
|
|
// HasNotifyAudit returns a boolean if a field has been set.
|
|
func (o *Options) HasNotifyAudit() bool {
|
|
if o != nil && o.NotifyAudit != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNotifyAudit allocates a new o.NotifyAudit and returns the pointer to it.
|
|
func (o *Options) SetNotifyAudit(v bool) {
|
|
o.NotifyAudit = &v
|
|
}
|
|
|
|
// GetNotifyNoData returns the NotifyNoData field if non-nil, zero value otherwise.
|
|
func (o *Options) GetNotifyNoData() bool {
|
|
if o == nil || o.NotifyNoData == nil {
|
|
return false
|
|
}
|
|
return *o.NotifyNoData
|
|
}
|
|
|
|
// 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 (o *Options) GetNotifyNoDataOk() (bool, bool) {
|
|
if o == nil || o.NotifyNoData == nil {
|
|
return false, false
|
|
}
|
|
return *o.NotifyNoData, true
|
|
}
|
|
|
|
// HasNotifyNoData returns a boolean if a field has been set.
|
|
func (o *Options) HasNotifyNoData() bool {
|
|
if o != nil && o.NotifyNoData != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNotifyNoData allocates a new o.NotifyNoData and returns the pointer to it.
|
|
func (o *Options) SetNotifyNoData(v bool) {
|
|
o.NotifyNoData = &v
|
|
}
|
|
|
|
// GetRenotifyInterval returns the RenotifyInterval field if non-nil, zero value otherwise.
|
|
func (o *Options) GetRenotifyInterval() int {
|
|
if o == nil || o.RenotifyInterval == nil {
|
|
return 0
|
|
}
|
|
return *o.RenotifyInterval
|
|
}
|
|
|
|
// GetOkRenotifyInterval returns a tuple with the RenotifyInterval field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetRenotifyIntervalOk() (int, bool) {
|
|
if o == nil || o.RenotifyInterval == nil {
|
|
return 0, false
|
|
}
|
|
return *o.RenotifyInterval, true
|
|
}
|
|
|
|
// HasRenotifyInterval returns a boolean if a field has been set.
|
|
func (o *Options) HasRenotifyInterval() bool {
|
|
if o != nil && o.RenotifyInterval != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRenotifyInterval allocates a new o.RenotifyInterval and returns the pointer to it.
|
|
func (o *Options) SetRenotifyInterval(v int) {
|
|
o.RenotifyInterval = &v
|
|
}
|
|
|
|
// GetRequireFullWindow returns the RequireFullWindow field if non-nil, zero value otherwise.
|
|
func (o *Options) GetRequireFullWindow() bool {
|
|
if o == nil || o.RequireFullWindow == nil {
|
|
return false
|
|
}
|
|
return *o.RequireFullWindow
|
|
}
|
|
|
|
// GetOkRequireFullWindow returns a tuple with the RequireFullWindow field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetRequireFullWindowOk() (bool, bool) {
|
|
if o == nil || o.RequireFullWindow == nil {
|
|
return false, false
|
|
}
|
|
return *o.RequireFullWindow, true
|
|
}
|
|
|
|
// HasRequireFullWindow returns a boolean if a field has been set.
|
|
func (o *Options) HasRequireFullWindow() bool {
|
|
if o != nil && o.RequireFullWindow != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRequireFullWindow allocates a new o.RequireFullWindow and returns the pointer to it.
|
|
func (o *Options) SetRequireFullWindow(v bool) {
|
|
o.RequireFullWindow = &v
|
|
}
|
|
|
|
// GetThresholds returns the Thresholds field if non-nil, zero value otherwise.
|
|
func (o *Options) GetThresholds() ThresholdCount {
|
|
if o == nil || o.Thresholds == nil {
|
|
return ThresholdCount{}
|
|
}
|
|
return *o.Thresholds
|
|
}
|
|
|
|
// GetOkThresholds returns a tuple with the Thresholds field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetThresholdsOk() (ThresholdCount, bool) {
|
|
if o == nil || o.Thresholds == nil {
|
|
return ThresholdCount{}, false
|
|
}
|
|
return *o.Thresholds, true
|
|
}
|
|
|
|
// HasThresholds returns a boolean if a field has been set.
|
|
func (o *Options) HasThresholds() bool {
|
|
if o != nil && o.Thresholds != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetThresholds allocates a new o.Thresholds and returns the pointer to it.
|
|
func (o *Options) SetThresholds(v ThresholdCount) {
|
|
o.Thresholds = &v
|
|
}
|
|
|
|
// GetTimeoutH returns the TimeoutH field if non-nil, zero value otherwise.
|
|
func (o *Options) GetTimeoutH() int {
|
|
if o == nil || o.TimeoutH == nil {
|
|
return 0
|
|
}
|
|
return *o.TimeoutH
|
|
}
|
|
|
|
// GetOkTimeoutH returns a tuple with the TimeoutH field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *Options) GetTimeoutHOk() (int, bool) {
|
|
if o == nil || o.TimeoutH == nil {
|
|
return 0, false
|
|
}
|
|
return *o.TimeoutH, true
|
|
}
|
|
|
|
// HasTimeoutH returns a boolean if a field has been set.
|
|
func (o *Options) HasTimeoutH() bool {
|
|
if o != nil && o.TimeoutH != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeoutH allocates a new o.TimeoutH and returns the pointer to it.
|
|
func (o *Options) SetTimeoutH(v int) {
|
|
o.TimeoutH = &v
|
|
}
|
|
|
|
// GetAggregator returns the Aggregator field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetAggregator() string {
|
|
if q == nil || q.Aggregator == nil {
|
|
return ""
|
|
}
|
|
return *q.Aggregator
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetAggregatorOk() (string, bool) {
|
|
if q == nil || q.Aggregator == nil {
|
|
return "", false
|
|
}
|
|
return *q.Aggregator, true
|
|
}
|
|
|
|
// HasAggregator returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasAggregator() bool {
|
|
if q != nil && q.Aggregator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAggregator allocates a new q.Aggregator and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetAggregator(v string) {
|
|
q.Aggregator = &v
|
|
}
|
|
|
|
// GetCalcFunc returns the CalcFunc field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetCalcFunc() string {
|
|
if q == nil || q.CalcFunc == nil {
|
|
return ""
|
|
}
|
|
return *q.CalcFunc
|
|
}
|
|
|
|
// GetOkCalcFunc returns a tuple with the CalcFunc field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetCalcFuncOk() (string, bool) {
|
|
if q == nil || q.CalcFunc == nil {
|
|
return "", false
|
|
}
|
|
return *q.CalcFunc, true
|
|
}
|
|
|
|
// HasCalcFunc returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasCalcFunc() bool {
|
|
if q != nil && q.CalcFunc != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCalcFunc allocates a new q.CalcFunc and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetCalcFunc(v string) {
|
|
q.CalcFunc = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetHeight() int {
|
|
if q == nil || q.Height == nil {
|
|
return 0
|
|
}
|
|
return *q.Height
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetHeightOk() (int, bool) {
|
|
if q == nil || q.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *q.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasHeight() bool {
|
|
if q != nil && q.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new q.Height and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetHeight(v int) {
|
|
q.Height = &v
|
|
}
|
|
|
|
// GetIsValidQuery returns the IsValidQuery field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetIsValidQuery() bool {
|
|
if q == nil || q.IsValidQuery == nil {
|
|
return false
|
|
}
|
|
return *q.IsValidQuery
|
|
}
|
|
|
|
// GetOkIsValidQuery returns a tuple with the IsValidQuery field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetIsValidQueryOk() (bool, bool) {
|
|
if q == nil || q.IsValidQuery == nil {
|
|
return false, false
|
|
}
|
|
return *q.IsValidQuery, true
|
|
}
|
|
|
|
// HasIsValidQuery returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasIsValidQuery() bool {
|
|
if q != nil && q.IsValidQuery != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIsValidQuery allocates a new q.IsValidQuery and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetIsValidQuery(v bool) {
|
|
q.IsValidQuery = &v
|
|
}
|
|
|
|
// GetMetric returns the Metric field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetMetric() string {
|
|
if q == nil || q.Metric == nil {
|
|
return ""
|
|
}
|
|
return *q.Metric
|
|
}
|
|
|
|
// GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetMetricOk() (string, bool) {
|
|
if q == nil || q.Metric == nil {
|
|
return "", false
|
|
}
|
|
return *q.Metric, true
|
|
}
|
|
|
|
// HasMetric returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasMetric() bool {
|
|
if q != nil && q.Metric != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMetric allocates a new q.Metric and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetMetric(v string) {
|
|
q.Metric = &v
|
|
}
|
|
|
|
// GetMetricType returns the MetricType field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetMetricType() string {
|
|
if q == nil || q.MetricType == nil {
|
|
return ""
|
|
}
|
|
return *q.MetricType
|
|
}
|
|
|
|
// GetOkMetricType returns a tuple with the MetricType field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetMetricTypeOk() (string, bool) {
|
|
if q == nil || q.MetricType == nil {
|
|
return "", false
|
|
}
|
|
return *q.MetricType, true
|
|
}
|
|
|
|
// HasMetricType returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasMetricType() bool {
|
|
if q != nil && q.MetricType != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMetricType allocates a new q.MetricType and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetMetricType(v string) {
|
|
q.MetricType = &v
|
|
}
|
|
|
|
// GetPrecision returns the Precision field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetPrecision() int {
|
|
if q == nil || q.Precision == nil {
|
|
return 0
|
|
}
|
|
return *q.Precision
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetPrecisionOk() (int, bool) {
|
|
if q == nil || q.Precision == nil {
|
|
return 0, false
|
|
}
|
|
return *q.Precision, true
|
|
}
|
|
|
|
// HasPrecision returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasPrecision() bool {
|
|
if q != nil && q.Precision != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPrecision allocates a new q.Precision and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetPrecision(v int) {
|
|
q.Precision = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetQuery() string {
|
|
if q == nil || q.Query == nil {
|
|
return ""
|
|
}
|
|
return *q.Query
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetQueryOk() (string, bool) {
|
|
if q == nil || q.Query == nil {
|
|
return "", false
|
|
}
|
|
return *q.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasQuery() bool {
|
|
if q != nil && q.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new q.Query and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetQuery(v string) {
|
|
q.Query = &v
|
|
}
|
|
|
|
// GetResultCalcFunc returns the ResultCalcFunc field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetResultCalcFunc() string {
|
|
if q == nil || q.ResultCalcFunc == nil {
|
|
return ""
|
|
}
|
|
return *q.ResultCalcFunc
|
|
}
|
|
|
|
// GetOkResultCalcFunc returns a tuple with the ResultCalcFunc field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetResultCalcFuncOk() (string, bool) {
|
|
if q == nil || q.ResultCalcFunc == nil {
|
|
return "", false
|
|
}
|
|
return *q.ResultCalcFunc, true
|
|
}
|
|
|
|
// HasResultCalcFunc returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasResultCalcFunc() bool {
|
|
if q != nil && q.ResultCalcFunc != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResultCalcFunc allocates a new q.ResultCalcFunc and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetResultCalcFunc(v string) {
|
|
q.ResultCalcFunc = &v
|
|
}
|
|
|
|
// GetTextAlign returns the TextAlign field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTextAlign() string {
|
|
if q == nil || q.TextAlign == nil {
|
|
return ""
|
|
}
|
|
return *q.TextAlign
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTextAlignOk() (string, bool) {
|
|
if q == nil || q.TextAlign == nil {
|
|
return "", false
|
|
}
|
|
return *q.TextAlign, true
|
|
}
|
|
|
|
// HasTextAlign returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTextAlign() bool {
|
|
if q != nil && q.TextAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextAlign allocates a new q.TextAlign and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTextAlign(v string) {
|
|
q.TextAlign = &v
|
|
}
|
|
|
|
// GetTextSize returns the TextSize field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTextSize() TextSize {
|
|
if q == nil || q.TextSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *q.TextSize
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTextSizeOk() (TextSize, bool) {
|
|
if q == nil || q.TextSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *q.TextSize, true
|
|
}
|
|
|
|
// HasTextSize returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTextSize() bool {
|
|
if q != nil && q.TextSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTextSize allocates a new q.TextSize and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTextSize(v TextSize) {
|
|
q.TextSize = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTimeframe() string {
|
|
if q == nil || q.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *q.Timeframe
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTimeframeOk() (string, bool) {
|
|
if q == nil || q.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *q.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTimeframe() bool {
|
|
if q != nil && q.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new q.Timeframe and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTimeframe(v string) {
|
|
q.Timeframe = &v
|
|
}
|
|
|
|
// GetTimeframeAggregator returns the TimeframeAggregator field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTimeframeAggregator() string {
|
|
if q == nil || q.TimeframeAggregator == nil {
|
|
return ""
|
|
}
|
|
return *q.TimeframeAggregator
|
|
}
|
|
|
|
// GetOkTimeframeAggregator returns a tuple with the TimeframeAggregator field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (q *QueryValueWidget) GetTimeframeAggregatorOk() (string, bool) {
|
|
if q == nil || q.TimeframeAggregator == nil {
|
|
return "", false
|
|
}
|
|
return *q.TimeframeAggregator, true
|
|
}
|
|
|
|
// HasTimeframeAggregator returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTimeframeAggregator() bool {
|
|
if q != nil && q.TimeframeAggregator != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframeAggregator allocates a new q.TimeframeAggregator and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTimeframeAggregator(v string) {
|
|
q.TimeframeAggregator = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTitle() bool {
|
|
if q == nil || q.Title == nil {
|
|
return false
|
|
}
|
|
return *q.Title
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTitleOk() (bool, bool) {
|
|
if q == nil || q.Title == nil {
|
|
return false, false
|
|
}
|
|
return *q.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTitle() bool {
|
|
if q != nil && q.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new q.Title and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTitle(v bool) {
|
|
q.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTitleAlign() string {
|
|
if q == nil || q.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *q.TitleAlign
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTitleAlignOk() (string, bool) {
|
|
if q == nil || q.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *q.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTitleAlign() bool {
|
|
if q != nil && q.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new q.TitleAlign and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTitleAlign(v string) {
|
|
q.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTitleSize() TextSize {
|
|
if q == nil || q.TitleSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *q.TitleSize
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTitleSizeOk() (TextSize, bool) {
|
|
if q == nil || q.TitleSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *q.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTitleSize() bool {
|
|
if q != nil && q.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new q.TitleSize and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTitleSize(v TextSize) {
|
|
q.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetTitleText() string {
|
|
if q == nil || q.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *q.TitleText
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTitleTextOk() (string, bool) {
|
|
if q == nil || q.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *q.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasTitleText() bool {
|
|
if q != nil && q.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new q.TitleText and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetTitleText(v string) {
|
|
q.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetType() string {
|
|
if q == nil || q.Type == nil {
|
|
return ""
|
|
}
|
|
return *q.Type
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetTypeOk() (string, bool) {
|
|
if q == nil || q.Type == nil {
|
|
return "", false
|
|
}
|
|
return *q.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasType() bool {
|
|
if q != nil && q.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new q.Type and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetType(v string) {
|
|
q.Type = &v
|
|
}
|
|
|
|
// GetUnit returns the Unit field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetUnit() string {
|
|
if q == nil || q.Unit == nil {
|
|
return ""
|
|
}
|
|
return *q.Unit
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetUnitOk() (string, bool) {
|
|
if q == nil || q.Unit == nil {
|
|
return "", false
|
|
}
|
|
return *q.Unit, true
|
|
}
|
|
|
|
// HasUnit returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasUnit() bool {
|
|
if q != nil && q.Unit != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUnit allocates a new q.Unit and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetUnit(v string) {
|
|
q.Unit = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetWidth() int {
|
|
if q == nil || q.Width == nil {
|
|
return 0
|
|
}
|
|
return *q.Width
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetWidthOk() (int, bool) {
|
|
if q == nil || q.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *q.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasWidth() bool {
|
|
if q != nil && q.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new q.Width and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetWidth(v int) {
|
|
q.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetX() int {
|
|
if q == nil || q.X == nil {
|
|
return 0
|
|
}
|
|
return *q.X
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetXOk() (int, bool) {
|
|
if q == nil || q.X == nil {
|
|
return 0, false
|
|
}
|
|
return *q.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasX() bool {
|
|
if q != nil && q.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new q.X and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetX(v int) {
|
|
q.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (q *QueryValueWidget) GetY() int {
|
|
if q == nil || q.Y == nil {
|
|
return 0
|
|
}
|
|
return *q.Y
|
|
}
|
|
|
|
// 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 (q *QueryValueWidget) GetYOk() (int, bool) {
|
|
if q == nil || q.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *q.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (q *QueryValueWidget) HasY() bool {
|
|
if q != nil && q.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new q.Y and returns the pointer to it.
|
|
func (q *QueryValueWidget) SetY(v int) {
|
|
q.Y = &v
|
|
}
|
|
|
|
// GetPeriod returns the Period field if non-nil, zero value otherwise.
|
|
func (r *Recurrence) GetPeriod() int {
|
|
if r == nil || r.Period == nil {
|
|
return 0
|
|
}
|
|
return *r.Period
|
|
}
|
|
|
|
// GetOkPeriod returns a tuple with the Period field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *Recurrence) GetPeriodOk() (int, bool) {
|
|
if r == nil || r.Period == nil {
|
|
return 0, false
|
|
}
|
|
return *r.Period, true
|
|
}
|
|
|
|
// HasPeriod returns a boolean if a field has been set.
|
|
func (r *Recurrence) HasPeriod() bool {
|
|
if r != nil && r.Period != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPeriod allocates a new r.Period and returns the pointer to it.
|
|
func (r *Recurrence) SetPeriod(v int) {
|
|
r.Period = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (r *Recurrence) GetType() string {
|
|
if r == nil || r.Type == nil {
|
|
return ""
|
|
}
|
|
return *r.Type
|
|
}
|
|
|
|
// 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 (r *Recurrence) GetTypeOk() (string, bool) {
|
|
if r == nil || r.Type == nil {
|
|
return "", false
|
|
}
|
|
return *r.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (r *Recurrence) HasType() bool {
|
|
if r != nil && r.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new r.Type and returns the pointer to it.
|
|
func (r *Recurrence) SetType(v string) {
|
|
r.Type = &v
|
|
}
|
|
|
|
// GetUntilDate returns the UntilDate field if non-nil, zero value otherwise.
|
|
func (r *Recurrence) GetUntilDate() int {
|
|
if r == nil || r.UntilDate == nil {
|
|
return 0
|
|
}
|
|
return *r.UntilDate
|
|
}
|
|
|
|
// GetOkUntilDate returns a tuple with the UntilDate field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *Recurrence) GetUntilDateOk() (int, bool) {
|
|
if r == nil || r.UntilDate == nil {
|
|
return 0, false
|
|
}
|
|
return *r.UntilDate, true
|
|
}
|
|
|
|
// HasUntilDate returns a boolean if a field has been set.
|
|
func (r *Recurrence) HasUntilDate() bool {
|
|
if r != nil && r.UntilDate != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUntilDate allocates a new r.UntilDate and returns the pointer to it.
|
|
func (r *Recurrence) SetUntilDate(v int) {
|
|
r.UntilDate = &v
|
|
}
|
|
|
|
// GetUntilOccurrences returns the UntilOccurrences field if non-nil, zero value otherwise.
|
|
func (r *Recurrence) GetUntilOccurrences() int {
|
|
if r == nil || r.UntilOccurrences == nil {
|
|
return 0
|
|
}
|
|
return *r.UntilOccurrences
|
|
}
|
|
|
|
// GetOkUntilOccurrences returns a tuple with the UntilOccurrences field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *Recurrence) GetUntilOccurrencesOk() (int, bool) {
|
|
if r == nil || r.UntilOccurrences == nil {
|
|
return 0, false
|
|
}
|
|
return *r.UntilOccurrences, true
|
|
}
|
|
|
|
// HasUntilOccurrences returns a boolean if a field has been set.
|
|
func (r *Recurrence) HasUntilOccurrences() bool {
|
|
if r != nil && r.UntilOccurrences != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUntilOccurrences allocates a new r.UntilOccurrences and returns the pointer to it.
|
|
func (r *Recurrence) SetUntilOccurrences(v int) {
|
|
r.UntilOccurrences = &v
|
|
}
|
|
|
|
// GetComment returns the Comment field if non-nil, zero value otherwise.
|
|
func (r *reqComment) GetComment() Comment {
|
|
if r == nil || r.Comment == nil {
|
|
return Comment{}
|
|
}
|
|
return *r.Comment
|
|
}
|
|
|
|
// GetOkComment returns a tuple with the Comment field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *reqComment) GetCommentOk() (Comment, bool) {
|
|
if r == nil || r.Comment == nil {
|
|
return Comment{}, false
|
|
}
|
|
return *r.Comment, true
|
|
}
|
|
|
|
// HasComment returns a boolean if a field has been set.
|
|
func (r *reqComment) HasComment() bool {
|
|
if r != nil && r.Comment != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetComment allocates a new r.Comment and returns the pointer to it.
|
|
func (r *reqComment) SetComment(v Comment) {
|
|
r.Comment = &v
|
|
}
|
|
|
|
// GetDashboard returns the Dashboard field if non-nil, zero value otherwise.
|
|
func (r *reqGetDashboard) GetDashboard() Dashboard {
|
|
if r == nil || r.Dashboard == nil {
|
|
return Dashboard{}
|
|
}
|
|
return *r.Dashboard
|
|
}
|
|
|
|
// GetOkDashboard returns a tuple with the Dashboard field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *reqGetDashboard) GetDashboardOk() (Dashboard, bool) {
|
|
if r == nil || r.Dashboard == nil {
|
|
return Dashboard{}, false
|
|
}
|
|
return *r.Dashboard, true
|
|
}
|
|
|
|
// HasDashboard returns a boolean if a field has been set.
|
|
func (r *reqGetDashboard) HasDashboard() bool {
|
|
if r != nil && r.Dashboard != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDashboard allocates a new r.Dashboard and returns the pointer to it.
|
|
func (r *reqGetDashboard) SetDashboard(v Dashboard) {
|
|
r.Dashboard = &v
|
|
}
|
|
|
|
// GetResource returns the Resource field if non-nil, zero value otherwise.
|
|
func (r *reqGetDashboard) GetResource() string {
|
|
if r == nil || r.Resource == nil {
|
|
return ""
|
|
}
|
|
return *r.Resource
|
|
}
|
|
|
|
// 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 (r *reqGetDashboard) GetResourceOk() (string, bool) {
|
|
if r == nil || r.Resource == nil {
|
|
return "", false
|
|
}
|
|
return *r.Resource, true
|
|
}
|
|
|
|
// HasResource returns a boolean if a field has been set.
|
|
func (r *reqGetDashboard) HasResource() bool {
|
|
if r != nil && r.Resource != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResource allocates a new r.Resource and returns the pointer to it.
|
|
func (r *reqGetDashboard) SetResource(v string) {
|
|
r.Resource = &v
|
|
}
|
|
|
|
// GetUrl returns the Url field if non-nil, zero value otherwise.
|
|
func (r *reqGetDashboard) GetUrl() string {
|
|
if r == nil || r.Url == nil {
|
|
return ""
|
|
}
|
|
return *r.Url
|
|
}
|
|
|
|
// 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 (r *reqGetDashboard) GetUrlOk() (string, bool) {
|
|
if r == nil || r.Url == nil {
|
|
return "", false
|
|
}
|
|
return *r.Url, true
|
|
}
|
|
|
|
// HasUrl returns a boolean if a field has been set.
|
|
func (r *reqGetDashboard) HasUrl() bool {
|
|
if r != nil && r.Url != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetUrl allocates a new r.Url and returns the pointer to it.
|
|
func (r *reqGetDashboard) SetUrl(v string) {
|
|
r.Url = &v
|
|
}
|
|
|
|
// GetEvent returns the Event field if non-nil, zero value otherwise.
|
|
func (r *reqGetEvent) GetEvent() Event {
|
|
if r == nil || r.Event == nil {
|
|
return Event{}
|
|
}
|
|
return *r.Event
|
|
}
|
|
|
|
// GetOkEvent returns a tuple with the Event field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (r *reqGetEvent) GetEventOk() (Event, bool) {
|
|
if r == nil || r.Event == nil {
|
|
return Event{}, false
|
|
}
|
|
return *r.Event, true
|
|
}
|
|
|
|
// HasEvent returns a boolean if a field has been set.
|
|
func (r *reqGetEvent) HasEvent() bool {
|
|
if r != nil && r.Event != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEvent allocates a new r.Event and returns the pointer to it.
|
|
func (r *reqGetEvent) SetEvent(v Event) {
|
|
r.Event = &v
|
|
}
|
|
|
|
// GetTags returns the Tags field if non-nil, zero value otherwise.
|
|
func (r *reqGetTags) GetTags() TagMap {
|
|
if r == nil || r.Tags == nil {
|
|
return TagMap{}
|
|
}
|
|
return *r.Tags
|
|
}
|
|
|
|
// 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 (r *reqGetTags) GetTagsOk() (TagMap, bool) {
|
|
if r == nil || r.Tags == nil {
|
|
return TagMap{}, false
|
|
}
|
|
return *r.Tags, true
|
|
}
|
|
|
|
// HasTags returns a boolean if a field has been set.
|
|
func (r *reqGetTags) HasTags() bool {
|
|
if r != nil && r.Tags != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTags allocates a new r.Tags and returns the pointer to it.
|
|
func (r *reqGetTags) SetTags(v TagMap) {
|
|
r.Tags = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetHeight() string {
|
|
if s == nil || s.Height == nil {
|
|
return ""
|
|
}
|
|
return *s.Height
|
|
}
|
|
|
|
// 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 (s *Screenboard) GetHeightOk() (string, bool) {
|
|
if s == nil || s.Height == nil {
|
|
return "", false
|
|
}
|
|
return *s.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasHeight() bool {
|
|
if s != nil && s.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new s.Height and returns the pointer to it.
|
|
func (s *Screenboard) SetHeight(v string) {
|
|
s.Height = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetId() int {
|
|
if s == nil || s.Id == nil {
|
|
return 0
|
|
}
|
|
return *s.Id
|
|
}
|
|
|
|
// 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 (s *Screenboard) GetIdOk() (int, bool) {
|
|
if s == nil || s.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *s.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasId() bool {
|
|
if s != nil && s.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new s.Id and returns the pointer to it.
|
|
func (s *Screenboard) SetId(v int) {
|
|
s.Id = &v
|
|
}
|
|
|
|
// GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetReadOnly() bool {
|
|
if s == nil || s.ReadOnly == nil {
|
|
return false
|
|
}
|
|
return *s.ReadOnly
|
|
}
|
|
|
|
// 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 (s *Screenboard) GetReadOnlyOk() (bool, bool) {
|
|
if s == nil || s.ReadOnly == nil {
|
|
return false, false
|
|
}
|
|
return *s.ReadOnly, true
|
|
}
|
|
|
|
// HasReadOnly returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasReadOnly() bool {
|
|
if s != nil && s.ReadOnly != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetReadOnly allocates a new s.ReadOnly and returns the pointer to it.
|
|
func (s *Screenboard) SetReadOnly(v bool) {
|
|
s.ReadOnly = &v
|
|
}
|
|
|
|
// GetShared returns the Shared field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetShared() bool {
|
|
if s == nil || s.Shared == nil {
|
|
return false
|
|
}
|
|
return *s.Shared
|
|
}
|
|
|
|
// GetOkShared returns a tuple with the Shared field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Screenboard) GetSharedOk() (bool, bool) {
|
|
if s == nil || s.Shared == nil {
|
|
return false, false
|
|
}
|
|
return *s.Shared, true
|
|
}
|
|
|
|
// HasShared returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasShared() bool {
|
|
if s != nil && s.Shared != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetShared allocates a new s.Shared and returns the pointer to it.
|
|
func (s *Screenboard) SetShared(v bool) {
|
|
s.Shared = &v
|
|
}
|
|
|
|
// GetTemplated returns the Templated field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetTemplated() bool {
|
|
if s == nil || s.Templated == nil {
|
|
return false
|
|
}
|
|
return *s.Templated
|
|
}
|
|
|
|
// GetOkTemplated returns a tuple with the Templated field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Screenboard) GetTemplatedOk() (bool, bool) {
|
|
if s == nil || s.Templated == nil {
|
|
return false, false
|
|
}
|
|
return *s.Templated, true
|
|
}
|
|
|
|
// HasTemplated returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasTemplated() bool {
|
|
if s != nil && s.Templated != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTemplated allocates a new s.Templated and returns the pointer to it.
|
|
func (s *Screenboard) SetTemplated(v bool) {
|
|
s.Templated = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetTitle() string {
|
|
if s == nil || s.Title == nil {
|
|
return ""
|
|
}
|
|
return *s.Title
|
|
}
|
|
|
|
// 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 (s *Screenboard) GetTitleOk() (string, bool) {
|
|
if s == nil || s.Title == nil {
|
|
return "", false
|
|
}
|
|
return *s.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasTitle() bool {
|
|
if s != nil && s.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new s.Title and returns the pointer to it.
|
|
func (s *Screenboard) SetTitle(v string) {
|
|
s.Title = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (s *Screenboard) GetWidth() string {
|
|
if s == nil || s.Width == nil {
|
|
return ""
|
|
}
|
|
return *s.Width
|
|
}
|
|
|
|
// 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 (s *Screenboard) GetWidthOk() (string, bool) {
|
|
if s == nil || s.Width == nil {
|
|
return "", false
|
|
}
|
|
return *s.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (s *Screenboard) HasWidth() bool {
|
|
if s != nil && s.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new s.Width and returns the pointer to it.
|
|
func (s *Screenboard) SetWidth(v string) {
|
|
s.Width = &v
|
|
}
|
|
|
|
// GetId returns the Id field if non-nil, zero value otherwise.
|
|
func (s *ScreenboardLite) GetId() int {
|
|
if s == nil || s.Id == nil {
|
|
return 0
|
|
}
|
|
return *s.Id
|
|
}
|
|
|
|
// 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 (s *ScreenboardLite) GetIdOk() (int, bool) {
|
|
if s == nil || s.Id == nil {
|
|
return 0, false
|
|
}
|
|
return *s.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (s *ScreenboardLite) HasId() bool {
|
|
if s != nil && s.Id != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetId allocates a new s.Id and returns the pointer to it.
|
|
func (s *ScreenboardLite) SetId(v int) {
|
|
s.Id = &v
|
|
}
|
|
|
|
// GetResource returns the Resource field if non-nil, zero value otherwise.
|
|
func (s *ScreenboardLite) GetResource() string {
|
|
if s == nil || s.Resource == nil {
|
|
return ""
|
|
}
|
|
return *s.Resource
|
|
}
|
|
|
|
// 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 (s *ScreenboardLite) GetResourceOk() (string, bool) {
|
|
if s == nil || s.Resource == nil {
|
|
return "", false
|
|
}
|
|
return *s.Resource, true
|
|
}
|
|
|
|
// HasResource returns a boolean if a field has been set.
|
|
func (s *ScreenboardLite) HasResource() bool {
|
|
if s != nil && s.Resource != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetResource allocates a new s.Resource and returns the pointer to it.
|
|
func (s *ScreenboardLite) SetResource(v string) {
|
|
s.Resource = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (s *ScreenboardLite) GetTitle() string {
|
|
if s == nil || s.Title == nil {
|
|
return ""
|
|
}
|
|
return *s.Title
|
|
}
|
|
|
|
// 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 (s *ScreenboardLite) GetTitleOk() (string, bool) {
|
|
if s == nil || s.Title == nil {
|
|
return "", false
|
|
}
|
|
return *s.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (s *ScreenboardLite) HasTitle() bool {
|
|
if s != nil && s.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new s.Title and returns the pointer to it.
|
|
func (s *ScreenboardLite) SetTitle(v string) {
|
|
s.Title = &v
|
|
}
|
|
|
|
// GetAggr returns the Aggr field if non-nil, zero value otherwise.
|
|
func (s *Series) GetAggr() string {
|
|
if s == nil || s.Aggr == nil {
|
|
return ""
|
|
}
|
|
return *s.Aggr
|
|
}
|
|
|
|
// GetOkAggr returns a tuple with the Aggr field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetAggrOk() (string, bool) {
|
|
if s == nil || s.Aggr == nil {
|
|
return "", false
|
|
}
|
|
return *s.Aggr, true
|
|
}
|
|
|
|
// HasAggr returns a boolean if a field has been set.
|
|
func (s *Series) HasAggr() bool {
|
|
if s != nil && s.Aggr != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAggr allocates a new s.Aggr and returns the pointer to it.
|
|
func (s *Series) SetAggr(v string) {
|
|
s.Aggr = &v
|
|
}
|
|
|
|
// GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
|
func (s *Series) GetDisplayName() string {
|
|
if s == nil || s.DisplayName == nil {
|
|
return ""
|
|
}
|
|
return *s.DisplayName
|
|
}
|
|
|
|
// GetOkDisplayName returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetDisplayNameOk() (string, bool) {
|
|
if s == nil || s.DisplayName == nil {
|
|
return "", false
|
|
}
|
|
return *s.DisplayName, true
|
|
}
|
|
|
|
// HasDisplayName returns a boolean if a field has been set.
|
|
func (s *Series) HasDisplayName() bool {
|
|
if s != nil && s.DisplayName != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDisplayName allocates a new s.DisplayName and returns the pointer to it.
|
|
func (s *Series) SetDisplayName(v string) {
|
|
s.DisplayName = &v
|
|
}
|
|
|
|
// GetEnd returns the End field if non-nil, zero value otherwise.
|
|
func (s *Series) GetEnd() float64 {
|
|
if s == nil || s.End == nil {
|
|
return 0
|
|
}
|
|
return *s.End
|
|
}
|
|
|
|
// 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 (s *Series) GetEndOk() (float64, bool) {
|
|
if s == nil || s.End == nil {
|
|
return 0, false
|
|
}
|
|
return *s.End, true
|
|
}
|
|
|
|
// HasEnd returns a boolean if a field has been set.
|
|
func (s *Series) HasEnd() bool {
|
|
if s != nil && s.End != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEnd allocates a new s.End and returns the pointer to it.
|
|
func (s *Series) SetEnd(v float64) {
|
|
s.End = &v
|
|
}
|
|
|
|
// GetExpression returns the Expression field if non-nil, zero value otherwise.
|
|
func (s *Series) GetExpression() string {
|
|
if s == nil || s.Expression == nil {
|
|
return ""
|
|
}
|
|
return *s.Expression
|
|
}
|
|
|
|
// GetOkExpression returns a tuple with the Expression field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetExpressionOk() (string, bool) {
|
|
if s == nil || s.Expression == nil {
|
|
return "", false
|
|
}
|
|
return *s.Expression, true
|
|
}
|
|
|
|
// HasExpression returns a boolean if a field has been set.
|
|
func (s *Series) HasExpression() bool {
|
|
if s != nil && s.Expression != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetExpression allocates a new s.Expression and returns the pointer to it.
|
|
func (s *Series) SetExpression(v string) {
|
|
s.Expression = &v
|
|
}
|
|
|
|
// GetInterval returns the Interval field if non-nil, zero value otherwise.
|
|
func (s *Series) GetInterval() int {
|
|
if s == nil || s.Interval == nil {
|
|
return 0
|
|
}
|
|
return *s.Interval
|
|
}
|
|
|
|
// GetOkInterval returns a tuple with the Interval field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetIntervalOk() (int, bool) {
|
|
if s == nil || s.Interval == nil {
|
|
return 0, false
|
|
}
|
|
return *s.Interval, true
|
|
}
|
|
|
|
// HasInterval returns a boolean if a field has been set.
|
|
func (s *Series) HasInterval() bool {
|
|
if s != nil && s.Interval != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetInterval allocates a new s.Interval and returns the pointer to it.
|
|
func (s *Series) SetInterval(v int) {
|
|
s.Interval = &v
|
|
}
|
|
|
|
// GetLength returns the Length field if non-nil, zero value otherwise.
|
|
func (s *Series) GetLength() int {
|
|
if s == nil || s.Length == nil {
|
|
return 0
|
|
}
|
|
return *s.Length
|
|
}
|
|
|
|
// GetOkLength returns a tuple with the Length field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetLengthOk() (int, bool) {
|
|
if s == nil || s.Length == nil {
|
|
return 0, false
|
|
}
|
|
return *s.Length, true
|
|
}
|
|
|
|
// HasLength returns a boolean if a field has been set.
|
|
func (s *Series) HasLength() bool {
|
|
if s != nil && s.Length != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLength allocates a new s.Length and returns the pointer to it.
|
|
func (s *Series) SetLength(v int) {
|
|
s.Length = &v
|
|
}
|
|
|
|
// GetMetric returns the Metric field if non-nil, zero value otherwise.
|
|
func (s *Series) GetMetric() string {
|
|
if s == nil || s.Metric == nil {
|
|
return ""
|
|
}
|
|
return *s.Metric
|
|
}
|
|
|
|
// GetOkMetric returns a tuple with the Metric field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetMetricOk() (string, bool) {
|
|
if s == nil || s.Metric == nil {
|
|
return "", false
|
|
}
|
|
return *s.Metric, true
|
|
}
|
|
|
|
// HasMetric returns a boolean if a field has been set.
|
|
func (s *Series) HasMetric() bool {
|
|
if s != nil && s.Metric != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMetric allocates a new s.Metric and returns the pointer to it.
|
|
func (s *Series) SetMetric(v string) {
|
|
s.Metric = &v
|
|
}
|
|
|
|
// GetScope returns the Scope field if non-nil, zero value otherwise.
|
|
func (s *Series) GetScope() string {
|
|
if s == nil || s.Scope == nil {
|
|
return ""
|
|
}
|
|
return *s.Scope
|
|
}
|
|
|
|
// GetOkScope returns a tuple with the Scope field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Series) GetScopeOk() (string, bool) {
|
|
if s == nil || s.Scope == nil {
|
|
return "", false
|
|
}
|
|
return *s.Scope, true
|
|
}
|
|
|
|
// HasScope returns a boolean if a field has been set.
|
|
func (s *Series) HasScope() bool {
|
|
if s != nil && s.Scope != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetScope allocates a new s.Scope and returns the pointer to it.
|
|
func (s *Series) SetScope(v string) {
|
|
s.Scope = &v
|
|
}
|
|
|
|
// GetStart returns the Start field if non-nil, zero value otherwise.
|
|
func (s *Series) GetStart() float64 {
|
|
if s == nil || s.Start == nil {
|
|
return 0
|
|
}
|
|
return *s.Start
|
|
}
|
|
|
|
// 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 (s *Series) GetStartOk() (float64, bool) {
|
|
if s == nil || s.Start == nil {
|
|
return 0, false
|
|
}
|
|
return *s.Start, true
|
|
}
|
|
|
|
// HasStart returns a boolean if a field has been set.
|
|
func (s *Series) HasStart() bool {
|
|
if s != nil && s.Start != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStart allocates a new s.Start and returns the pointer to it.
|
|
func (s *Series) SetStart(v float64) {
|
|
s.Start = &v
|
|
}
|
|
|
|
// GetPalette returns the Palette field if non-nil, zero value otherwise.
|
|
func (s *Style) GetPalette() string {
|
|
if s == nil || s.Palette == nil {
|
|
return ""
|
|
}
|
|
return *s.Palette
|
|
}
|
|
|
|
// 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 (s *Style) GetPaletteOk() (string, bool) {
|
|
if s == nil || s.Palette == nil {
|
|
return "", false
|
|
}
|
|
return *s.Palette, true
|
|
}
|
|
|
|
// HasPalette returns a boolean if a field has been set.
|
|
func (s *Style) HasPalette() bool {
|
|
if s != nil && s.Palette != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPalette allocates a new s.Palette and returns the pointer to it.
|
|
func (s *Style) SetPalette(v string) {
|
|
s.Palette = &v
|
|
}
|
|
|
|
// GetPaletteFlip returns the PaletteFlip field if non-nil, zero value otherwise.
|
|
func (s *Style) GetPaletteFlip() bool {
|
|
if s == nil || s.PaletteFlip == nil {
|
|
return false
|
|
}
|
|
return *s.PaletteFlip
|
|
}
|
|
|
|
// GetOkPaletteFlip returns a tuple with the PaletteFlip field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (s *Style) GetPaletteFlipOk() (bool, bool) {
|
|
if s == nil || s.PaletteFlip == nil {
|
|
return false, false
|
|
}
|
|
return *s.PaletteFlip, true
|
|
}
|
|
|
|
// HasPaletteFlip returns a boolean if a field has been set.
|
|
func (s *Style) HasPaletteFlip() bool {
|
|
if s != nil && s.PaletteFlip != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPaletteFlip allocates a new s.PaletteFlip and returns the pointer to it.
|
|
func (s *Style) SetPaletteFlip(v bool) {
|
|
s.PaletteFlip = &v
|
|
}
|
|
|
|
// GetDefault returns the Default field if non-nil, zero value otherwise.
|
|
func (t *TemplateVariable) GetDefault() string {
|
|
if t == nil || t.Default == nil {
|
|
return ""
|
|
}
|
|
return *t.Default
|
|
}
|
|
|
|
// GetOkDefault returns a tuple with the Default field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *TemplateVariable) GetDefaultOk() (string, bool) {
|
|
if t == nil || t.Default == nil {
|
|
return "", false
|
|
}
|
|
return *t.Default, true
|
|
}
|
|
|
|
// HasDefault returns a boolean if a field has been set.
|
|
func (t *TemplateVariable) HasDefault() bool {
|
|
if t != nil && t.Default != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDefault allocates a new t.Default and returns the pointer to it.
|
|
func (t *TemplateVariable) SetDefault(v string) {
|
|
t.Default = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (t *TemplateVariable) GetName() string {
|
|
if t == nil || t.Name == nil {
|
|
return ""
|
|
}
|
|
return *t.Name
|
|
}
|
|
|
|
// 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 (t *TemplateVariable) GetNameOk() (string, bool) {
|
|
if t == nil || t.Name == nil {
|
|
return "", false
|
|
}
|
|
return *t.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (t *TemplateVariable) HasName() bool {
|
|
if t != nil && t.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new t.Name and returns the pointer to it.
|
|
func (t *TemplateVariable) SetName(v string) {
|
|
t.Name = &v
|
|
}
|
|
|
|
// GetPrefix returns the Prefix field if non-nil, zero value otherwise.
|
|
func (t *TemplateVariable) GetPrefix() string {
|
|
if t == nil || t.Prefix == nil {
|
|
return ""
|
|
}
|
|
return *t.Prefix
|
|
}
|
|
|
|
// GetOkPrefix returns a tuple with the Prefix field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *TemplateVariable) GetPrefixOk() (string, bool) {
|
|
if t == nil || t.Prefix == nil {
|
|
return "", false
|
|
}
|
|
return *t.Prefix, true
|
|
}
|
|
|
|
// HasPrefix returns a boolean if a field has been set.
|
|
func (t *TemplateVariable) HasPrefix() bool {
|
|
if t != nil && t.Prefix != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPrefix allocates a new t.Prefix and returns the pointer to it.
|
|
func (t *TemplateVariable) SetPrefix(v string) {
|
|
t.Prefix = &v
|
|
}
|
|
|
|
// GetAuto returns the Auto field if non-nil, zero value otherwise.
|
|
func (t *TextSize) GetAuto() bool {
|
|
if t == nil || t.Auto == nil {
|
|
return false
|
|
}
|
|
return *t.Auto
|
|
}
|
|
|
|
// GetOkAuto returns a tuple with the Auto field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *TextSize) GetAutoOk() (bool, bool) {
|
|
if t == nil || t.Auto == nil {
|
|
return false, false
|
|
}
|
|
return *t.Auto, true
|
|
}
|
|
|
|
// HasAuto returns a boolean if a field has been set.
|
|
func (t *TextSize) HasAuto() bool {
|
|
if t != nil && t.Auto != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAuto allocates a new t.Auto and returns the pointer to it.
|
|
func (t *TextSize) SetAuto(v bool) {
|
|
t.Auto = &v
|
|
}
|
|
|
|
// GetSize returns the Size field if non-nil, zero value otherwise.
|
|
func (t *TextSize) GetSize() int {
|
|
if t == nil || t.Size == nil {
|
|
return 0
|
|
}
|
|
return *t.Size
|
|
}
|
|
|
|
// GetOkSize returns a tuple with the Size field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *TextSize) GetSizeOk() (int, bool) {
|
|
if t == nil || t.Size == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Size, true
|
|
}
|
|
|
|
// HasSize returns a boolean if a field has been set.
|
|
func (t *TextSize) HasSize() bool {
|
|
if t != nil && t.Size != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetSize allocates a new t.Size and returns the pointer to it.
|
|
func (t *TextSize) SetSize(v int) {
|
|
t.Size = &v
|
|
}
|
|
|
|
// GetCritical returns the Critical field if non-nil, zero value otherwise.
|
|
func (t *ThresholdCount) GetCritical() json.Number {
|
|
if t == nil || t.Critical == nil {
|
|
return ""
|
|
}
|
|
return *t.Critical
|
|
}
|
|
|
|
// GetOkCritical returns a tuple with the Critical field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *ThresholdCount) GetCriticalOk() (json.Number, bool) {
|
|
if t == nil || t.Critical == nil {
|
|
return "", false
|
|
}
|
|
return *t.Critical, true
|
|
}
|
|
|
|
// HasCritical returns a boolean if a field has been set.
|
|
func (t *ThresholdCount) HasCritical() bool {
|
|
if t != nil && t.Critical != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCritical allocates a new t.Critical and returns the pointer to it.
|
|
func (t *ThresholdCount) SetCritical(v json.Number) {
|
|
t.Critical = &v
|
|
}
|
|
|
|
// GetOk returns the Ok field if non-nil, zero value otherwise.
|
|
func (t *ThresholdCount) GetOk() json.Number {
|
|
if t == nil || t.Ok == nil {
|
|
return ""
|
|
}
|
|
return *t.Ok
|
|
}
|
|
|
|
// GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *ThresholdCount) GetOkOk() (json.Number, bool) {
|
|
if t == nil || t.Ok == nil {
|
|
return "", false
|
|
}
|
|
return *t.Ok, true
|
|
}
|
|
|
|
// HasOk returns a boolean if a field has been set.
|
|
func (t *ThresholdCount) HasOk() bool {
|
|
if t != nil && t.Ok != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetOk allocates a new t.Ok and returns the pointer to it.
|
|
func (t *ThresholdCount) SetOk(v json.Number) {
|
|
t.Ok = &v
|
|
}
|
|
|
|
// GetWarning returns the Warning field if non-nil, zero value otherwise.
|
|
func (t *ThresholdCount) GetWarning() json.Number {
|
|
if t == nil || t.Warning == nil {
|
|
return ""
|
|
}
|
|
return *t.Warning
|
|
}
|
|
|
|
// GetOkWarning returns a tuple with the Warning field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (t *ThresholdCount) GetWarningOk() (json.Number, bool) {
|
|
if t == nil || t.Warning == nil {
|
|
return "", false
|
|
}
|
|
return *t.Warning, true
|
|
}
|
|
|
|
// HasWarning returns a boolean if a field has been set.
|
|
func (t *ThresholdCount) HasWarning() bool {
|
|
if t != nil && t.Warning != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWarning allocates a new t.Warning and returns the pointer to it.
|
|
func (t *ThresholdCount) SetWarning(v json.Number) {
|
|
t.Warning = &v
|
|
}
|
|
|
|
// GetViz returns the Viz field if non-nil, zero value otherwise.
|
|
func (t *TileDef) GetViz() string {
|
|
if t == nil || t.Viz == nil {
|
|
return ""
|
|
}
|
|
return *t.Viz
|
|
}
|
|
|
|
// 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 (t *TileDef) GetVizOk() (string, bool) {
|
|
if t == nil || t.Viz == nil {
|
|
return "", false
|
|
}
|
|
return *t.Viz, true
|
|
}
|
|
|
|
// HasViz returns a boolean if a field has been set.
|
|
func (t *TileDef) HasViz() bool {
|
|
if t != nil && t.Viz != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetViz allocates a new t.Viz and returns the pointer to it.
|
|
func (t *TileDef) SetViz(v string) {
|
|
t.Viz = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (t *TileDefEvent) GetQuery() string {
|
|
if t == nil || t.Query == nil {
|
|
return ""
|
|
}
|
|
return *t.Query
|
|
}
|
|
|
|
// 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 (t *TileDefEvent) GetQueryOk() (string, bool) {
|
|
if t == nil || t.Query == nil {
|
|
return "", false
|
|
}
|
|
return *t.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (t *TileDefEvent) HasQuery() bool {
|
|
if t != nil && t.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new t.Query and returns the pointer to it.
|
|
func (t *TileDefEvent) SetQuery(v string) {
|
|
t.Query = &v
|
|
}
|
|
|
|
// GetLabel returns the Label field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesMarker) GetLabel() string {
|
|
if t == nil || t.Label == nil {
|
|
return ""
|
|
}
|
|
return *t.Label
|
|
}
|
|
|
|
// 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 (t *TimeseriesMarker) GetLabelOk() (string, bool) {
|
|
if t == nil || t.Label == nil {
|
|
return "", false
|
|
}
|
|
return *t.Label, true
|
|
}
|
|
|
|
// HasLabel returns a boolean if a field has been set.
|
|
func (t *TimeseriesMarker) HasLabel() bool {
|
|
if t != nil && t.Label != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLabel allocates a new t.Label and returns the pointer to it.
|
|
func (t *TimeseriesMarker) SetLabel(v string) {
|
|
t.Label = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesMarker) GetType() string {
|
|
if t == nil || t.Type == nil {
|
|
return ""
|
|
}
|
|
return *t.Type
|
|
}
|
|
|
|
// 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 (t *TimeseriesMarker) GetTypeOk() (string, bool) {
|
|
if t == nil || t.Type == nil {
|
|
return "", false
|
|
}
|
|
return *t.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (t *TimeseriesMarker) HasType() bool {
|
|
if t != nil && t.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new t.Type and returns the pointer to it.
|
|
func (t *TimeseriesMarker) SetType(v string) {
|
|
t.Type = &v
|
|
}
|
|
|
|
// GetValue returns the Value field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesMarker) GetValue() string {
|
|
if t == nil || t.Value == nil {
|
|
return ""
|
|
}
|
|
return *t.Value
|
|
}
|
|
|
|
// 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 (t *TimeseriesMarker) GetValueOk() (string, bool) {
|
|
if t == nil || t.Value == nil {
|
|
return "", false
|
|
}
|
|
return *t.Value, true
|
|
}
|
|
|
|
// HasValue returns a boolean if a field has been set.
|
|
func (t *TimeseriesMarker) HasValue() bool {
|
|
if t != nil && t.Value != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetValue allocates a new t.Value and returns the pointer to it.
|
|
func (t *TimeseriesMarker) SetValue(v string) {
|
|
t.Value = &v
|
|
}
|
|
|
|
// GetQuery returns the Query field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesRequest) GetQuery() string {
|
|
if t == nil || t.Query == nil {
|
|
return ""
|
|
}
|
|
return *t.Query
|
|
}
|
|
|
|
// 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 (t *TimeseriesRequest) GetQueryOk() (string, bool) {
|
|
if t == nil || t.Query == nil {
|
|
return "", false
|
|
}
|
|
return *t.Query, true
|
|
}
|
|
|
|
// HasQuery returns a boolean if a field has been set.
|
|
func (t *TimeseriesRequest) HasQuery() bool {
|
|
if t != nil && t.Query != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQuery allocates a new t.Query and returns the pointer to it.
|
|
func (t *TimeseriesRequest) SetQuery(v string) {
|
|
t.Query = &v
|
|
}
|
|
|
|
// GetStyle returns the Style field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesRequest) GetStyle() TimeseriesRequestStyle {
|
|
if t == nil || t.Style == nil {
|
|
return TimeseriesRequestStyle{}
|
|
}
|
|
return *t.Style
|
|
}
|
|
|
|
// 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 (t *TimeseriesRequest) GetStyleOk() (TimeseriesRequestStyle, bool) {
|
|
if t == nil || t.Style == nil {
|
|
return TimeseriesRequestStyle{}, false
|
|
}
|
|
return *t.Style, true
|
|
}
|
|
|
|
// HasStyle returns a boolean if a field has been set.
|
|
func (t *TimeseriesRequest) HasStyle() bool {
|
|
if t != nil && t.Style != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetStyle allocates a new t.Style and returns the pointer to it.
|
|
func (t *TimeseriesRequest) SetStyle(v TimeseriesRequestStyle) {
|
|
t.Style = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesRequest) GetType() string {
|
|
if t == nil || t.Type == nil {
|
|
return ""
|
|
}
|
|
return *t.Type
|
|
}
|
|
|
|
// 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 (t *TimeseriesRequest) GetTypeOk() (string, bool) {
|
|
if t == nil || t.Type == nil {
|
|
return "", false
|
|
}
|
|
return *t.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (t *TimeseriesRequest) HasType() bool {
|
|
if t != nil && t.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new t.Type and returns the pointer to it.
|
|
func (t *TimeseriesRequest) SetType(v string) {
|
|
t.Type = &v
|
|
}
|
|
|
|
// GetPalette returns the Palette field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesRequestStyle) GetPalette() string {
|
|
if t == nil || t.Palette == nil {
|
|
return ""
|
|
}
|
|
return *t.Palette
|
|
}
|
|
|
|
// 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 (t *TimeseriesRequestStyle) GetPaletteOk() (string, bool) {
|
|
if t == nil || t.Palette == nil {
|
|
return "", false
|
|
}
|
|
return *t.Palette, true
|
|
}
|
|
|
|
// HasPalette returns a boolean if a field has been set.
|
|
func (t *TimeseriesRequestStyle) HasPalette() bool {
|
|
if t != nil && t.Palette != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPalette allocates a new t.Palette and returns the pointer to it.
|
|
func (t *TimeseriesRequestStyle) SetPalette(v string) {
|
|
t.Palette = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetHeight() int {
|
|
if t == nil || t.Height == nil {
|
|
return 0
|
|
}
|
|
return *t.Height
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetHeightOk() (int, bool) {
|
|
if t == nil || t.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasHeight() bool {
|
|
if t != nil && t.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new t.Height and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetHeight(v int) {
|
|
t.Height = &v
|
|
}
|
|
|
|
// GetLegend returns the Legend field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetLegend() bool {
|
|
if t == nil || t.Legend == nil {
|
|
return false
|
|
}
|
|
return *t.Legend
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetLegendOk() (bool, bool) {
|
|
if t == nil || t.Legend == nil {
|
|
return false, false
|
|
}
|
|
return *t.Legend, true
|
|
}
|
|
|
|
// HasLegend returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasLegend() bool {
|
|
if t != nil && t.Legend != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegend allocates a new t.Legend and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetLegend(v bool) {
|
|
t.Legend = &v
|
|
}
|
|
|
|
// GetTileDef returns the TileDef field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTileDef() TileDef {
|
|
if t == nil || t.TileDef == nil {
|
|
return TileDef{}
|
|
}
|
|
return *t.TileDef
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTileDefOk() (TileDef, bool) {
|
|
if t == nil || t.TileDef == nil {
|
|
return TileDef{}, false
|
|
}
|
|
return *t.TileDef, true
|
|
}
|
|
|
|
// HasTileDef returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTileDef() bool {
|
|
if t != nil && t.TileDef != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTileDef allocates a new t.TileDef and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTileDef(v TileDef) {
|
|
t.TileDef = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTimeframe() string {
|
|
if t == nil || t.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *t.Timeframe
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTimeframeOk() (string, bool) {
|
|
if t == nil || t.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *t.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTimeframe() bool {
|
|
if t != nil && t.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new t.Timeframe and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTimeframe(v string) {
|
|
t.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTitle() bool {
|
|
if t == nil || t.Title == nil {
|
|
return false
|
|
}
|
|
return *t.Title
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTitleOk() (bool, bool) {
|
|
if t == nil || t.Title == nil {
|
|
return false, false
|
|
}
|
|
return *t.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTitle() bool {
|
|
if t != nil && t.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new t.Title and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTitle(v bool) {
|
|
t.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTitleAlign() string {
|
|
if t == nil || t.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *t.TitleAlign
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTitleAlignOk() (string, bool) {
|
|
if t == nil || t.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *t.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTitleAlign() bool {
|
|
if t != nil && t.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTitleAlign(v string) {
|
|
t.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTitleSize() TextSize {
|
|
if t == nil || t.TitleSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *t.TitleSize
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTitleSizeOk() (TextSize, bool) {
|
|
if t == nil || t.TitleSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *t.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTitleSize() bool {
|
|
if t != nil && t.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new t.TitleSize and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTitleSize(v TextSize) {
|
|
t.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetTitleText() string {
|
|
if t == nil || t.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *t.TitleText
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTitleTextOk() (string, bool) {
|
|
if t == nil || t.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *t.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasTitleText() bool {
|
|
if t != nil && t.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new t.TitleText and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetTitleText(v string) {
|
|
t.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetType() string {
|
|
if t == nil || t.Type == nil {
|
|
return ""
|
|
}
|
|
return *t.Type
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetTypeOk() (string, bool) {
|
|
if t == nil || t.Type == nil {
|
|
return "", false
|
|
}
|
|
return *t.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasType() bool {
|
|
if t != nil && t.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new t.Type and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetType(v string) {
|
|
t.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetWidth() int {
|
|
if t == nil || t.Width == nil {
|
|
return 0
|
|
}
|
|
return *t.Width
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetWidthOk() (int, bool) {
|
|
if t == nil || t.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasWidth() bool {
|
|
if t != nil && t.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new t.Width and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetWidth(v int) {
|
|
t.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetX() int {
|
|
if t == nil || t.X == nil {
|
|
return 0
|
|
}
|
|
return *t.X
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetXOk() (int, bool) {
|
|
if t == nil || t.X == nil {
|
|
return 0, false
|
|
}
|
|
return *t.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasX() bool {
|
|
if t != nil && t.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new t.X and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetX(v int) {
|
|
t.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (t *TimeseriesWidget) GetY() int {
|
|
if t == nil || t.Y == nil {
|
|
return 0
|
|
}
|
|
return *t.Y
|
|
}
|
|
|
|
// 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 (t *TimeseriesWidget) GetYOk() (int, bool) {
|
|
if t == nil || t.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (t *TimeseriesWidget) HasY() bool {
|
|
if t != nil && t.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new t.Y and returns the pointer to it.
|
|
func (t *TimeseriesWidget) SetY(v int) {
|
|
t.Y = &v
|
|
}
|
|
|
|
// GetHeight returns the Height field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetHeight() int {
|
|
if t == nil || t.Height == nil {
|
|
return 0
|
|
}
|
|
return *t.Height
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetHeightOk() (int, bool) {
|
|
if t == nil || t.Height == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Height, true
|
|
}
|
|
|
|
// HasHeight returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasHeight() bool {
|
|
if t != nil && t.Height != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHeight allocates a new t.Height and returns the pointer to it.
|
|
func (t *ToplistWidget) SetHeight(v int) {
|
|
t.Height = &v
|
|
}
|
|
|
|
// GetLegend returns the Legend field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetLegend() bool {
|
|
if t == nil || t.Legend == nil {
|
|
return false
|
|
}
|
|
return *t.Legend
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetLegendOk() (bool, bool) {
|
|
if t == nil || t.Legend == nil {
|
|
return false, false
|
|
}
|
|
return *t.Legend, true
|
|
}
|
|
|
|
// HasLegend returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasLegend() bool {
|
|
if t != nil && t.Legend != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegend allocates a new t.Legend and returns the pointer to it.
|
|
func (t *ToplistWidget) SetLegend(v bool) {
|
|
t.Legend = &v
|
|
}
|
|
|
|
// GetLegendSize returns the LegendSize field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetLegendSize() int {
|
|
if t == nil || t.LegendSize == nil {
|
|
return 0
|
|
}
|
|
return *t.LegendSize
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetLegendSizeOk() (int, bool) {
|
|
if t == nil || t.LegendSize == nil {
|
|
return 0, false
|
|
}
|
|
return *t.LegendSize, true
|
|
}
|
|
|
|
// HasLegendSize returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasLegendSize() bool {
|
|
if t != nil && t.LegendSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetLegendSize allocates a new t.LegendSize and returns the pointer to it.
|
|
func (t *ToplistWidget) SetLegendSize(v int) {
|
|
t.LegendSize = &v
|
|
}
|
|
|
|
// GetTileDef returns the TileDef field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTileDef() TileDef {
|
|
if t == nil || t.TileDef == nil {
|
|
return TileDef{}
|
|
}
|
|
return *t.TileDef
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTileDefOk() (TileDef, bool) {
|
|
if t == nil || t.TileDef == nil {
|
|
return TileDef{}, false
|
|
}
|
|
return *t.TileDef, true
|
|
}
|
|
|
|
// HasTileDef returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTileDef() bool {
|
|
if t != nil && t.TileDef != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTileDef allocates a new t.TileDef and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTileDef(v TileDef) {
|
|
t.TileDef = &v
|
|
}
|
|
|
|
// GetTimeframe returns the Timeframe field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTimeframe() string {
|
|
if t == nil || t.Timeframe == nil {
|
|
return ""
|
|
}
|
|
return *t.Timeframe
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTimeframeOk() (string, bool) {
|
|
if t == nil || t.Timeframe == nil {
|
|
return "", false
|
|
}
|
|
return *t.Timeframe, true
|
|
}
|
|
|
|
// HasTimeframe returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTimeframe() bool {
|
|
if t != nil && t.Timeframe != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeframe allocates a new t.Timeframe and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTimeframe(v string) {
|
|
t.Timeframe = &v
|
|
}
|
|
|
|
// GetTitle returns the Title field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTitle() bool {
|
|
if t == nil || t.Title == nil {
|
|
return false
|
|
}
|
|
return *t.Title
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTitleOk() (bool, bool) {
|
|
if t == nil || t.Title == nil {
|
|
return false, false
|
|
}
|
|
return *t.Title, true
|
|
}
|
|
|
|
// HasTitle returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTitle() bool {
|
|
if t != nil && t.Title != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitle allocates a new t.Title and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTitle(v bool) {
|
|
t.Title = &v
|
|
}
|
|
|
|
// GetTitleAlign returns the TitleAlign field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTitleAlign() string {
|
|
if t == nil || t.TitleAlign == nil {
|
|
return ""
|
|
}
|
|
return *t.TitleAlign
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTitleAlignOk() (string, bool) {
|
|
if t == nil || t.TitleAlign == nil {
|
|
return "", false
|
|
}
|
|
return *t.TitleAlign, true
|
|
}
|
|
|
|
// HasTitleAlign returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTitleAlign() bool {
|
|
if t != nil && t.TitleAlign != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleAlign allocates a new t.TitleAlign and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTitleAlign(v string) {
|
|
t.TitleAlign = &v
|
|
}
|
|
|
|
// GetTitleSize returns the TitleSize field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTitleSize() TextSize {
|
|
if t == nil || t.TitleSize == nil {
|
|
return TextSize{}
|
|
}
|
|
return *t.TitleSize
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTitleSizeOk() (TextSize, bool) {
|
|
if t == nil || t.TitleSize == nil {
|
|
return TextSize{}, false
|
|
}
|
|
return *t.TitleSize, true
|
|
}
|
|
|
|
// HasTitleSize returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTitleSize() bool {
|
|
if t != nil && t.TitleSize != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleSize allocates a new t.TitleSize and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTitleSize(v TextSize) {
|
|
t.TitleSize = &v
|
|
}
|
|
|
|
// GetTitleText returns the TitleText field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetTitleText() string {
|
|
if t == nil || t.TitleText == nil {
|
|
return ""
|
|
}
|
|
return *t.TitleText
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTitleTextOk() (string, bool) {
|
|
if t == nil || t.TitleText == nil {
|
|
return "", false
|
|
}
|
|
return *t.TitleText, true
|
|
}
|
|
|
|
// HasTitleText returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasTitleText() bool {
|
|
if t != nil && t.TitleText != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTitleText allocates a new t.TitleText and returns the pointer to it.
|
|
func (t *ToplistWidget) SetTitleText(v string) {
|
|
t.TitleText = &v
|
|
}
|
|
|
|
// GetType returns the Type field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetType() string {
|
|
if t == nil || t.Type == nil {
|
|
return ""
|
|
}
|
|
return *t.Type
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetTypeOk() (string, bool) {
|
|
if t == nil || t.Type == nil {
|
|
return "", false
|
|
}
|
|
return *t.Type, true
|
|
}
|
|
|
|
// HasType returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasType() bool {
|
|
if t != nil && t.Type != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetType allocates a new t.Type and returns the pointer to it.
|
|
func (t *ToplistWidget) SetType(v string) {
|
|
t.Type = &v
|
|
}
|
|
|
|
// GetWidth returns the Width field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetWidth() int {
|
|
if t == nil || t.Width == nil {
|
|
return 0
|
|
}
|
|
return *t.Width
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetWidthOk() (int, bool) {
|
|
if t == nil || t.Width == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Width, true
|
|
}
|
|
|
|
// HasWidth returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasWidth() bool {
|
|
if t != nil && t.Width != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetWidth allocates a new t.Width and returns the pointer to it.
|
|
func (t *ToplistWidget) SetWidth(v int) {
|
|
t.Width = &v
|
|
}
|
|
|
|
// GetX returns the X field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetX() int {
|
|
if t == nil || t.X == nil {
|
|
return 0
|
|
}
|
|
return *t.X
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetXOk() (int, bool) {
|
|
if t == nil || t.X == nil {
|
|
return 0, false
|
|
}
|
|
return *t.X, true
|
|
}
|
|
|
|
// HasX returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasX() bool {
|
|
if t != nil && t.X != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetX allocates a new t.X and returns the pointer to it.
|
|
func (t *ToplistWidget) SetX(v int) {
|
|
t.X = &v
|
|
}
|
|
|
|
// GetY returns the Y field if non-nil, zero value otherwise.
|
|
func (t *ToplistWidget) GetY() int {
|
|
if t == nil || t.Y == nil {
|
|
return 0
|
|
}
|
|
return *t.Y
|
|
}
|
|
|
|
// 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 (t *ToplistWidget) GetYOk() (int, bool) {
|
|
if t == nil || t.Y == nil {
|
|
return 0, false
|
|
}
|
|
return *t.Y, true
|
|
}
|
|
|
|
// HasY returns a boolean if a field has been set.
|
|
func (t *ToplistWidget) HasY() bool {
|
|
if t != nil && t.Y != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetY allocates a new t.Y and returns the pointer to it.
|
|
func (t *ToplistWidget) SetY(v int) {
|
|
t.Y = &v
|
|
}
|
|
|
|
// GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
|
func (u *User) GetDisabled() bool {
|
|
if u == nil || u.Disabled == nil {
|
|
return false
|
|
}
|
|
return *u.Disabled
|
|
}
|
|
|
|
// 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 (u *User) GetDisabledOk() (bool, bool) {
|
|
if u == nil || u.Disabled == nil {
|
|
return false, false
|
|
}
|
|
return *u.Disabled, true
|
|
}
|
|
|
|
// HasDisabled returns a boolean if a field has been set.
|
|
func (u *User) HasDisabled() bool {
|
|
if u != nil && u.Disabled != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDisabled allocates a new u.Disabled and returns the pointer to it.
|
|
func (u *User) SetDisabled(v bool) {
|
|
u.Disabled = &v
|
|
}
|
|
|
|
// GetEmail returns the Email field if non-nil, zero value otherwise.
|
|
func (u *User) GetEmail() string {
|
|
if u == nil || u.Email == nil {
|
|
return ""
|
|
}
|
|
return *u.Email
|
|
}
|
|
|
|
// 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 (u *User) GetEmailOk() (string, bool) {
|
|
if u == nil || u.Email == nil {
|
|
return "", false
|
|
}
|
|
return *u.Email, true
|
|
}
|
|
|
|
// HasEmail returns a boolean if a field has been set.
|
|
func (u *User) HasEmail() bool {
|
|
if u != nil && u.Email != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEmail allocates a new u.Email and returns the pointer to it.
|
|
func (u *User) SetEmail(v string) {
|
|
u.Email = &v
|
|
}
|
|
|
|
// GetHandle returns the Handle field if non-nil, zero value otherwise.
|
|
func (u *User) GetHandle() string {
|
|
if u == nil || u.Handle == nil {
|
|
return ""
|
|
}
|
|
return *u.Handle
|
|
}
|
|
|
|
// 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 (u *User) GetHandleOk() (string, bool) {
|
|
if u == nil || u.Handle == nil {
|
|
return "", false
|
|
}
|
|
return *u.Handle, true
|
|
}
|
|
|
|
// HasHandle returns a boolean if a field has been set.
|
|
func (u *User) HasHandle() bool {
|
|
if u != nil && u.Handle != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHandle allocates a new u.Handle and returns the pointer to it.
|
|
func (u *User) SetHandle(v string) {
|
|
u.Handle = &v
|
|
}
|
|
|
|
// GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
|
|
func (u *User) GetIsAdmin() bool {
|
|
if u == nil || u.IsAdmin == nil {
|
|
return false
|
|
}
|
|
return *u.IsAdmin
|
|
}
|
|
|
|
// GetOkIsAdmin returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (u *User) GetIsAdminOk() (bool, bool) {
|
|
if u == nil || u.IsAdmin == nil {
|
|
return false, false
|
|
}
|
|
return *u.IsAdmin, true
|
|
}
|
|
|
|
// HasIsAdmin returns a boolean if a field has been set.
|
|
func (u *User) HasIsAdmin() bool {
|
|
if u != nil && u.IsAdmin != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIsAdmin allocates a new u.IsAdmin and returns the pointer to it.
|
|
func (u *User) SetIsAdmin(v bool) {
|
|
u.IsAdmin = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (u *User) GetName() string {
|
|
if u == nil || u.Name == nil {
|
|
return ""
|
|
}
|
|
return *u.Name
|
|
}
|
|
|
|
// 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 (u *User) GetNameOk() (string, bool) {
|
|
if u == nil || u.Name == nil {
|
|
return "", false
|
|
}
|
|
return *u.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (u *User) HasName() bool {
|
|
if u != nil && u.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new u.Name and returns the pointer to it.
|
|
func (u *User) SetName(v string) {
|
|
u.Name = &v
|
|
}
|
|
|
|
// GetRole returns the Role field if non-nil, zero value otherwise.
|
|
func (u *User) GetRole() string {
|
|
if u == nil || u.Role == nil {
|
|
return ""
|
|
}
|
|
return *u.Role
|
|
}
|
|
|
|
// GetOkRole returns a tuple with the Role field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (u *User) GetRoleOk() (string, bool) {
|
|
if u == nil || u.Role == nil {
|
|
return "", false
|
|
}
|
|
return *u.Role, true
|
|
}
|
|
|
|
// HasRole returns a boolean if a field has been set.
|
|
func (u *User) HasRole() bool {
|
|
if u != nil && u.Role != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetRole allocates a new u.Role and returns the pointer to it.
|
|
func (u *User) SetRole(v string) {
|
|
u.Role = &v
|
|
}
|
|
|
|
// GetVerified returns the Verified field if non-nil, zero value otherwise.
|
|
func (u *User) GetVerified() bool {
|
|
if u == nil || u.Verified == nil {
|
|
return false
|
|
}
|
|
return *u.Verified
|
|
}
|
|
|
|
// GetOkVerified returns a tuple with the Verified field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (u *User) GetVerifiedOk() (bool, bool) {
|
|
if u == nil || u.Verified == nil {
|
|
return false, false
|
|
}
|
|
return *u.Verified, true
|
|
}
|
|
|
|
// HasVerified returns a boolean if a field has been set.
|
|
func (u *User) HasVerified() bool {
|
|
if u != nil && u.Verified != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetVerified allocates a new u.Verified and returns the pointer to it.
|
|
func (u *User) SetVerified(v bool) {
|
|
u.Verified = &v
|
|
}
|
|
|
|
// GetAlertGraphWidget returns the AlertGraphWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetAlertGraphWidget() AlertGraphWidget {
|
|
if w == nil || w.AlertGraphWidget == nil {
|
|
return AlertGraphWidget{}
|
|
}
|
|
return *w.AlertGraphWidget
|
|
}
|
|
|
|
// GetOkAlertGraphWidget returns a tuple with the AlertGraphWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetAlertGraphWidgetOk() (AlertGraphWidget, bool) {
|
|
if w == nil || w.AlertGraphWidget == nil {
|
|
return AlertGraphWidget{}, false
|
|
}
|
|
return *w.AlertGraphWidget, true
|
|
}
|
|
|
|
// HasAlertGraphWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasAlertGraphWidget() bool {
|
|
if w != nil && w.AlertGraphWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAlertGraphWidget allocates a new w.AlertGraphWidget and returns the pointer to it.
|
|
func (w *Widget) SetAlertGraphWidget(v AlertGraphWidget) {
|
|
w.AlertGraphWidget = &v
|
|
}
|
|
|
|
// GetAlertValueWidget returns the AlertValueWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetAlertValueWidget() AlertValueWidget {
|
|
if w == nil || w.AlertValueWidget == nil {
|
|
return AlertValueWidget{}
|
|
}
|
|
return *w.AlertValueWidget
|
|
}
|
|
|
|
// GetOkAlertValueWidget returns a tuple with the AlertValueWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetAlertValueWidgetOk() (AlertValueWidget, bool) {
|
|
if w == nil || w.AlertValueWidget == nil {
|
|
return AlertValueWidget{}, false
|
|
}
|
|
return *w.AlertValueWidget, true
|
|
}
|
|
|
|
// HasAlertValueWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasAlertValueWidget() bool {
|
|
if w != nil && w.AlertValueWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetAlertValueWidget allocates a new w.AlertValueWidget and returns the pointer to it.
|
|
func (w *Widget) SetAlertValueWidget(v AlertValueWidget) {
|
|
w.AlertValueWidget = &v
|
|
}
|
|
|
|
// GetChangeWidget returns the ChangeWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetChangeWidget() ChangeWidget {
|
|
if w == nil || w.ChangeWidget == nil {
|
|
return ChangeWidget{}
|
|
}
|
|
return *w.ChangeWidget
|
|
}
|
|
|
|
// GetOkChangeWidget returns a tuple with the ChangeWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetChangeWidgetOk() (ChangeWidget, bool) {
|
|
if w == nil || w.ChangeWidget == nil {
|
|
return ChangeWidget{}, false
|
|
}
|
|
return *w.ChangeWidget, true
|
|
}
|
|
|
|
// HasChangeWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasChangeWidget() bool {
|
|
if w != nil && w.ChangeWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetChangeWidget allocates a new w.ChangeWidget and returns the pointer to it.
|
|
func (w *Widget) SetChangeWidget(v ChangeWidget) {
|
|
w.ChangeWidget = &v
|
|
}
|
|
|
|
// GetCheckStatusWidget returns the CheckStatusWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetCheckStatusWidget() CheckStatusWidget {
|
|
if w == nil || w.CheckStatusWidget == nil {
|
|
return CheckStatusWidget{}
|
|
}
|
|
return *w.CheckStatusWidget
|
|
}
|
|
|
|
// GetOkCheckStatusWidget returns a tuple with the CheckStatusWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetCheckStatusWidgetOk() (CheckStatusWidget, bool) {
|
|
if w == nil || w.CheckStatusWidget == nil {
|
|
return CheckStatusWidget{}, false
|
|
}
|
|
return *w.CheckStatusWidget, true
|
|
}
|
|
|
|
// HasCheckStatusWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasCheckStatusWidget() bool {
|
|
if w != nil && w.CheckStatusWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetCheckStatusWidget allocates a new w.CheckStatusWidget and returns the pointer to it.
|
|
func (w *Widget) SetCheckStatusWidget(v CheckStatusWidget) {
|
|
w.CheckStatusWidget = &v
|
|
}
|
|
|
|
// GetDefault returns the Default field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetDefault() string {
|
|
if w == nil || w.Default == nil {
|
|
return ""
|
|
}
|
|
return *w.Default
|
|
}
|
|
|
|
// GetOkDefault returns a tuple with the Default field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetDefaultOk() (string, bool) {
|
|
if w == nil || w.Default == nil {
|
|
return "", false
|
|
}
|
|
return *w.Default, true
|
|
}
|
|
|
|
// HasDefault returns a boolean if a field has been set.
|
|
func (w *Widget) HasDefault() bool {
|
|
if w != nil && w.Default != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetDefault allocates a new w.Default and returns the pointer to it.
|
|
func (w *Widget) SetDefault(v string) {
|
|
w.Default = &v
|
|
}
|
|
|
|
// GetEventStreamWidget returns the EventStreamWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetEventStreamWidget() EventStreamWidget {
|
|
if w == nil || w.EventStreamWidget == nil {
|
|
return EventStreamWidget{}
|
|
}
|
|
return *w.EventStreamWidget
|
|
}
|
|
|
|
// GetOkEventStreamWidget returns a tuple with the EventStreamWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetEventStreamWidgetOk() (EventStreamWidget, bool) {
|
|
if w == nil || w.EventStreamWidget == nil {
|
|
return EventStreamWidget{}, false
|
|
}
|
|
return *w.EventStreamWidget, true
|
|
}
|
|
|
|
// HasEventStreamWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasEventStreamWidget() bool {
|
|
if w != nil && w.EventStreamWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEventStreamWidget allocates a new w.EventStreamWidget and returns the pointer to it.
|
|
func (w *Widget) SetEventStreamWidget(v EventStreamWidget) {
|
|
w.EventStreamWidget = &v
|
|
}
|
|
|
|
// GetEventTimelineWidget returns the EventTimelineWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetEventTimelineWidget() EventTimelineWidget {
|
|
if w == nil || w.EventTimelineWidget == nil {
|
|
return EventTimelineWidget{}
|
|
}
|
|
return *w.EventTimelineWidget
|
|
}
|
|
|
|
// GetOkEventTimelineWidget returns a tuple with the EventTimelineWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetEventTimelineWidgetOk() (EventTimelineWidget, bool) {
|
|
if w == nil || w.EventTimelineWidget == nil {
|
|
return EventTimelineWidget{}, false
|
|
}
|
|
return *w.EventTimelineWidget, true
|
|
}
|
|
|
|
// HasEventTimelineWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasEventTimelineWidget() bool {
|
|
if w != nil && w.EventTimelineWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetEventTimelineWidget allocates a new w.EventTimelineWidget and returns the pointer to it.
|
|
func (w *Widget) SetEventTimelineWidget(v EventTimelineWidget) {
|
|
w.EventTimelineWidget = &v
|
|
}
|
|
|
|
// GetFreeTextWidget returns the FreeTextWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetFreeTextWidget() FreeTextWidget {
|
|
if w == nil || w.FreeTextWidget == nil {
|
|
return FreeTextWidget{}
|
|
}
|
|
return *w.FreeTextWidget
|
|
}
|
|
|
|
// GetOkFreeTextWidget returns a tuple with the FreeTextWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetFreeTextWidgetOk() (FreeTextWidget, bool) {
|
|
if w == nil || w.FreeTextWidget == nil {
|
|
return FreeTextWidget{}, false
|
|
}
|
|
return *w.FreeTextWidget, true
|
|
}
|
|
|
|
// HasFreeTextWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasFreeTextWidget() bool {
|
|
if w != nil && w.FreeTextWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetFreeTextWidget allocates a new w.FreeTextWidget and returns the pointer to it.
|
|
func (w *Widget) SetFreeTextWidget(v FreeTextWidget) {
|
|
w.FreeTextWidget = &v
|
|
}
|
|
|
|
// GetGraphWidget returns the GraphWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetGraphWidget() GraphWidget {
|
|
if w == nil || w.GraphWidget == nil {
|
|
return GraphWidget{}
|
|
}
|
|
return *w.GraphWidget
|
|
}
|
|
|
|
// GetOkGraphWidget returns a tuple with the GraphWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetGraphWidgetOk() (GraphWidget, bool) {
|
|
if w == nil || w.GraphWidget == nil {
|
|
return GraphWidget{}, false
|
|
}
|
|
return *w.GraphWidget, true
|
|
}
|
|
|
|
// HasGraphWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasGraphWidget() bool {
|
|
if w != nil && w.GraphWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetGraphWidget allocates a new w.GraphWidget and returns the pointer to it.
|
|
func (w *Widget) SetGraphWidget(v GraphWidget) {
|
|
w.GraphWidget = &v
|
|
}
|
|
|
|
// GetHostMapWidget returns the HostMapWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetHostMapWidget() HostMapWidget {
|
|
if w == nil || w.HostMapWidget == nil {
|
|
return HostMapWidget{}
|
|
}
|
|
return *w.HostMapWidget
|
|
}
|
|
|
|
// GetOkHostMapWidget returns a tuple with the HostMapWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetHostMapWidgetOk() (HostMapWidget, bool) {
|
|
if w == nil || w.HostMapWidget == nil {
|
|
return HostMapWidget{}, false
|
|
}
|
|
return *w.HostMapWidget, true
|
|
}
|
|
|
|
// HasHostMapWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasHostMapWidget() bool {
|
|
if w != nil && w.HostMapWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetHostMapWidget allocates a new w.HostMapWidget and returns the pointer to it.
|
|
func (w *Widget) SetHostMapWidget(v HostMapWidget) {
|
|
w.HostMapWidget = &v
|
|
}
|
|
|
|
// GetIFrameWidget returns the IFrameWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetIFrameWidget() IFrameWidget {
|
|
if w == nil || w.IFrameWidget == nil {
|
|
return IFrameWidget{}
|
|
}
|
|
return *w.IFrameWidget
|
|
}
|
|
|
|
// GetOkIFrameWidget returns a tuple with the IFrameWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetIFrameWidgetOk() (IFrameWidget, bool) {
|
|
if w == nil || w.IFrameWidget == nil {
|
|
return IFrameWidget{}, false
|
|
}
|
|
return *w.IFrameWidget, true
|
|
}
|
|
|
|
// HasIFrameWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasIFrameWidget() bool {
|
|
if w != nil && w.IFrameWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetIFrameWidget allocates a new w.IFrameWidget and returns the pointer to it.
|
|
func (w *Widget) SetIFrameWidget(v IFrameWidget) {
|
|
w.IFrameWidget = &v
|
|
}
|
|
|
|
// GetImageWidget returns the ImageWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetImageWidget() ImageWidget {
|
|
if w == nil || w.ImageWidget == nil {
|
|
return ImageWidget{}
|
|
}
|
|
return *w.ImageWidget
|
|
}
|
|
|
|
// GetOkImageWidget returns a tuple with the ImageWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetImageWidgetOk() (ImageWidget, bool) {
|
|
if w == nil || w.ImageWidget == nil {
|
|
return ImageWidget{}, false
|
|
}
|
|
return *w.ImageWidget, true
|
|
}
|
|
|
|
// HasImageWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasImageWidget() bool {
|
|
if w != nil && w.ImageWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetImageWidget allocates a new w.ImageWidget and returns the pointer to it.
|
|
func (w *Widget) SetImageWidget(v ImageWidget) {
|
|
w.ImageWidget = &v
|
|
}
|
|
|
|
// GetName returns the Name field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetName() string {
|
|
if w == nil || w.Name == nil {
|
|
return ""
|
|
}
|
|
return *w.Name
|
|
}
|
|
|
|
// 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 (w *Widget) GetNameOk() (string, bool) {
|
|
if w == nil || w.Name == nil {
|
|
return "", false
|
|
}
|
|
return *w.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (w *Widget) HasName() bool {
|
|
if w != nil && w.Name != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetName allocates a new w.Name and returns the pointer to it.
|
|
func (w *Widget) SetName(v string) {
|
|
w.Name = &v
|
|
}
|
|
|
|
// GetNoteWidget returns the NoteWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetNoteWidget() NoteWidget {
|
|
if w == nil || w.NoteWidget == nil {
|
|
return NoteWidget{}
|
|
}
|
|
return *w.NoteWidget
|
|
}
|
|
|
|
// GetOkNoteWidget returns a tuple with the NoteWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetNoteWidgetOk() (NoteWidget, bool) {
|
|
if w == nil || w.NoteWidget == nil {
|
|
return NoteWidget{}, false
|
|
}
|
|
return *w.NoteWidget, true
|
|
}
|
|
|
|
// HasNoteWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasNoteWidget() bool {
|
|
if w != nil && w.NoteWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetNoteWidget allocates a new w.NoteWidget and returns the pointer to it.
|
|
func (w *Widget) SetNoteWidget(v NoteWidget) {
|
|
w.NoteWidget = &v
|
|
}
|
|
|
|
// GetPrefix returns the Prefix field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetPrefix() string {
|
|
if w == nil || w.Prefix == nil {
|
|
return ""
|
|
}
|
|
return *w.Prefix
|
|
}
|
|
|
|
// GetOkPrefix returns a tuple with the Prefix field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetPrefixOk() (string, bool) {
|
|
if w == nil || w.Prefix == nil {
|
|
return "", false
|
|
}
|
|
return *w.Prefix, true
|
|
}
|
|
|
|
// HasPrefix returns a boolean if a field has been set.
|
|
func (w *Widget) HasPrefix() bool {
|
|
if w != nil && w.Prefix != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetPrefix allocates a new w.Prefix and returns the pointer to it.
|
|
func (w *Widget) SetPrefix(v string) {
|
|
w.Prefix = &v
|
|
}
|
|
|
|
// GetQueryValueWidget returns the QueryValueWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetQueryValueWidget() QueryValueWidget {
|
|
if w == nil || w.QueryValueWidget == nil {
|
|
return QueryValueWidget{}
|
|
}
|
|
return *w.QueryValueWidget
|
|
}
|
|
|
|
// GetOkQueryValueWidget returns a tuple with the QueryValueWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetQueryValueWidgetOk() (QueryValueWidget, bool) {
|
|
if w == nil || w.QueryValueWidget == nil {
|
|
return QueryValueWidget{}, false
|
|
}
|
|
return *w.QueryValueWidget, true
|
|
}
|
|
|
|
// HasQueryValueWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasQueryValueWidget() bool {
|
|
if w != nil && w.QueryValueWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetQueryValueWidget allocates a new w.QueryValueWidget and returns the pointer to it.
|
|
func (w *Widget) SetQueryValueWidget(v QueryValueWidget) {
|
|
w.QueryValueWidget = &v
|
|
}
|
|
|
|
// GetTimeseriesWidget returns the TimeseriesWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetTimeseriesWidget() TimeseriesWidget {
|
|
if w == nil || w.TimeseriesWidget == nil {
|
|
return TimeseriesWidget{}
|
|
}
|
|
return *w.TimeseriesWidget
|
|
}
|
|
|
|
// GetOkTimeseriesWidget returns a tuple with the TimeseriesWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetTimeseriesWidgetOk() (TimeseriesWidget, bool) {
|
|
if w == nil || w.TimeseriesWidget == nil {
|
|
return TimeseriesWidget{}, false
|
|
}
|
|
return *w.TimeseriesWidget, true
|
|
}
|
|
|
|
// HasTimeseriesWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasTimeseriesWidget() bool {
|
|
if w != nil && w.TimeseriesWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetTimeseriesWidget allocates a new w.TimeseriesWidget and returns the pointer to it.
|
|
func (w *Widget) SetTimeseriesWidget(v TimeseriesWidget) {
|
|
w.TimeseriesWidget = &v
|
|
}
|
|
|
|
// GetToplistWidget returns the ToplistWidget field if non-nil, zero value otherwise.
|
|
func (w *Widget) GetToplistWidget() ToplistWidget {
|
|
if w == nil || w.ToplistWidget == nil {
|
|
return ToplistWidget{}
|
|
}
|
|
return *w.ToplistWidget
|
|
}
|
|
|
|
// GetOkToplistWidget returns a tuple with the ToplistWidget field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (w *Widget) GetToplistWidgetOk() (ToplistWidget, bool) {
|
|
if w == nil || w.ToplistWidget == nil {
|
|
return ToplistWidget{}, false
|
|
}
|
|
return *w.ToplistWidget, true
|
|
}
|
|
|
|
// HasToplistWidget returns a boolean if a field has been set.
|
|
func (w *Widget) HasToplistWidget() bool {
|
|
if w != nil && w.ToplistWidget != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetToplistWidget allocates a new w.ToplistWidget and returns the pointer to it.
|
|
func (w *Widget) SetToplistWidget(v ToplistWidget) {
|
|
w.ToplistWidget = &v
|
|
}
|
|
|
|
// GetMax returns the Max field if non-nil, zero value otherwise.
|
|
func (y *Yaxis) GetMax() float64 {
|
|
if y == nil || y.Max == nil {
|
|
return 0
|
|
}
|
|
return *y.Max
|
|
}
|
|
|
|
// 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 (y *Yaxis) GetMaxOk() (float64, bool) {
|
|
if y == nil || y.Max == nil {
|
|
return 0, false
|
|
}
|
|
return *y.Max, true
|
|
}
|
|
|
|
// HasMax returns a boolean if a field has been set.
|
|
func (y *Yaxis) HasMax() bool {
|
|
if y != nil && y.Max != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMax allocates a new y.Max and returns the pointer to it.
|
|
func (y *Yaxis) SetMax(v float64) {
|
|
y.Max = &v
|
|
}
|
|
|
|
// GetMin returns the Min field if non-nil, zero value otherwise.
|
|
func (y *Yaxis) GetMin() float64 {
|
|
if y == nil || y.Min == nil {
|
|
return 0
|
|
}
|
|
return *y.Min
|
|
}
|
|
|
|
// 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 (y *Yaxis) GetMinOk() (float64, bool) {
|
|
if y == nil || y.Min == nil {
|
|
return 0, false
|
|
}
|
|
return *y.Min, true
|
|
}
|
|
|
|
// HasMin returns a boolean if a field has been set.
|
|
func (y *Yaxis) HasMin() bool {
|
|
if y != nil && y.Min != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetMin allocates a new y.Min and returns the pointer to it.
|
|
func (y *Yaxis) SetMin(v float64) {
|
|
y.Min = &v
|
|
}
|
|
|
|
// GetScale returns the Scale field if non-nil, zero value otherwise.
|
|
func (y *Yaxis) GetScale() string {
|
|
if y == nil || y.Scale == nil {
|
|
return ""
|
|
}
|
|
return *y.Scale
|
|
}
|
|
|
|
// GetOkScale returns a tuple with the Scale field if it's non-nil, zero value otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (y *Yaxis) GetScaleOk() (string, bool) {
|
|
if y == nil || y.Scale == nil {
|
|
return "", false
|
|
}
|
|
return *y.Scale, true
|
|
}
|
|
|
|
// HasScale returns a boolean if a field has been set.
|
|
func (y *Yaxis) HasScale() bool {
|
|
if y != nil && y.Scale != nil {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// GetScale allocates a new y.Scale and returns the pointer to it.
|
|
func (y *Yaxis) SetScale(v string) {
|
|
y.Scale = &v
|
|
}
|