Skip to content

Commit cc900b2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 261dc2c of spec repo
1 parent cacdea3 commit cc900b2

7 files changed

Lines changed: 858 additions & 4 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26558,6 +26558,9 @@ components:
2655826558
description:
2655926559
description: Description of the degradation.
2656026560
type: string
26561+
is_backfilled:
26562+
description: Whether the degradation was backfilled.
26563+
type: boolean
2656126564
modified_at:
2656226565
description: Timestamp of when the degradation was last modified.
2656326566
format: date-time
@@ -50290,6 +50293,9 @@ components:
5029050293
in_progress_description:
5029150294
description: The description shown while the maintenance is in progress.
5029250295
type: string
50296+
is_backfilled:
50297+
description: Whether the maintenance was backfilled.
50298+
type: boolean
5029350299
modified_at:
5029450300
description: Timestamp of when the maintenance was last modified.
5029550301
format: date-time
@@ -55624,6 +55630,7 @@ components:
5562455630
- $ref: "#/components/schemas/ObservabilityPipelineSyslogNgDestination"
5562555631
- $ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestination"
5562655632
- $ref: "#/components/schemas/ObservabilityPipelineDatadogMetricsDestination"
55633+
- $ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestination"
5562755634
ObservabilityPipelineConfigPipelineType:
5562855635
default: logs
5562955636
description: The type of data being ingested. Defaults to `logs` if not specified.
@@ -59745,6 +59752,81 @@ components:
5974559752
type: string
5974659753
x-enum-varnames:
5974759754
- SPLUNK_HEC
59755+
ObservabilityPipelineSplunkHecMetricsDestination:
59756+
description: |-
59757+
The `splunk_hec_metrics` destination forwards metrics to Splunk using the HTTP Event Collector (HEC).
59758+
59759+
**Supported pipeline types:** metrics
59760+
properties:
59761+
buffer:
59762+
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
59763+
compression:
59764+
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestinationCompression"
59765+
default_namespace:
59766+
description: Optional default namespace for metrics sent to Splunk HEC.
59767+
example: "custom_namespace"
59768+
type: string
59769+
endpoint_url_key:
59770+
description: Name of the environment variable or secret that holds the Splunk HEC endpoint URL.
59771+
example: SPLUNK_HEC_ENDPOINT_URL
59772+
type: string
59773+
id:
59774+
description: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
59775+
example: splunk-hec-metrics-destination
59776+
type: string
59777+
index:
59778+
description: Optional name of the Splunk index where metrics are written.
59779+
example: "metrics"
59780+
type: string
59781+
inputs:
59782+
description: A list of component IDs whose output is used as the `input` for this component.
59783+
example: ["metrics-filter-processor"]
59784+
items:
59785+
description: The ID of a component whose output is used as input for this destination.
59786+
type: string
59787+
type: array
59788+
source:
59789+
description: The Splunk source field value for metric events.
59790+
example: "observability_pipelines"
59791+
type: string
59792+
sourcetype:
59793+
description: The Splunk sourcetype to assign to metric events.
59794+
example: "custom_sourcetype"
59795+
type: string
59796+
tls:
59797+
$ref: "#/components/schemas/ObservabilityPipelineTls"
59798+
token_key:
59799+
description: Name of the environment variable or secret that holds the Splunk HEC token.
59800+
example: SPLUNK_HEC_TOKEN
59801+
type: string
59802+
type:
59803+
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestinationType"
59804+
required:
59805+
- id
59806+
- type
59807+
- inputs
59808+
type: object
59809+
x-pipeline-types: [metrics]
59810+
ObservabilityPipelineSplunkHecMetricsDestinationCompression:
59811+
default: none
59812+
description: Compression algorithm applied when sending metrics to Splunk HEC.
59813+
enum:
59814+
- none
59815+
- gzip
59816+
example: none
59817+
type: string
59818+
x-enum-varnames:
59819+
- NONE
59820+
- GZIP
59821+
ObservabilityPipelineSplunkHecMetricsDestinationType:
59822+
default: splunk_hec_metrics
59823+
description: The destination type. Always `splunk_hec_metrics`.
59824+
enum:
59825+
- splunk_hec_metrics
59826+
example: splunk_hec_metrics
59827+
type: string
59828+
x-enum-varnames:
59829+
- SPLUNK_HEC_METRICS
5974859830
ObservabilityPipelineSplunkHecSource:
5974959831
description: |-
5975059832
The `splunk_hec` source implements the Splunk HTTP Event Collector (HEC) API.

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
DegradationDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED,
2525
DegradationDataAttributes.JSON_PROPERTY_CREATED_AT,
2626
DegradationDataAttributes.JSON_PROPERTY_DESCRIPTION,
27+
DegradationDataAttributes.JSON_PROPERTY_IS_BACKFILLED,
2728
DegradationDataAttributes.JSON_PROPERTY_MODIFIED_AT,
2829
DegradationDataAttributes.JSON_PROPERTY_SOURCE,
2930
DegradationDataAttributes.JSON_PROPERTY_STATUS,
@@ -43,6 +44,9 @@ public class DegradationDataAttributes {
4344
public static final String JSON_PROPERTY_DESCRIPTION = "description";
4445
private String description;
4546

47+
public static final String JSON_PROPERTY_IS_BACKFILLED = "is_backfilled";
48+
private Boolean isBackfilled;
49+
4650
public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at";
4751
private OffsetDateTime modifiedAt;
4852

@@ -136,6 +140,27 @@ public void setDescription(String description) {
136140
this.description = description;
137141
}
138142

143+
public DegradationDataAttributes isBackfilled(Boolean isBackfilled) {
144+
this.isBackfilled = isBackfilled;
145+
return this;
146+
}
147+
148+
/**
149+
* Whether the degradation was backfilled.
150+
*
151+
* @return isBackfilled
152+
*/
153+
@jakarta.annotation.Nullable
154+
@JsonProperty(JSON_PROPERTY_IS_BACKFILLED)
155+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
156+
public Boolean getIsBackfilled() {
157+
return isBackfilled;
158+
}
159+
160+
public void setIsBackfilled(Boolean isBackfilled) {
161+
this.isBackfilled = isBackfilled;
162+
}
163+
139164
public DegradationDataAttributes modifiedAt(OffsetDateTime modifiedAt) {
140165
this.modifiedAt = modifiedAt;
141166
return this;
@@ -318,6 +343,7 @@ public boolean equals(Object o) {
318343
return Objects.equals(this.componentsAffected, degradationDataAttributes.componentsAffected)
319344
&& Objects.equals(this.createdAt, degradationDataAttributes.createdAt)
320345
&& Objects.equals(this.description, degradationDataAttributes.description)
346+
&& Objects.equals(this.isBackfilled, degradationDataAttributes.isBackfilled)
321347
&& Objects.equals(this.modifiedAt, degradationDataAttributes.modifiedAt)
322348
&& Objects.equals(this.source, degradationDataAttributes.source)
323349
&& Objects.equals(this.status, degradationDataAttributes.status)
@@ -333,6 +359,7 @@ public int hashCode() {
333359
componentsAffected,
334360
createdAt,
335361
description,
362+
isBackfilled,
336363
modifiedAt,
337364
source,
338365
status,
@@ -348,6 +375,7 @@ public String toString() {
348375
sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n");
349376
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
350377
sb.append(" description: ").append(toIndentedString(description)).append("\n");
378+
sb.append(" isBackfilled: ").append(toIndentedString(isBackfilled)).append("\n");
351379
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
352380
sb.append(" source: ").append(toIndentedString(source)).append("\n");
353381
sb.append(" status: ").append(toIndentedString(status)).append("\n");

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION,
2626
MaintenanceDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED,
2727
MaintenanceDataAttributes.JSON_PROPERTY_IN_PROGRESS_DESCRIPTION,
28+
MaintenanceDataAttributes.JSON_PROPERTY_IS_BACKFILLED,
2829
MaintenanceDataAttributes.JSON_PROPERTY_MODIFIED_AT,
2930
MaintenanceDataAttributes.JSON_PROPERTY_PUBLISHED_DATE,
3031
MaintenanceDataAttributes.JSON_PROPERTY_SCHEDULED_DESCRIPTION,
@@ -49,6 +50,9 @@ public class MaintenanceDataAttributes {
4950
public static final String JSON_PROPERTY_IN_PROGRESS_DESCRIPTION = "in_progress_description";
5051
private String inProgressDescription;
5152

53+
public static final String JSON_PROPERTY_IS_BACKFILLED = "is_backfilled";
54+
private Boolean isBackfilled;
55+
5256
public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at";
5357
private OffsetDateTime modifiedAt;
5458

@@ -169,6 +173,27 @@ public void setInProgressDescription(String inProgressDescription) {
169173
this.inProgressDescription = inProgressDescription;
170174
}
171175

176+
public MaintenanceDataAttributes isBackfilled(Boolean isBackfilled) {
177+
this.isBackfilled = isBackfilled;
178+
return this;
179+
}
180+
181+
/**
182+
* Whether the maintenance was backfilled.
183+
*
184+
* @return isBackfilled
185+
*/
186+
@jakarta.annotation.Nullable
187+
@JsonProperty(JSON_PROPERTY_IS_BACKFILLED)
188+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189+
public Boolean getIsBackfilled() {
190+
return isBackfilled;
191+
}
192+
193+
public void setIsBackfilled(Boolean isBackfilled) {
194+
this.isBackfilled = isBackfilled;
195+
}
196+
172197
public MaintenanceDataAttributes modifiedAt(OffsetDateTime modifiedAt) {
173198
this.modifiedAt = modifiedAt;
174199
return this;
@@ -394,6 +419,7 @@ public boolean equals(Object o) {
394419
&& Objects.equals(this.componentsAffected, maintenanceDataAttributes.componentsAffected)
395420
&& Objects.equals(
396421
this.inProgressDescription, maintenanceDataAttributes.inProgressDescription)
422+
&& Objects.equals(this.isBackfilled, maintenanceDataAttributes.isBackfilled)
397423
&& Objects.equals(this.modifiedAt, maintenanceDataAttributes.modifiedAt)
398424
&& Objects.equals(this.publishedDate, maintenanceDataAttributes.publishedDate)
399425
&& Objects.equals(this.scheduledDescription, maintenanceDataAttributes.scheduledDescription)
@@ -412,6 +438,7 @@ public int hashCode() {
412438
completedDescription,
413439
componentsAffected,
414440
inProgressDescription,
441+
isBackfilled,
415442
modifiedAt,
416443
publishedDate,
417444
scheduledDescription,
@@ -434,6 +461,7 @@ public String toString() {
434461
sb.append(" inProgressDescription: ")
435462
.append(toIndentedString(inProgressDescription))
436463
.append("\n");
464+
sb.append(" isBackfilled: ").append(toIndentedString(isBackfilled)).append("\n");
437465
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
438466
sb.append(" publishedDate: ").append(toIndentedString(publishedDate)).append("\n");
439467
sb.append(" scheduledDescription: ")

0 commit comments

Comments
 (0)