diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java index 47d309a1..1f5a8d70 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureContentSafetyFilterConfig.java @@ -34,7 +34,10 @@ public class AzureContentSafetyFilterConfig /** String represents name of the filter provider */ public enum TypeEnum { /** The AZURE_CONTENT_SAFETY option of this AzureContentSafetyFilterConfig */ - AZURE_CONTENT_SAFETY("azure_content_safety"); + AZURE_CONTENT_SAFETY("azure_content_safety"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this AzureContentSafetyFilterConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java index 3830ee75..d1998710 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/AzureThreshold.java @@ -24,7 +24,9 @@ public enum AzureThreshold { NUMBER_4(4), - NUMBER_6(6); + NUMBER_6(6), + + NUMBER_unknown_default_open_api(11184809); private final Integer value; @@ -62,6 +64,6 @@ public static AzureThreshold fromValue(@Nonnull final Integer value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return NUMBER_unknown_default_open_api; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java index 9ff2338a..6f6ab62a 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIConfig.java @@ -37,7 +37,10 @@ public class DPIConfig /** Type of masking service provider */ public enum TypeEnum { /** The SAP_DATA_PRIVACY_INTEGRATION option of this DPIConfig */ - SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"); + SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this DPIConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -81,7 +84,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -94,7 +97,10 @@ public enum MethodEnum { ANONYMIZATION("anonymization"), /** The PSEUDONYMIZATION option of this DPIConfig */ - PSEUDONYMIZATION("pseudonymization"); + PSEUDONYMIZATION("pseudonymization"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this DPIConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -138,7 +144,7 @@ public static MethodEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java index 228ff2d9..dc1fe069 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/DPIEntities.java @@ -66,7 +66,9 @@ public enum DPIEntities { TRADE_UNION("profile-trade-union"), - SENSITIVE_DATA("profile-sensitive-data"); + SENSITIVE_DATA("profile-sensitive-data"), + + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private final String value; @@ -104,6 +106,6 @@ public static DPIEntities fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java index d355f9a5..dadfcda7 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/FilterConfig.java @@ -34,7 +34,10 @@ public class FilterConfig /** String represents name of the filter provider */ public enum TypeEnum { /** The AZURE_CONTENT_SAFETY option of this FilterConfig */ - AZURE_CONTENT_SAFETY("azure_content_safety"); + AZURE_CONTENT_SAFETY("azure_content_safety"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this FilterConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java index 35e33c8b..94822c86 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingFilter.java @@ -48,7 +48,10 @@ public enum DataRepositoryTypeEnum { VECTOR("vector"), /** The HELP_SAP_COM option of this GroundingFilter */ - HELP_SAP_COM("help.sap.com"); + HELP_SAP_COM("help.sap.com"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this GroundingFilter */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -92,7 +95,7 @@ public static DataRepositoryTypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java index b7359461..865e9e97 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/GroundingModuleConfig.java @@ -34,7 +34,10 @@ public class GroundingModuleConfig /** Gets or Sets groundingService */ public enum GroundingServiceEnum { /** The DOCUMENT_GROUNDING_SERVICE option of this GroundingModuleConfig */ - DOCUMENT_GROUNDING_SERVICE("document_grounding_service"); + DOCUMENT_GROUNDING_SERVICE("document_grounding_service"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this GroundingModuleConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -78,7 +81,7 @@ public static GroundingServiceEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } diff --git a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java index cbfc8b7b..9e049d64 100644 --- a/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java +++ b/orchestration/src/main/java/com/sap/ai/sdk/orchestration/client/model/MaskingProviderConfig.java @@ -37,7 +37,10 @@ public class MaskingProviderConfig /** Type of masking service provider */ public enum TypeEnum { /** The SAP_DATA_PRIVACY_INTEGRATION option of this MaskingProviderConfig */ - SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"); + SAP_DATA_PRIVACY_INTEGRATION("sap_data_privacy_integration"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this MaskingProviderConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -81,7 +84,7 @@ public static TypeEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } } @@ -94,7 +97,10 @@ public enum MethodEnum { ANONYMIZATION("anonymization"), /** The PSEUDONYMIZATION option of this MaskingProviderConfig */ - PSEUDONYMIZATION("pseudonymization"); + PSEUDONYMIZATION("pseudonymization"), + + /** The UNKNOWN_DEFAULT_OPEN_API option of this MaskingProviderConfig */ + UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); private String value; @@ -138,7 +144,7 @@ public static MethodEnum fromValue(@Nonnull final String value) { return b; } } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); + return UNKNOWN_DEFAULT_OPEN_API; } }