Merge pull request #29 from ngrok/pr/generated-1c33832a1b

Update generated files
This commit is contained in:
Andrew Harris
2026-01-23 15:16:32 -08:00
committed by GitHub
23 changed files with 562 additions and 130 deletions
+4
View File
@@ -1,4 +1,8 @@
<!-- Code generated for API Clients. DO NOT EDIT. -->
## 0.16.0
* Add support for `resolves_to` on Reserved Domains.
* Deprecate API filtering via `id` and `url` query parameters. Please migrate to the filtering syntax described in [API Filtering](https://ngrok.com/docs/api/api-filtering).
## 0.15.0
* Add support for CEL filtering when listing resources.
* Add support for service users
@@ -50,7 +50,7 @@ public class Credential {
* @param metadata arbitrary user-defined machine-readable data of this credential. Optional, max 4096 bytes.
* @param token the credential&#39;s authtoken that can be used to authenticate an ngrok agent. <strong>This value is only available one time, on the API response from credential creation, otherwise it is null.</strong>
* @param acl optional list of ACL rules. If unspecified, the credential will have no restrictions. The only allowed ACL rule at this time is the <code>bind</code> rule. The <code>bind</code> rule allows the caller to restrict what domains, addresses, and labels the token is allowed to bind. For example, to allow the token to open a tunnel on example.ngrok.io your ACL would include the rule <code>bind:example.ngrok.io</code>. Bind rules for domains may specify a leading wildcard to match multiple domains with a common suffix. For example, you may specify a rule of <code>bind:*.example.com</code> which will allow <code>x.example.com</code>, <code>y.example.com</code>, <code>*.example.com</code>, etc. Bind rules for labels may specify a wildcard key and/or value to match multiple labels. For example, you may specify a rule of <code>bind:*=example</code> which will allow <code>x=example</code>, <code>y=example</code>, etc. A rule of <code>&#39;*&#39;</code> is equivalent to no acl at all and will explicitly permit all actions.
* @param ownerId If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot.
* @param ownerId If supplied at credential creation, ownership will be assigned to the specified User or Service User. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Service User. Accepts one of: User ID, User email, or SCIM User ID.
*/
@JsonCreator
public Credential(
@@ -155,8 +155,9 @@ public class Credential {
/**
* If supplied at credential creation, ownership will be assigned to the specified
* User or Bot. Only admins may specify an owner other than themselves. Defaults to
* the authenticated User or Bot.
* User or Service User. Only admins may specify an owner other than themselves.
* Defaults to the authenticated User or Service User. Accepts one of: User ID,
* User email, or SCIM User ID.
*
* @return the value of the property as a {@link String} wrapped in an {@link Optional}
*/
@@ -51,6 +51,9 @@ public class ReservedDomain {
@JsonProperty("acme_challenge_cname_target")
@JsonInclude(value = JsonInclude.Include.NON_ABSENT)
private final Optional<String> acmeChallengeCnameTarget;
@JsonProperty("resolves_to")
@JsonInclude(value = JsonInclude.Include.NON_ABSENT)
private final Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo;
/**
* Creates a new instance of {@link ReservedDomain}.
@@ -67,6 +70,7 @@ public class ReservedDomain {
* @param certificateManagementPolicy configuration for automatic management of TLS certificates for this domain, or null if automatic management is disabled
* @param certificateManagementStatus status of the automatic certificate management for this domain, or null if automatic management is disabled
* @param acmeChallengeCnameTarget DNS CNAME target for the host _acme-challenge.example.com, where example.com is your reserved domain name. This is required to issue certificates for wildcard, non-ngrok reserved domains. Must be null for non-wildcard domains and ngrok subdomains.
* @param resolvesTo DNS resolver targets configured for the reserved domain, or empty for &#34;global&#34; resolution.
*/
@JsonCreator
public ReservedDomain(
@@ -81,7 +85,8 @@ public class ReservedDomain {
@JsonProperty("certificate") final Optional<Ref> certificate,
@JsonProperty("certificate_management_policy") final Optional<ReservedDomainCertPolicy> certificateManagementPolicy,
@JsonProperty("certificate_management_status") final Optional<ReservedDomainCertStatus> certificateManagementStatus,
@JsonProperty("acme_challenge_cname_target") final Optional<String> acmeChallengeCnameTarget
@JsonProperty("acme_challenge_cname_target") final Optional<String> acmeChallengeCnameTarget,
@JsonProperty("resolves_to") final Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo
) {
this.id = Objects.requireNonNull(id, "id is required");
this.uri = Objects.requireNonNull(uri, "uri is required");
@@ -95,6 +100,7 @@ public class ReservedDomain {
this.certificateManagementPolicy = certificateManagementPolicy != null ? certificateManagementPolicy : Optional.empty();
this.certificateManagementStatus = certificateManagementStatus != null ? certificateManagementStatus : Optional.empty();
this.acmeChallengeCnameTarget = acmeChallengeCnameTarget != null ? acmeChallengeCnameTarget : Optional.empty();
this.resolvesTo = resolvesTo != null ? resolvesTo : Optional.empty();
}
/**
@@ -217,6 +223,16 @@ public class ReservedDomain {
return this.acmeChallengeCnameTarget;
}
/**
* DNS resolver targets configured for the reserved domain, or empty for
* &#34;global&#34; resolution.
*
* @return the value of the property as a {@link java.util.List} of {@link ReservedDomainResolvesToEntry} wrapped in an {@link Optional}
*/
public Optional<java.util.List<ReservedDomainResolvesToEntry>> getResolvesTo() {
return this.resolvesTo;
}
@Override
public boolean equals(final Object o) {
if (this == o) {
@@ -239,7 +255,8 @@ public class ReservedDomain {
this.certificate.equals(other.certificate)&&
this.certificateManagementPolicy.equals(other.certificateManagementPolicy)&&
this.certificateManagementStatus.equals(other.certificateManagementStatus)&&
this.acmeChallengeCnameTarget.equals(other.acmeChallengeCnameTarget);
this.acmeChallengeCnameTarget.equals(other.acmeChallengeCnameTarget)&&
this.resolvesTo.equals(other.resolvesTo);
}
@@ -257,7 +274,8 @@ public class ReservedDomain {
this.certificate,
this.certificateManagementPolicy,
this.certificateManagementStatus,
this.acmeChallengeCnameTarget
this.acmeChallengeCnameTarget,
this.resolvesTo
);
}
@@ -276,6 +294,7 @@ public class ReservedDomain {
"', certificateManagementPolicy='" + this.certificateManagementPolicy.map(Object::toString).orElse("(null)") +
"', certificateManagementStatus='" + this.certificateManagementStatus.map(Object::toString).orElse("(null)") +
"', acmeChallengeCnameTarget='" + this.acmeChallengeCnameTarget.orElse("(null)") +
"', resolvesTo='" + this.resolvesTo.map(Object::toString).orElse("(null)") +
"'}";
}
}
@@ -0,0 +1,126 @@
/* Code generated for API Clients. DO NOT EDIT. */
package com.ngrok.definitions;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import java.util.Optional;
/**
* A class encapsulating the {@link ReservedDomainResolvesToEntry} resource.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ReservedDomainResolvesToEntry {
/**
* Builder class for {@link ReservedDomainResolvesToEntry}.
*/
public static class Builder {
private Optional<String> value = Optional.empty();
private Builder(
) {
}
/**
* accepts an ngrok point-of-presence shortcode, or &#34;global&#34;
*
* @param value the value of the <code>value</code> parameter as a {@link String}
* @return this builder instance
*/
public Builder value(final String value) {
this.value = Optional.of(Objects.requireNonNull(value, "value is required"));
return this;
}
/**
* accepts an ngrok point-of-presence shortcode, or &#34;global&#34;
*
* @param value the value of the <code>value</code> parameter as a {@link String}, wrapped in an {@link Optional}
* @return this builder instance
*/
public Builder value(final Optional<String> value) {
this.value = Objects.requireNonNull(value, "value is required");
return this;
}
/**
* Constructs the {@link ReservedDomainResolvesToEntry} instance.
*
* @return a new {@link ReservedDomainResolvesToEntry}
*/
public ReservedDomainResolvesToEntry build() {
return new ReservedDomainResolvesToEntry(
this.value.orElse("")
);
}
}
/**
* Creates a new builder for the {@link ReservedDomainResolvesToEntry} type.
*
* @return a new {@link Builder}
*/
public static Builder newBuilder(
) {
return new Builder (
);
}
@JsonProperty("value")
@JsonInclude(value = JsonInclude.Include.NON_ABSENT)
private final String value;
/**
* Creates a new instance of {@link ReservedDomainResolvesToEntry}.
*
* @param value accepts an ngrok point-of-presence shortcode, or &#34;global&#34;
*/
@JsonCreator
private ReservedDomainResolvesToEntry(
@JsonProperty("value") final String value
) {
this.value = Objects.requireNonNull(value, "value is required");
}
/**
* accepts an ngrok point-of-presence shortcode, or &#34;global&#34;
*
* @return the value of the property as a {@link String}
*/
public String getValue() {
return this.value;
}
@Override
public boolean equals(final Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
final ReservedDomainResolvesToEntry other = (ReservedDomainResolvesToEntry) o;
return
this.value.equals(other.value);
}
@Override
public int hashCode() {
return Objects.hash(
this.value
);
}
@Override
public String toString() {
return "ReservedDomainResolvesToEntry{" +
"value='" + this.value +
"'}";
}
}
@@ -297,7 +297,8 @@ public class AgentIngresses {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -308,7 +309,8 @@ public class AgentIngresses {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -319,7 +321,8 @@ public class AgentIngresses {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -330,7 +333,8 @@ public class AgentIngresses {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -341,7 +345,11 @@ public class AgentIngresses {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -352,7 +360,11 @@ public class AgentIngresses {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
+18 -6
View File
@@ -297,7 +297,8 @@ public class ApiKeys {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -308,7 +309,8 @@ public class ApiKeys {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -319,7 +321,8 @@ public class ApiKeys {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -330,7 +333,8 @@ public class ApiKeys {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -341,7 +345,11 @@ public class ApiKeys {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -352,7 +360,11 @@ public class ApiKeys {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -274,7 +274,8 @@ public class CertificateAuthorities {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -285,7 +286,8 @@ public class CertificateAuthorities {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -296,7 +298,8 @@ public class CertificateAuthorities {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -307,7 +310,8 @@ public class CertificateAuthorities {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -318,7 +322,11 @@ public class CertificateAuthorities {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -329,7 +337,11 @@ public class CertificateAuthorities {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -145,8 +145,9 @@ public class Credentials {
/**
* If supplied at credential creation, ownership will be assigned to the specified
* User or Bot. Only admins may specify an owner other than themselves. Defaults to
* the authenticated User or Bot.
* User or Service User. Only admins may specify an owner other than themselves.
* Defaults to the authenticated User or Service User. Accepts one of: User ID,
* User email, or SCIM User ID.
*
* @param ownerId the value of the owner_id parameter as a {@link String}
* @return the call builder instance
@@ -158,8 +159,9 @@ public class Credentials {
/**
* If supplied at credential creation, ownership will be assigned to the specified
* User or Bot. Only admins may specify an owner other than themselves. Defaults to
* the authenticated User or Bot.
* User or Service User. Only admins may specify an owner other than themselves.
* Defaults to the authenticated User or Service User. Accepts one of: User ID,
* User email, or SCIM User ID.
*
* @param ownerId the value of the owner_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -348,7 +350,8 @@ public class Credentials {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -359,7 +362,8 @@ public class Credentials {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -370,7 +374,8 @@ public class Credentials {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -381,7 +386,8 @@ public class Credentials {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -392,7 +398,11 @@ public class Credentials {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -403,7 +413,11 @@ public class Credentials {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
+22 -10
View File
@@ -217,7 +217,8 @@ public class Endpoints {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -228,7 +229,8 @@ public class Endpoints {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -239,7 +241,8 @@ public class Endpoints {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -250,7 +253,8 @@ public class Endpoints {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -261,7 +265,7 @@ public class Endpoints {
}
/**
* Sets the <code>id</code> parameter.
* Filter results by endpoint IDs. Deprecated: use <code>filter</code> instead.
*
* @param id the value of the id parameter as a {@link java.util.List} of {@link String}
* @return the call builder instance
@@ -272,7 +276,7 @@ public class Endpoints {
}
/**
* Sets (or unsets) the <code>id</code> parameter.
* Filter results by endpoint IDs. Deprecated: use <code>filter</code> instead.
*
* @param id the value of the id parameter as an {@link Optional} of {@link java.util.List} of {@link String}
* @return the call builder instance
@@ -283,7 +287,7 @@ public class Endpoints {
}
/**
* Sets the <code>url</code> parameter.
* Filter results by endpoint URLs. Deprecated: use <code>filter</code> instead.
*
* @param url the value of the url parameter as a {@link java.util.List} of {@link String}
* @return the call builder instance
@@ -294,7 +298,7 @@ public class Endpoints {
}
/**
* Sets (or unsets) the <code>url</code> parameter.
* Filter results by endpoint URLs. Deprecated: use <code>filter</code> instead.
*
* @param url the value of the url parameter as an {@link Optional} of {@link java.util.List} of {@link String}
* @return the call builder instance
@@ -305,7 +309,11 @@ public class Endpoints {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -316,7 +324,11 @@ public class Endpoints {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -319,7 +319,8 @@ public class EventDestinations {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -330,7 +331,8 @@ public class EventDestinations {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -341,7 +343,8 @@ public class EventDestinations {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -352,7 +355,8 @@ public class EventDestinations {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -363,7 +367,11 @@ public class EventDestinations {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -374,7 +382,11 @@ public class EventDestinations {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -313,7 +313,8 @@ public class EventSubscriptions {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -324,7 +325,8 @@ public class EventSubscriptions {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -335,7 +337,8 @@ public class EventSubscriptions {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -346,7 +349,8 @@ public class EventSubscriptions {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -357,7 +361,11 @@ public class EventSubscriptions {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -368,7 +376,11 @@ public class EventSubscriptions {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -270,7 +270,8 @@ public class IpPolicies {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -281,7 +282,8 @@ public class IpPolicies {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -292,7 +294,8 @@ public class IpPolicies {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -303,7 +306,8 @@ public class IpPolicies {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -314,7 +318,11 @@ public class IpPolicies {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -325,7 +333,11 @@ public class IpPolicies {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -285,7 +285,8 @@ public class IpPolicyRules {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -296,7 +297,8 @@ public class IpPolicyRules {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -307,7 +309,8 @@ public class IpPolicyRules {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -318,7 +321,8 @@ public class IpPolicyRules {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -329,7 +333,11 @@ public class IpPolicyRules {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -340,7 +348,11 @@ public class IpPolicyRules {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -306,7 +306,8 @@ public class IpRestrictions {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -317,7 +318,8 @@ public class IpRestrictions {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -328,7 +330,8 @@ public class IpRestrictions {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -339,7 +342,8 @@ public class IpRestrictions {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -350,7 +354,11 @@ public class IpRestrictions {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -361,7 +369,11 @@ public class IpRestrictions {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -289,7 +289,8 @@ public class ReservedAddrs {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -300,7 +301,8 @@ public class ReservedAddrs {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -311,7 +313,8 @@ public class ReservedAddrs {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -322,7 +325,8 @@ public class ReservedAddrs {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -333,7 +337,11 @@ public class ReservedAddrs {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -344,7 +352,11 @@ public class ReservedAddrs {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -43,6 +43,7 @@ public class ReservedDomains {
private Optional<String> metadata = Optional.empty();
private Optional<String> certificateId = Optional.empty();
private Optional<ReservedDomainCertPolicy> certificateManagementPolicy = Optional.empty();
private Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo = Optional.empty();
private CreateCallBuilder(
) {
@@ -196,6 +197,30 @@ public class ReservedDomains {
return this;
}
/**
* DNS resolver targets configured for the reserved domain, or empty for
* &#34;global&#34; resolution.
*
* @param resolvesTo the value of the resolves_to parameter as a {@link java.util.List} of {@link ReservedDomainResolvesToEntry}
* @return the call builder instance
*/
public CreateCallBuilder resolvesTo(final java.util.List<ReservedDomainResolvesToEntry> resolvesTo) {
this.resolvesTo = Optional.of(Objects.requireNonNull(resolvesTo, "resolvesTo is required"));
return this;
}
/**
* DNS resolver targets configured for the reserved domain, or empty for
* &#34;global&#34; resolution.
*
* @param resolvesTo the value of the resolves_to parameter as an {@link Optional} of {@link java.util.List} of {@link ReservedDomainResolvesToEntry}
* @return the call builder instance
*/
public CreateCallBuilder resolvesTo(final Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo) {
this.resolvesTo = Objects.requireNonNull(resolvesTo, "resolvesTo is required");
return this;
}
/**
* Initiates the API call asynchronously.
*
@@ -212,7 +237,8 @@ public class ReservedDomains {
new AbstractMap.SimpleEntry<>("description", this.description.map(Function.identity())),
new AbstractMap.SimpleEntry<>("metadata", this.metadata.map(Function.identity())),
new AbstractMap.SimpleEntry<>("certificate_id", this.certificateId.map(Function.identity())),
new AbstractMap.SimpleEntry<>("certificate_management_policy", this.certificateManagementPolicy.map(Function.identity()))
new AbstractMap.SimpleEntry<>("certificate_management_policy", this.certificateManagementPolicy.map(Function.identity())),
new AbstractMap.SimpleEntry<>("resolves_to", Optional.of(this.resolvesTo).filter(resolvesTo -> !resolvesTo.isEmpty()).map(Function.identity()))
),
Optional.of(ReservedDomain.class)
);
@@ -374,7 +400,8 @@ public class ReservedDomains {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -385,7 +412,8 @@ public class ReservedDomains {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -396,7 +424,8 @@ public class ReservedDomains {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -407,7 +436,8 @@ public class ReservedDomains {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -418,7 +448,11 @@ public class ReservedDomains {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -429,7 +463,11 @@ public class ReservedDomains {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -495,6 +533,7 @@ public class ReservedDomains {
private Optional<String> metadata = Optional.empty();
private Optional<String> certificateId = Optional.empty();
private Optional<ReservedDomainCertPolicy> certificateManagementPolicy = Optional.empty();
private Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo = Optional.empty();
private UpdateCallBuilder(
final String id
@@ -600,6 +639,30 @@ public class ReservedDomains {
return this;
}
/**
* DNS resolver targets configured for the reserved domain, or empty for
* &#34;global&#34; resolution.
*
* @param resolvesTo the value of the resolves_to parameter as a {@link java.util.List} of {@link ReservedDomainResolvesToEntry}
* @return the call builder instance
*/
public UpdateCallBuilder resolvesTo(final java.util.List<ReservedDomainResolvesToEntry> resolvesTo) {
this.resolvesTo = Optional.of(Objects.requireNonNull(resolvesTo, "resolvesTo is required"));
return this;
}
/**
* DNS resolver targets configured for the reserved domain, or empty for
* &#34;global&#34; resolution.
*
* @param resolvesTo the value of the resolves_to parameter as an {@link Optional} of {@link java.util.List} of {@link ReservedDomainResolvesToEntry}
* @return the call builder instance
*/
public UpdateCallBuilder resolvesTo(final Optional<java.util.List<ReservedDomainResolvesToEntry>> resolvesTo) {
this.resolvesTo = Objects.requireNonNull(resolvesTo, "resolvesTo is required");
return this;
}
/**
* Initiates the API call asynchronously.
*
@@ -614,7 +677,8 @@ public class ReservedDomains {
new AbstractMap.SimpleEntry<>("description", this.description.map(Function.identity())),
new AbstractMap.SimpleEntry<>("metadata", this.metadata.map(Function.identity())),
new AbstractMap.SimpleEntry<>("certificate_id", this.certificateId.map(Function.identity())),
new AbstractMap.SimpleEntry<>("certificate_management_policy", this.certificateManagementPolicy.map(Function.identity()))
new AbstractMap.SimpleEntry<>("certificate_management_policy", this.certificateManagementPolicy.map(Function.identity())),
new AbstractMap.SimpleEntry<>("resolves_to", Optional.of(this.resolvesTo).filter(resolvesTo -> !resolvesTo.isEmpty()).map(Function.identity()))
),
Optional.of(ReservedDomain.class)
);
+18 -6
View File
@@ -511,7 +511,8 @@ public class Secrets {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -522,7 +523,8 @@ public class Secrets {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -533,7 +535,8 @@ public class Secrets {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -544,7 +547,8 @@ public class Secrets {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -555,7 +559,11 @@ public class Secrets {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -566,7 +574,11 @@ public class Secrets {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -259,7 +259,8 @@ public class ServiceUsers {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -270,7 +271,8 @@ public class ServiceUsers {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -281,7 +283,8 @@ public class ServiceUsers {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -292,7 +295,8 @@ public class ServiceUsers {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -303,7 +307,11 @@ public class ServiceUsers {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -314,7 +322,11 @@ public class ServiceUsers {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -340,7 +340,8 @@ public class SshCertificateAuthorities {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -351,7 +352,8 @@ public class SshCertificateAuthorities {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -362,7 +364,8 @@ public class SshCertificateAuthorities {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -373,7 +376,8 @@ public class SshCertificateAuthorities {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -384,7 +388,11 @@ public class SshCertificateAuthorities {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -395,7 +403,11 @@ public class SshCertificateAuthorities {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -350,7 +350,8 @@ public class SshCredentials {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -361,7 +362,8 @@ public class SshCredentials {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -372,7 +374,8 @@ public class SshCredentials {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -383,7 +386,8 @@ public class SshCredentials {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -394,7 +398,11 @@ public class SshCredentials {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -405,7 +413,11 @@ public class SshCredentials {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -279,7 +279,8 @@ public class TlsCertificates {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -290,7 +291,8 @@ public class TlsCertificates {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -301,7 +303,8 @@ public class TlsCertificates {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -312,7 +315,8 @@ public class TlsCertificates {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -323,7 +327,11 @@ public class TlsCertificates {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -334,7 +342,11 @@ public class TlsCertificates {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -45,7 +45,8 @@ public class TunnelSessions {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -56,7 +57,8 @@ public class TunnelSessions {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -67,7 +69,8 @@ public class TunnelSessions {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -78,7 +81,8 @@ public class TunnelSessions {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -89,7 +93,11 @@ public class TunnelSessions {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -100,7 +108,11 @@ public class TunnelSessions {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance
+18 -6
View File
@@ -522,7 +522,8 @@ public class Vaults {
}
/**
* Sets the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as a {@link String}
* @return the call builder instance
@@ -533,7 +534,8 @@ public class Vaults {
}
/**
* Sets (or unsets) the <code>before_id</code> parameter.
* Expects a resource ID as its input. Returns earlier entries in the result set,
* sorted by ID.
*
* @param beforeId the value of the before_id parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -544,7 +546,8 @@ public class Vaults {
}
/**
* Sets the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as a {@link String}
* @return the call builder instance
@@ -555,7 +558,8 @@ public class Vaults {
}
/**
* Sets (or unsets) the <code>limit</code> parameter.
* Constrains the number of results in the dataset. See the <a
* href="https://ngrok.com/docs/api/index#pagination">API Overview</a> for details.
*
* @param limit the value of the limit parameter as an {@link Optional} of {@link String}
* @return the call builder instance
@@ -566,7 +570,11 @@ public class Vaults {
}
/**
* Sets the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as a {@link String}
* @return the call builder instance
@@ -577,7 +585,11 @@ public class Vaults {
}
/**
* Sets (or unsets) the <code>filter</code> parameter.
* A CEL expression to filter the list results. Supports logical and comparison
* operators to match on fields such as <code>id</code>, <code>metadata</code>,
* <code>created_at</code>, and more. See ngrok API Filtering for syntax and field
* details: <a
* href="https://ngrok.com/docs/api/api-filtering">https://ngrok.com/docs/api/api-filtering</a>.
*
* @param filter the value of the filter parameter as an {@link Optional} of {@link String}
* @return the call builder instance