Skip to content

Commit cae0f0b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit eeac4ac of spec repo
1 parent c8775b4 commit cae0f0b

6 files changed

Lines changed: 28 additions & 25 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7199,13 +7199,14 @@ components:
71997199
- fixes
72007200
type: object
72017201
Annotation:
7202-
description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!"
7202+
description: A text annotation displayed on the workflow canvas.
72037203
properties:
72047204
display:
72057205
$ref: "#/components/schemas/AnnotationDisplay"
72067206
id:
7207-
description: The `Annotation` `id`.
7207+
description: The unique identifier of this annotation within the workflow.
72087208
example: ""
7209+
minLength: 1
72097210
type: string
72107211
markdownTextAnnotation:
72117212
$ref: "#/components/schemas/AnnotationMarkdownTextAnnotation"
@@ -7362,28 +7363,28 @@ components:
73627363
- attributes
73637364
type: object
73647365
AnnotationDisplay:
7365-
description: The definition of `AnnotationDisplay` object.
7366+
description: The annotation's position and size on the workflow canvas.
73667367
properties:
73677368
bounds:
73687369
$ref: "#/components/schemas/AnnotationDisplayBounds"
73697370
type: object
73707371
AnnotationDisplayBounds:
7371-
description: The definition of `AnnotationDisplayBounds` object.
7372+
description: Canvas coordinates and dimensions for an annotation on the workflow canvas.
73727373
properties:
73737374
height:
7374-
description: The `bounds` `height`.
7375+
description: The annotation's height on the canvas.
73757376
format: double
73767377
type: number
73777378
width:
7378-
description: The `bounds` `width`.
7379+
description: The annotation's width on the canvas.
73797380
format: double
73807381
type: number
73817382
x:
7382-
description: The `bounds` `x`.
7383+
description: The annotation's horizontal canvas coordinate.
73837384
format: double
73847385
type: number
73857386
y:
7386-
description: The `bounds` `y`.
7387+
description: The annotation's vertical canvas coordinate.
73877388
format: double
73887389
type: number
73897390
type: object
@@ -7467,10 +7468,11 @@ components:
74677468
- POINT_IN_TIME
74687469
- TIME_REGION
74697470
AnnotationMarkdownTextAnnotation:
7470-
description: The definition of `AnnotationMarkdownTextAnnotation` object.
7471+
description: Markdown content displayed in an annotation.
74717472
properties:
74727473
text:
7473-
description: The `markdownTextAnnotation` `text`.
7474+
description: The annotation's Markdown content.
7475+
maxLength: 3000
74747476
type: string
74757477
type: object
74767478
AnnotationRequestData:
@@ -105142,9 +105144,10 @@ components:
105142105144
description: A complete Workflow Automation definition, including its triggers, steps, and connections.
105143105145
properties:
105144105146
annotations:
105145-
description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!"
105147+
description: Up to 100 text annotations displayed on the workflow canvas.
105146105148
items:
105147105149
$ref: "#/components/schemas/Annotation"
105150+
maxItems: 100
105148105151
type: array
105149105152
connectionEnvs:
105150105153
description: A list of connections or connection groups used in the workflow.

src/main/java/com/datadog/api/client/v2/model/Annotation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import java.util.Map;
1818
import java.util.Objects;
1919

20-
/** A list of annotations used in the workflow. These are like sticky notes for your workflow! */
20+
/** A text annotation displayed on the workflow canvas. */
2121
@JsonPropertyOrder({
2222
Annotation.JSON_PROPERTY_DISPLAY,
2323
Annotation.JSON_PROPERTY_ID,
@@ -58,7 +58,7 @@ public Annotation display(AnnotationDisplay display) {
5858
}
5959

6060
/**
61-
* The definition of <code>AnnotationDisplay</code> object.
61+
* The annotation's position and size on the workflow canvas.
6262
*
6363
* @return display
6464
*/
@@ -81,7 +81,7 @@ public Annotation id(String id) {
8181
}
8282

8383
/**
84-
* The <code>Annotation</code> <code>id</code>.
84+
* The unique identifier of this annotation within the workflow.
8585
*
8686
* @return id
8787
*/
@@ -103,7 +103,7 @@ public Annotation markdownTextAnnotation(
103103
}
104104

105105
/**
106-
* The definition of <code>AnnotationMarkdownTextAnnotation</code> object.
106+
* Markdown content displayed in an annotation.
107107
*
108108
* @return markdownTextAnnotation
109109
*/

src/main/java/com/datadog/api/client/v2/model/AnnotationDisplay.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** The definition of <code>AnnotationDisplay</code> object. */
19+
/** The annotation's position and size on the workflow canvas. */
2020
@JsonPropertyOrder({AnnotationDisplay.JSON_PROPERTY_BOUNDS})
2121
@jakarta.annotation.Generated(
2222
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -32,7 +32,7 @@ public AnnotationDisplay bounds(AnnotationDisplayBounds bounds) {
3232
}
3333

3434
/**
35-
* The definition of <code>AnnotationDisplayBounds</code> object.
35+
* Canvas coordinates and dimensions for an annotation on the workflow canvas.
3636
*
3737
* @return bounds
3838
*/

src/main/java/com/datadog/api/client/v2/model/AnnotationDisplayBounds.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** The definition of <code>AnnotationDisplayBounds</code> object. */
19+
/** Canvas coordinates and dimensions for an annotation on the workflow canvas. */
2020
@JsonPropertyOrder({
2121
AnnotationDisplayBounds.JSON_PROPERTY_HEIGHT,
2222
AnnotationDisplayBounds.JSON_PROPERTY_WIDTH,
@@ -45,7 +45,7 @@ public AnnotationDisplayBounds height(Double height) {
4545
}
4646

4747
/**
48-
* The <code>bounds</code> <code>height</code>.
48+
* The annotation's height on the canvas.
4949
*
5050
* @return height
5151
*/
@@ -66,7 +66,7 @@ public AnnotationDisplayBounds width(Double width) {
6666
}
6767

6868
/**
69-
* The <code>bounds</code> <code>width</code>.
69+
* The annotation's width on the canvas.
7070
*
7171
* @return width
7272
*/
@@ -87,7 +87,7 @@ public AnnotationDisplayBounds x(Double x) {
8787
}
8888

8989
/**
90-
* The <code>bounds</code> <code>x</code>.
90+
* The annotation's horizontal canvas coordinate.
9191
*
9292
* @return x
9393
*/
@@ -108,7 +108,7 @@ public AnnotationDisplayBounds y(Double y) {
108108
}
109109

110110
/**
111-
* The <code>bounds</code> <code>y</code>.
111+
* The annotation's vertical canvas coordinate.
112112
*
113113
* @return y
114114
*/

src/main/java/com/datadog/api/client/v2/model/AnnotationMarkdownTextAnnotation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** The definition of <code>AnnotationMarkdownTextAnnotation</code> object. */
19+
/** Markdown content displayed in an annotation. */
2020
@JsonPropertyOrder({AnnotationMarkdownTextAnnotation.JSON_PROPERTY_TEXT})
2121
@jakarta.annotation.Generated(
2222
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -31,7 +31,7 @@ public AnnotationMarkdownTextAnnotation text(String text) {
3131
}
3232

3333
/**
34-
* The <code>markdownTextAnnotation</code> <code>text</code>.
34+
* The annotation's Markdown content.
3535
*
3636
* @return text
3737
*/

src/main/java/com/datadog/api/client/v2/model/Spec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public Spec addAnnotationsItem(Annotation annotationsItem) {
7373
}
7474

7575
/**
76-
* A list of annotations used in the workflow. These are like sticky notes for your workflow!
76+
* Up to 100 text annotations displayed on the workflow canvas.
7777
*
7878
* @return annotations
7979
*/

0 commit comments

Comments
 (0)