Skip to content

Commit

Permalink
[GitHub Bot] Generated java SDK (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: API Team <api-team@thousandeyes.com>
  • Loading branch information
mpragosa-te and API Team authored Feb 26, 2025
1 parent 7866b86 commit 8d26a28
Show file tree
Hide file tree
Showing 44 changed files with 498 additions and 35 deletions.
2 changes: 1 addition & 1 deletion administrative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Administrative API

- API version: 7.0.36
- API version: 7.0.37

Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API.
This API provides the following operations to manage your organization:
Expand Down
2 changes: 1 addition & 1 deletion agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Agents API

- API version: 7.0.36
- API version: 7.0.37


## Overview
Expand Down
2 changes: 1 addition & 1 deletion alerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Alerts API

- API version: 7.0.36
- API version: 7.0.37

You can manage the following alert functionalities on the ThousandEyes platform using the Alerts API:

Expand Down
2 changes: 1 addition & 1 deletion bgp-monitors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BGP Monitors API

- API version: 7.0.36
- API version: 7.0.37


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.
Expand Down
2 changes: 1 addition & 1 deletion credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Credentials API

- API version: 7.0.36
- API version: 7.0.37

Manage credentials for transaction tests using the Credentials API.

Expand Down
2 changes: 1 addition & 1 deletion dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Dashboards API

- API version: 7.0.36
- API version: 7.0.37

Manage ThousandEyes Dashboards.

Expand Down
2 changes: 1 addition & 1 deletion emulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Emulation API

- API version: 7.0.36
- API version: 7.0.37

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.

Expand Down
2 changes: 1 addition & 1 deletion endpoint-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Endpoint Agents API

- API version: 7.0.36
- API version: 7.0.37

Manage ThousandEyes Endpoint Agents using this API.

Expand Down
2 changes: 1 addition & 1 deletion endpoint-instant-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Endpoint Instant Scheduled Tests API

- API version: 7.0.36
- API version: 7.0.37


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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
EndpointAgentToServerTest.JSON_PROPERTY_LINKS,
EndpointAgentToServerTest.JSON_PROPERTY_AGENT_SELECTOR_CONFIG,
EndpointAgentToServerTest.JSON_PROPERTY_CREATED_DATE,
EndpointAgentToServerTest.JSON_PROPERTY_IS_PRIORITIZED,
EndpointAgentToServerTest.JSON_PROPERTY_INTERVAL,
EndpointAgentToServerTest.JSON_PROPERTY_IS_ENABLED,
EndpointAgentToServerTest.JSON_PROPERTY_IS_SAVED_EVENT,
Expand Down Expand Up @@ -72,6 +73,9 @@ public class EndpointAgentToServerTest {
public static final String JSON_PROPERTY_CREATED_DATE = "createdDate";
private OffsetDateTime createdDate;

public static final String JSON_PROPERTY_IS_PRIORITIZED = "isPrioritized";
private Boolean isPrioritized = false;

public static final String JSON_PROPERTY_INTERVAL = "interval";
private TestInterval interval = TestInterval.NUMBER_60;

Expand Down Expand Up @@ -228,6 +232,31 @@ public OffsetDateTime getCreatedDate() {



public EndpointAgentToServerTest isPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
return this;
}

/**
* Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.
* @return isPrioritized
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Boolean getIsPrioritized() {
return isPrioritized;
}


@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
}


public EndpointAgentToServerTest interval(TestInterval interval) {
this.interval = interval;
return this;
Expand Down Expand Up @@ -569,6 +598,7 @@ public boolean equals(Object o) {
Objects.equals(this.links, endpointAgentToServerTest.links) &&
Objects.equals(this.agentSelectorConfig, endpointAgentToServerTest.agentSelectorConfig) &&
Objects.equals(this.createdDate, endpointAgentToServerTest.createdDate) &&
Objects.equals(this.isPrioritized, endpointAgentToServerTest.isPrioritized) &&
Objects.equals(this.interval, endpointAgentToServerTest.interval) &&
Objects.equals(this.isEnabled, endpointAgentToServerTest.isEnabled) &&
Objects.equals(this.isSavedEvent, endpointAgentToServerTest.isSavedEvent) &&
Expand All @@ -588,7 +618,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(aid, links, agentSelectorConfig, createdDate, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port, labels);
return Objects.hash(aid, links, agentSelectorConfig, createdDate, isPrioritized, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port, labels);
}

@Override
Expand All @@ -599,6 +629,7 @@ public String toString() {
sb.append(" links: ").append(toIndentedString(links)).append("\n");
sb.append(" agentSelectorConfig: ").append(toIndentedString(agentSelectorConfig)).append("\n");
sb.append(" createdDate: ").append(toIndentedString(createdDate)).append("\n");
sb.append(" isPrioritized: ").append(toIndentedString(isPrioritized)).append("\n");
sb.append(" interval: ").append(toIndentedString(interval)).append("\n");
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
sb.append(" isSavedEvent: ").append(toIndentedString(isSavedEvent)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
EndpointHttpServerTest.JSON_PROPERTY_LINKS,
EndpointHttpServerTest.JSON_PROPERTY_AGENT_SELECTOR_CONFIG,
EndpointHttpServerTest.JSON_PROPERTY_CREATED_DATE,
EndpointHttpServerTest.JSON_PROPERTY_IS_PRIORITIZED,
EndpointHttpServerTest.JSON_PROPERTY_INTERVAL,
EndpointHttpServerTest.JSON_PROPERTY_IS_ENABLED,
EndpointHttpServerTest.JSON_PROPERTY_IS_SAVED_EVENT,
Expand Down Expand Up @@ -85,6 +86,9 @@ public class EndpointHttpServerTest {
public static final String JSON_PROPERTY_CREATED_DATE = "createdDate";
private OffsetDateTime createdDate;

public static final String JSON_PROPERTY_IS_PRIORITIZED = "isPrioritized";
private Boolean isPrioritized = false;

public static final String JSON_PROPERTY_INTERVAL = "interval";
private TestInterval interval = TestInterval.NUMBER_60;

Expand Down Expand Up @@ -276,6 +280,31 @@ public OffsetDateTime getCreatedDate() {



public EndpointHttpServerTest isPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
return this;
}

/**
* Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.
* @return isPrioritized
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Boolean getIsPrioritized() {
return isPrioritized;
}


@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
}


public EndpointHttpServerTest interval(TestInterval interval) {
this.interval = interval;
return this;
Expand Down Expand Up @@ -886,6 +915,7 @@ public boolean equals(Object o) {
Objects.equals(this.links, endpointHttpServerTest.links) &&
Objects.equals(this.agentSelectorConfig, endpointHttpServerTest.agentSelectorConfig) &&
Objects.equals(this.createdDate, endpointHttpServerTest.createdDate) &&
Objects.equals(this.isPrioritized, endpointHttpServerTest.isPrioritized) &&
Objects.equals(this.interval, endpointHttpServerTest.interval) &&
Objects.equals(this.isEnabled, endpointHttpServerTest.isEnabled) &&
Objects.equals(this.isSavedEvent, endpointHttpServerTest.isSavedEvent) &&
Expand Down Expand Up @@ -916,7 +946,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(aid, links, agentSelectorConfig, createdDate, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port, authType, httpTimeLimit, username, sslVersionId, verifyCertificate, url, followRedirects, httpTargetTime, httpVersion, sslVersion, useNtlm, labels);
return Objects.hash(aid, links, agentSelectorConfig, createdDate, isPrioritized, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port, authType, httpTimeLimit, username, sslVersionId, verifyCertificate, url, followRedirects, httpTargetTime, httpVersion, sslVersion, useNtlm, labels);
}

@Override
Expand All @@ -927,6 +957,7 @@ public String toString() {
sb.append(" links: ").append(toIndentedString(links)).append("\n");
sb.append(" agentSelectorConfig: ").append(toIndentedString(agentSelectorConfig)).append("\n");
sb.append(" createdDate: ").append(toIndentedString(createdDate)).append("\n");
sb.append(" isPrioritized: ").append(toIndentedString(isPrioritized)).append("\n");
sb.append(" interval: ").append(toIndentedString(interval)).append("\n");
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
sb.append(" isSavedEvent: ").append(toIndentedString(isSavedEvent)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
EndpointTest.JSON_PROPERTY_LINKS,
EndpointTest.JSON_PROPERTY_AGENT_SELECTOR_CONFIG,
EndpointTest.JSON_PROPERTY_CREATED_DATE,
EndpointTest.JSON_PROPERTY_IS_PRIORITIZED,
EndpointTest.JSON_PROPERTY_INTERVAL,
EndpointTest.JSON_PROPERTY_IS_ENABLED,
EndpointTest.JSON_PROPERTY_IS_SAVED_EVENT,
Expand Down Expand Up @@ -68,6 +69,9 @@ public class EndpointTest {
public static final String JSON_PROPERTY_CREATED_DATE = "createdDate";
private OffsetDateTime createdDate;

public static final String JSON_PROPERTY_IS_PRIORITIZED = "isPrioritized";
private Boolean isPrioritized = false;

public static final String JSON_PROPERTY_INTERVAL = "interval";
private TestInterval interval = TestInterval.NUMBER_60;

Expand Down Expand Up @@ -217,6 +221,31 @@ public OffsetDateTime getCreatedDate() {



public EndpointTest isPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
return this;
}

/**
* Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit.
* @return isPrioritized
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Boolean getIsPrioritized() {
return isPrioritized;
}


@JsonProperty(JSON_PROPERTY_IS_PRIORITIZED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsPrioritized(Boolean isPrioritized) {
this.isPrioritized = isPrioritized;
}


public EndpointTest interval(TestInterval interval) {
this.interval = interval;
return this;
Expand Down Expand Up @@ -553,6 +582,7 @@ public boolean equals(Object o) {
Objects.equals(this.links, endpointTest.links) &&
Objects.equals(this.agentSelectorConfig, endpointTest.agentSelectorConfig) &&
Objects.equals(this.createdDate, endpointTest.createdDate) &&
Objects.equals(this.isPrioritized, endpointTest.isPrioritized) &&
Objects.equals(this.interval, endpointTest.interval) &&
Objects.equals(this.isEnabled, endpointTest.isEnabled) &&
Objects.equals(this.isSavedEvent, endpointTest.isSavedEvent) &&
Expand All @@ -571,7 +601,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(aid, links, agentSelectorConfig, createdDate, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port);
return Objects.hash(aid, links, agentSelectorConfig, createdDate, isPrioritized, interval, isEnabled, isSavedEvent, hasPathTraceInSession, modifiedDate, networkMeasurements, protocol, ipVersion, server, testId, testName, type, tcpProbeMode, port);
}

@Override
Expand All @@ -582,6 +612,7 @@ public String toString() {
sb.append(" links: ").append(toIndentedString(links)).append("\n");
sb.append(" agentSelectorConfig: ").append(toIndentedString(agentSelectorConfig)).append("\n");
sb.append(" createdDate: ").append(toIndentedString(createdDate)).append("\n");
sb.append(" isPrioritized: ").append(toIndentedString(isPrioritized)).append("\n");
sb.append(" interval: ").append(toIndentedString(interval)).append("\n");
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
sb.append(" isSavedEvent: ").append(toIndentedString(isSavedEvent)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void createAgentToServerScheduledInstantTestRequestAndResponseDeserializa
"title" : "title"
}
},
"isPrioritized" : false,
"networkMeasurements" : true,
"type" : "agent-to-server",
"tcpProbeMode" : "auto",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public void createHttpServerScheduledInstantTestRequestAndResponseDeserializatio
"title" : "title"
}
},
"isPrioritized" : false,
"httpTimeLimit" : 5000,
"type" : "http-server",
"protocol" : "icmp",
Expand Down
2 changes: 1 addition & 1 deletion endpoint-labels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Endpoint Agent Labels API

- API version: 7.0.36
- API version: 7.0.37

Manage labels applied to endpoint agents using this API.

Expand Down
2 changes: 1 addition & 1 deletion endpoint-test-results/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Endpoint Test Results API

- API version: 7.0.36
- API version: 7.0.37

Retrieve results for scheduled and dynamic tests on endpoint agents.

Expand Down
Loading

0 comments on commit 8d26a28

Please sign in to comment.