func GetStringId(id interface{}) (string, error) {
	switch v := id.(type) {
	case int:
		return strconv.Itoa(v), nil
	case string:
		return v, nil
	default:
		return "", errors.New("unsupported id type")
	}
}

func GetStringId ( id interface { } ) ( string , error ) { switch v := id . ( type ) { case int : return strconv . Itoa ( v ) , nil case string : return v , nil default : return " " , errors . New ( " " ) } }

// GetStringId is a helper routine that allows screenboards and timeboards to be retrieved
// by either the legacy numerical format or the new string format.
// It returns the id as is if it is a string, converts it to a string if it is an integer.
// It return an error if the type is neither string or an integer

GetStringId is a helper routine that allows screenboards and timeboards to be retrieved by either the legacy numerical format or the new string format . It returns the id as is if it is a string converts it to a string if it is an integer . It return an error if the type is neither string or an integer


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

	stringId, err := GetStringId(id)
	if err != nil {
		return nil, err
	}

	var out reqGetDashboard
	if err := client.doJsonRequest("GET", fmt.Sprintf("/v1/dash/%s", stringId), nil, &out); err != nil {
		return nil, err
	}
	return out.Dashboard, nil
}

func ( client * Client ) GetDashboard ( id interface { } ) ( * Dashboard , error ) { stringId , err := GetStringId ( id ) if err != nil { return nil , err } var out reqGetDashboard if err := client . doJsonRequest ( " " , fmt . Sprintf ( " " , stringId ) , nil , & out ) ; err != nil { return nil , err } return out . Dashboard , nil }

// GetDashboard returns a single dashboard created on this account.

GetDashboard returns a single dashboard created on this account .


func (client *Client) GetDashboards() ([]DashboardLite, error) {
	var out reqGetDashboards
	if err := client.doJsonRequest("GET", "/v1/dash", nil, &out); err != nil {
		return nil, err
	}
	return out.Dashboards, nil
}

func ( client * Client ) GetDashboards ( ) ( [ ] DashboardLite , error ) { var out reqGetDashboards if err := client . doJsonRequest ( " " , " " , nil , & out ) ; err != nil { return nil , err } return out . Dashboards , nil }

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

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


func (client *Client) CreateDashboard(dash *Dashboard) (*Dashboard, error) {
	var out reqGetDashboard
	if err := client.doJsonRequest("POST", "/v1/dash", dash, &out); err != nil {
		return nil, err
	}
	return out.Dashboard, nil
}

func ( client * Client ) CreateDashboard ( dash * Dashboard ) ( * Dashboard , error ) { var out reqGetDashboard if err := client . doJsonRequest ( " " , " " , dash , & out ) ; err != nil { return nil , err } return out . Dashboard , nil }

// CreateDashboard creates a new dashboard when given a Dashboard struct. Note
// that the Id, Resource, Url and similar elements are not used in creation.

CreateDashboard creates a new dashboard when given a Dashboard struct . Note that the Id Resource Url and similar elements are not used in creation .


func (client *Client) UpdateDashboard(dash *Dashboard) error {
	return client.doJsonRequest("PUT", fmt.Sprintf("/v1/dash/%d", *dash.Id),
		dash, nil)
}

func ( client * Client ) UpdateDashboard ( dash * Dashboard ) error { return client . doJsonRequest ( " " , fmt . Sprintf ( " " , * dash . Id ) , dash , nil ) }

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

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


func (client *Client) InviteUsers(emails []string) error {
	return client.doJsonRequest("POST", "/v1/invite_users",
		reqInviteUsers{Emails: emails}, nil)
}

func ( client * Client ) InviteUsers ( emails [ ] string ) error { return client . doJsonRequest ( " " , " " , reqInviteUsers { Emails : emails } , nil ) }

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

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


func (self *Client) CreateUser(handle, name *string) (*User, error) {
	in := struct {
		Handle *string `json:"handle"`
		Name   *string `json:"name"`
	}{
		Handle: handle,
		Name:   name,
	}

	out := struct {
		*User `json:"user"`
	}{}
	if err := self.doJsonRequest("POST", "/v1/user", in, &out); err != nil {
		return nil, err
	}
	return out.User, nil
}

func ( self * Client ) CreateUser ( handle , name * string ) ( * User , error ) { in := struct { Handle * string `json:"handle"` Name * string `json:"name"` } { Handle : handle , Name : name , } out := struct { * User `json:"user"` } { } if err := self . doJsonRequest ( " " , " " , in , & out ) ; err != nil { return nil , err } return out . User , nil }

// CreateUser creates an user account for an email address


func (client *Client) GetUsers() (users []User, err error) {
	var udata usersData
	uri := "/v1/user"
	err = client.doJsonRequest("GET", uri, nil, &udata)
	users = udata.Users
	return
}

func ( client * Client ) GetUsers ( ) ( users [ ] User , err error ) { var udata usersData uri := " " err = client . doJsonRequest ( " " , uri , nil , & udata ) users = udata . Users return }

// GetUsers returns all user, or an error if not found

GetUsers returns all user or an error if not found


func (client *Client) GetUser(handle string) (user User, err error) {
	var udata userData
	uri := "/v1/user/" + handle
	err = client.doJsonRequest("GET", uri, nil, &udata)
	user = udata.User
	return
}

func ( client * Client ) GetUser ( handle string ) ( user User , err error ) { var udata userData uri := " " + handle err = client . doJsonRequest ( " " , uri , nil , & udata ) user = udata . User return }

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

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


func (client *Client) UpdateUser(user User) error {
	uri := "/v1/user/" + *user.Handle
	return client.doJsonRequest("PUT", uri, user, nil)
}

func ( client * Client ) UpdateUser ( user User ) error { uri := " " + * user . Handle return client . doJsonRequest ( " " , uri , user , nil ) }

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

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


func (client *Client) DeleteUser(handle string) error {
	uri := "/v1/user/" + handle
	return client.doJsonRequest("DELETE", uri, nil, nil)
}

func ( client * Client ) DeleteUser ( handle string ) error { uri := " " + handle return client . doJsonRequest ( " " , uri , nil , nil ) }

// DeleteUser deletes a user and returns an error if deletion failed


func (client *Client) GetBoard(id string) (*Board, error) {
	var board Board
	if err := client.doJsonRequest("GET", fmt.Sprintf("/v1/dashboard/%s", id), nil, &board); err != nil {
		return nil, err
	}
	return &board, nil
}

func ( client * Client ) GetBoard ( id string ) ( * Board , error ) { var board Board if err := client . doJsonRequest ( " " , fmt . Sprintf ( " " , id ) , nil , & board ) ; err != nil { return nil , err } return & board , nil }

// GetBoard returns a single dashboard created on this account.

GetBoard returns a single dashboard created on this account .


func (client *Client) DeleteBoard(id string) error {
	return client.doJsonRequest("DELETE", fmt.Sprintf("/v1/dashboard/%s", id), nil, nil)
}

func ( client * Client ) DeleteBoard ( id string ) error { return client . doJsonRequest ( " " , fmt . Sprintf ( " " , id ) , nil , nil ) }

// DeleteBoard deletes a dashboard by the identifier.

DeleteBoard deletes a dashboard by the identifier .


func (client *Client) CreateBoard(board *Board) (*Board, error) {
	var createdBoard Board
	if err := client.doJsonRequest("POST", "/v1/dashboard", board, &createdBoard); err != nil {
		return nil, err
	}
	return &createdBoard, nil
}

func ( client * Client ) CreateBoard ( board * Board ) ( * Board , error ) { var createdBoard Board if err := client . doJsonRequest ( " " , " " , board , & createdBoard ) ; err != nil { return nil , err } return & createdBoard , nil }

// CreateBoard creates a new dashboard when given a Board struct.

CreateBoard creates a new dashboard when given a Board struct .


func (client *Client) UpdateBoard(board *Board) error {
	return client.doJsonRequest("PUT", fmt.Sprintf("/v1/dashboard/%s", *board.Id), board, nil)
}

func ( client * Client ) UpdateBoard ( board * Board ) error { return client . doJsonRequest ( " " , fmt . Sprintf ( " " , * board . Id ) , board , nil ) }

// UpdateBoard takes a Board struct and persists it back to the server.
// Use this if you've updated your local and need to push it back.

UpdateBoard takes a Board struct and persists it back to the server . Use this if you ve updated your local and need to push it back .


func NewClient(apiKey, appKey string) *Client {
	baseUrl := os.Getenv("DATADOG_HOST")
	if baseUrl == "" {
		baseUrl = "https://app.datadoghq.com"
	}

	return &Client{
		apiKey:       apiKey,
		appKey:       appKey,
		baseUrl:      baseUrl,
		HttpClient:   http.DefaultClient,
		RetryTimeout: time.Duration(60 * time.Second),
	}
}

func NewClient ( apiKey , appKey string ) * Client { baseUrl := os . Getenv ( " " ) if baseUrl == " " { baseUrl = " " } return & Client { apiKey : apiKey , appKey : appKey , baseUrl : baseUrl , HttpClient : http . DefaultClient , RetryTimeout : time . Duration ( 60 * time . Second ) , } }

// NewClient returns a new datadog.Client which can be used to access the API
// methods. The expected argument is the API key.

NewClient returns a new datadog . Client which can be used to access the API methods . The expected argument is the API key .


func (c *Client) SetKeys(apiKey, appKey string) {
	c.apiKey = apiKey
	c.appKey = appKey
}

func ( c * Client ) SetKeys ( apiKey , appKey string ) { c . apiKey = apiKey c . appKey = appKey }

// SetKeys changes the value of apiKey and appKey.

SetKeys changes the value of apiKey and appKey .


func (client *Client) Validate() (bool, error) {
	var out valid
	var resp *http.Response

	uri, err := client.uriForAPI("/v1/validate")
	if err != nil {
		return false, err
	}

	req, err := http.NewRequest("GET", uri, nil)
	if err != nil {
		return false, err
	}

	resp, err = client.doRequestWithRetries(req, client.RetryTimeout)
	if err != nil {
		return false, err
	}

	defer resp.Body.Close()

	body, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		return false, err
	}

	if err = json.Unmarshal(body, &out); err != nil {
		return false, err
	}

	return out.IsValid, nil
}

func ( client * Client ) Validate ( ) ( bool , error ) { var out valid var resp * http . Response uri , err := client . uriForAPI ( " " ) if err != nil { return false , err } req , err := http . NewRequest ( " " , uri , nil ) if err != nil { return false , err } resp , err = client . doRequestWithRetries ( req , client . RetryTimeout ) if err != nil { return false , err } defer resp . Body . Close ( ) body , err := ioutil . ReadAll ( resp . Body ) if err != nil { return false , err } if err = json . Unmarshal ( body , & out ) ; err != nil { return false , err } return out . IsValid , nil }

// Validate checks if the API and application keys are valid.

Validate checks if the API and application keys are valid .


func (client *Client) MuteHost(host string, action *HostActionMute) (*HostActionResp, error) {
	var out HostActionResp
	uri := "/v1/host/" + host + "/mute"
	if err := client.doJsonRequest("POST", uri, action, &out); err != nil {
		return nil, err
	}
	return &out, nil
}

func ( client * Client ) MuteHost ( host string , action * HostActionMute ) ( * HostActionResp , error ) { var out HostActionResp uri := " " + host + " " if err := client . doJsonRequest ( " " , uri , action , & out ) ; err != nil { return nil , err } return & out , nil }

// MuteHost mutes all monitors for the given host


func (client *Client) UnmuteHost(host string) (*HostActionResp, error) {
	var out HostActionResp
	uri := "/v1/host/" + host + "/unmute"
	if err := client.doJsonRequest("POST", uri, nil, &out); err != nil {
		return nil, err
	}
	return &out, nil
}

func ( client * Client ) UnmuteHost ( host string ) ( * HostActionResp , error ) { var out HostActionResp uri := " " + host + " " if err := client . doJsonRequest ( " " , uri , nil , & out ) ; err != nil { return nil , err } return & out , nil }

// UnmuteHost unmutes all monitors for the given host


func (a *Alert) GetSilenced() bool {
	if a == nil || a.Silenced == nil {
		return false
	}
	return *a.Silenced
}

func ( a * Alert ) GetSilenced ( ) bool { if a == nil || a . Silenced == nil { return false } return * a . Silenced }

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

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


func (a *Alert) GetSilencedOk() (bool, bool) {
	if a == nil || a.Silenced == nil {
		return false, false
	}
	return *a.Silenced, true
}

func ( a * Alert ) GetSilencedOk ( ) ( bool , bool ) { if a == nil || a . Silenced == nil { return false , false } return * a . Silenced , true }

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

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


func (a *Alert) HasSilenced() bool {
	if a != nil && a.Silenced != nil {
		return true
	}

	return false
}

func ( a * Alert ) HasSilenced ( ) bool { if a != nil && a . Silenced != nil { return true } return false }

// HasSilenced returns a boolean if a field has been set.

HasSilenced returns a boolean if a field has been set .


func (a *Alert) GetState() string {
	if a == nil || a.State == nil {
		return ""
	}
	return *a.State
}

func ( a * Alert ) GetState ( ) string { if a == nil || a . State == nil { return " " } return * a . State }

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

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


func (a *Alert) GetStateOk() (string, bool) {
	if a == nil || a.State == nil {
		return "", false
	}
	return *a.State, true
}

func ( a * Alert ) GetStateOk ( ) ( string , bool ) { if a == nil || a . State == nil { return " " , false } return * a . State , true }

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

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


func (a *Alert) HasState() bool {
	if a != nil && a.State != nil {
		return true
	}

	return false
}

func ( a * Alert ) HasState ( ) bool { if a != nil && a . State != nil { return true } return false }

// HasState returns a boolean if a field has been set.

HasState returns a boolean if a field has been set .


func (a *AlertValueDefinition) GetAlertIdOk() (string, bool) {
	if a == nil || a.AlertId == nil {
		return "", false
	}
	return *a.AlertId, true
}

func ( a * AlertValueDefinition ) GetAlertIdOk ( ) ( string , bool ) { if a == nil || a . AlertId == nil { return " " , false } return * a . AlertId , true }

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

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


func (a *APIKey) GetKey() string {
	if a == nil || a.Key == nil {
		return ""
	}
	return *a.Key
}

func ( a * APIKey ) GetKey ( ) string { if a == nil || a . Key == nil { return " " } return * a . Key }

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

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


func (a *APIKey) GetKeyOk() (string, bool) {
	if a == nil || a.Key == nil {
		return "", false
	}
	return *a.Key, true
}

func ( a * APIKey ) GetKeyOk ( ) ( string , bool ) { if a == nil || a . Key == nil { return " " , false } return * a . Key , true }

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

GetKeyOk returns a tuple with the Key field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (a *APIKey) HasKey() bool {
	if a != nil && a.Key != nil {
		return true
	}

	return false
}

func ( a * APIKey ) HasKey ( ) bool { if a != nil && a . Key != nil { return true } return false }

// HasKey returns a boolean if a field has been set.

HasKey returns a boolean if a field has been set .


func (a *ApmOrLogQueryGroupBy) GetFacetOk() (string, bool) {
	if a == nil || a.Facet == nil {
		return "", false
	}
	return *a.Facet, true
}

func ( a * ApmOrLogQueryGroupBy ) GetFacetOk ( ) ( string , bool ) { if a == nil || a . Facet == nil { return " " , false } return * a . Facet , true }

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

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


func (a *ApmOrLogQueryGroupBySort) GetOrder() string {
	if a == nil || a.Order == nil {
		return ""
	}
	return *a.Order
}

func ( a * ApmOrLogQueryGroupBySort ) GetOrder ( ) string { if a == nil || a . Order == nil { return " " } return * a . Order }

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

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


func (a *ApmOrLogQueryGroupBySort) GetOrderOk() (string, bool) {
	if a == nil || a.Order == nil {
		return "", false
	}
	return *a.Order, true
}

func ( a * ApmOrLogQueryGroupBySort ) GetOrderOk ( ) ( string , bool ) { if a == nil || a . Order == nil { return " " , false } return * a . Order , true }

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

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


func (a *ApmOrLogQueryGroupBySort) HasOrder() bool {
	if a != nil && a.Order != nil {
		return true
	}

	return false
}

func ( a * ApmOrLogQueryGroupBySort ) HasOrder ( ) bool { if a != nil && a . Order != nil { return true } return false }

// HasOrder returns a boolean if a field has been set.

HasOrder returns a boolean if a field has been set .


func (b *Board) GetAuthorHandle() string {
	if b == nil || b.AuthorHandle == nil {
		return ""
	}
	return *b.AuthorHandle
}

func ( b * Board ) GetAuthorHandle ( ) string { if b == nil || b . AuthorHandle == nil { return " " } return * b . AuthorHandle }

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

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


func (b *Board) GetAuthorHandleOk() (string, bool) {
	if b == nil || b.AuthorHandle == nil {
		return "", false
	}
	return *b.AuthorHandle, true
}

func ( b * Board ) GetAuthorHandleOk ( ) ( string , bool ) { if b == nil || b . AuthorHandle == nil { return " " , false } return * b . AuthorHandle , true }

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

GetAuthorHandleOk returns a tuple with the AuthorHandle field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (b *Board) HasAuthorHandle() bool {
	if b != nil && b.AuthorHandle != nil {
		return true
	}

	return false
}

func ( b * Board ) HasAuthorHandle ( ) bool { if b != nil && b . AuthorHandle != nil { return true } return false }

// HasAuthorHandle returns a boolean if a field has been set.

HasAuthorHandle returns a boolean if a field has been set .


func (b *Board) GetIsReadOnly() bool {
	if b == nil || b.IsReadOnly == nil {
		return false
	}
	return *b.IsReadOnly
}

func ( b * Board ) GetIsReadOnly ( ) bool { if b == nil || b . IsReadOnly == nil { return false } return * b . IsReadOnly }

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

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


func (b *Board) GetIsReadOnlyOk() (bool, bool) {
	if b == nil || b.IsReadOnly == nil {
		return false, false
	}
	return *b.IsReadOnly, true
}

func ( b * Board ) GetIsReadOnlyOk ( ) ( bool , bool ) { if b == nil || b . IsReadOnly == nil { return false , false } return * b . IsReadOnly , true }

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

GetIsReadOnlyOk returns a tuple with the IsReadOnly field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (b *Board) HasIsReadOnly() bool {
	if b != nil && b.IsReadOnly != nil {
		return true
	}

	return false
}

func ( b * Board ) HasIsReadOnly ( ) bool { if b != nil && b . IsReadOnly != nil { return true } return false }

// HasIsReadOnly returns a boolean if a field has been set.

HasIsReadOnly returns a boolean if a field has been set .


func (b *BoardWidget) GetLayout() WidgetLayout {
	if b == nil || b.Layout == nil {
		return WidgetLayout{}
	}
	return *b.Layout
}

func ( b * BoardWidget ) GetLayout ( ) WidgetLayout { if b == nil || b . Layout == nil { return WidgetLayout { } } return * b . Layout }

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

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


func (b *BoardWidget) GetLayoutOk() (WidgetLayout, bool) {
	if b == nil || b.Layout == nil {
		return WidgetLayout{}, false
	}
	return *b.Layout, true
}

func ( b * BoardWidget ) GetLayoutOk ( ) ( WidgetLayout , bool ) { if b == nil || b . Layout == nil { return WidgetLayout { } , false } return * b . Layout , true }

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

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


func (b *BoardWidget) HasLayout() bool {
	if b != nil && b.Layout != nil {
		return true
	}

	return false
}

func ( b * BoardWidget ) HasLayout ( ) bool { if b != nil && b . Layout != nil { return true } return false }

// HasLayout returns a boolean if a field has been set.

HasLayout returns a boolean if a field has been set .


func (c *ChangeRequest) GetShowPresent() bool {
	if c == nil || c.ShowPresent == nil {
		return false
	}
	return *c.ShowPresent
}

func ( c * ChangeRequest ) GetShowPresent ( ) bool { if c == nil || c . ShowPresent == nil { return false } return * c . ShowPresent }

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

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


func (c *ChangeRequest) GetShowPresentOk() (bool, bool) {
	if c == nil || c.ShowPresent == nil {
		return false, false
	}
	return *c.ShowPresent, true
}

func ( c * ChangeRequest ) GetShowPresentOk ( ) ( bool , bool ) { if c == nil || c . ShowPresent == nil { return false , false } return * c . ShowPresent , true }

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

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


func (c *ChangeRequest) HasShowPresent() bool {
	if c != nil && c.ShowPresent != nil {
		return true
	}

	return false
}

func ( c * ChangeRequest ) HasShowPresent ( ) bool { if c != nil && c . ShowPresent != nil { return true } return false }

// HasShowPresent returns a boolean if a field has been set.

HasShowPresent returns a boolean if a field has been set .


func (c *ChannelSlackRequest) GetChannelName() string {
	if c == nil || c.ChannelName == nil {
		return ""
	}
	return *c.ChannelName
}

func ( c * ChannelSlackRequest ) GetChannelName ( ) string { if c == nil || c . ChannelName == nil { return " " } return * c . ChannelName }

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

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


func (c *ChannelSlackRequest) GetChannelNameOk() (string, bool) {
	if c == nil || c.ChannelName == nil {
		return "", false
	}
	return *c.ChannelName, true
}

func ( c * ChannelSlackRequest ) GetChannelNameOk ( ) ( string , bool ) { if c == nil || c . ChannelName == nil { return " " , false } return * c . ChannelName , true }

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

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


func (c *ChannelSlackRequest) HasChannelName() bool {
	if c != nil && c.ChannelName != nil {
		return true
	}

	return false
}

func ( c * ChannelSlackRequest ) HasChannelName ( ) bool { if c != nil && c . ChannelName != nil { return true } return false }

// HasChannelName returns a boolean if a field has been set.

HasChannelName returns a boolean if a field has been set .


func (c *ChannelSlackRequest) GetTransferAllUserComments() bool {
	if c == nil || c.TransferAllUserComments == nil {
		return false
	}
	return *c.TransferAllUserComments
}

func ( c * ChannelSlackRequest ) GetTransferAllUserComments ( ) bool { if c == nil || c . TransferAllUserComments == nil { return false } return * c . TransferAllUserComments }

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

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


func (c *ChannelSlackRequest) GetTransferAllUserCommentsOk() (bool, bool) {
	if c == nil || c.TransferAllUserComments == nil {
		return false, false
	}
	return *c.TransferAllUserComments, true
}

func ( c * ChannelSlackRequest ) GetTransferAllUserCommentsOk ( ) ( bool , bool ) { if c == nil || c . TransferAllUserComments == nil { return false , false } return * c . TransferAllUserComments , true }

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

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


func (c *ChannelSlackRequest) HasTransferAllUserComments() bool {
	if c != nil && c.TransferAllUserComments != nil {
		return true
	}

	return false
}

func ( c * ChannelSlackRequest ) HasTransferAllUserComments ( ) bool { if c != nil && c . TransferAllUserComments != nil { return true } return false }

// HasTransferAllUserComments returns a boolean if a field has been set.

HasTransferAllUserComments returns a boolean if a field has been set .


func (c *Check) GetHostName() string {
	if c == nil || c.HostName == nil {
		return ""
	}
	return *c.HostName
}

func ( c * Check ) GetHostName ( ) string { if c == nil || c . HostName == nil { return " " } return * c . HostName }

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

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


func (c *Check) GetHostNameOk() (string, bool) {
	if c == nil || c.HostName == nil {
		return "", false
	}
	return *c.HostName, true
}

func ( c * Check ) GetHostNameOk ( ) ( string , bool ) { if c == nil || c . HostName == nil { return " " , false } return * c . HostName , true }

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

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


func (c *Check) HasHostName() bool {
	if c != nil && c.HostName != nil {
		return true
	}

	return false
}

func ( c * Check ) HasHostName ( ) bool { if c != nil && c . HostName != nil { return true } return false }

// HasHostName returns a boolean if a field has been set.

HasHostName returns a boolean if a field has been set .


func (c *Check) GetTimestamp() string {
	if c == nil || c.Timestamp == nil {
		return ""
	}
	return *c.Timestamp
}

func ( c * Check ) GetTimestamp ( ) string { if c == nil || c . Timestamp == nil { return " " } return * c . Timestamp }

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

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


func (c *Check) GetTimestampOk() (string, bool) {
	if c == nil || c.Timestamp == nil {
		return "", false
	}
	return *c.Timestamp, true
}

func ( c * Check ) GetTimestampOk ( ) ( string , bool ) { if c == nil || c . Timestamp == nil { return " " , false } return * c . Timestamp , true }

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

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


func (c *Check) HasTimestamp() bool {
	if c != nil && c.Timestamp != nil {
		return true
	}

	return false
}

func ( c * Check ) HasTimestamp ( ) bool { if c != nil && c . Timestamp != nil { return true } return false }

// HasTimestamp returns a boolean if a field has been set.

HasTimestamp returns a boolean if a field has been set .


func (c *Comment) GetRelatedId() int {
	if c == nil || c.RelatedId == nil {
		return 0
	}
	return *c.RelatedId
}

func ( c * Comment ) GetRelatedId ( ) int { if c == nil || c . RelatedId == nil { return 0 } return * c . RelatedId }

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

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


func (c *Comment) GetRelatedIdOk() (int, bool) {
	if c == nil || c.RelatedId == nil {
		return 0, false
	}
	return *c.RelatedId, true
}

func ( c * Comment ) GetRelatedIdOk ( ) ( int , bool ) { if c == nil || c . RelatedId == nil { return 0 , false } return * c . RelatedId , true }

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

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


func (c *Comment) HasRelatedId() bool {
	if c != nil && c.RelatedId != nil {
		return true
	}

	return false
}

func ( c * Comment ) HasRelatedId ( ) bool { if c != nil && c . RelatedId != nil { return true } return false }

// HasRelatedId returns a boolean if a field has been set.

HasRelatedId returns a boolean if a field has been set .


func (c *ConditionalFormat) GetImageURL() string {
	if c == nil || c.ImageURL == nil {
		return ""
	}
	return *c.ImageURL
}

func ( c * ConditionalFormat ) GetImageURL ( ) string { if c == nil || c . ImageURL == nil { return " " } return * c . ImageURL }

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

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


func (c *ConditionalFormat) GetImageURLOk() (string, bool) {
	if c == nil || c.ImageURL == nil {
		return "", false
	}
	return *c.ImageURL, true
}

func ( c * ConditionalFormat ) GetImageURLOk ( ) ( string , bool ) { if c == nil || c . ImageURL == nil { return " " , false } return * c . ImageURL , true }

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

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


func (c *ConditionalFormat) HasImageURL() bool {
	if c != nil && c.ImageURL != nil {
		return true
	}

	return false
}

func ( c * ConditionalFormat ) HasImageURL ( ) bool { if c != nil && c . ImageURL != nil { return true } return false }

// HasImageURL returns a boolean if a field has been set.

HasImageURL returns a boolean if a field has been set .


func (c *ConditionalFormat) GetInvert() bool {
	if c == nil || c.Invert == nil {
		return false
	}
	return *c.Invert
}

func ( c * ConditionalFormat ) GetInvert ( ) bool { if c == nil || c . Invert == nil { return false } return * c . Invert }

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

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


func (c *ConditionalFormat) GetInvertOk() (bool, bool) {
	if c == nil || c.Invert == nil {
		return false, false
	}
	return *c.Invert, true
}

func ( c * ConditionalFormat ) GetInvertOk ( ) ( bool , bool ) { if c == nil || c . Invert == nil { return false , false } return * c . Invert , true }

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

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


func (c *ConditionalFormat) HasInvert() bool {
	if c != nil && c.Invert != nil {
		return true
	}

	return false
}

func ( c * ConditionalFormat ) HasInvert ( ) bool { if c != nil && c . Invert != nil { return true } return false }

// HasInvert returns a boolean if a field has been set.

HasInvert returns a boolean if a field has been set .


func (c *CreatedBy) GetIcon() string {
	if c == nil || c.Icon == nil {
		return ""
	}
	return *c.Icon
}

func ( c * CreatedBy ) GetIcon ( ) string { if c == nil || c . Icon == nil { return " " } return * c . Icon }

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

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


func (c *CreatedBy) GetIconOk() (string, bool) {
	if c == nil || c.Icon == nil {
		return "", false
	}
	return *c.Icon, true
}

func ( c * CreatedBy ) GetIconOk ( ) ( string , bool ) { if c == nil || c . Icon == nil { return " " , false } return * c . Icon , true }

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

GetIconOk returns a tuple with the Icon field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (c *CreatedBy) HasIcon() bool {
	if c != nil && c.Icon != nil {
		return true
	}

	return false
}

func ( c * CreatedBy ) HasIcon ( ) bool { if c != nil && c . Icon != nil { return true } return false }

// HasIcon returns a boolean if a field has been set.

HasIcon returns a boolean if a field has been set .


func (d *DashboardConditionalFormat) GetCustomImageUrl() string {
	if d == nil || d.CustomImageUrl == nil {
		return ""
	}
	return *d.CustomImageUrl
}

func ( d * DashboardConditionalFormat ) GetCustomImageUrl ( ) string { if d == nil || d . CustomImageUrl == nil { return " " } return * d . CustomImageUrl }

// GetCustomImageUrl returns the CustomImageUrl field if non-nil, zero value otherwise.

GetCustomImageUrl returns the CustomImageUrl field if non - nil zero value otherwise .


func (d *DashboardConditionalFormat) GetCustomImageUrlOk() (string, bool) {
	if d == nil || d.CustomImageUrl == nil {
		return "", false
	}
	return *d.CustomImageUrl, true
}

func ( d * DashboardConditionalFormat ) GetCustomImageUrlOk ( ) ( string , bool ) { if d == nil || d . CustomImageUrl == nil { return " " , false } return * d . CustomImageUrl , true }

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

GetCustomImageUrlOk returns a tuple with the CustomImageUrl field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (d *DashboardConditionalFormat) HasCustomImageUrl() bool {
	if d != nil && d.CustomImageUrl != nil {
		return true
	}

	return false
}

func ( d * DashboardConditionalFormat ) HasCustomImageUrl ( ) bool { if d != nil && d . CustomImageUrl != nil { return true } return false }

// HasCustomImageUrl returns a boolean if a field has been set.

HasCustomImageUrl returns a boolean if a field has been set .


func (d *DashboardConditionalFormat) GetInverted() bool {
	if d == nil || d.Inverted == nil {
		return false
	}
	return *d.Inverted
}

func ( d * DashboardConditionalFormat ) GetInverted ( ) bool { if d == nil || d . Inverted == nil { return false } return * d . Inverted }

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

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


func (d *DashboardConditionalFormat) GetInvertedOk() (bool, bool) {
	if d == nil || d.Inverted == nil {
		return false, false
	}
	return *d.Inverted, true
}

func ( d * DashboardConditionalFormat ) GetInvertedOk ( ) ( bool , bool ) { if d == nil || d . Inverted == nil { return false , false } return * d . Inverted , true }

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

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


func (d *DashboardConditionalFormat) HasInverted() bool {
	if d != nil && d.Inverted != nil {
		return true
	}

	return false
}

func ( d * DashboardConditionalFormat ) HasInverted ( ) bool { if d != nil && d . Inverted != nil { return true } return false }

// HasInverted returns a boolean if a field has been set.

HasInverted returns a boolean if a field has been set .


func (d *DashboardList) GetDashboardCount() int {
	if d == nil || d.DashboardCount == nil {
		return 0
	}
	return *d.DashboardCount
}

func ( d * DashboardList ) GetDashboardCount ( ) int { if d == nil || d . DashboardCount == nil { return 0 } return * d . DashboardCount }

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

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


func (d *DashboardList) GetDashboardCountOk() (int, bool) {
	if d == nil || d.DashboardCount == nil {
		return 0, false
	}
	return *d.DashboardCount, true
}

func ( d * DashboardList ) GetDashboardCountOk ( ) ( int , bool ) { if d == nil || d . DashboardCount == nil { return 0 , false } return * d . DashboardCount , true }

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

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


func (d *DashboardList) HasDashboardCount() bool {
	if d != nil && d.DashboardCount != nil {
		return true
	}

	return false
}

func ( d * DashboardList ) HasDashboardCount ( ) bool { if d != nil && d . DashboardCount != nil { return true } return false }

// HasDashboardCount returns a boolean if a field has been set.

HasDashboardCount returns a boolean if a field has been set .


func (d *DashboardLite) GetModified() string {
	if d == nil || d.Modified == nil {
		return ""
	}
	return *d.Modified
}

func ( d * DashboardLite ) GetModified ( ) string { if d == nil || d . Modified == nil { return " " } return * d . Modified }

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

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


func (d *DashboardLite) GetModifiedOk() (string, bool) {
	if d == nil || d.Modified == nil {
		return "", false
	}
	return *d.Modified, true
}

func ( d * DashboardLite ) GetModifiedOk ( ) ( string , bool ) { if d == nil || d . Modified == nil { return " " , false } return * d . Modified , true }

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

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


func (d *DashboardLite) HasModified() bool {
	if d != nil && d.Modified != nil {
		return true
	}

	return false
}

func ( d * DashboardLite ) HasModified ( ) bool { if d != nil && d . Modified != nil { return true } return false }

// HasModified returns a boolean if a field has been set.

HasModified returns a boolean if a field has been set .


func (d *Downtime) GetActive() bool {
	if d == nil || d.Active == nil {
		return false
	}
	return *d.Active
}

func ( d * Downtime ) GetActive ( ) bool { if d == nil || d . Active == nil { return false } return * d . Active }

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

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


func (d *Downtime) GetActiveOk() (bool, bool) {
	if d == nil || d.Active == nil {
		return false, false
	}
	return *d.Active, true
}

func ( d * Downtime ) GetActiveOk ( ) ( bool , bool ) { if d == nil || d . Active == nil { return false , false } return * d . Active , true }

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

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


func (d *Downtime) HasActive() bool {
	if d != nil && d.Active != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasActive ( ) bool { if d != nil && d . Active != nil { return true } return false }

// HasActive returns a boolean if a field has been set.

HasActive returns a boolean if a field has been set .


func (d *Downtime) GetCanceled() int {
	if d == nil || d.Canceled == nil {
		return 0
	}
	return *d.Canceled
}

func ( d * Downtime ) GetCanceled ( ) int { if d == nil || d . Canceled == nil { return 0 } return * d . Canceled }

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

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


func (d *Downtime) GetCanceledOk() (int, bool) {
	if d == nil || d.Canceled == nil {
		return 0, false
	}
	return *d.Canceled, true
}

func ( d * Downtime ) GetCanceledOk ( ) ( int , bool ) { if d == nil || d . Canceled == nil { return 0 , false } return * d . Canceled , true }

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

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


func (d *Downtime) HasCanceled() bool {
	if d != nil && d.Canceled != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasCanceled ( ) bool { if d != nil && d . Canceled != nil { return true } return false }

// HasCanceled returns a boolean if a field has been set.

HasCanceled returns a boolean if a field has been set .


func (d *Downtime) GetMonitorId() int {
	if d == nil || d.MonitorId == nil {
		return 0
	}
	return *d.MonitorId
}

func ( d * Downtime ) GetMonitorId ( ) int { if d == nil || d . MonitorId == nil { return 0 } return * d . MonitorId }

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

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


func (d *Downtime) GetMonitorIdOk() (int, bool) {
	if d == nil || d.MonitorId == nil {
		return 0, false
	}
	return *d.MonitorId, true
}

func ( d * Downtime ) GetMonitorIdOk ( ) ( int , bool ) { if d == nil || d . MonitorId == nil { return 0 , false } return * d . MonitorId , true }

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

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


func (d *Downtime) HasMonitorId() bool {
	if d != nil && d.MonitorId != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasMonitorId ( ) bool { if d != nil && d . MonitorId != nil { return true } return false }

// HasMonitorId returns a boolean if a field has been set.

HasMonitorId returns a boolean if a field has been set .


func (d *Downtime) GetParentId() int {
	if d == nil || d.ParentId == nil {
		return 0
	}
	return *d.ParentId
}

func ( d * Downtime ) GetParentId ( ) int { if d == nil || d . ParentId == nil { return 0 } return * d . ParentId }

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

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


func (d *Downtime) GetParentIdOk() (int, bool) {
	if d == nil || d.ParentId == nil {
		return 0, false
	}
	return *d.ParentId, true
}

func ( d * Downtime ) GetParentIdOk ( ) ( int , bool ) { if d == nil || d . ParentId == nil { return 0 , false } return * d . ParentId , true }

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

GetParentIdOk returns a tuple with the ParentId field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (d *Downtime) HasParentId() bool {
	if d != nil && d.ParentId != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasParentId ( ) bool { if d != nil && d . ParentId != nil { return true } return false }

// HasParentId returns a boolean if a field has been set.

HasParentId returns a boolean if a field has been set .


func (d *Downtime) GetRecurrence() Recurrence {
	if d == nil || d.Recurrence == nil {
		return Recurrence{}
	}
	return *d.Recurrence
}

func ( d * Downtime ) GetRecurrence ( ) Recurrence { if d == nil || d . Recurrence == nil { return Recurrence { } } return * d . Recurrence }

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

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


func (d *Downtime) GetRecurrenceOk() (Recurrence, bool) {
	if d == nil || d.Recurrence == nil {
		return Recurrence{}, false
	}
	return *d.Recurrence, true
}

func ( d * Downtime ) GetRecurrenceOk ( ) ( Recurrence , bool ) { if d == nil || d . Recurrence == nil { return Recurrence { } , false } return * d . Recurrence , true }

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

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


func (d *Downtime) HasRecurrence() bool {
	if d != nil && d.Recurrence != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasRecurrence ( ) bool { if d != nil && d . Recurrence != nil { return true } return false }

// HasRecurrence returns a boolean if a field has been set.

HasRecurrence returns a boolean if a field has been set .


func (d *Downtime) GetTimezone() string {
	if d == nil || d.Timezone == nil {
		return ""
	}
	return *d.Timezone
}

func ( d * Downtime ) GetTimezone ( ) string { if d == nil || d . Timezone == nil { return " " } return * d . Timezone }

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

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


func (d *Downtime) GetTimezoneOk() (string, bool) {
	if d == nil || d.Timezone == nil {
		return "", false
	}
	return *d.Timezone, true
}

func ( d * Downtime ) GetTimezoneOk ( ) ( string , bool ) { if d == nil || d . Timezone == nil { return " " , false } return * d . Timezone , true }

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

GetTimezoneOk returns a tuple with the Timezone field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (d *Downtime) HasTimezone() bool {
	if d != nil && d.Timezone != nil {
		return true
	}

	return false
}

func ( d * Downtime ) HasTimezone ( ) bool { if d != nil && d . Timezone != nil { return true } return false }

// HasTimezone returns a boolean if a field has been set.

HasTimezone returns a boolean if a field has been set .


func (e *Event) GetAlertType() string {
	if e == nil || e.AlertType == nil {
		return ""
	}
	return *e.AlertType
}

func ( e * Event ) GetAlertType ( ) string { if e == nil || e . AlertType == nil { return " " } return * e . AlertType }

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

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


func (e *Event) GetAlertTypeOk() (string, bool) {
	if e == nil || e.AlertType == nil {
		return "", false
	}
	return *e.AlertType, true
}

func ( e * Event ) GetAlertTypeOk ( ) ( string , bool ) { if e == nil || e . AlertType == nil { return " " , false } return * e . AlertType , true }

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

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


func (e *Event) HasAlertType() bool {
	if e != nil && e.AlertType != nil {
		return true
	}

	return false
}

func ( e * Event ) HasAlertType ( ) bool { if e != nil && e . AlertType != nil { return true } return false }

// HasAlertType returns a boolean if a field has been set.

HasAlertType returns a boolean if a field has been set .


func (e *Event) GetEventType() string {
	if e == nil || e.EventType == nil {
		return ""
	}
	return *e.EventType
}

func ( e * Event ) GetEventType ( ) string { if e == nil || e . EventType == nil { return " " } return * e . EventType }

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

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


func (e *Event) GetEventTypeOk() (string, bool) {
	if e == nil || e.EventType == nil {
		return "", false
	}
	return *e.EventType, true
}

func ( e * Event ) GetEventTypeOk ( ) ( string , bool ) { if e == nil || e . EventType == nil { return " " , false } return * e . EventType , true }

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

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


func (e *Event) HasEventType() bool {
	if e != nil && e.EventType != nil {
		return true
	}

	return false
}

func ( e * Event ) HasEventType ( ) bool { if e != nil && e . EventType != nil { return true } return false }

// HasEventType returns a boolean if a field has been set.

HasEventType returns a boolean if a field has been set .


func (e *Event) GetPriority() string {
	if e == nil || e.Priority == nil {
		return ""
	}
	return *e.Priority
}

func ( e * Event ) GetPriority ( ) string { if e == nil || e . Priority == nil { return " " } return * e . Priority }

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

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


func (e *Event) GetPriorityOk() (string, bool) {
	if e == nil || e.Priority == nil {
		return "", false
	}
	return *e.Priority, true
}

func ( e * Event ) GetPriorityOk ( ) ( string , bool ) { if e == nil || e . Priority == nil { return " " , false } return * e . Priority , true }

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

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


func (e *Event) HasPriority() bool {
	if e != nil && e.Priority != nil {
		return true
	}

	return false
}

func ( e * Event ) HasPriority ( ) bool { if e != nil && e . Priority != nil { return true } return false }

// HasPriority returns a boolean if a field has been set.

HasPriority returns a boolean if a field has been set .


func (e *Event) GetSourceType() string {
	if e == nil || e.SourceType == nil {
		return ""
	}
	return *e.SourceType
}

func ( e * Event ) GetSourceType ( ) string { if e == nil || e . SourceType == nil { return " " } return * e . SourceType }

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

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


func (e *Event) GetSourceTypeOk() (string, bool) {
	if e == nil || e.SourceType == nil {
		return "", false
	}
	return *e.SourceType, true
}

func ( e * Event ) GetSourceTypeOk ( ) ( string , bool ) { if e == nil || e . SourceType == nil { return " " , false } return * e . SourceType , true }

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

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


func (e *Event) HasSourceType() bool {
	if e != nil && e.SourceType != nil {
		return true
	}

	return false
}

func ( e * Event ) HasSourceType ( ) bool { if e != nil && e . SourceType != nil { return true } return false }

// HasSourceType returns a boolean if a field has been set.

HasSourceType returns a boolean if a field has been set .


func (g *Graph) GetDefinition() GraphDefinition {
	if g == nil || g.Definition == nil {
		return GraphDefinition{}
	}
	return *g.Definition
}

func ( g * Graph ) GetDefinition ( ) GraphDefinition { if g == nil || g . Definition == nil { return GraphDefinition { } } return * g . Definition }

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

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


func (g *Graph) GetDefinitionOk() (GraphDefinition, bool) {
	if g == nil || g.Definition == nil {
		return GraphDefinition{}, false
	}
	return *g.Definition, true
}

func ( g * Graph ) GetDefinitionOk ( ) ( GraphDefinition , bool ) { if g == nil || g . Definition == nil { return GraphDefinition { } , false } return * g . Definition , true }

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

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


func (g *Graph) HasDefinition() bool {
	if g != nil && g.Definition != nil {
		return true
	}

	return false
}

func ( g * Graph ) HasDefinition ( ) bool { if g != nil && g . Definition != nil { return true } return false }

// HasDefinition returns a boolean if a field has been set.

HasDefinition returns a boolean if a field has been set .


func (g *GraphDefinition) GetIncludeNoMetricHosts() bool {
	if g == nil || g.IncludeNoMetricHosts == nil {
		return false
	}
	return *g.IncludeNoMetricHosts
}

func ( g * GraphDefinition ) GetIncludeNoMetricHosts ( ) bool { if g == nil || g . IncludeNoMetricHosts == nil { return false } return * g . IncludeNoMetricHosts }

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

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


func (g *GraphDefinition) GetIncludeNoMetricHostsOk() (bool, bool) {
	if g == nil || g.IncludeNoMetricHosts == nil {
		return false, false
	}
	return *g.IncludeNoMetricHosts, true
}

func ( g * GraphDefinition ) GetIncludeNoMetricHostsOk ( ) ( bool , bool ) { if g == nil || g . IncludeNoMetricHosts == nil { return false , false } return * g . IncludeNoMetricHosts , true }

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

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


func (g *GraphDefinition) HasIncludeNoMetricHosts() bool {
	if g != nil && g.IncludeNoMetricHosts != nil {
		return true
	}

	return false
}

func ( g * GraphDefinition ) HasIncludeNoMetricHosts ( ) bool { if g != nil && g . IncludeNoMetricHosts != nil { return true } return false }

// HasIncludeNoMetricHosts returns a boolean if a field has been set.

HasIncludeNoMetricHosts returns a boolean if a field has been set .


func (g *GraphDefinition) GetIncludeUngroupedHosts() bool {
	if g == nil || g.IncludeUngroupedHosts == nil {
		return false
	}
	return *g.IncludeUngroupedHosts
}

func ( g * GraphDefinition ) GetIncludeUngroupedHosts ( ) bool { if g == nil || g . IncludeUngroupedHosts == nil { return false } return * g . IncludeUngroupedHosts }

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

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


func (g *GraphDefinition) GetIncludeUngroupedHostsOk() (bool, bool) {
	if g == nil || g.IncludeUngroupedHosts == nil {
		return false, false
	}
	return *g.IncludeUngroupedHosts, true
}

func ( g * GraphDefinition ) GetIncludeUngroupedHostsOk ( ) ( bool , bool ) { if g == nil || g . IncludeUngroupedHosts == nil { return false , false } return * g . IncludeUngroupedHosts , true }

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

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


func (g *GraphDefinition) HasIncludeUngroupedHosts() bool {
	if g != nil && g.IncludeUngroupedHosts != nil {
		return true
	}

	return false
}

func ( g * GraphDefinition ) HasIncludeUngroupedHosts ( ) bool { if g != nil && g . IncludeUngroupedHosts != nil { return true } return false }

// HasIncludeUngroupedHosts returns a boolean if a field has been set.

HasIncludeUngroupedHosts returns a boolean if a field has been set .


func (g *GraphDefinitionMarker) GetVal() json.Number {
	if g == nil || g.Val == nil {
		return ""
	}
	return *g.Val
}

func ( g * GraphDefinitionMarker ) GetVal ( ) json . Number { if g == nil || g . Val == nil { return " " } return * g . Val }

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

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


func (g *GraphDefinitionMarker) GetValOk() (json.Number, bool) {
	if g == nil || g.Val == nil {
		return "", false
	}
	return *g.Val, true
}

func ( g * GraphDefinitionMarker ) GetValOk ( ) ( json . Number , bool ) { if g == nil || g . Val == nil { return " " , false } return * g . Val , true }

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

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


func (g *GraphDefinitionMarker) HasVal() bool {
	if g != nil && g.Val != nil {
		return true
	}

	return false
}

func ( g * GraphDefinitionMarker ) HasVal ( ) bool { if g != nil && g . Val != nil { return true } return false }

// HasVal returns a boolean if a field has been set.

HasVal returns a boolean if a field has been set .


func (g *GraphDefinitionRequest) GetOrderDirection() string {
	if g == nil || g.OrderDirection == nil {
		return ""
	}
	return *g.OrderDirection
}

func ( g * GraphDefinitionRequest ) GetOrderDirection ( ) string { if g == nil || g . OrderDirection == nil { return " " } return * g . OrderDirection }

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

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


func (g *GraphDefinitionRequest) GetOrderDirectionOk() (string, bool) {
	if g == nil || g.OrderDirection == nil {
		return "", false
	}
	return *g.OrderDirection, true
}

func ( g * GraphDefinitionRequest ) GetOrderDirectionOk ( ) ( string , bool ) { if g == nil || g . OrderDirection == nil { return " " , false } return * g . OrderDirection , true }

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

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


func (g *GraphDefinitionRequest) HasOrderDirection() bool {
	if g != nil && g.OrderDirection != nil {
		return true
	}

	return false
}

func ( g * GraphDefinitionRequest ) HasOrderDirection ( ) bool { if g != nil && g . OrderDirection != nil { return true } return false }

// HasOrderDirection returns a boolean if a field has been set.

HasOrderDirection returns a boolean if a field has been set .


func (g *GraphDefinitionRequest) GetStacked() bool {
	if g == nil || g.Stacked == nil {
		return false
	}
	return *g.Stacked
}

func ( g * GraphDefinitionRequest ) GetStacked ( ) bool { if g == nil || g . Stacked == nil { return false } return * g . Stacked }

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

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


func (g *GraphDefinitionRequest) GetStackedOk() (bool, bool) {
	if g == nil || g.Stacked == nil {
		return false, false
	}
	return *g.Stacked, true
}

func ( g * GraphDefinitionRequest ) GetStackedOk ( ) ( bool , bool ) { if g == nil || g . Stacked == nil { return false , false } return * g . Stacked , true }

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

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


func (g *GraphDefinitionRequest) HasStacked() bool {
	if g != nil && g.Stacked != nil {
		return true
	}

	return false
}

func ( g * GraphDefinitionRequest ) HasStacked ( ) bool { if g != nil && g . Stacked != nil { return true } return false }

// HasStacked returns a boolean if a field has been set.

HasStacked returns a boolean if a field has been set .


func (g *GroupData) GetLastNoDataTs() int {
	if g == nil || g.LastNoDataTs == nil {
		return 0
	}
	return *g.LastNoDataTs
}

func ( g * GroupData ) GetLastNoDataTs ( ) int { if g == nil || g . LastNoDataTs == nil { return 0 } return * g . LastNoDataTs }

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

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


func (g *GroupData) GetLastNoDataTsOk() (int, bool) {
	if g == nil || g.LastNoDataTs == nil {
		return 0, false
	}
	return *g.LastNoDataTs, true
}

func ( g * GroupData ) GetLastNoDataTsOk ( ) ( int , bool ) { if g == nil || g . LastNoDataTs == nil { return 0 , false } return * g . LastNoDataTs , true }

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

GetLastNoDataTsOk returns a tuple with the LastNoDataTs field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (g *GroupData) HasLastNoDataTs() bool {
	if g != nil && g.LastNoDataTs != nil {
		return true
	}

	return false
}

func ( g * GroupData ) HasLastNoDataTs ( ) bool { if g != nil && g . LastNoDataTs != nil { return true } return false }

// HasLastNoDataTs returns a boolean if a field has been set.

HasLastNoDataTs returns a boolean if a field has been set .


func (g *GroupData) GetLastNotifiedTs() int {
	if g == nil || g.LastNotifiedTs == nil {
		return 0
	}
	return *g.LastNotifiedTs
}

func ( g * GroupData ) GetLastNotifiedTs ( ) int { if g == nil || g . LastNotifiedTs == nil { return 0 } return * g . LastNotifiedTs }

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

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


func (g *GroupData) GetLastNotifiedTsOk() (int, bool) {
	if g == nil || g.LastNotifiedTs == nil {
		return 0, false
	}
	return *g.LastNotifiedTs, true
}

func ( g * GroupData ) GetLastNotifiedTsOk ( ) ( int , bool ) { if g == nil || g . LastNotifiedTs == nil { return 0 , false } return * g . LastNotifiedTs , true }

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

GetLastNotifiedTsOk returns a tuple with the LastNotifiedTs field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (g *GroupData) HasLastNotifiedTs() bool {
	if g != nil && g.LastNotifiedTs != nil {
		return true
	}

	return false
}

func ( g * GroupData ) HasLastNotifiedTs ( ) bool { if g != nil && g . LastNotifiedTs != nil { return true } return false }

// HasLastNotifiedTs returns a boolean if a field has been set.

HasLastNotifiedTs returns a boolean if a field has been set .


func (g *GroupData) GetLastResolvedTs() int {
	if g == nil || g.LastResolvedTs == nil {
		return 0
	}
	return *g.LastResolvedTs
}

func ( g * GroupData ) GetLastResolvedTs ( ) int { if g == nil || g . LastResolvedTs == nil { return 0 } return * g . LastResolvedTs }

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

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


func (g *GroupData) GetLastResolvedTsOk() (int, bool) {
	if g == nil || g.LastResolvedTs == nil {
		return 0, false
	}
	return *g.LastResolvedTs, true
}

func ( g * GroupData ) GetLastResolvedTsOk ( ) ( int , bool ) { if g == nil || g . LastResolvedTs == nil { return 0 , false } return * g . LastResolvedTs , true }

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

GetLastResolvedTsOk returns a tuple with the LastResolvedTs field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (g *GroupData) HasLastResolvedTs() bool {
	if g != nil && g.LastResolvedTs != nil {
		return true
	}

	return false
}

func ( g * GroupData ) HasLastResolvedTs ( ) bool { if g != nil && g . LastResolvedTs != nil { return true } return false }

// HasLastResolvedTs returns a boolean if a field has been set.

HasLastResolvedTs returns a boolean if a field has been set .


func (g *GroupData) GetLastTriggeredTs() int {
	if g == nil || g.LastTriggeredTs == nil {
		return 0
	}
	return *g.LastTriggeredTs
}

func ( g * GroupData ) GetLastTriggeredTs ( ) int { if g == nil || g . LastTriggeredTs == nil { return 0 } return * g . LastTriggeredTs }

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

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


func (g *GroupData) GetLastTriggeredTsOk() (int, bool) {
	if g == nil || g.LastTriggeredTs == nil {
		return 0, false
	}
	return *g.LastTriggeredTs, true
}

func ( g * GroupData ) GetLastTriggeredTsOk ( ) ( int , bool ) { if g == nil || g . LastTriggeredTs == nil { return 0 , false } return * g . LastTriggeredTs , true }

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

GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (g *GroupData) HasLastTriggeredTs() bool {
	if g != nil && g.LastTriggeredTs != nil {
		return true
	}

	return false
}

func ( g * GroupData ) HasLastTriggeredTs ( ) bool { if g != nil && g . LastTriggeredTs != nil { return true } return false }

// HasLastTriggeredTs returns a boolean if a field has been set.

HasLastTriggeredTs returns a boolean if a field has been set .


func (g *GroupData) GetTriggeringValue() TriggeringValue {
	if g == nil || g.TriggeringValue == nil {
		return TriggeringValue{}
	}
	return *g.TriggeringValue
}

func ( g * GroupData ) GetTriggeringValue ( ) TriggeringValue { if g == nil || g . TriggeringValue == nil { return TriggeringValue { } } return * g . TriggeringValue }

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

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


func (g *GroupData) GetTriggeringValueOk() (TriggeringValue, bool) {
	if g == nil || g.TriggeringValue == nil {
		return TriggeringValue{}, false
	}
	return *g.TriggeringValue, true
}

func ( g * GroupData ) GetTriggeringValueOk ( ) ( TriggeringValue , bool ) { if g == nil || g . TriggeringValue == nil { return TriggeringValue { } , false } return * g . TriggeringValue , true }

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

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


func (g *GroupData) HasTriggeringValue() bool {
	if g != nil && g.TriggeringValue != nil {
		return true
	}

	return false
}

func ( g * GroupData ) HasTriggeringValue ( ) bool { if g != nil && g . TriggeringValue != nil { return true } return false }

// HasTriggeringValue returns a boolean if a field has been set.

HasTriggeringValue returns a boolean if a field has been set .


func (h *HostActionMute) GetEndTime() string {
	if h == nil || h.EndTime == nil {
		return ""
	}
	return *h.EndTime
}

func ( h * HostActionMute ) GetEndTime ( ) string { if h == nil || h . EndTime == nil { return " " } return * h . EndTime }

// GetEndTime returns the EndTime field if non-nil, zero value otherwise.

GetEndTime returns the EndTime field if non - nil zero value otherwise .


func (h *HostActionMute) GetEndTimeOk() (string, bool) {
	if h == nil || h.EndTime == nil {
		return "", false
	}
	return *h.EndTime, true
}

func ( h * HostActionMute ) GetEndTimeOk ( ) ( string , bool ) { if h == nil || h . EndTime == nil { return " " , false } return * h . EndTime , true }

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

GetEndTimeOk returns a tuple with the EndTime field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (h *HostActionMute) HasEndTime() bool {
	if h != nil && h.EndTime != nil {
		return true
	}

	return false
}

func ( h * HostActionMute ) HasEndTime ( ) bool { if h != nil && h . EndTime != nil { return true } return false }

// HasEndTime returns a boolean if a field has been set.

HasEndTime returns a boolean if a field has been set .


func (h *HostActionMute) GetOverride() bool {
	if h == nil || h.Override == nil {
		return false
	}
	return *h.Override
}

func ( h * HostActionMute ) GetOverride ( ) bool { if h == nil || h . Override == nil { return false } return * h . Override }

// GetOverride returns the Override field if non-nil, zero value otherwise.

GetOverride returns the Override field if non - nil zero value otherwise .


func (h *HostActionMute) GetOverrideOk() (bool, bool) {
	if h == nil || h.Override == nil {
		return false, false
	}
	return *h.Override, true
}

func ( h * HostActionMute ) GetOverrideOk ( ) ( bool , bool ) { if h == nil || h . Override == nil { return false , false } return * h . Override , true }

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

GetOverrideOk returns a tuple with the Override field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (h *HostActionMute) HasOverride() bool {
	if h != nil && h.Override != nil {
		return true
	}

	return false
}

func ( h * HostActionMute ) HasOverride ( ) bool { if h != nil && h . Override != nil { return true } return false }

// HasOverride returns a boolean if a field has been set.

HasOverride returns a boolean if a field has been set .


func (h *HostmapRequests) GetFill() HostmapRequest {
	if h == nil || h.Fill == nil {
		return HostmapRequest{}
	}
	return *h.Fill
}

func ( h * HostmapRequests ) GetFill ( ) HostmapRequest { if h == nil || h . Fill == nil { return HostmapRequest { } } return * h . Fill }

// GetFill returns the Fill field if non-nil, zero value otherwise.

GetFill returns the Fill field if non - nil zero value otherwise .


func (h *HostmapRequests) GetFillOk() (HostmapRequest, bool) {
	if h == nil || h.Fill == nil {
		return HostmapRequest{}, false
	}
	return *h.Fill, true
}

func ( h * HostmapRequests ) GetFillOk ( ) ( HostmapRequest , bool ) { if h == nil || h . Fill == nil { return HostmapRequest { } , false } return * h . Fill , true }

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

GetFillOk returns a tuple with the Fill field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (h *HostmapRequests) HasFill() bool {
	if h != nil && h.Fill != nil {
		return true
	}

	return false
}

func ( h * HostmapRequests ) HasFill ( ) bool { if h != nil && h . Fill != nil { return true } return false }

// HasFill returns a boolean if a field has been set.

HasFill returns a boolean if a field has been set .


func (h *HostmapRequests) GetSize() HostmapRequest {
	if h == nil || h.Size == nil {
		return HostmapRequest{}
	}
	return *h.Size
}

func ( h * HostmapRequests ) GetSize ( ) HostmapRequest { if h == nil || h . Size == nil { return HostmapRequest { } } return * h . Size }

// GetSize returns the Size field if non-nil, zero value otherwise.

GetSize returns the Size field if non - nil zero value otherwise .


func (h *HostmapRequests) GetSizeOk() (HostmapRequest, bool) {
	if h == nil || h.Size == nil {
		return HostmapRequest{}, false
	}
	return *h.Size, true
}

func ( h * HostmapRequests ) GetSizeOk ( ) ( HostmapRequest , bool ) { if h == nil || h . Size == nil { return HostmapRequest { } , false } return * h . Size , true }

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

GetSizeOk returns a tuple with the Size field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (h *HostmapRequests) HasSize() bool {
	if h != nil && h.Size != nil {
		return true
	}

	return false
}

func ( h * HostmapRequests ) HasSize ( ) bool { if h != nil && h . Size != nil { return true } return false }

// HasSize returns a boolean if a field has been set.

HasSize returns a boolean if a field has been set .


func (i *IntegrationAWSAccount) GetRoleNameOk() (string, bool) {
	if i == nil || i.RoleName == nil {
		return "", false
	}
	return *i.RoleName, true
}

func ( i * IntegrationAWSAccount ) GetRoleNameOk ( ) ( string , bool ) { if i == nil || i . RoleName == nil { return " " , false } return * i . RoleName , true }

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

GetRoleNameOk returns a tuple with the RoleName field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationAWSAccountDeleteRequest) GetAccountIDOk() (string, bool) {
	if i == nil || i.AccountID == nil {
		return "", false
	}
	return *i.AccountID, true
}

func ( i * IntegrationAWSAccountDeleteRequest ) GetAccountIDOk ( ) ( string , bool ) { if i == nil || i . AccountID == nil { return " " , false } return * i . AccountID , true }

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

GetAccountIDOk returns a tuple with the AccountID field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURL() string {
	if i == nil || i.AuthProviderX509CertURL == nil {
		return ""
	}
	return *i.AuthProviderX509CertURL
}

func ( i * IntegrationGCPCreateRequest ) GetAuthProviderX509CertURL ( ) string { if i == nil || i . AuthProviderX509CertURL == nil { return " " } return * i . AuthProviderX509CertURL }

// GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non-nil, zero value otherwise.

GetAuthProviderX509CertURL returns the AuthProviderX509CertURL field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetAuthProviderX509CertURLOk() (string, bool) {
	if i == nil || i.AuthProviderX509CertURL == nil {
		return "", false
	}
	return *i.AuthProviderX509CertURL, true
}

func ( i * IntegrationGCPCreateRequest ) GetAuthProviderX509CertURLOk ( ) ( string , bool ) { if i == nil || i . AuthProviderX509CertURL == nil { return " " , false } return * i . AuthProviderX509CertURL , true }

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

GetAuthProviderX509CertURLOk returns a tuple with the AuthProviderX509CertURL field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasAuthProviderX509CertURL() bool {
	if i != nil && i.AuthProviderX509CertURL != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasAuthProviderX509CertURL ( ) bool { if i != nil && i . AuthProviderX509CertURL != nil { return true } return false }

// HasAuthProviderX509CertURL returns a boolean if a field has been set.

HasAuthProviderX509CertURL returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetAuthURI() string {
	if i == nil || i.AuthURI == nil {
		return ""
	}
	return *i.AuthURI
}

func ( i * IntegrationGCPCreateRequest ) GetAuthURI ( ) string { if i == nil || i . AuthURI == nil { return " " } return * i . AuthURI }

// GetAuthURI returns the AuthURI field if non-nil, zero value otherwise.

GetAuthURI returns the AuthURI field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetAuthURIOk() (string, bool) {
	if i == nil || i.AuthURI == nil {
		return "", false
	}
	return *i.AuthURI, true
}

func ( i * IntegrationGCPCreateRequest ) GetAuthURIOk ( ) ( string , bool ) { if i == nil || i . AuthURI == nil { return " " , false } return * i . AuthURI , true }

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

GetAuthURIOk returns a tuple with the AuthURI field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasAuthURI() bool {
	if i != nil && i.AuthURI != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasAuthURI ( ) bool { if i != nil && i . AuthURI != nil { return true } return false }

// HasAuthURI returns a boolean if a field has been set.

HasAuthURI returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetClientID() string {
	if i == nil || i.ClientID == nil {
		return ""
	}
	return *i.ClientID
}

func ( i * IntegrationGCPCreateRequest ) GetClientID ( ) string { if i == nil || i . ClientID == nil { return " " } return * i . ClientID }

// GetClientID returns the ClientID field if non-nil, zero value otherwise.

GetClientID returns the ClientID field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetClientIDOk() (string, bool) {
	if i == nil || i.ClientID == nil {
		return "", false
	}
	return *i.ClientID, true
}

func ( i * IntegrationGCPCreateRequest ) GetClientIDOk ( ) ( string , bool ) { if i == nil || i . ClientID == nil { return " " , false } return * i . ClientID , true }

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

GetClientIDOk returns a tuple with the ClientID field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasClientID() bool {
	if i != nil && i.ClientID != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasClientID ( ) bool { if i != nil && i . ClientID != nil { return true } return false }

// HasClientID returns a boolean if a field has been set.

HasClientID returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetClientX509CertURL() string {
	if i == nil || i.ClientX509CertURL == nil {
		return ""
	}
	return *i.ClientX509CertURL
}

func ( i * IntegrationGCPCreateRequest ) GetClientX509CertURL ( ) string { if i == nil || i . ClientX509CertURL == nil { return " " } return * i . ClientX509CertURL }

// GetClientX509CertURL returns the ClientX509CertURL field if non-nil, zero value otherwise.

GetClientX509CertURL returns the ClientX509CertURL field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetClientX509CertURLOk() (string, bool) {
	if i == nil || i.ClientX509CertURL == nil {
		return "", false
	}
	return *i.ClientX509CertURL, true
}

func ( i * IntegrationGCPCreateRequest ) GetClientX509CertURLOk ( ) ( string , bool ) { if i == nil || i . ClientX509CertURL == nil { return " " , false } return * i . ClientX509CertURL , true }

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

GetClientX509CertURLOk returns a tuple with the ClientX509CertURL field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasClientX509CertURL() bool {
	if i != nil && i.ClientX509CertURL != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasClientX509CertURL ( ) bool { if i != nil && i . ClientX509CertURL != nil { return true } return false }

// HasClientX509CertURL returns a boolean if a field has been set.

HasClientX509CertURL returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetHostFiltersOk() (string, bool) {
	if i == nil || i.HostFilters == nil {
		return "", false
	}
	return *i.HostFilters, true
}

func ( i * IntegrationGCPCreateRequest ) GetHostFiltersOk ( ) ( string , bool ) { if i == nil || i . HostFilters == nil { return " " , false } return * i . HostFilters , true }

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

GetHostFiltersOk returns a tuple with the HostFilters field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) GetPrivateKey() string {
	if i == nil || i.PrivateKey == nil {
		return ""
	}
	return *i.PrivateKey
}

func ( i * IntegrationGCPCreateRequest ) GetPrivateKey ( ) string { if i == nil || i . PrivateKey == nil { return " " } return * i . PrivateKey }

// GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

GetPrivateKey returns the PrivateKey field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetPrivateKeyOk() (string, bool) {
	if i == nil || i.PrivateKey == nil {
		return "", false
	}
	return *i.PrivateKey, true
}

func ( i * IntegrationGCPCreateRequest ) GetPrivateKeyOk ( ) ( string , bool ) { if i == nil || i . PrivateKey == nil { return " " , false } return * i . PrivateKey , true }

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

GetPrivateKeyOk returns a tuple with the PrivateKey field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasPrivateKey() bool {
	if i != nil && i.PrivateKey != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasPrivateKey ( ) bool { if i != nil && i . PrivateKey != nil { return true } return false }

// HasPrivateKey returns a boolean if a field has been set.

HasPrivateKey returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetPrivateKeyID() string {
	if i == nil || i.PrivateKeyID == nil {
		return ""
	}
	return *i.PrivateKeyID
}

func ( i * IntegrationGCPCreateRequest ) GetPrivateKeyID ( ) string { if i == nil || i . PrivateKeyID == nil { return " " } return * i . PrivateKeyID }

// GetPrivateKeyID returns the PrivateKeyID field if non-nil, zero value otherwise.

GetPrivateKeyID returns the PrivateKeyID field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetPrivateKeyIDOk() (string, bool) {
	if i == nil || i.PrivateKeyID == nil {
		return "", false
	}
	return *i.PrivateKeyID, true
}

func ( i * IntegrationGCPCreateRequest ) GetPrivateKeyIDOk ( ) ( string , bool ) { if i == nil || i . PrivateKeyID == nil { return " " , false } return * i . PrivateKeyID , true }

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

GetPrivateKeyIDOk returns a tuple with the PrivateKeyID field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasPrivateKeyID() bool {
	if i != nil && i.PrivateKeyID != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasPrivateKeyID ( ) bool { if i != nil && i . PrivateKeyID != nil { return true } return false }

// HasPrivateKeyID returns a boolean if a field has been set.

HasPrivateKeyID returns a boolean if a field has been set .


func (i *IntegrationGCPCreateRequest) GetTokenURI() string {
	if i == nil || i.TokenURI == nil {
		return ""
	}
	return *i.TokenURI
}

func ( i * IntegrationGCPCreateRequest ) GetTokenURI ( ) string { if i == nil || i . TokenURI == nil { return " " } return * i . TokenURI }

// GetTokenURI returns the TokenURI field if non-nil, zero value otherwise.

GetTokenURI returns the TokenURI field if non - nil zero value otherwise .


func (i *IntegrationGCPCreateRequest) GetTokenURIOk() (string, bool) {
	if i == nil || i.TokenURI == nil {
		return "", false
	}
	return *i.TokenURI, true
}

func ( i * IntegrationGCPCreateRequest ) GetTokenURIOk ( ) ( string , bool ) { if i == nil || i . TokenURI == nil { return " " , false } return * i . TokenURI , true }

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

GetTokenURIOk returns a tuple with the TokenURI field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPCreateRequest) HasTokenURI() bool {
	if i != nil && i.TokenURI != nil {
		return true
	}

	return false
}

func ( i * IntegrationGCPCreateRequest ) HasTokenURI ( ) bool { if i != nil && i . TokenURI != nil { return true } return false }

// HasTokenURI returns a boolean if a field has been set.

HasTokenURI returns a boolean if a field has been set .


func (i *IntegrationGCPDeleteRequest) GetClientEmailOk() (string, bool) {
	if i == nil || i.ClientEmail == nil {
		return "", false
	}
	return *i.ClientEmail, true
}

func ( i * IntegrationGCPDeleteRequest ) GetClientEmailOk ( ) ( string , bool ) { if i == nil || i . ClientEmail == nil { return " " , false } return * i . ClientEmail , true }

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

GetClientEmailOk returns a tuple with the ClientEmail field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *IntegrationGCPUpdateRequest) GetProjectIDOk() (string, bool) {
	if i == nil || i.ProjectID == nil {
		return "", false
	}
	return *i.ProjectID, true
}

func ( i * IntegrationGCPUpdateRequest ) GetProjectIDOk ( ) ( string , bool ) { if i == nil || i . ProjectID == nil { return " " , false } return * i . ProjectID , true }

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

GetProjectIDOk returns a tuple with the ProjectID field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *integrationPD) GetAPITokenOk() (string, bool) {
	if i == nil || i.APIToken == nil {
		return "", false
	}
	return *i.APIToken, true
}

func ( i * integrationPD ) GetAPITokenOk ( ) ( string , bool ) { if i == nil || i . APIToken == nil { return " " , false } return * i . APIToken , true }

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

GetAPITokenOk returns a tuple with the APIToken field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (i *integrationPD) GetSubdomainOk() (string, bool) {
	if i == nil || i.Subdomain == nil {
		return "", false
	}
	return *i.Subdomain, true
}

func ( i * integrationPD ) GetSubdomainOk ( ) ( string , bool ) { if i == nil || i . Subdomain == nil { return " " , false } return * i . Subdomain , true }

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

GetSubdomainOk returns a tuple with the Subdomain field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (l *LogSet) GetID() json.Number {
	if l == nil || l.ID == nil {
		return ""
	}
	return *l.ID
}

func ( l * LogSet ) GetID ( ) json . Number { if l == nil || l . ID == nil { return " " } return * l . ID }

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

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


func (l *LogSet) GetIDOk() (json.Number, bool) {
	if l == nil || l.ID == nil {
		return "", false
	}
	return *l.ID, true
}

func ( l * LogSet ) GetIDOk ( ) ( json . Number , bool ) { if l == nil || l . ID == nil { return " " , false } return * l . ID , true }

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

GetIDOk returns a tuple with the ID field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (l *LogSet) HasID() bool {
	if l != nil && l.ID != nil {
		return true
	}

	return false
}

func ( l * LogSet ) HasID ( ) bool { if l != nil && l . ID != nil { return true } return false }

// HasID returns a boolean if a field has been set.

HasID returns a boolean if a field has been set .


func (m *MetricMetadata) GetPerUnit() string {
	if m == nil || m.PerUnit == nil {
		return ""
	}
	return *m.PerUnit
}

func ( m * MetricMetadata ) GetPerUnit ( ) string { if m == nil || m . PerUnit == nil { return " " } return * m . PerUnit }

// GetPerUnit returns the PerUnit field if non-nil, zero value otherwise.

GetPerUnit returns the PerUnit field if non - nil zero value otherwise .


func (m *MetricMetadata) GetPerUnitOk() (string, bool) {
	if m == nil || m.PerUnit == nil {
		return "", false
	}
	return *m.PerUnit, true
}

func ( m * MetricMetadata ) GetPerUnitOk ( ) ( string , bool ) { if m == nil || m . PerUnit == nil { return " " , false } return * m . PerUnit , true }

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

GetPerUnitOk returns a tuple with the PerUnit field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (m *MetricMetadata) HasPerUnit() bool {
	if m != nil && m.PerUnit != nil {
		return true
	}

	return false
}

func ( m * MetricMetadata ) HasPerUnit ( ) bool { if m != nil && m . PerUnit != nil { return true } return false }

// HasPerUnit returns a boolean if a field has been set.

HasPerUnit returns a boolean if a field has been set .


func (m *MetricMetadata) GetShortName() string {
	if m == nil || m.ShortName == nil {
		return ""
	}
	return *m.ShortName
}

func ( m * MetricMetadata ) GetShortName ( ) string { if m == nil || m . ShortName == nil { return " " } return * m . ShortName }

// GetShortName returns the ShortName field if non-nil, zero value otherwise.

GetShortName returns the ShortName field if non - nil zero value otherwise .


func (m *MetricMetadata) GetShortNameOk() (string, bool) {
	if m == nil || m.ShortName == nil {
		return "", false
	}
	return *m.ShortName, true
}

func ( m * MetricMetadata ) GetShortNameOk ( ) ( string , bool ) { if m == nil || m . ShortName == nil { return " " , false } return * m . ShortName , true }

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

GetShortNameOk returns a tuple with the ShortName field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (m *MetricMetadata) HasShortName() bool {
	if m != nil && m.ShortName != nil {
		return true
	}

	return false
}

func ( m * MetricMetadata ) HasShortName ( ) bool { if m != nil && m . ShortName != nil { return true } return false }

// HasShortName returns a boolean if a field has been set.

HasShortName returns a boolean if a field has been set .


func (m *MetricMetadata) GetStatsdInterval() int {
	if m == nil || m.StatsdInterval == nil {
		return 0
	}
	return *m.StatsdInterval
}

func ( m * MetricMetadata ) GetStatsdInterval ( ) int { if m == nil || m . StatsdInterval == nil { return 0 } return * m . StatsdInterval }

// GetStatsdInterval returns the StatsdInterval field if non-nil, zero value otherwise.

GetStatsdInterval returns the StatsdInterval field if non - nil zero value otherwise .


func (m *MetricMetadata) GetStatsdIntervalOk() (int, bool) {
	if m == nil || m.StatsdInterval == nil {
		return 0, false
	}
	return *m.StatsdInterval, true
}

func ( m * MetricMetadata ) GetStatsdIntervalOk ( ) ( int , bool ) { if m == nil || m . StatsdInterval == nil { return 0 , false } return * m . StatsdInterval , true }

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

GetStatsdIntervalOk returns a tuple with the StatsdInterval field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (m *MetricMetadata) HasStatsdInterval() bool {
	if m != nil && m.StatsdInterval != nil {
		return true
	}

	return false
}

func ( m * MetricMetadata ) HasStatsdInterval ( ) bool { if m != nil && m . StatsdInterval != nil { return true } return false }

// HasStatsdInterval returns a boolean if a field has been set.

HasStatsdInterval returns a boolean if a field has been set .


func (m *Monitor) GetOverallState() string {
	if m == nil || m.OverallState == nil {
		return ""
	}
	return *m.OverallState
}

func ( m * Monitor ) GetOverallState ( ) string { if m == nil || m . OverallState == nil { return " " } return * m . OverallState }

// GetOverallState returns the OverallState field if non-nil, zero value otherwise.

GetOverallState returns the OverallState field if non - nil zero value otherwise .


func (m *Monitor) GetOverallStateOk() (string, bool) {
	if m == nil || m.OverallState == nil {
		return "", false
	}
	return *m.OverallState, true
}

func ( m * Monitor ) GetOverallStateOk ( ) ( string , bool ) { if m == nil || m . OverallState == nil { return " " , false } return * m . OverallState , true }

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

GetOverallStateOk returns a tuple with the OverallState field if it s non - nil zero value otherwise and a boolean to check if the value has been set .


func (m *Monitor) HasOverallState() bool {
	if m != nil && m.OverallState != nil {
		return true
	}

	return false
}

func ( m * Monitor ) HasOverallState ( ) bool { if m != nil && m . OverallState != nil { return true } return false }

// HasOverallState returns a boolean if a field has been set.

HasOverallState returns a boolean if a field has been set .


func (m *Monitor) GetOverallStateModified() string {
	if m == nil || m.OverallStateModified == nil {
		return ""
	}
	return *m.OverallStateModified
}

func ( m * Monitor ) GetOverallStateModified ( ) string { if m == nil || m . OverallStateModified == nil { return " " } return * m . OverallStateModified }

// GetOverallStateModified returns the OverallStateModified field if non-nil, zero value otherwise.

GetOverallStateModified returns the OverallStateModified field if non - nil zero value otherwise .


func (m *Monitor) GetOverallStateModifiedOk() (string, bool) {
	if m == nil || m.OverallStateModified == nil {
		return "", false
	}
	return *m.OverallStateModified, true
}

func ( m * Monitor ) GetOverallStateModifiedOk ( ) ( string , bool ) { if m == nil || m . OverallStateModified == nil { return " " , false } return * m . OverallStateModified , true }

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

GetOverallStateModifiedOk returns a tuple with the OverallStateModified field if it s non - nil zero value otherwise and a boolean to check if the value has been set .