Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 2 additions & 37 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35651,21 +35651,6 @@ components:
format: int64
type: integer
type: object
DeviceTagsBySource:
description: Tags associated with a device from a specific source.
properties:
source:
description: The source of the tags.
example: user
type: string
tags:
description: The list of tags for the source.
example: ["tag:test", "tag:testbis"]
items:
description: A tag string in `key:value` format.
type: string
type: array
type: object
DevicesListData:
description: The devices list data
properties:
Expand Down Expand Up @@ -66483,12 +66468,6 @@ components:
ListTagsResponseDataAttributes:
description: The definition of ListTagsResponseDataAttributes object.
properties:
by_source:
description: The list of device tags grouped by source.
items:
$ref: "#/components/schemas/DeviceTagsBySource"
readOnly: true
type: array
tags:
description: The list of tags
example: ["tag:test", "tag:testbis"]
Expand Down Expand Up @@ -95524,7 +95503,7 @@ components:
example: true
type: boolean
trace_sample_rate:
description: The sample rate for the APM cross-product retention filter, between 0 and 100.
description: The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places.
example: 25.0
format: double
maximum: 100
Expand Down Expand Up @@ -96175,7 +96154,7 @@ components:
$ref: "#/components/schemas/RumRetentionFilterData"
type: object
RumRetentionFilterSampleRate:
description: The sample rate for a RUM retention filter, between 0.1 and 100.
description: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place.
example: 50.5
format: double
maximum: 100
Expand Down Expand Up @@ -182907,20 +182886,6 @@ paths:
content:
application/json:
examples:
by_source:
value:
data:
attributes:
by_source:
- source: user
tags:
- "tag:test"
- "tag:testbis"
- source: snmp
tags:
- "device_ip:1.2.3.4"
id: foiwf7rgw38fh
type: tags
default:
value:
data:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,14 @@
import java.util.Objects;

/** The definition of ListTagsResponseDataAttributes object. */
@JsonPropertyOrder({
ListTagsResponseDataAttributes.JSON_PROPERTY_BY_SOURCE,
ListTagsResponseDataAttributes.JSON_PROPERTY_TAGS
})
@JsonPropertyOrder({ListTagsResponseDataAttributes.JSON_PROPERTY_TAGS})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ListTagsResponseDataAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_BY_SOURCE = "by_source";
private List<DeviceTagsBySource> bySource = null;

public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;

/**
* The list of device tags grouped by source.
*
* @return bySource
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BY_SOURCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<DeviceTagsBySource> getBySource() {
return bySource;
}

public ListTagsResponseDataAttributes tags(List<String> tags) {
this.tags = tags;
return this;
Expand Down Expand Up @@ -131,22 +113,20 @@ public boolean equals(Object o) {
}
ListTagsResponseDataAttributes listTagsResponseDataAttributes =
(ListTagsResponseDataAttributes) o;
return Objects.equals(this.bySource, listTagsResponseDataAttributes.bySource)
&& Objects.equals(this.tags, listTagsResponseDataAttributes.tags)
return Objects.equals(this.tags, listTagsResponseDataAttributes.tags)
&& Objects.equals(
this.additionalProperties, listTagsResponseDataAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(bySource, tags, additionalProperties);
return Objects.hash(tags, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ListTagsResponseDataAttributes {\n");
sb.append(" bySource: ").append(toIndentedString(bySource)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public RumCrossProductSampling traceSampleRate(Double traceSampleRate) {
}

/**
* The sample rate for the APM cross-product retention filter, between 0 and 100. minimum: 0
* maximum: 100
* The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned
* by the API are rounded to two decimal places. minimum: 0 maximum: 100
*
* @return traceSampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public RumRetentionFilterAttributes sampleRate(Double sampleRate) {
}

/**
* The sample rate for a RUM retention filter, between 0.1 and 100. minimum: 0.1 maximum: 100
* The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one
* decimal place. minimum: 0.1 maximum: 100
*
* @return sampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public RumRetentionFilterCreateAttributes sampleRate(Double sampleRate) {
}

/**
* The sample rate for a RUM retention filter, between 0.1 and 100. minimum: 0.1 maximum: 100
* The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one
* decimal place. minimum: 0.1 maximum: 100
*
* @return sampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ public RumRetentionFilterUpdateAttributes sampleRate(Double sampleRate) {
}

/**
* The sample rate for a RUM retention filter, between 0.1 and 100. minimum: 0.1 maximum: 100
* The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one
* decimal place. minimum: 0.1 maximum: 100
*
* @return sampleRate
*/
Expand Down
Loading