Package com.datadog.api.client.v2.model
Class SimpleMonitorUserTemplate
java.lang.Object
com.datadog.api.client.v2.model.SimpleMonitorUserTemplate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SimpleMonitorUserTemplate
extends Object
A simplified version of a monitor user template.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) addTemplateVariablesItem(MonitorUserTemplateTemplateVariablesItems templateVariablesItem) description(String description) booleanReturn true if this SimpleMonitorUserTemplate 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>getId()The unique identifier.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>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) voidvoidsetMonitorDefinition(Map<String, Object> monitorDefinition) voidvoidsetTemplateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) voidtemplateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- 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:
-
-
Constructor Details
-
SimpleMonitorUserTemplate
public SimpleMonitorUserTemplate()
-
-
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
-
id
-
getId
The unique identifier. The initial version will match the template ID.- Returns:
- id
-
setId
-
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 SimpleMonitorUserTemplate templateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) -
addTemplateVariablesItem
public SimpleMonitorUserTemplate 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
-
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:
- SimpleMonitorUserTemplate
-
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 SimpleMonitorUserTemplate object is equal to o. -
hashCode
public int hashCode() -
toString
-