Package com.datadog.api.client.v1.model
Class MonitorSearchResult
java.lang.Object
com.datadog.api.client.v1.model.MonitorSearchResult
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorSearchResult
extends Object
Holds search results.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem(String scopesItem) booleanReturn true if this MonitorSearchResult object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Classification of the monitor.Object describing the creator of the shared element.getId()ID of the monitor.Latest timestamp the monitor triggered.org.openapitools.jackson.nullable.JsonNullable<Long>Metrics used by the monitor.getName()The monitor name.The notification triggered by the monitor.getOrgId()The ID of the organization.Quality issues detected with the monitor.getQuery()The monitor query.The scope(s) to which the downtime applies, for examplehost:app2.The different states your monitor can be in.getTags()Tags associated with the monitor.getType()The type of the monitor.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetType(MonitorType type) toString()type(MonitorType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CLASSIFICATION
- See Also:
-
JSON_PROPERTY_CREATOR
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_TRIGGERED_TS
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NOTIFICATIONS
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_QUALITY_ISSUES
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
MonitorSearchResult
public MonitorSearchResult()
-
-
Method Details
-
getClassification
Classification of the monitor.- Returns:
- classification
-
getCreator
Object describing the creator of the shared element.- Returns:
- creator
-
getId
ID of the monitor.- Returns:
- id
-
getLastTriggeredTs
Latest timestamp the monitor triggered.- Returns:
- lastTriggeredTs
-
getLastTriggeredTs_JsonNullable
-
getMetrics
Metrics used by the monitor.- Returns:
- metrics
-
getName
The monitor name.- Returns:
- name
-
getNotifications
The notification triggered by the monitor.- Returns:
- notifications
-
getOrgId
The ID of the organization.- Returns:
- orgId
-
getQualityIssues
Quality issues detected with the monitor.- Returns:
- qualityIssues
-
query
-
getQuery
The monitor query.- Returns:
- query
-
setQuery
-
scopes
-
addScopesItem
-
getScopes
The scope(s) to which the downtime applies, for examplehost:app2. Provide multiple scopes as a comma-separated list, for exampleenv:dev,env:prod. The resulting downtime applies to sources that matches ALL provided scopes (that isenv:dev AND env:prod), NOT any of them.- Returns:
- scopes
-
setScopes
-
getStatus
The different states your monitor can be in.- Returns:
- status
-
getTags
Tags associated with the monitor.- Returns:
- tags
-
type
-
getType
The type of the monitor. For more information abouttype, see the monitor options docs.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- MonitorSearchResult
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this MonitorSearchResult object is equal to o. -
hashCode
public int hashCode() -
toString
-