parseExpiryFromCert = Optional.empty();
@@ -235,6 +258,7 @@ public Builder from(PostClientCredentialRequestContent other) {
alg(other.getAlg());
parseExpiryFromCert(other.getParseExpiryFromCert());
expiresAt(other.getExpiresAt());
+ kid(other.getKid());
return this;
}
@@ -245,6 +269,26 @@ public _FinalStage credentialType(@NotNull ClientCredentialTypeEnum credentialTy
return this;
}
+ /**
+ * Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage kid(String kid) {
+ this.kid = Optional.ofNullable(kid);
+ return this;
+ }
+
+ /**
+ * Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}
+ */
+ @java.lang.Override
+ @JsonSetter(value = "kid", nulls = Nulls.SKIP)
+ public _FinalStage kid(Optional kid) {
+ this.kid = kid;
+ return this;
+ }
+
/**
* The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to public_key credential type.
* @return Reference to {@code this} so that method calls can be chained together.
@@ -361,7 +405,15 @@ public _FinalStage name(Optional name) {
@java.lang.Override
public PostClientCredentialRequestContent build() {
return new PostClientCredentialRequestContent(
- credentialType, name, subjectDn, pem, alg, parseExpiryFromCert, expiresAt, additionalProperties);
+ credentialType,
+ name,
+ subjectDn,
+ pem,
+ alg,
+ parseExpiryFromCert,
+ expiresAt,
+ kid,
+ additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/AsyncDiscoveryDomainsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/AsyncDiscoveryDomainsClient.java
index d938c33f..d06894c7 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/AsyncDiscoveryDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/AsyncDiscoveryDomainsClient.java
@@ -35,6 +35,7 @@ public AsyncRawDiscoveryDomainsClient withRawResponse() {
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> list(String id) {
return this.rawClient.list(id).thenApply(response -> response.body());
@@ -42,6 +43,7 @@ public CompletableFuture> list(S
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> list(
String id, RequestOptions requestOptions) {
@@ -50,6 +52,7 @@ public CompletableFuture> list(
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request) {
@@ -58,6 +61,7 @@ public CompletableFuture> list(
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request, RequestOptions requestOptions) {
@@ -82,6 +86,7 @@ public CompletableFuture creat
/**
* Retrieve details about a single organization discovery domain specified by domain name.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture getByName(
String id, String discoveryDomain) {
@@ -90,6 +95,7 @@ public CompletableFuture ge
/**
* Retrieve details about a single organization discovery domain specified by domain name.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture getByName(
String id, String discoveryDomain, RequestOptions requestOptions) {
@@ -98,6 +104,7 @@ public CompletableFuture ge
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture get(String id, String discoveryDomainId) {
return this.rawClient.get(id, discoveryDomainId).thenApply(response -> response.body());
@@ -105,6 +112,7 @@ public CompletableFuture get(Stri
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture get(
String id, String discoveryDomainId, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawDiscoveryDomainsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawDiscoveryDomainsClient.java
index c3252860..24bda7f4 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawDiscoveryDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawDiscoveryDomainsClient.java
@@ -53,6 +53,7 @@ public AsyncRawDiscoveryDomainsClient(ClientOptions clientOptions) {
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture>> list(
String id) {
@@ -62,6 +63,7 @@ public CompletableFuture>> list(
String id, RequestOptions requestOptions) {
@@ -71,6 +73,7 @@ public CompletableFuture>> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request) {
@@ -79,6 +82,7 @@ public CompletableFuture>> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request, RequestOptions requestOptions) {
@@ -297,6 +301,7 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
/**
* Retrieve details about a single organization discovery domain specified by domain name.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> getByName(
String id, String discoveryDomain) {
@@ -305,6 +310,7 @@ public CompletableFuture> getByName(
String id, String discoveryDomain, RequestOptions requestOptions) {
@@ -393,6 +399,7 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public CompletableFuture> get(
String id, String discoveryDomainId) {
@@ -401,6 +408,7 @@ public CompletableFuture> get(
String id, String discoveryDomainId, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/DiscoveryDomainsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/DiscoveryDomainsClient.java
index 294ac013..13131792 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/DiscoveryDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/DiscoveryDomainsClient.java
@@ -34,6 +34,7 @@ public RawDiscoveryDomainsClient withRawResponse() {
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public SyncPagingIterable list(String id) {
return this.rawClient.list(id).body();
@@ -41,6 +42,7 @@ public SyncPagingIterable list(String id) {
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public SyncPagingIterable list(String id, RequestOptions requestOptions) {
return this.rawClient.list(id, requestOptions).body();
@@ -48,6 +50,7 @@ public SyncPagingIterable list(String id, RequestOp
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public SyncPagingIterable list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request) {
@@ -56,6 +59,7 @@ public SyncPagingIterable list(
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public SyncPagingIterable list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request, RequestOptions requestOptions) {
@@ -80,6 +84,7 @@ public CreateOrganizationDiscoveryDomainResponseContent create(
/**
* Retrieve details about a single organization discovery domain specified by domain name.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public GetOrganizationDiscoveryDomainByNameResponseContent getByName(String id, String discoveryDomain) {
return this.rawClient.getByName(id, discoveryDomain).body();
@@ -87,6 +92,7 @@ public GetOrganizationDiscoveryDomainByNameResponseContent getByName(String id,
/**
* Retrieve details about a single organization discovery domain specified by domain name.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public GetOrganizationDiscoveryDomainByNameResponseContent getByName(
String id, String discoveryDomain, RequestOptions requestOptions) {
@@ -95,6 +101,7 @@ public GetOrganizationDiscoveryDomainByNameResponseContent getByName(
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public GetOrganizationDiscoveryDomainResponseContent get(String id, String discoveryDomainId) {
return this.rawClient.get(id, discoveryDomainId).body();
@@ -102,6 +109,7 @@ public GetOrganizationDiscoveryDomainResponseContent get(String id, String disco
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public GetOrganizationDiscoveryDomainResponseContent get(
String id, String discoveryDomainId, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/RawDiscoveryDomainsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/RawDiscoveryDomainsClient.java
index c10b3aad..feefc949 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/RawDiscoveryDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/RawDiscoveryDomainsClient.java
@@ -48,6 +48,7 @@ public RawDiscoveryDomainsClient(ClientOptions clientOptions) {
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public ManagementApiHttpResponse> list(String id) {
return list(
@@ -56,6 +57,7 @@ public ManagementApiHttpResponse
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public ManagementApiHttpResponse> list(
String id, RequestOptions requestOptions) {
@@ -65,6 +67,7 @@ public ManagementApiHttpResponse
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public ManagementApiHttpResponse> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request) {
@@ -73,6 +76,7 @@ public ManagementApiHttpResponse
/**
* Retrieve list of all organization discovery domains associated with the specified organization.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public ManagementApiHttpResponse> list(
String id, ListOrganizationDiscoveryDomainsRequestParameters request, RequestOptions requestOptions) {
@@ -234,6 +238,7 @@ public ManagementApiHttpResponse getByName(
String id, String discoveryDomain) {
@@ -242,6 +247,7 @@ public ManagementApiHttpResponse getByName(
String id, String discoveryDomain, RequestOptions requestOptions) {
@@ -306,6 +312,7 @@ public ManagementApiHttpResponse get(
String id, String discoveryDomainId) {
@@ -314,6 +321,7 @@ public ManagementApiHttpResponse
/**
* Retrieve details about a single organization discovery domain specified by ID.
+ * This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
*/
public ManagementApiHttpResponse get(
String id, String discoveryDomainId, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/prompts/types/UpdateAculRequestContent.java b/src/main/java/com/auth0/client/mgmt/prompts/types/UpdateAculRequestContent.java
index ae81ec03..0c68fa1c 100644
--- a/src/main/java/com/auth0/client/mgmt/prompts/types/UpdateAculRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/prompts/types/UpdateAculRequestContent.java
@@ -30,13 +30,13 @@
public final class UpdateAculRequestContent {
private final Optional renderingMode;
- private final Optional> contextConfiguration;
+ private final OptionalNullable> contextConfiguration;
private final OptionalNullable defaultHeadTagsDisabled;
private final OptionalNullable usePageTemplate;
- private final Optional> headTags;
+ private final OptionalNullable> headTags;
private final OptionalNullable filters;
@@ -44,10 +44,10 @@ public final class UpdateAculRequestContent {
private UpdateAculRequestContent(
Optional renderingMode,
- Optional> contextConfiguration,
+ OptionalNullable> contextConfiguration,
OptionalNullable defaultHeadTagsDisabled,
OptionalNullable usePageTemplate,
- Optional> headTags,
+ OptionalNullable> headTags,
OptionalNullable filters,
Map additionalProperties) {
this.renderingMode = renderingMode;
@@ -67,8 +67,12 @@ public Optional getRenderingMode() {
return renderingMode;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("context_configuration")
- public Optional> getContextConfiguration() {
+ public OptionalNullable> getContextConfiguration() {
+ if (contextConfiguration == null) {
+ return OptionalNullable.absent();
+ }
return contextConfiguration;
}
@@ -99,8 +103,12 @@ public OptionalNullable getUsePageTemplate() {
/**
* @return An array of head tags
*/
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("head_tags")
- public Optional> getHeadTags() {
+ public OptionalNullable> getHeadTags() {
+ if (headTags == null) {
+ return OptionalNullable.absent();
+ }
return headTags;
}
@@ -113,6 +121,12 @@ public OptionalNullable getFilters() {
return filters;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("context_configuration")
+ private OptionalNullable> _getContextConfiguration() {
+ return contextConfiguration;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("default_head_tags_disabled")
private OptionalNullable _getDefaultHeadTagsDisabled() {
@@ -125,6 +139,12 @@ private OptionalNullable _getUsePageTemplate() {
return usePageTemplate;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("head_tags")
+ private OptionalNullable> _getHeadTags() {
+ return headTags;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("filters")
private OptionalNullable _getFilters() {
@@ -175,13 +195,13 @@ public static Builder builder() {
public static final class Builder {
private Optional renderingMode = Optional.empty();
- private Optional> contextConfiguration = Optional.empty();
+ private OptionalNullable> contextConfiguration = OptionalNullable.absent();
private OptionalNullable defaultHeadTagsDisabled = OptionalNullable.absent();
private OptionalNullable usePageTemplate = OptionalNullable.absent();
- private Optional> headTags = Optional.empty();
+ private OptionalNullable> headTags = OptionalNullable.absent();
private OptionalNullable filters = OptionalNullable.absent();
@@ -215,13 +235,35 @@ public Builder renderingMode(AculRenderingModeEnum renderingMode) {
}
@JsonSetter(value = "context_configuration", nulls = Nulls.SKIP)
- public Builder contextConfiguration(Optional> contextConfiguration) {
+ public Builder contextConfiguration(
+ @Nullable OptionalNullable> contextConfiguration) {
this.contextConfiguration = contextConfiguration;
return this;
}
public Builder contextConfiguration(List contextConfiguration) {
- this.contextConfiguration = Optional.ofNullable(contextConfiguration);
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration);
+ return this;
+ }
+
+ public Builder contextConfiguration(Optional> contextConfiguration) {
+ if (contextConfiguration.isPresent()) {
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration.get());
+ } else {
+ this.contextConfiguration = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ public Builder contextConfiguration(
+ com.auth0.client.mgmt.core.Nullable> contextConfiguration) {
+ if (contextConfiguration.isNull()) {
+ this.contextConfiguration = OptionalNullable.ofNull();
+ } else if (contextConfiguration.isEmpty()) {
+ this.contextConfiguration = OptionalNullable.absent();
+ } else {
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration.get());
+ }
return this;
}
@@ -297,13 +339,33 @@ public Builder usePageTemplate(com.auth0.client.mgmt.core.Nullable useP
* An array of head tags
*/
@JsonSetter(value = "head_tags", nulls = Nulls.SKIP)
- public Builder headTags(Optional> headTags) {
+ public Builder headTags(@Nullable OptionalNullable> headTags) {
this.headTags = headTags;
return this;
}
public Builder headTags(List headTags) {
- this.headTags = Optional.ofNullable(headTags);
+ this.headTags = OptionalNullable.of(headTags);
+ return this;
+ }
+
+ public Builder headTags(Optional> headTags) {
+ if (headTags.isPresent()) {
+ this.headTags = OptionalNullable.of(headTags.get());
+ } else {
+ this.headTags = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ public Builder headTags(com.auth0.client.mgmt.core.Nullable> headTags) {
+ if (headTags.isNull()) {
+ this.headTags = OptionalNullable.ofNull();
+ } else if (headTags.isEmpty()) {
+ this.headTags = OptionalNullable.absent();
+ } else {
+ this.headTags = OptionalNullable.of(headTags.get());
+ }
return this;
}
diff --git a/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java b/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
index e11c6112..31f5e136 100644
--- a/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
@@ -88,7 +88,7 @@ public final class UpdateTenantSettingsRequestContent {
private final OptionalNullable allowOrganizationNameInAuthenticationApi;
- private final Optional> acrValuesSupported;
+ private final OptionalNullable> acrValuesSupported;
private final OptionalNullable mtls;
@@ -133,7 +133,7 @@ private UpdateTenantSettingsRequestContent(
Optional oidcLogout,
OptionalNullable customizeMfaInPostloginAction,
OptionalNullable allowOrganizationNameInAuthenticationApi,
- Optional> acrValuesSupported,
+ OptionalNullable> acrValuesSupported,
OptionalNullable mtls,
OptionalNullable pushedAuthorizationRequestsSupported,
OptionalNullable authorizationResponseIssParameterSupported,
@@ -402,8 +402,12 @@ public OptionalNullable getAllowOrganizationNameInAuthenticationApi() {
/**
* @return Supported ACR values
*/
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("acr_values_supported")
- public Optional> getAcrValuesSupported() {
+ public OptionalNullable> getAcrValuesSupported() {
+ if (acrValuesSupported == null) {
+ return OptionalNullable.absent();
+ }
return acrValuesSupported;
}
@@ -529,6 +533,12 @@ private OptionalNullable _getAllowOrganizationNameInAuthenticationApi()
return allowOrganizationNameInAuthenticationApi;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("acr_values_supported")
+ private OptionalNullable> _getAcrValuesSupported() {
+ return acrValuesSupported;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("mtls")
private OptionalNullable _getMtls() {
@@ -705,7 +715,7 @@ public static final class Builder {
private OptionalNullable allowOrganizationNameInAuthenticationApi = OptionalNullable.absent();
- private Optional> acrValuesSupported = Optional.empty();
+ private OptionalNullable> acrValuesSupported = OptionalNullable.absent();
private OptionalNullable mtls = OptionalNullable.absent();
@@ -1297,13 +1307,33 @@ public Builder allowOrganizationNameInAuthenticationApi(
* Supported ACR values
*/
@JsonSetter(value = "acr_values_supported", nulls = Nulls.SKIP)
- public Builder acrValuesSupported(Optional> acrValuesSupported) {
+ public Builder acrValuesSupported(@Nullable OptionalNullable> acrValuesSupported) {
this.acrValuesSupported = acrValuesSupported;
return this;
}
public Builder acrValuesSupported(List acrValuesSupported) {
- this.acrValuesSupported = Optional.ofNullable(acrValuesSupported);
+ this.acrValuesSupported = OptionalNullable.of(acrValuesSupported);
+ return this;
+ }
+
+ public Builder acrValuesSupported(Optional> acrValuesSupported) {
+ if (acrValuesSupported.isPresent()) {
+ this.acrValuesSupported = OptionalNullable.of(acrValuesSupported.get());
+ } else {
+ this.acrValuesSupported = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ public Builder acrValuesSupported(com.auth0.client.mgmt.core.Nullable> acrValuesSupported) {
+ if (acrValuesSupported.isNull()) {
+ this.acrValuesSupported = OptionalNullable.ofNull();
+ } else if (acrValuesSupported.isEmpty()) {
+ this.acrValuesSupported = OptionalNullable.absent();
+ } else {
+ this.acrValuesSupported = OptionalNullable.of(acrValuesSupported.get());
+ }
return this;
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/AculConfigsItem.java b/src/main/java/com/auth0/client/mgmt/types/AculConfigsItem.java
index 49255784..fba469f3 100644
--- a/src/main/java/com/auth0/client/mgmt/types/AculConfigsItem.java
+++ b/src/main/java/com/auth0/client/mgmt/types/AculConfigsItem.java
@@ -31,13 +31,13 @@ public final class AculConfigsItem {
private final Optional renderingMode;
- private final Optional> contextConfiguration;
+ private final OptionalNullable> contextConfiguration;
private final OptionalNullable defaultHeadTagsDisabled;
private final OptionalNullable usePageTemplate;
- private final Optional> headTags;
+ private final OptionalNullable> headTags;
private final OptionalNullable filters;
@@ -47,10 +47,10 @@ private AculConfigsItem(
PromptGroupNameEnum prompt,
ScreenGroupNameEnum screen,
Optional renderingMode,
- Optional> contextConfiguration,
+ OptionalNullable> contextConfiguration,
OptionalNullable defaultHeadTagsDisabled,
OptionalNullable usePageTemplate,
- Optional> headTags,
+ OptionalNullable> headTags,
OptionalNullable filters,
Map additionalProperties) {
this.prompt = prompt;
@@ -82,8 +82,12 @@ public Optional getRenderingMode() {
return renderingMode;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("context_configuration")
- public Optional> getContextConfiguration() {
+ public OptionalNullable> getContextConfiguration() {
+ if (contextConfiguration == null) {
+ return OptionalNullable.absent();
+ }
return contextConfiguration;
}
@@ -114,8 +118,12 @@ public OptionalNullable getUsePageTemplate() {
/**
* @return An array of head tags
*/
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("head_tags")
- public Optional> getHeadTags() {
+ public OptionalNullable> getHeadTags() {
+ if (headTags == null) {
+ return OptionalNullable.absent();
+ }
return headTags;
}
@@ -128,6 +136,12 @@ public OptionalNullable getFilters() {
return filters;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("context_configuration")
+ private OptionalNullable> _getContextConfiguration() {
+ return contextConfiguration;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("default_head_tags_disabled")
private OptionalNullable _getDefaultHeadTagsDisabled() {
@@ -140,6 +154,12 @@ private OptionalNullable _getUsePageTemplate() {
return usePageTemplate;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("head_tags")
+ private OptionalNullable> _getHeadTags() {
+ return headTags;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("filters")
private OptionalNullable _getFilters() {
@@ -214,10 +234,16 @@ public interface _FinalStage {
_FinalStage renderingMode(AculRenderingModeEnum renderingMode);
- _FinalStage contextConfiguration(Optional> contextConfiguration);
+ _FinalStage contextConfiguration(
+ @Nullable OptionalNullable> contextConfiguration);
_FinalStage contextConfiguration(List contextConfiguration);
+ _FinalStage contextConfiguration(Optional> contextConfiguration);
+
+ _FinalStage contextConfiguration(
+ com.auth0.client.mgmt.core.Nullable> contextConfiguration);
+
/**
* Override Universal Login default head tags
*/
@@ -243,10 +269,14 @@ public interface _FinalStage {
/**
* An array of head tags
*/
- _FinalStage headTags(Optional> headTags);
+ _FinalStage headTags(@Nullable OptionalNullable> headTags);
_FinalStage headTags(List headTags);
+ _FinalStage headTags(Optional> headTags);
+
+ _FinalStage headTags(com.auth0.client.mgmt.core.Nullable> headTags);
+
_FinalStage filters(@Nullable OptionalNullable filters);
_FinalStage filters(AculFilters filters);
@@ -264,13 +294,13 @@ public static final class Builder implements PromptStage, ScreenStage, _FinalSta
private OptionalNullable filters = OptionalNullable.absent();
- private Optional> headTags = Optional.empty();
+ private OptionalNullable> headTags = OptionalNullable.absent();
private OptionalNullable usePageTemplate = OptionalNullable.absent();
private OptionalNullable defaultHeadTagsDisabled = OptionalNullable.absent();
- private Optional> contextConfiguration = Optional.empty();
+ private OptionalNullable> contextConfiguration = OptionalNullable.absent();
private Optional renderingMode = Optional.empty();
@@ -341,13 +371,43 @@ public _FinalStage filters(@Nullable OptionalNullable filters) {
return this;
}
+ /**
+ * An array of head tags
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage headTags(com.auth0.client.mgmt.core.Nullable> headTags) {
+ if (headTags.isNull()) {
+ this.headTags = OptionalNullable.ofNull();
+ } else if (headTags.isEmpty()) {
+ this.headTags = OptionalNullable.absent();
+ } else {
+ this.headTags = OptionalNullable.of(headTags.get());
+ }
+ return this;
+ }
+
+ /**
+ * An array of head tags
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage headTags(Optional> headTags) {
+ if (headTags.isPresent()) {
+ this.headTags = OptionalNullable.of(headTags.get());
+ } else {
+ this.headTags = OptionalNullable.absent();
+ }
+ return this;
+ }
+
/**
* An array of head tags
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
public _FinalStage headTags(List headTags) {
- this.headTags = Optional.ofNullable(headTags);
+ this.headTags = OptionalNullable.of(headTags);
return this;
}
@@ -356,7 +416,7 @@ public _FinalStage headTags(List headTags) {
*/
@java.lang.Override
@JsonSetter(value = "head_tags", nulls = Nulls.SKIP)
- public _FinalStage headTags(Optional> headTags) {
+ public _FinalStage headTags(@Nullable OptionalNullable> headTags) {
this.headTags = headTags;
return this;
}
@@ -462,15 +522,39 @@ public _FinalStage defaultHeadTagsDisabled(@Nullable OptionalNullable d
return this;
}
+ @java.lang.Override
+ public _FinalStage contextConfiguration(
+ com.auth0.client.mgmt.core.Nullable> contextConfiguration) {
+ if (contextConfiguration.isNull()) {
+ this.contextConfiguration = OptionalNullable.ofNull();
+ } else if (contextConfiguration.isEmpty()) {
+ this.contextConfiguration = OptionalNullable.absent();
+ } else {
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage contextConfiguration(Optional> contextConfiguration) {
+ if (contextConfiguration.isPresent()) {
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration.get());
+ } else {
+ this.contextConfiguration = OptionalNullable.absent();
+ }
+ return this;
+ }
+
@java.lang.Override
public _FinalStage contextConfiguration(List contextConfiguration) {
- this.contextConfiguration = Optional.ofNullable(contextConfiguration);
+ this.contextConfiguration = OptionalNullable.of(contextConfiguration);
return this;
}
@java.lang.Override
@JsonSetter(value = "context_configuration", nulls = Nulls.SKIP)
- public _FinalStage contextConfiguration(Optional> contextConfiguration) {
+ public _FinalStage contextConfiguration(
+ @Nullable OptionalNullable> contextConfiguration) {
this.contextConfiguration = contextConfiguration;
return this;
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/Client.java b/src/main/java/com/auth0/client/mgmt/types/Client.java
index 6ef26506..6784659e 100644
--- a/src/main/java/com/auth0/client/mgmt/types/Client.java
+++ b/src/main/java/com/auth0/client/mgmt/types/Client.java
@@ -64,7 +64,7 @@ public final class Client {
private final Optional jwtConfiguration;
- private final Optional> signingKeys;
+ private final OptionalNullable> signingKeys;
private final OptionalNullable encryptionKey;
@@ -153,7 +153,7 @@ private Client(
Optional oidcLogout,
Optional> grantTypes,
Optional jwtConfiguration,
- Optional> signingKeys,
+ OptionalNullable> signingKeys,
OptionalNullable encryptionKey,
Optional sso,
Optional ssoDisabled,
@@ -395,8 +395,12 @@ public Optional getJwtConfiguration() {
return jwtConfiguration;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("signing_keys")
- public Optional> getSigningKeys() {
+ public OptionalNullable> getSigningKeys() {
+ if (signingKeys == null) {
+ return OptionalNullable.absent();
+ }
return signingKeys;
}
@@ -640,6 +644,12 @@ private OptionalNullable _getSessionTransfer
return sessionTransfer;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("signing_keys")
+ private OptionalNullable> _getSigningKeys() {
+ return signingKeys;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("encryption_key")
private OptionalNullable _getEncryptionKey() {
@@ -853,7 +863,7 @@ public static final class Builder {
private Optional jwtConfiguration = Optional.empty();
- private Optional> signingKeys = Optional.empty();
+ private OptionalNullable> signingKeys = OptionalNullable.absent();
private OptionalNullable encryptionKey = OptionalNullable.absent();
@@ -1272,13 +1282,33 @@ public Builder jwtConfiguration(ClientJwtConfiguration jwtConfiguration) {
}
@JsonSetter(value = "signing_keys", nulls = Nulls.SKIP)
- public Builder signingKeys(Optional> signingKeys) {
+ public Builder signingKeys(@Nullable OptionalNullable> signingKeys) {
this.signingKeys = signingKeys;
return this;
}
public Builder signingKeys(List signingKeys) {
- this.signingKeys = Optional.ofNullable(signingKeys);
+ this.signingKeys = OptionalNullable.of(signingKeys);
+ return this;
+ }
+
+ public Builder signingKeys(Optional> signingKeys) {
+ if (signingKeys.isPresent()) {
+ this.signingKeys = OptionalNullable.of(signingKeys.get());
+ } else {
+ this.signingKeys = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ public Builder signingKeys(com.auth0.client.mgmt.core.Nullable> signingKeys) {
+ if (signingKeys.isNull()) {
+ this.signingKeys = OptionalNullable.ofNull();
+ } else if (signingKeys.isEmpty()) {
+ this.signingKeys = OptionalNullable.absent();
+ } else {
+ this.signingKeys = OptionalNullable.of(signingKeys.get());
+ }
return this;
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientRefreshTokenConfiguration.java b/src/main/java/com/auth0/client/mgmt/types/ClientRefreshTokenConfiguration.java
index b89d96d7..6fcf2c69 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientRefreshTokenConfiguration.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientRefreshTokenConfiguration.java
@@ -3,7 +3,9 @@
*/
package com.auth0.client.mgmt.types;
+import com.auth0.client.mgmt.core.NullableNonemptyFilter;
import com.auth0.client.mgmt.core.ObjectMappers;
+import com.auth0.client.mgmt.core.OptionalNullable;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@@ -18,6 +20,7 @@
import java.util.Objects;
import java.util.Optional;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ClientRefreshTokenConfiguration.Builder.class)
@@ -36,7 +39,7 @@ public final class ClientRefreshTokenConfiguration {
private final Optional infiniteIdleTokenLifetime;
- private final Optional> policies;
+ private final OptionalNullable> policies;
private final Map additionalProperties;
@@ -48,7 +51,7 @@ private ClientRefreshTokenConfiguration(
Optional infiniteTokenLifetime,
Optional idleTokenLifetime,
Optional infiniteIdleTokenLifetime,
- Optional> policies,
+ OptionalNullable> policies,
Map additionalProperties) {
this.rotationType = rotationType;
this.expirationType = expirationType;
@@ -114,8 +117,18 @@ public Optional getInfiniteIdleTokenLifetime() {
/**
* @return A collection of policies governing multi-resource refresh token exchange (MRRT), defining how refresh tokens can be used across different resource servers
*/
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("policies")
- public Optional> getPolicies() {
+ public OptionalNullable> getPolicies() {
+ if (policies == null) {
+ return OptionalNullable.absent();
+ }
+ return policies;
+ }
+
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("policies")
+ private OptionalNullable> _getPolicies() {
return policies;
}
@@ -218,9 +231,13 @@ public interface _FinalStage {
/**
* A collection of policies governing multi-resource refresh token exchange (MRRT), defining how refresh tokens can be used across different resource servers
*/
- _FinalStage policies(Optional> policies);
+ _FinalStage policies(@Nullable OptionalNullable> policies);
_FinalStage policies(List