From d1e3169e4d7f2ef52ff7f902776bd323a46b449c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 7 Aug 2026 15:24:20 +0000 Subject: [PATCH] Regenerate client from commit da90b0c of spec repo --- .generator/schemas/v2/openapi.yaml | 24 --- .../v2/model/FleetAgentInfoDetailsV2.java | 161 ------------------ 2 files changed, 185 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 397d1a8cdca..5228f09e7f0 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -39424,35 +39424,11 @@ components: description: The operating system version. example: "Ubuntu 20.04" type: string - otel_collector_deployment_types: - description: OpenTelemetry collector deployment types associated with the agent. - items: - description: An OpenTelemetry collector deployment type. - type: string - type: array - otel_collector_distributions: - description: OpenTelemetry collector distributions associated with the agent. - items: - description: An OpenTelemetry collector distribution. - type: string - type: array - otel_collector_versions: - description: List of OpenTelemetry collector versions (if applicable). - items: - description: An OpenTelemetry collector version string. - type: string - type: array otel_collectors: description: OpenTelemetry collectors associated with the agent (if applicable). items: $ref: "#/components/schemas/FleetOtelCollector" type: array - otel_resource_attributes: - description: OpenTelemetry resource attributes reported by the agent. - items: - description: An OpenTelemetry resource attribute. - type: string - type: array pod_name: description: Kubernetes pod name (if applicable). type: string diff --git a/src/main/java/com/datadog/api/client/v2/model/FleetAgentInfoDetailsV2.java b/src/main/java/com/datadog/api/client/v2/model/FleetAgentInfoDetailsV2.java index 68bd8067303..6d3dccafe40 100644 --- a/src/main/java/com/datadog/api/client/v2/model/FleetAgentInfoDetailsV2.java +++ b/src/main/java/com/datadog/api/client/v2/model/FleetAgentInfoDetailsV2.java @@ -45,11 +45,7 @@ FleetAgentInfoDetailsV2.JSON_PROPERTY_LAST_RESTART_AT, FleetAgentInfoDetailsV2.JSON_PROPERTY_OS, FleetAgentInfoDetailsV2.JSON_PROPERTY_OS_VERSION, - FleetAgentInfoDetailsV2.JSON_PROPERTY_OTEL_COLLECTOR_DEPLOYMENT_TYPES, - FleetAgentInfoDetailsV2.JSON_PROPERTY_OTEL_COLLECTOR_DISTRIBUTIONS, - FleetAgentInfoDetailsV2.JSON_PROPERTY_OTEL_COLLECTOR_VERSIONS, FleetAgentInfoDetailsV2.JSON_PROPERTY_OTEL_COLLECTORS, - FleetAgentInfoDetailsV2.JSON_PROPERTY_OTEL_RESOURCE_ATTRIBUTES, FleetAgentInfoDetailsV2.JSON_PROPERTY_POD_NAME, FleetAgentInfoDetailsV2.JSON_PROPERTY_PREFERRED_HA_ACTIVE_AGENT, FleetAgentInfoDetailsV2.JSON_PROPERTY_PYTHON_VERSION, @@ -142,23 +138,9 @@ public class FleetAgentInfoDetailsV2 { public static final String JSON_PROPERTY_OS_VERSION = "os_version"; private String osVersion; - public static final String JSON_PROPERTY_OTEL_COLLECTOR_DEPLOYMENT_TYPES = - "otel_collector_deployment_types"; - private List otelCollectorDeploymentTypes = null; - - public static final String JSON_PROPERTY_OTEL_COLLECTOR_DISTRIBUTIONS = - "otel_collector_distributions"; - private List otelCollectorDistributions = null; - - public static final String JSON_PROPERTY_OTEL_COLLECTOR_VERSIONS = "otel_collector_versions"; - private List otelCollectorVersions = null; - public static final String JSON_PROPERTY_OTEL_COLLECTORS = "otel_collectors"; private List> otelCollectors = null; - public static final String JSON_PROPERTY_OTEL_RESOURCE_ATTRIBUTES = "otel_resource_attributes"; - private List otelResourceAttributes = null; - public static final String JSON_PROPERTY_POD_NAME = "pod_name"; private String podName; @@ -756,97 +738,6 @@ public void setOsVersion(String osVersion) { this.osVersion = osVersion; } - public FleetAgentInfoDetailsV2 otelCollectorDeploymentTypes( - List otelCollectorDeploymentTypes) { - this.otelCollectorDeploymentTypes = otelCollectorDeploymentTypes; - return this; - } - - public FleetAgentInfoDetailsV2 addOtelCollectorDeploymentTypesItem( - String otelCollectorDeploymentTypesItem) { - if (this.otelCollectorDeploymentTypes == null) { - this.otelCollectorDeploymentTypes = new ArrayList<>(); - } - this.otelCollectorDeploymentTypes.add(otelCollectorDeploymentTypesItem); - return this; - } - - /** - * OpenTelemetry collector deployment types associated with the agent. - * - * @return otelCollectorDeploymentTypes - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTEL_COLLECTOR_DEPLOYMENT_TYPES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOtelCollectorDeploymentTypes() { - return otelCollectorDeploymentTypes; - } - - public void setOtelCollectorDeploymentTypes(List otelCollectorDeploymentTypes) { - this.otelCollectorDeploymentTypes = otelCollectorDeploymentTypes; - } - - public FleetAgentInfoDetailsV2 otelCollectorDistributions( - List otelCollectorDistributions) { - this.otelCollectorDistributions = otelCollectorDistributions; - return this; - } - - public FleetAgentInfoDetailsV2 addOtelCollectorDistributionsItem( - String otelCollectorDistributionsItem) { - if (this.otelCollectorDistributions == null) { - this.otelCollectorDistributions = new ArrayList<>(); - } - this.otelCollectorDistributions.add(otelCollectorDistributionsItem); - return this; - } - - /** - * OpenTelemetry collector distributions associated with the agent. - * - * @return otelCollectorDistributions - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTEL_COLLECTOR_DISTRIBUTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOtelCollectorDistributions() { - return otelCollectorDistributions; - } - - public void setOtelCollectorDistributions(List otelCollectorDistributions) { - this.otelCollectorDistributions = otelCollectorDistributions; - } - - public FleetAgentInfoDetailsV2 otelCollectorVersions(List otelCollectorVersions) { - this.otelCollectorVersions = otelCollectorVersions; - return this; - } - - public FleetAgentInfoDetailsV2 addOtelCollectorVersionsItem(String otelCollectorVersionsItem) { - if (this.otelCollectorVersions == null) { - this.otelCollectorVersions = new ArrayList<>(); - } - this.otelCollectorVersions.add(otelCollectorVersionsItem); - return this; - } - - /** - * List of OpenTelemetry collector versions (if applicable). - * - * @return otelCollectorVersions - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTEL_COLLECTOR_VERSIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOtelCollectorVersions() { - return otelCollectorVersions; - } - - public void setOtelCollectorVersions(List otelCollectorVersions) { - this.otelCollectorVersions = otelCollectorVersions; - } - public FleetAgentInfoDetailsV2 otelCollectors(List> otelCollectors) { this.otelCollectors = otelCollectors; return this; @@ -876,35 +767,6 @@ public void setOtelCollectors(List> otelCollectors) { this.otelCollectors = otelCollectors; } - public FleetAgentInfoDetailsV2 otelResourceAttributes(List otelResourceAttributes) { - this.otelResourceAttributes = otelResourceAttributes; - return this; - } - - public FleetAgentInfoDetailsV2 addOtelResourceAttributesItem(String otelResourceAttributesItem) { - if (this.otelResourceAttributes == null) { - this.otelResourceAttributes = new ArrayList<>(); - } - this.otelResourceAttributes.add(otelResourceAttributesItem); - return this; - } - - /** - * OpenTelemetry resource attributes reported by the agent. - * - * @return otelResourceAttributes - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTEL_RESOURCE_ATTRIBUTES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOtelResourceAttributes() { - return otelResourceAttributes; - } - - public void setOtelResourceAttributes(List otelResourceAttributes) { - this.otelResourceAttributes = otelResourceAttributes; - } - public FleetAgentInfoDetailsV2 podName(String podName) { this.podName = podName; return this; @@ -1224,14 +1086,7 @@ public boolean equals(Object o) { && Objects.equals(this.lastRestartAt, fleetAgentInfoDetailsV2.lastRestartAt) && Objects.equals(this.os, fleetAgentInfoDetailsV2.os) && Objects.equals(this.osVersion, fleetAgentInfoDetailsV2.osVersion) - && Objects.equals( - this.otelCollectorDeploymentTypes, fleetAgentInfoDetailsV2.otelCollectorDeploymentTypes) - && Objects.equals( - this.otelCollectorDistributions, fleetAgentInfoDetailsV2.otelCollectorDistributions) - && Objects.equals(this.otelCollectorVersions, fleetAgentInfoDetailsV2.otelCollectorVersions) && Objects.equals(this.otelCollectors, fleetAgentInfoDetailsV2.otelCollectors) - && Objects.equals( - this.otelResourceAttributes, fleetAgentInfoDetailsV2.otelResourceAttributes) && Objects.equals(this.podName, fleetAgentInfoDetailsV2.podName) && Objects.equals( this.preferredHaActiveAgent, fleetAgentInfoDetailsV2.preferredHaActiveAgent) @@ -1274,11 +1129,7 @@ public int hashCode() { lastRestartAt, os, osVersion, - otelCollectorDeploymentTypes, - otelCollectorDistributions, - otelCollectorVersions, otelCollectors, - otelResourceAttributes, podName, preferredHaActiveAgent, pythonVersion, @@ -1327,19 +1178,7 @@ public String toString() { sb.append(" lastRestartAt: ").append(toIndentedString(lastRestartAt)).append("\n"); sb.append(" os: ").append(toIndentedString(os)).append("\n"); sb.append(" osVersion: ").append(toIndentedString(osVersion)).append("\n"); - sb.append(" otelCollectorDeploymentTypes: ") - .append(toIndentedString(otelCollectorDeploymentTypes)) - .append("\n"); - sb.append(" otelCollectorDistributions: ") - .append(toIndentedString(otelCollectorDistributions)) - .append("\n"); - sb.append(" otelCollectorVersions: ") - .append(toIndentedString(otelCollectorVersions)) - .append("\n"); sb.append(" otelCollectors: ").append(toIndentedString(otelCollectors)).append("\n"); - sb.append(" otelResourceAttributes: ") - .append(toIndentedString(otelResourceAttributes)) - .append("\n"); sb.append(" podName: ").append(toIndentedString(podName)).append("\n"); sb.append(" preferredHaActiveAgent: ") .append(toIndentedString(preferredHaActiveAgent))