From cc4a862d350eb42958442c54ac3d06c80e364b2d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 17 Apr 2026 11:44:02 +0000 Subject: [PATCH] Regenerate client from commit 43bddb5 of spec repo --- .generator/schemas/v2/openapi.yaml | 14 ++++++++------ .../CustomDestinationForwardDestinationSplunk.java | 8 +++++--- ...estinationResponseForwardDestinationSplunk.java | 8 +++++--- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3ac7ae5f2b7..3f3cccacc2a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -18679,9 +18679,10 @@ components: description: |- The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. example: my-source nullable: true type: string @@ -18964,9 +18965,10 @@ components: description: |- The Splunk sourcetype for the events sent to this Splunk destination. - If absent, the default sourcetype `_json` is used. If set to null, the `sourcetype` - field is omitted from the Splunk HEC payload entirely. Otherwise, the provided string - value is used as the sourcetype. + If the field is absent from the request and no sourcetype has been previously set on this destination, the default sourcetype `_json` is used. + On update, if the field is absent from the request but a sourcetype was previously set, the previous value is kept. + If set to `null`, the sourcetype field is omitted from the forwarded event entirely. + Otherwise, the provided string value is used as the sourcetype. example: my-source nullable: true type: string diff --git a/src/main/java/com/datadog/api/client/v2/model/CustomDestinationForwardDestinationSplunk.java b/src/main/java/com/datadog/api/client/v2/model/CustomDestinationForwardDestinationSplunk.java index fbeaf7b493c..c845936beb2 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CustomDestinationForwardDestinationSplunk.java +++ b/src/main/java/com/datadog/api/client/v2/model/CustomDestinationForwardDestinationSplunk.java @@ -105,9 +105,11 @@ public CustomDestinationForwardDestinationSplunk sourcetype(String sourcetype) { /** * The Splunk sourcetype for the events sent to this Splunk destination. * - *

If absent, the default sourcetype _json is used. If set to null, the - * sourcetype field is omitted from the Splunk HEC payload entirely. Otherwise, the - * provided string value is used as the sourcetype. + *

If the field is absent from the request and no sourcetype has been previously set on this + * destination, the default sourcetype _json is used. On update, if the field is + * absent from the request but a sourcetype was previously set, the previous value is kept. If set + * to null, the sourcetype field is omitted from the forwarded event entirely. + * Otherwise, the provided string value is used as the sourcetype. * * @return sourcetype */ diff --git a/src/main/java/com/datadog/api/client/v2/model/CustomDestinationResponseForwardDestinationSplunk.java b/src/main/java/com/datadog/api/client/v2/model/CustomDestinationResponseForwardDestinationSplunk.java index b07813e3989..53eab8f26b8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CustomDestinationResponseForwardDestinationSplunk.java +++ b/src/main/java/com/datadog/api/client/v2/model/CustomDestinationResponseForwardDestinationSplunk.java @@ -79,9 +79,11 @@ public CustomDestinationResponseForwardDestinationSplunk sourcetype(String sourc /** * The Splunk sourcetype for the events sent to this Splunk destination. * - *

If absent, the default sourcetype _json is used. If set to null, the - * sourcetype field is omitted from the Splunk HEC payload entirely. Otherwise, the - * provided string value is used as the sourcetype. + *

If the field is absent from the request and no sourcetype has been previously set on this + * destination, the default sourcetype _json is used. On update, if the field is + * absent from the request but a sourcetype was previously set, the previous value is kept. If set + * to null, the sourcetype field is omitted from the forwarded event entirely. + * Otherwise, the provided string value is used as the sourcetype. * * @return sourcetype */