Package com.datadog.api.client.v2.model
Class MonitorUserTemplate
java.lang.Object
com.datadog.api.client.v2.model.MonitorUserTemplate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorUserTemplate
extends Object
A monitor user template object.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) addTemplateVariablesItem(MonitorUserTemplateTemplateVariablesItems templateVariablesItem) addVersionsItem(SimpleMonitorUserTemplate versionsItem) description(String description) booleanReturn true if this MonitorUserTemplate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The created timestamp of the template.A brief description of the monitor user template.org.openapitools.jackson.nullable.JsonNullable<String>The last modified timestamp.A valid monitor definition in the same format as the V1 Monitor API.getTags()The definition ofMonitorUserTemplateTagsobject.The definition ofMonitorUserTemplateTemplateVariablesobject.getTitle()The title of the monitor user template.The version of the monitor user template.org.openapitools.jackson.nullable.JsonNullable<Long>All versions of the monitor user template.inthashCode()monitorDefinition(Map<String, Object> monitorDefinition) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putMonitorDefinitionItem(String key, Object monitorDefinitionItem) voidsetDescription(String description) voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) voidsetMonitorDefinition(Map<String, Object> monitorDefinition) voidvoidsetTemplateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) voidvoidsetVersions(List<SimpleMonitorUserTemplate> versions) templateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) toString()versions(List<SimpleMonitorUserTemplate> versions)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_MONITOR_DEFINITION
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEMPLATE_VARIABLES
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_VERSIONS
- See Also:
-
-
Constructor Details
-
MonitorUserTemplate
public MonitorUserTemplate()
-
-
Method Details
-
getCreated
The created timestamp of the template.- Returns:
- created
-
description
-
getDescription
A brief description of the monitor user template.- Returns:
- description
-
getDescription_JsonNullable
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) -
setDescription
-
getModified
The last modified timestamp. When the template version was created.- Returns:
- modified
-
monitorDefinition
-
putMonitorDefinitionItem
-
getMonitorDefinition
A valid monitor definition in the same format as the V1 Monitor API.- Returns:
- monitorDefinition
-
setMonitorDefinition
-
tags
-
addTagsItem
-
getTags
The definition ofMonitorUserTemplateTagsobject.- Returns:
- tags
-
setTags
-
templateVariables
public MonitorUserTemplate templateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) -
addTemplateVariablesItem
public MonitorUserTemplate addTemplateVariablesItem(MonitorUserTemplateTemplateVariablesItems templateVariablesItem) -
getTemplateVariables
The definition ofMonitorUserTemplateTemplateVariablesobject.- Returns:
- templateVariables
-
setTemplateVariables
-
title
-
getTitle
The title of the monitor user template.- Returns:
- title
-
setTitle
-
getVersion
The version of the monitor user template.- Returns:
- version
-
getVersion_JsonNullable
-
versions
-
addVersionsItem
-
getVersions
All versions of the monitor user template.- Returns:
- versions
-
setVersions
-
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:
- MonitorUserTemplate
-
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 MonitorUserTemplate object is equal to o. -
hashCode
public int hashCode() -
toString
-