From d5b44ec4cdb1f3b9cc10f4e1b7984075ba4cbc0a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 28 Jul 2023 14:20:10 +0000 Subject: [PATCH] Regenerate client from commit 6f54a513 of spec repo --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 71 ++++-- .../client/v2/model/CIAppEventAttributes.java | 65 ++---- .../client/v2/model/CIAppPipelineEvent.java | 8 +- .../model/CIAppPipelineEventAttributes.java | 214 ++++++++++++++++++ .../client/v2/model/CIAppPipelineLevel.java | 58 +++++ .../api/client/v2/model/CIAppTestLevel.java | 57 +++++ .../CIAppTestsAnalyticsAggregateResponse.java | 8 +- 8 files changed, 412 insertions(+), 77 deletions(-) create mode 100644 src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEventAttributes.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/CIAppPipelineLevel.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/CIAppTestLevel.java diff --git a/.apigentools-info b/.apigentools-info index a5a12c41d03..0896a72c68a 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-26 17:14:48.296288", - "spec_repo_commit": "69e8c6e4" + "regenerated": "2023-07-28 14:18:05.634924", + "spec_repo_commit": "6f54a513" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-26 17:14:48.308944", - "spec_repo_commit": "69e8c6e4" + "regenerated": "2023-07-28 14:18:05.655511", + "spec_repo_commit": "6f54a513" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fb616754ce3..e85a4805d00 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1481,25 +1481,15 @@ components: properties: attributes: additionalProperties: {} - description: JSON object of attributes from CI Visibility events. + description: JSON object of attributes from CI Visibility test events. example: customAttribute: 123 duration: 2345 type: object - service: - description: 'The name of the application or service generating CI Visibility - events. - - It is used to switch from CI Visibility to APM, so make sure you define - the same - - value when you use both products.' - example: web-ui-tests - type: string tags: $ref: '#/components/schemas/TagsEventAttribute' - timestamp: - $ref: '#/components/schemas/TimestampEventAttribute' + test_level: + $ref: '#/components/schemas/CIAppTestLevel' type: object CIAppGitInfo: description: 'If pipelines are triggered due to actions to a Git repository, @@ -1661,7 +1651,7 @@ components: stored by Datadog. properties: attributes: - $ref: '#/components/schemas/CIAppEventAttributes' + $ref: '#/components/schemas/CIAppPipelineEventAttributes' id: description: Unique ID of the event. example: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA @@ -1669,6 +1659,22 @@ components: type: $ref: '#/components/schemas/CIAppPipelineEventTypeName' type: object + CIAppPipelineEventAttributes: + description: JSON object containing all event attributes and their associated + values. + properties: + attributes: + additionalProperties: {} + description: JSON object of attributes from CI Visibility pipeline events. + example: + customAttribute: 123 + duration: 2345 + type: object + ci_level: + $ref: '#/components/schemas/CIAppPipelineLevel' + tags: + $ref: '#/components/schemas/TagsEventAttribute' + type: object CIAppPipelineEventJob: description: Details of a CI job. properties: @@ -2190,6 +2196,22 @@ components: meta: $ref: '#/components/schemas/CIAppResponseMetadataWithPagination' type: object + CIAppPipelineLevel: + description: Pipeline execution level. + enum: + - pipeline + - stage + - job + - step + - custom + example: pipeline + type: string + x-enum-varnames: + - PIPELINE + - STAGE + - JOB + - STEP + - CUSTOM CIAppPipelinesAggregateRequest: description: The object sent with the request to retrieve aggregation buckets of pipeline events from your organization. @@ -2463,6 +2485,20 @@ components: meta: $ref: '#/components/schemas/CIAppResponseMetadataWithPagination' type: object + CIAppTestLevel: + description: Test run level. + enum: + - session + - module + - suite + - test + example: test + type: string + x-enum-varnames: + - SESSION + - MODULE + - SUITE + - TEST CIAppTestsAggregateRequest: description: The object sent with the request to retrieve aggregation buckets of test events from your organization. @@ -2500,7 +2536,7 @@ components: links: $ref: '#/components/schemas/CIAppResponseLinks' meta: - $ref: '#/components/schemas/CIAppResponseMetadata' + $ref: '#/components/schemas/CIAppResponseMetadataWithPagination' type: object CIAppTestsBucketResponse: description: Bucket values. @@ -16579,11 +16615,6 @@ components: items: $ref: '#/components/schemas/TimeseriesResponseValues' type: array - TimestampEventAttribute: - description: Timestamp of your event. - example: '2019-01-02T09:42:36.320Z' - format: date-time - type: string Unit: description: Object containing the metric unit family, scale factor, name, and short name. diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppEventAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CIAppEventAttributes.java index ffb2057c11d..853767f9364 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CIAppEventAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppEventAttributes.java @@ -12,7 +12,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -22,9 +21,8 @@ /** JSON object containing all event attributes and their associated values. */ @JsonPropertyOrder({ CIAppEventAttributes.JSON_PROPERTY_ATTRIBUTES, - CIAppEventAttributes.JSON_PROPERTY_SERVICE, CIAppEventAttributes.JSON_PROPERTY_TAGS, - CIAppEventAttributes.JSON_PROPERTY_TIMESTAMP + CIAppEventAttributes.JSON_PROPERTY_TEST_LEVEL }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -33,14 +31,11 @@ public class CIAppEventAttributes { public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; private Map attributes = null; - public static final String JSON_PROPERTY_SERVICE = "service"; - private String service; - public static final String JSON_PROPERTY_TAGS = "tags"; private List tags = null; - public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; - private OffsetDateTime timestamp; + public static final String JSON_PROPERTY_TEST_LEVEL = "test_level"; + private CIAppTestLevel testLevel; public CIAppEventAttributes attributes(Map attributes) { this.attributes = attributes; @@ -56,7 +51,7 @@ public CIAppEventAttributes putAttributesItem(String key, Object attributesItem) } /** - * JSON object of attributes from CI Visibility events. + * JSON object of attributes from CI Visibility test events. * * @return attributes */ @@ -71,28 +66,6 @@ public void setAttributes(Map attributes) { this.attributes = attributes; } - public CIAppEventAttributes service(String service) { - this.service = service; - return this; - } - - /** - * The name of the application or service generating CI Visibility events. It is used to switch - * from CI Visibility to APM, so make sure you define the same value when you use both products. - * - * @return service - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SERVICE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getService() { - return service; - } - - public void setService(String service) { - this.service = service; - } - public CIAppEventAttributes tags(List tags) { this.tags = tags; return this; @@ -122,25 +95,29 @@ public void setTags(List tags) { this.tags = tags; } - public CIAppEventAttributes timestamp(OffsetDateTime timestamp) { - this.timestamp = timestamp; + public CIAppEventAttributes testLevel(CIAppTestLevel testLevel) { + this.testLevel = testLevel; + this.unparsed |= !testLevel.isValid(); return this; } /** - * Timestamp of your event. + * Test run level. * - * @return timestamp + * @return testLevel */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonProperty(JSON_PROPERTY_TEST_LEVEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getTimestamp() { - return timestamp; + public CIAppTestLevel getTestLevel() { + return testLevel; } - public void setTimestamp(OffsetDateTime timestamp) { - this.timestamp = timestamp; + public void setTestLevel(CIAppTestLevel testLevel) { + if (!testLevel.isValid()) { + this.unparsed = true; + } + this.testLevel = testLevel; } /** @@ -200,15 +177,14 @@ public boolean equals(Object o) { } CIAppEventAttributes ciAppEventAttributes = (CIAppEventAttributes) o; return Objects.equals(this.attributes, ciAppEventAttributes.attributes) - && Objects.equals(this.service, ciAppEventAttributes.service) && Objects.equals(this.tags, ciAppEventAttributes.tags) - && Objects.equals(this.timestamp, ciAppEventAttributes.timestamp) + && Objects.equals(this.testLevel, ciAppEventAttributes.testLevel) && Objects.equals(this.additionalProperties, ciAppEventAttributes.additionalProperties); } @Override public int hashCode() { - return Objects.hash(attributes, service, tags, timestamp, additionalProperties); + return Objects.hash(attributes, tags, testLevel, additionalProperties); } @Override @@ -216,9 +192,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CIAppEventAttributes {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); - sb.append(" service: ").append(toIndentedString(service)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); - sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" testLevel: ").append(toIndentedString(testLevel)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEvent.java b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEvent.java index 735e11474b4..fa2e49ead9d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEvent.java +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEvent.java @@ -27,7 +27,7 @@ public class CIAppPipelineEvent { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private CIAppEventAttributes attributes; + private CIAppPipelineEventAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; @@ -35,7 +35,7 @@ public class CIAppPipelineEvent { public static final String JSON_PROPERTY_TYPE = "type"; private CIAppPipelineEventTypeName type; - public CIAppPipelineEvent attributes(CIAppEventAttributes attributes) { + public CIAppPipelineEvent attributes(CIAppPipelineEventAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -49,11 +49,11 @@ public CIAppPipelineEvent attributes(CIAppEventAttributes attributes) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CIAppEventAttributes getAttributes() { + public CIAppPipelineEventAttributes getAttributes() { return attributes; } - public void setAttributes(CIAppEventAttributes attributes) { + public void setAttributes(CIAppPipelineEventAttributes attributes) { this.attributes = attributes; } diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEventAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEventAttributes.java new file mode 100644 index 00000000000..06a21cfeb85 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineEventAttributes.java @@ -0,0 +1,214 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** JSON object containing all event attributes and their associated values. */ +@JsonPropertyOrder({ + CIAppPipelineEventAttributes.JSON_PROPERTY_ATTRIBUTES, + CIAppPipelineEventAttributes.JSON_PROPERTY_CI_LEVEL, + CIAppPipelineEventAttributes.JSON_PROPERTY_TAGS +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class CIAppPipelineEventAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private Map attributes = null; + + public static final String JSON_PROPERTY_CI_LEVEL = "ci_level"; + private CIAppPipelineLevel ciLevel; + + public static final String JSON_PROPERTY_TAGS = "tags"; + private List tags = null; + + public CIAppPipelineEventAttributes attributes(Map attributes) { + this.attributes = attributes; + return this; + } + + public CIAppPipelineEventAttributes putAttributesItem(String key, Object attributesItem) { + if (this.attributes == null) { + this.attributes = new HashMap<>(); + } + this.attributes.put(key, attributesItem); + return this; + } + + /** + * JSON object of attributes from CI Visibility pipeline events. + * + * @return attributes + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Map getAttributes() { + return attributes; + } + + public void setAttributes(Map attributes) { + this.attributes = attributes; + } + + public CIAppPipelineEventAttributes ciLevel(CIAppPipelineLevel ciLevel) { + this.ciLevel = ciLevel; + this.unparsed |= !ciLevel.isValid(); + return this; + } + + /** + * Pipeline execution level. + * + * @return ciLevel + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CI_LEVEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public CIAppPipelineLevel getCiLevel() { + return ciLevel; + } + + public void setCiLevel(CIAppPipelineLevel ciLevel) { + if (!ciLevel.isValid()) { + this.unparsed = true; + } + this.ciLevel = ciLevel; + } + + public CIAppPipelineEventAttributes tags(List tags) { + this.tags = tags; + return this; + } + + public CIAppPipelineEventAttributes addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Array of tags associated with your event. + * + * @return tags + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TAGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return CIAppPipelineEventAttributes + */ + @JsonAnySetter + public CIAppPipelineEventAttributes putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this CIAppPipelineEventAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CIAppPipelineEventAttributes ciAppPipelineEventAttributes = (CIAppPipelineEventAttributes) o; + return Objects.equals(this.attributes, ciAppPipelineEventAttributes.attributes) + && Objects.equals(this.ciLevel, ciAppPipelineEventAttributes.ciLevel) + && Objects.equals(this.tags, ciAppPipelineEventAttributes.tags) + && Objects.equals( + this.additionalProperties, ciAppPipelineEventAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, ciLevel, tags, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CIAppPipelineEventAttributes {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" ciLevel: ").append(toIndentedString(ciLevel)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineLevel.java b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineLevel.java new file mode 100644 index 00000000000..3a24e821633 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppPipelineLevel.java @@ -0,0 +1,58 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Pipeline execution level. */ +@JsonSerialize(using = CIAppPipelineLevel.CIAppPipelineLevelSerializer.class) +public class CIAppPipelineLevel extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("pipeline", "stage", "job", "step", "custom")); + + public static final CIAppPipelineLevel PIPELINE = new CIAppPipelineLevel("pipeline"); + public static final CIAppPipelineLevel STAGE = new CIAppPipelineLevel("stage"); + public static final CIAppPipelineLevel JOB = new CIAppPipelineLevel("job"); + public static final CIAppPipelineLevel STEP = new CIAppPipelineLevel("step"); + public static final CIAppPipelineLevel CUSTOM = new CIAppPipelineLevel("custom"); + + CIAppPipelineLevel(String value) { + super(value, allowedValues); + } + + public static class CIAppPipelineLevelSerializer extends StdSerializer { + public CIAppPipelineLevelSerializer(Class t) { + super(t); + } + + public CIAppPipelineLevelSerializer() { + this(null); + } + + @Override + public void serialize(CIAppPipelineLevel value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static CIAppPipelineLevel fromValue(String value) { + return new CIAppPipelineLevel(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppTestLevel.java b/src/main/java/com/datadog/api/client/v2/model/CIAppTestLevel.java new file mode 100644 index 00000000000..b68a2505039 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppTestLevel.java @@ -0,0 +1,57 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Test run level. */ +@JsonSerialize(using = CIAppTestLevel.CIAppTestLevelSerializer.class) +public class CIAppTestLevel extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("session", "module", "suite", "test")); + + public static final CIAppTestLevel SESSION = new CIAppTestLevel("session"); + public static final CIAppTestLevel MODULE = new CIAppTestLevel("module"); + public static final CIAppTestLevel SUITE = new CIAppTestLevel("suite"); + public static final CIAppTestLevel TEST = new CIAppTestLevel("test"); + + CIAppTestLevel(String value) { + super(value, allowedValues); + } + + public static class CIAppTestLevelSerializer extends StdSerializer { + public CIAppTestLevelSerializer(Class t) { + super(t); + } + + public CIAppTestLevelSerializer() { + this(null); + } + + @Override + public void serialize(CIAppTestLevel value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static CIAppTestLevel fromValue(String value) { + return new CIAppTestLevel(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/CIAppTestsAnalyticsAggregateResponse.java b/src/main/java/com/datadog/api/client/v2/model/CIAppTestsAnalyticsAggregateResponse.java index 0b50b0808da..71508017964 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CIAppTestsAnalyticsAggregateResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/CIAppTestsAnalyticsAggregateResponse.java @@ -33,7 +33,7 @@ public class CIAppTestsAnalyticsAggregateResponse { private CIAppResponseLinks links; public static final String JSON_PROPERTY_META = "meta"; - private CIAppResponseMetadata meta; + private CIAppResponseMetadataWithPagination meta; public CIAppTestsAnalyticsAggregateResponse data(CIAppTestsAggregationBucketsResponse data) { this.data = data; @@ -79,7 +79,7 @@ public void setLinks(CIAppResponseLinks links) { this.links = links; } - public CIAppTestsAnalyticsAggregateResponse meta(CIAppResponseMetadata meta) { + public CIAppTestsAnalyticsAggregateResponse meta(CIAppResponseMetadataWithPagination meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -93,11 +93,11 @@ public CIAppTestsAnalyticsAggregateResponse meta(CIAppResponseMetadata meta) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CIAppResponseMetadata getMeta() { + public CIAppResponseMetadataWithPagination getMeta() { return meta; } - public void setMeta(CIAppResponseMetadata meta) { + public void setMeta(CIAppResponseMetadataWithPagination meta) { this.meta = meta; }