Package com.datadog.api.client.v2.model
Class Annotation
java.lang.Object
com.datadog.api.client.v2.model.Annotation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Annotation
extends Object
A text annotation displayed on the workflow canvas.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(AnnotationDisplay display, String id, AnnotationMarkdownTextAnnotation markdownTextAnnotation) -
Method Summary
Modifier and TypeMethodDescriptiondisplay(AnnotationDisplay display) booleanReturn true if this Annotation object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The annotation's position and size on the workflow canvas.getId()The unique identifier of this annotation within the workflow.Markdown content displayed in an annotation.inthashCode()markdownTextAnnotation(AnnotationMarkdownTextAnnotation markdownTextAnnotation) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplay(AnnotationDisplay display) voidvoidsetMarkdownTextAnnotation(AnnotationMarkdownTextAnnotation markdownTextAnnotation) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MARKDOWN_TEXT_ANNOTATION
- See Also:
-
-
Constructor Details
-
Annotation
public Annotation() -
Annotation
public Annotation(AnnotationDisplay display, String id, AnnotationMarkdownTextAnnotation markdownTextAnnotation)
-
-
Method Details
-
display
-
getDisplay
The annotation's position and size on the workflow canvas.- Returns:
- display
-
setDisplay
-
id
-
getId
The unique identifier of this annotation within the workflow.- Returns:
- id
-
setId
-
markdownTextAnnotation
-
getMarkdownTextAnnotation
Markdown content displayed in an annotation.- Returns:
- markdownTextAnnotation
-
setMarkdownTextAnnotation
-
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:
- Annotation
-
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 Annotation object is equal to o. -
hashCode
public int hashCode() -
toString
-