Name | Type | Description | Notes |
---|---|---|---|
Classification | Pointer to string | Classification of the monitor. | [optional] [readonly] |
Creator | Pointer to Creator | [optional] | |
Id | Pointer to int64 | ID of the monitor. | [optional] [readonly] |
LastTriggeredTs | Pointer to NullableInt64 | Latest timestamp the monitor triggered. | [optional] [readonly] |
Metrics | Pointer to []string | Metrics used by the monitor. | [optional] [readonly] |
Name | Pointer to string | The monitor name. | [optional] [readonly] |
Notifications | Pointer to []MonitorSearchResultNotification | The notification triggered by the monitor. | [optional] [readonly] |
OrgId | Pointer to int64 | The ID of the organization. | [optional] [readonly] |
Scopes | Pointer to []string | The scope(s) to which the downtime applies, e.g. `host:app2`. Provide multiple scopes as a comma-separated list, e.g. `env:dev,env:prod`. The resulting downtime applies to sources that matches ALL provided scopes (i.e. `env:dev AND env:prod`), NOT any of them. | [optional] |
Status | Pointer to MonitorOverallStates | [optional] | |
Tags | Pointer to []string | Tags associated with the monitor. | [optional] [readonly] |
Type | Pointer to MonitorType | [optional] |
func NewMonitorSearchResult() *MonitorSearchResult
NewMonitorSearchResult instantiates a new MonitorSearchResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMonitorSearchResultWithDefaults() *MonitorSearchResult
NewMonitorSearchResultWithDefaults instantiates a new MonitorSearchResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *MonitorSearchResult) GetClassification() string
GetClassification returns the Classification field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetClassificationOk() (*string, bool)
GetClassificationOk returns a tuple with the Classification field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetClassification(v string)
SetClassification sets Classification field to given value.
func (o *MonitorSearchResult) HasClassification() bool
HasClassification returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetCreator() Creator
GetCreator returns the Creator field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetCreatorOk() (*Creator, bool)
GetCreatorOk returns a tuple with the Creator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetCreator(v Creator)
SetCreator sets Creator field to given value.
func (o *MonitorSearchResult) HasCreator() bool
HasCreator returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetId(v int64)
SetId sets Id field to given value.
func (o *MonitorSearchResult) HasId() bool
HasId returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetLastTriggeredTs() int64
GetLastTriggeredTs returns the LastTriggeredTs field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetLastTriggeredTsOk() (*int64, bool)
GetLastTriggeredTsOk returns a tuple with the LastTriggeredTs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetLastTriggeredTs(v int64)
SetLastTriggeredTs sets LastTriggeredTs field to given value.
func (o *MonitorSearchResult) HasLastTriggeredTs() bool
HasLastTriggeredTs returns a boolean if a field has been set.
func (o *MonitorSearchResult) SetLastTriggeredTsNil(b bool)
SetLastTriggeredTsNil sets the value for LastTriggeredTs to be an explicit nil
func (o *MonitorSearchResult) UnsetLastTriggeredTs()
UnsetLastTriggeredTs ensures that no value is present for LastTriggeredTs, not even an explicit nil
func (o *MonitorSearchResult) GetMetrics() []string
GetMetrics returns the Metrics field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetMetricsOk() (*[]string, bool)
GetMetricsOk returns a tuple with the Metrics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetMetrics(v []string)
SetMetrics sets Metrics field to given value.
func (o *MonitorSearchResult) HasMetrics() bool
HasMetrics returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetName(v string)
SetName sets Name field to given value.
func (o *MonitorSearchResult) HasName() bool
HasName returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetNotifications() []MonitorSearchResultNotification
GetNotifications returns the Notifications field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetNotificationsOk() (*[]MonitorSearchResultNotification, bool)
GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetNotifications(v []MonitorSearchResultNotification)
SetNotifications sets Notifications field to given value.
func (o *MonitorSearchResult) HasNotifications() bool
HasNotifications returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetOrgId() int64
GetOrgId returns the OrgId field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetOrgIdOk() (*int64, bool)
GetOrgIdOk returns a tuple with the OrgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetOrgId(v int64)
SetOrgId sets OrgId field to given value.
func (o *MonitorSearchResult) HasOrgId() bool
HasOrgId returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetScopes() []string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetScopes(v []string)
SetScopes sets Scopes field to given value.
func (o *MonitorSearchResult) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetStatus() MonitorOverallStates
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetStatusOk() (*MonitorOverallStates, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetStatus(v MonitorOverallStates)
SetStatus sets Status field to given value.
func (o *MonitorSearchResult) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *MonitorSearchResult) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *MonitorSearchResult) GetType() MonitorType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *MonitorSearchResult) GetTypeOk() (*MonitorType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MonitorSearchResult) SetType(v MonitorType)
SetType sets Type field to given value.
func (o *MonitorSearchResult) HasType() bool
HasType returns a boolean if a field has been set.