diff --git a/administrative/README.md b/administrative/README.md index 28f49d8d0..7d3e5b5f5 100644 --- a/administrative/README.md +++ b/administrative/README.md @@ -2,7 +2,7 @@ Administrative API -- API version: 7.0.70 +- API version: 7.0.71 Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following operations to manage your organization: diff --git a/agents/README.md b/agents/README.md index 22bbe10a9..9a9b2ef61 100644 --- a/agents/README.md +++ b/agents/README.md @@ -2,7 +2,7 @@ Agents API -- API version: 7.0.70 +- API version: 7.0.71 ## Overview diff --git a/alerts/README.md b/alerts/README.md index 400312fbb..52e3ba9b0 100644 --- a/alerts/README.md +++ b/alerts/README.md @@ -2,7 +2,7 @@ Alerts API -- API version: 7.0.70 +- API version: 7.0.71 You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API: diff --git a/bgp-monitors/README.md b/bgp-monitors/README.md index 4e25bd54e..009f868a7 100644 --- a/bgp-monitors/README.md +++ b/bgp-monitors/README.md @@ -2,7 +2,7 @@ BGP Monitors API -- API version: 7.0.70 +- API version: 7.0.71 Retrieve information about BGP monitors available to your ThousandEyes account. ThousandEyes ingests BGP routing data from dozens of global BGP collectors and automatically integrates that visibility as a configurable layer under service, network, and path visualization layers. diff --git a/credentials/README.md b/credentials/README.md index 49a9d3b95..19e9c5e25 100644 --- a/credentials/README.md +++ b/credentials/README.md @@ -2,7 +2,7 @@ Credentials API -- API version: 7.0.70 +- API version: 7.0.71 Manage credentials for transaction tests using the Credentials API. diff --git a/dashboards/README.md b/dashboards/README.md index 325c4a46f..b86022771 100644 --- a/dashboards/README.md +++ b/dashboards/README.md @@ -2,7 +2,7 @@ Dashboards API -- API version: 7.0.70 +- API version: 7.0.71 Manage ThousandEyes Dashboards. diff --git a/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/ApiAggregateProperty.java b/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/ApiAggregateProperty.java index bcf22e20a..8c450a015 100644 --- a/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/ApiAggregateProperty.java +++ b/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/ApiAggregateProperty.java @@ -96,6 +96,12 @@ public enum ApiAggregateProperty { EYEBROW_NET_TARGET_IP("EYEBROW_NET_TARGET_IP"), + ENDPOINT_CELLULAR_CARRIER_NAME("ENDPOINT_CELLULAR_CARRIER_NAME"), + + ENDPOINT_CELLULAR_NETWORK_GEN("ENDPOINT_CELLULAR_NETWORK_GEN"), + + ENDPOINT_CELLULAR_NETWORK_SUBTYPE("ENDPOINT_CELLULAR_NETWORK_SUBTYPE"), + EYEBROW_GATEWAY("EYEBROW_GATEWAY"), EYEBROW_SSID("EYEBROW_SSID"), diff --git a/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/DashboardMetric.java b/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/DashboardMetric.java index c362e6d5d..231929ce4 100644 --- a/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/DashboardMetric.java +++ b/dashboards/src/main/java/com/thousandeyes/sdk/dashboards/model/DashboardMetric.java @@ -372,6 +372,14 @@ public enum DashboardMetric { EYEBROW_GATEWAY_WIRELESS_THROUGHPUT("EYEBROW_GATEWAY_WIRELESS_THROUGHPUT"), + ENDPOINT_CELLULAR_RSSI("ENDPOINT_CELLULAR_RSSI"), + + ENDPOINT_CELLULAR_RSRP("ENDPOINT_CELLULAR_RSRP"), + + ENDPOINT_CELLULAR_RSRQ("ENDPOINT_CELLULAR_RSRQ"), + + ENDPOINT_CELLULAR_SINR("ENDPOINT_CELLULAR_SINR"), + ENDPOINT_AST_TEST_NET_LOSS("ENDPOINT_AST_TEST_NET_LOSS"), ENDPOINT_AST_TEST_NET_JITTER("ENDPOINT_AST_TEST_NET_JITTER"), diff --git a/emulation/README.md b/emulation/README.md index d4f338f70..22013d368 100644 --- a/emulation/README.md +++ b/emulation/README.md @@ -2,7 +2,7 @@ Emulation API -- API version: 7.0.70 +- API version: 7.0.71 The Emulation API facilitates the retrieval of user-agent strings for HTTP, pageload, and transaction tests. It also enables the retrieval and addition of emulated devices for pageload and transaction tests. diff --git a/endpoint-agents/README.md b/endpoint-agents/README.md index 7f284e6c4..bb827e4e0 100644 --- a/endpoint-agents/README.md +++ b/endpoint-agents/README.md @@ -2,7 +2,7 @@ Endpoint Agents API -- API version: 7.0.70 +- API version: 7.0.71 Manage ThousandEyes Endpoint Agents using this API. diff --git a/endpoint-instant-tests/README.md b/endpoint-instant-tests/README.md index 77ef9fd61..a53ad72f6 100644 --- a/endpoint-instant-tests/README.md +++ b/endpoint-instant-tests/README.md @@ -2,7 +2,7 @@ Endpoint Instant Scheduled Tests API -- API version: 7.0.70 +- API version: 7.0.71 You can create and execute a new endpoint instant scheduled test within ThousandEyes using this API. The test parameters are specified in the `POST` data. diff --git a/endpoint-labels/README.md b/endpoint-labels/README.md index 525f10a10..7681654d7 100644 --- a/endpoint-labels/README.md +++ b/endpoint-labels/README.md @@ -2,7 +2,7 @@ Endpoint Agent Labels API -- API version: 7.0.70 +- API version: 7.0.71 Manage labels applied to endpoint agents using this API. diff --git a/endpoint-test-results/README.md b/endpoint-test-results/README.md index 5c0232846..90756743e 100644 --- a/endpoint-test-results/README.md +++ b/endpoint-test-results/README.md @@ -2,7 +2,7 @@ Endpoint Test Results API -- API version: 7.0.70 +- API version: 7.0.71 Retrieve results for scheduled and dynamic tests on endpoint agents. diff --git a/endpoint-tests/README.md b/endpoint-tests/README.md index faf256d40..f373f3397 100644 --- a/endpoint-tests/README.md +++ b/endpoint-tests/README.md @@ -2,7 +2,7 @@ Endpoint Tests API -- API version: 7.0.70 +- API version: 7.0.71 Manage endpoint agent dynamic and scheduled tests using the Endpoint Tests API. diff --git a/event-detection/README.md b/event-detection/README.md index 31166b887..25bdcb9cb 100644 --- a/event-detection/README.md +++ b/event-detection/README.md @@ -2,7 +2,7 @@ Event Detection API -- API version: 7.0.70 +- API version: 7.0.71 Event detection occurs when ThousandEyes identifies that error signals related to a component (proxy, network node, AS, server etc) have deviated from the baselines established by events. diff --git a/instant-tests/README.md b/instant-tests/README.md index 26bbd52dd..796302fda 100644 --- a/instant-tests/README.md +++ b/instant-tests/README.md @@ -2,7 +2,7 @@ Instant Tests API -- API version: 7.0.70 +- API version: 7.0.71 The Instant Tests API operations lets you create and run new instant tests. You will need to be an Account Admin. diff --git a/internet-insights/README.md b/internet-insights/README.md index cce999e8d..d03a2fcf1 100644 --- a/internet-insights/README.md +++ b/internet-insights/README.md @@ -2,7 +2,7 @@ Internet Insights API -- API version: 7.0.70 +- API version: 7.0.71 We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: diff --git a/snapshots/README.md b/snapshots/README.md index 04515324c..1e5f125fc 100644 --- a/snapshots/README.md +++ b/snapshots/README.md @@ -2,7 +2,7 @@ Test Snapshots API -- API version: 7.0.70 +- API version: 7.0.71 Creates a new test snapshot in ThousandEyes. diff --git a/streaming/README.md b/streaming/README.md index e374eb308..98942044d 100644 --- a/streaming/README.md +++ b/streaming/README.md @@ -2,7 +2,7 @@ ThousandEyes for OpenTelemetry API -- API version: 7.0.70 +- API version: 7.0.71 ThousandEyes for OpenTelemetry provides machine-to-machine integration between ThousandEyes and its customers. It allows you to export ThousandEyes telemetry data in OTel format, which is widely used in the industry. With ThousandEyes for OTel, you can leverage frameworks widely used in the observability domain - such as Splunk, Grafana, and Honeycomb - to capture and analyze ThousandEyes data. Any client that supports OTel can use ThousandEyes for OpenTelemetry. diff --git a/tags/.openapi-generator/FILES b/tags/.openapi-generator/FILES index 39baecb32..d930bfd83 100644 --- a/tags/.openapi-generator/FILES +++ b/tags/.openapi-generator/FILES @@ -23,6 +23,7 @@ src/main/java/com/thousandeyes/sdk/tags/model/TagAssignment.java src/main/java/com/thousandeyes/sdk/tags/model/TagBulkCreateError.java src/main/java/com/thousandeyes/sdk/tags/model/TagInfo.java src/main/java/com/thousandeyes/sdk/tags/model/Tags.java +src/main/java/com/thousandeyes/sdk/tags/model/Type.java src/main/java/com/thousandeyes/sdk/tags/model/UnauthorizedError.java src/main/java/com/thousandeyes/sdk/tags/model/ValidationError.java src/main/java/com/thousandeyes/sdk/tags/model/ValidationErrorItem.java diff --git a/tags/README.md b/tags/README.md index 826b61842..10f0939e1 100644 --- a/tags/README.md +++ b/tags/README.md @@ -2,7 +2,7 @@ Tags API -- API version: 7.0.70 +- API version: 7.0.71 The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or dashboards) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. diff --git a/tags/src/main/java/com/thousandeyes/sdk/tags/model/Tag.java b/tags/src/main/java/com/thousandeyes/sdk/tags/model/Tag.java index c483d3015..9c2d34c8f 100644 --- a/tags/src/main/java/com/thousandeyes/sdk/tags/model/Tag.java +++ b/tags/src/main/java/com/thousandeyes/sdk/tags/model/Tag.java @@ -24,7 +24,9 @@ import com.thousandeyes.sdk.tags.model.Assignment; import com.thousandeyes.sdk.tags.model.ObjectType; import com.thousandeyes.sdk.tags.model.SelfLinks; +import com.thousandeyes.sdk.tags.model.Type; import java.math.BigDecimal; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -39,6 +41,7 @@ Tag.JSON_PROPERTY_ASSIGNMENTS, Tag.JSON_PROPERTY_ACCESS_TYPE, Tag.JSON_PROPERTY_AID, + Tag.JSON_PROPERTY_BUILT_IN, Tag.JSON_PROPERTY_COLOR, Tag.JSON_PROPERTY_CREATE_DATE, Tag.JSON_PROPERTY_ICON, @@ -46,7 +49,9 @@ Tag.JSON_PROPERTY_ID, Tag.JSON_PROPERTY_KEY, Tag.JSON_PROPERTY_LEGACY_ID, + Tag.JSON_PROPERTY_MODIFIED_DATE, Tag.JSON_PROPERTY_OBJECT_TYPE, + Tag.JSON_PROPERTY_TYPE, Tag.JSON_PROPERTY_VALUE, Tag.JSON_PROPERTY_LINKS }) @@ -61,6 +66,9 @@ public class Tag { public static final String JSON_PROPERTY_AID = "aid"; private Long aid; + public static final String JSON_PROPERTY_BUILT_IN = "builtIn"; + private Boolean builtIn; + public static final String JSON_PROPERTY_COLOR = "color"; private String color; @@ -82,9 +90,15 @@ public class Tag { public static final String JSON_PROPERTY_LEGACY_ID = "legacyId"; private BigDecimal legacyId; + public static final String JSON_PROPERTY_MODIFIED_DATE = "modifiedDate"; + private OffsetDateTime modifiedDate; + public static final String JSON_PROPERTY_OBJECT_TYPE = "objectType"; private ObjectType objectType; + public static final String JSON_PROPERTY_TYPE = "type"; + private Type type; + public static final String JSON_PROPERTY_VALUE = "value"; private String value; @@ -98,16 +112,20 @@ public Tag() { public Tag( @JsonProperty(JSON_PROPERTY_ASSIGNMENTS) List assignments, @JsonProperty(JSON_PROPERTY_AID) Long aid, + @JsonProperty(JSON_PROPERTY_BUILT_IN) Boolean builtIn, @JsonProperty(JSON_PROPERTY_CREATE_DATE) String createDate, @JsonProperty(JSON_PROPERTY_ID) UUID id, - @JsonProperty(JSON_PROPERTY_LEGACY_ID) BigDecimal legacyId + @JsonProperty(JSON_PROPERTY_LEGACY_ID) BigDecimal legacyId, + @JsonProperty(JSON_PROPERTY_MODIFIED_DATE) OffsetDateTime modifiedDate ) { this(); this.assignments = assignments; this.aid = aid; + this.builtIn = builtIn; this.createDate = createDate; this.id = id; this.legacyId = legacyId; + this.modifiedDate = modifiedDate; } /** @@ -165,6 +183,21 @@ public Long getAid() { + /** + * Indicates whether it is a built-in tag or a user-created (custom) tag. + * @return builtIn + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BUILT_IN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBuiltIn() { + return builtIn; + } + + + + public Tag color(String color) { this.color = color; return this; @@ -310,6 +343,21 @@ public BigDecimal getLegacyId() { + /** + * The date and time the tag was last modified. + * @return modifiedDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public OffsetDateTime getModifiedDate() { + return modifiedDate; + } + + + + public Tag objectType(ObjectType objectType) { this.objectType = objectType; return this; @@ -335,6 +383,31 @@ public void setObjectType(ObjectType objectType) { } + public Tag type(Type type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Type getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(Type type) { + this.type = type; + } + + public Tag value(String value) { this.value = value; return this; @@ -400,6 +473,7 @@ public boolean equals(Object o) { return Objects.equals(this.assignments, tag.assignments) && Objects.equals(this.accessType, tag.accessType) && Objects.equals(this.aid, tag.aid) && + Objects.equals(this.builtIn, tag.builtIn) && Objects.equals(this.color, tag.color) && Objects.equals(this.createDate, tag.createDate) && Objects.equals(this.icon, tag.icon) && @@ -407,14 +481,16 @@ public boolean equals(Object o) { Objects.equals(this.id, tag.id) && Objects.equals(this.key, tag.key) && Objects.equals(this.legacyId, tag.legacyId) && + Objects.equals(this.modifiedDate, tag.modifiedDate) && Objects.equals(this.objectType, tag.objectType) && + Objects.equals(this.type, tag.type) && Objects.equals(this.value, tag.value) && Objects.equals(this.links, tag.links); } @Override public int hashCode() { - return Objects.hash(assignments, accessType, aid, color, createDate, icon, description, id, key, legacyId, objectType, value, links); + return Objects.hash(assignments, accessType, aid, builtIn, color, createDate, icon, description, id, key, legacyId, modifiedDate, objectType, type, value, links); } @Override @@ -424,6 +500,7 @@ public String toString() { sb.append(" assignments: ").append(toIndentedString(assignments)).append("\n"); sb.append(" accessType: ").append(toIndentedString(accessType)).append("\n"); sb.append(" aid: ").append(toIndentedString(aid)).append("\n"); + sb.append(" builtIn: ").append(toIndentedString(builtIn)).append("\n"); sb.append(" color: ").append(toIndentedString(color)).append("\n"); sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); sb.append(" icon: ").append(toIndentedString(icon)).append("\n"); @@ -431,7 +508,9 @@ public String toString() { sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" legacyId: ").append(toIndentedString(legacyId)).append("\n"); + sb.append(" modifiedDate: ").append(toIndentedString(modifiedDate)).append("\n"); sb.append(" objectType: ").append(toIndentedString(objectType)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append("}"); diff --git a/tags/src/main/java/com/thousandeyes/sdk/tags/model/TagInfo.java b/tags/src/main/java/com/thousandeyes/sdk/tags/model/TagInfo.java index 448989a96..07145331b 100644 --- a/tags/src/main/java/com/thousandeyes/sdk/tags/model/TagInfo.java +++ b/tags/src/main/java/com/thousandeyes/sdk/tags/model/TagInfo.java @@ -23,7 +23,9 @@ import com.thousandeyes.sdk.tags.model.AccessType; import com.thousandeyes.sdk.tags.model.Assignment; import com.thousandeyes.sdk.tags.model.ObjectType; +import com.thousandeyes.sdk.tags.model.Type; import java.math.BigDecimal; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -38,6 +40,7 @@ TagInfo.JSON_PROPERTY_ASSIGNMENTS, TagInfo.JSON_PROPERTY_ACCESS_TYPE, TagInfo.JSON_PROPERTY_AID, + TagInfo.JSON_PROPERTY_BUILT_IN, TagInfo.JSON_PROPERTY_COLOR, TagInfo.JSON_PROPERTY_CREATE_DATE, TagInfo.JSON_PROPERTY_ICON, @@ -45,7 +48,9 @@ TagInfo.JSON_PROPERTY_ID, TagInfo.JSON_PROPERTY_KEY, TagInfo.JSON_PROPERTY_LEGACY_ID, + TagInfo.JSON_PROPERTY_MODIFIED_DATE, TagInfo.JSON_PROPERTY_OBJECT_TYPE, + TagInfo.JSON_PROPERTY_TYPE, TagInfo.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated(value = "com.thousandeyes.api.codegen.ThousandeyesJavaGenerator") @@ -59,6 +64,9 @@ public class TagInfo { public static final String JSON_PROPERTY_AID = "aid"; private Long aid; + public static final String JSON_PROPERTY_BUILT_IN = "builtIn"; + private Boolean builtIn; + public static final String JSON_PROPERTY_COLOR = "color"; private String color; @@ -80,9 +88,15 @@ public class TagInfo { public static final String JSON_PROPERTY_LEGACY_ID = "legacyId"; private BigDecimal legacyId; + public static final String JSON_PROPERTY_MODIFIED_DATE = "modifiedDate"; + private OffsetDateTime modifiedDate; + public static final String JSON_PROPERTY_OBJECT_TYPE = "objectType"; private ObjectType objectType; + public static final String JSON_PROPERTY_TYPE = "type"; + private Type type; + public static final String JSON_PROPERTY_VALUE = "value"; private String value; @@ -93,16 +107,20 @@ public TagInfo() { public TagInfo( @JsonProperty(JSON_PROPERTY_ASSIGNMENTS) List assignments, @JsonProperty(JSON_PROPERTY_AID) Long aid, + @JsonProperty(JSON_PROPERTY_BUILT_IN) Boolean builtIn, @JsonProperty(JSON_PROPERTY_CREATE_DATE) String createDate, @JsonProperty(JSON_PROPERTY_ID) UUID id, - @JsonProperty(JSON_PROPERTY_LEGACY_ID) BigDecimal legacyId + @JsonProperty(JSON_PROPERTY_LEGACY_ID) BigDecimal legacyId, + @JsonProperty(JSON_PROPERTY_MODIFIED_DATE) OffsetDateTime modifiedDate ) { this(); this.assignments = assignments; this.aid = aid; + this.builtIn = builtIn; this.createDate = createDate; this.id = id; this.legacyId = legacyId; + this.modifiedDate = modifiedDate; } /** @@ -160,6 +178,21 @@ public Long getAid() { + /** + * Indicates whether it is a built-in tag or a user-created (custom) tag. + * @return builtIn + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BUILT_IN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBuiltIn() { + return builtIn; + } + + + + public TagInfo color(String color) { this.color = color; return this; @@ -305,6 +338,21 @@ public BigDecimal getLegacyId() { + /** + * The date and time the tag was last modified. + * @return modifiedDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public OffsetDateTime getModifiedDate() { + return modifiedDate; + } + + + + public TagInfo objectType(ObjectType objectType) { this.objectType = objectType; return this; @@ -330,6 +378,31 @@ public void setObjectType(ObjectType objectType) { } + public TagInfo type(Type type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Type getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(Type type) { + this.type = type; + } + + public TagInfo value(String value) { this.value = value; return this; @@ -370,6 +443,7 @@ public boolean equals(Object o) { return Objects.equals(this.assignments, tagInfo.assignments) && Objects.equals(this.accessType, tagInfo.accessType) && Objects.equals(this.aid, tagInfo.aid) && + Objects.equals(this.builtIn, tagInfo.builtIn) && Objects.equals(this.color, tagInfo.color) && Objects.equals(this.createDate, tagInfo.createDate) && Objects.equals(this.icon, tagInfo.icon) && @@ -377,13 +451,15 @@ public boolean equals(Object o) { Objects.equals(this.id, tagInfo.id) && Objects.equals(this.key, tagInfo.key) && Objects.equals(this.legacyId, tagInfo.legacyId) && + Objects.equals(this.modifiedDate, tagInfo.modifiedDate) && Objects.equals(this.objectType, tagInfo.objectType) && + Objects.equals(this.type, tagInfo.type) && Objects.equals(this.value, tagInfo.value); } @Override public int hashCode() { - return Objects.hash(assignments, accessType, aid, color, createDate, icon, description, id, key, legacyId, objectType, value); + return Objects.hash(assignments, accessType, aid, builtIn, color, createDate, icon, description, id, key, legacyId, modifiedDate, objectType, type, value); } @Override @@ -393,6 +469,7 @@ public String toString() { sb.append(" assignments: ").append(toIndentedString(assignments)).append("\n"); sb.append(" accessType: ").append(toIndentedString(accessType)).append("\n"); sb.append(" aid: ").append(toIndentedString(aid)).append("\n"); + sb.append(" builtIn: ").append(toIndentedString(builtIn)).append("\n"); sb.append(" color: ").append(toIndentedString(color)).append("\n"); sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); sb.append(" icon: ").append(toIndentedString(icon)).append("\n"); @@ -400,7 +477,9 @@ public String toString() { sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" legacyId: ").append(toIndentedString(legacyId)).append("\n"); + sb.append(" modifiedDate: ").append(toIndentedString(modifiedDate)).append("\n"); sb.append(" objectType: ").append(toIndentedString(objectType)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/tags/src/main/java/com/thousandeyes/sdk/tags/model/Type.java b/tags/src/main/java/com/thousandeyes/sdk/tags/model/Type.java new file mode 100644 index 000000000..ed3a2d0b3 --- /dev/null +++ b/tags/src/main/java/com/thousandeyes/sdk/tags/model/Type.java @@ -0,0 +1,60 @@ +/* + * Tags API + * The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or dashboards) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`. This feature provides: * Support for automation. * Powerful and flexible reports/dashboards. * Support for third-party integrations. Things to note with the ThousandEyes Tags API: * Tags are backwards-compatible with existing labels. * Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field. * Tags are defined in a single table so that they can be represented using a single model - `Tag`. + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.thousandeyes.sdk.tags.model; + +import java.util.Objects; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * The nature of the tag - whether the tag is dynamically assigned to products based on a filter rule or statically assigned to specified products. + */ +public enum Type { + + STATIC("static"), + + UNKNOWN("unknown"); + + private String value; + + Type(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static Type fromValue(String value) { + for (Type b : Type.values()) { + if (b.value.equals(value)) { + return b; + } + } + return UNKNOWN; + } + +} + diff --git a/tags/src/test/java/com/thousandeyes/sdk/tags/TagsApiTest.java b/tags/src/test/java/com/thousandeyes/sdk/tags/TagsApiTest.java index 9531f11df..6f9f4a8f1 100644 --- a/tags/src/test/java/com/thousandeyes/sdk/tags/TagsApiTest.java +++ b/tags/src/test/java/com/thousandeyes/sdk/tags/TagsApiTest.java @@ -87,7 +87,6 @@ public void createTagRequestAndResponseDeserializationTest() var requestBodyJson = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -96,15 +95,19 @@ public void createTagRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } """; var requestBodyContentType = "application/json"; @@ -114,7 +117,6 @@ public void createTagRequestAndResponseDeserializationTest() var responseBodyJson = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -123,15 +125,19 @@ public void createTagRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } """; var statusCode = 201; @@ -171,7 +177,6 @@ public void createTagsRequestAndResponseDeserializationTest() "errors" : [ { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -180,15 +185,19 @@ public void createTagsRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -196,7 +205,6 @@ public void createTagsRequestAndResponseDeserializationTest() }, { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -205,15 +213,19 @@ public void createTagsRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -240,10 +252,13 @@ public void createTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -271,10 +286,13 @@ public void createTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -294,7 +312,6 @@ public void createTagsRequestAndResponseDeserializationTest() "errors" : [ { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -303,15 +320,19 @@ public void createTagsRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -319,7 +340,6 @@ public void createTagsRequestAndResponseDeserializationTest() }, { "tag" : { "key" : { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -328,15 +348,19 @@ public void createTagsRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } }, "message" : "Object successfully created", @@ -363,10 +387,13 @@ public void createTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -394,10 +421,13 @@ public void createTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -490,10 +520,13 @@ public void getTagRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -569,10 +602,13 @@ public void getTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -600,10 +636,13 @@ public void getTagsRequestAndResponseDeserializationTest() "title" : "title" } }, + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", "objectType" : "test", "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, @@ -646,7 +685,6 @@ public void updateTagRequestAndResponseDeserializationTest() var requestBodyJson = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -655,15 +693,19 @@ public void updateTagRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } """; var requestBodyContentType = "application/json"; @@ -673,7 +715,6 @@ public void updateTagRequestAndResponseDeserializationTest() var responseBodyJson = """ { - "accessType" : "all", "assignments" : [ { "id" : "123", "type" : "test" @@ -682,15 +723,19 @@ public void updateTagRequestAndResponseDeserializationTest() "type" : "test" } ], "color" : "#FF0000", + "builtIn" : true, "icon" : "icon", "description" : "To tag assets in San Francisco", + "type" : "static", + "objectType" : "test", + "accessType" : "all", + "modifiedDate" : "2022-03-01T23:31:11Z", "legacyId" : 0.8008281904610115, "id" : "5aeab5d5-0d34-4d44-a7ac-fb440185295c", "aid" : 1234, "value" : "sfo", "key" : "branch", - "createDate" : "2022-03-01T23:31:11Z", - "objectType" : "test" + "createDate" : "2022-03-01T23:31:11Z" } """; var statusCode = 200; diff --git a/test-results/README.md b/test-results/README.md index 95f4da5b5..b5ed019d1 100644 --- a/test-results/README.md +++ b/test-results/README.md @@ -2,7 +2,7 @@ Test Results API -- API version: 7.0.70 +- API version: 7.0.71 Get test result metrics for Network and Application Synthetics tests. diff --git a/tests/README.md b/tests/README.md index 45fb2cd10..28d8ac4d3 100644 --- a/tests/README.md +++ b/tests/README.md @@ -2,7 +2,7 @@ Tests API -- API version: 7.0.70 +- API version: 7.0.71 This API allows you to list, create, edit, and delete Network and Application Synthetics tests. diff --git a/usage/README.md b/usage/README.md index 0df42828e..017668895 100644 --- a/usage/README.md +++ b/usage/README.md @@ -2,7 +2,7 @@ Usage API -- API version: 7.0.70 +- API version: 7.0.71 These usage endpoints define the following operations: