diff --git a/services/objectstorage/oas_commit b/services/objectstorage/oas_commit index 2522c5a4..8de73a70 100644 --- a/services/objectstorage/oas_commit +++ b/services/objectstorage/oas_commit @@ -1 +1 @@ -1cb7803383991935e2278722c995a222c96aa43a +99991923f3176d1677313d44370439262dc2ca92 diff --git a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/api/DefaultApi.java b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/api/DefaultApi.java index d25b0362..ae5b6270 100644 --- a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/api/DefaultApi.java +++ b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/api/DefaultApi.java @@ -601,6 +601,7 @@ public okhttp3.Call createBucketAsync( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -694,6 +695,7 @@ private okhttp3.Call createComplianceLockValidateBeforeCall( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -721,6 +723,7 @@ public ComplianceLockResponse createComplianceLock(@javax.annotation.Nonnull Str * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -749,6 +752,7 @@ public ApiResponse createComplianceLockWithHttpInfo( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1439,6 +1443,7 @@ public okhttp3.Call deleteBucketAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1532,6 +1537,7 @@ private okhttp3.Call deleteComplianceLockValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1559,6 +1565,7 @@ public ComplianceLockResponse deleteComplianceLock(@javax.annotation.Nonnull Str * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1587,6 +1594,7 @@ public ApiResponse deleteComplianceLockWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1831,6 +1839,7 @@ public okhttp3.Call deleteCredentialsGroupAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1939,6 +1948,7 @@ private okhttp3.Call deleteDefaultRetentionValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -1969,6 +1979,7 @@ public DeleteDefaultRetentionResponse deleteDefaultRetention( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2001,6 +2012,7 @@ public ApiResponse deleteDefaultRetentionWithHtt * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2636,6 +2648,7 @@ public okhttp3.Call getBucketAsync( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2728,6 +2741,7 @@ private okhttp3.Call getComplianceLockValidateBeforeCall( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2753,6 +2767,7 @@ public ComplianceLockResponse getComplianceLock(@javax.annotation.Nonnull String * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2780,6 +2795,7 @@ public ApiResponse getComplianceLockWithHttpInfo( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2812,6 +2828,7 @@ public okhttp3.Call getComplianceLockAsync( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2919,6 +2936,7 @@ private okhttp3.Call getCredentialsGroupValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2948,6 +2966,7 @@ public GetCredentialsGroupResponse getCredentialsGroup( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -2978,6 +2997,7 @@ public ApiResponse getCredentialsGroupWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -3012,6 +3032,7 @@ public okhttp3.Call getCredentialsGroupAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -3119,6 +3140,7 @@ private okhttp3.Call getDefaultRetentionValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -3148,6 +3170,7 @@ public DefaultRetentionResponse getDefaultRetention( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -3179,6 +3202,7 @@ public ApiResponse getDefaultRetentionWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -3993,6 +4017,7 @@ public okhttp3.Call listCredentialsGroupsAsync( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -4111,6 +4136,7 @@ private okhttp3.Call setDefaultRetentionValidateBeforeCall( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -4144,6 +4170,7 @@ public DefaultRetentionResponse setDefaultRetention( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * @@ -4180,6 +4207,7 @@ public ApiResponse setDefaultRetentionWithHttpInfo( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * * diff --git a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/model/CreateCredentialsGroupPayload.java b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/model/CreateCredentialsGroupPayload.java index cdcdac8e..7d493674 100644 --- a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/model/CreateCredentialsGroupPayload.java +++ b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v1api/model/CreateCredentialsGroupPayload.java @@ -40,6 +40,11 @@ public class CreateCredentialsGroupPayload { @javax.annotation.Nonnull private String displayName; + public static final String SERIALIZED_NAME_TRUST_POLICY = "trustPolicy"; + + @SerializedName(SERIALIZED_NAME_TRUST_POLICY) + @javax.annotation.Nullable private Object trustPolicy; + public CreateCredentialsGroupPayload() {} public CreateCredentialsGroupPayload displayName(@javax.annotation.Nonnull String displayName) { @@ -61,6 +66,25 @@ public void setDisplayName(@javax.annotation.Nonnull String displayName) { this.displayName = displayName; } + public CreateCredentialsGroupPayload trustPolicy( + @javax.annotation.Nullable Object trustPolicy) { + this.trustPolicy = trustPolicy; + return this; + } + + /** + * Trust policy for cross-account access + * + * @return trustPolicy + */ + @javax.annotation.Nullable public Object getTrustPolicy() { + return trustPolicy; + } + + public void setTrustPolicy(@javax.annotation.Nullable Object trustPolicy) { + this.trustPolicy = trustPolicy; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -116,6 +140,7 @@ public boolean equals(Object o) { CreateCredentialsGroupPayload createCredentialsGroupPayload = (CreateCredentialsGroupPayload) o; return Objects.equals(this.displayName, createCredentialsGroupPayload.displayName) + && Objects.equals(this.trustPolicy, createCredentialsGroupPayload.trustPolicy) && Objects.equals( this.additionalProperties, createCredentialsGroupPayload.additionalProperties); @@ -123,7 +148,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(displayName, additionalProperties); + return Objects.hash(displayName, trustPolicy, additionalProperties); } @Override @@ -131,6 +156,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateCredentialsGroupPayload {\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" trustPolicy: ").append(toIndentedString(trustPolicy)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); @@ -151,7 +177,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("displayName")); + openapiFields = new HashSet(Arrays.asList("displayName", "trustPolicy")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(Arrays.asList("displayName")); diff --git a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/api/DefaultApi.java b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/api/DefaultApi.java index 8d5470d4..64b07b58 100644 --- a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/api/DefaultApi.java +++ b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/api/DefaultApi.java @@ -616,6 +616,7 @@ public okhttp3.Call createBucketAsync( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -719,6 +720,7 @@ private okhttp3.Call createComplianceLockValidateBeforeCall( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -745,6 +747,7 @@ public ComplianceLockResponse createComplianceLock( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -772,6 +775,7 @@ public ApiResponse createComplianceLockWithHttpInfo( * 201 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -1483,6 +1487,7 @@ public okhttp3.Call deleteBucketAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -1586,6 +1591,7 @@ private okhttp3.Call deleteComplianceLockValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -1612,6 +1618,7 @@ public ComplianceLockResponse deleteComplianceLock( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -1639,6 +1646,7 @@ public ApiResponse deleteComplianceLockWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -1890,6 +1898,7 @@ public okhttp3.Call deleteCredentialsGroupAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2006,6 +2015,7 @@ private okhttp3.Call deleteDefaultRetentionValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2036,6 +2046,7 @@ public DeleteDefaultRetentionResponse deleteDefaultRetention( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2068,6 +2079,7 @@ public ApiResponse deleteDefaultRetentionWithHtt * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2728,6 +2740,7 @@ public okhttp3.Call getBucketAsync( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2830,6 +2843,7 @@ private okhttp3.Call getComplianceLockValidateBeforeCall( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2855,6 +2869,7 @@ public ComplianceLockResponse getComplianceLock( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2881,6 +2896,7 @@ public ApiResponse getComplianceLockWithHttpInfo( * Status Code Description Response Headers * 200 Successful Response - * 404 Not Found - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -2913,6 +2929,7 @@ public okhttp3.Call getComplianceLockAsync( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3028,6 +3045,7 @@ private okhttp3.Call getCredentialsGroupValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3057,6 +3075,7 @@ public GetCredentialsGroupResponse getCredentialsGroup( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3088,6 +3107,7 @@ public ApiResponse getCredentialsGroupWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 422 Validation Error - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3121,6 +3141,7 @@ public okhttp3.Call getCredentialsGroupAsync( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3236,6 +3257,7 @@ private okhttp3.Call getDefaultRetentionValidateBeforeCall( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3265,6 +3287,7 @@ public DefaultRetentionResponse getDefaultRetention( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -3296,6 +3319,7 @@ public ApiResponse getDefaultRetentionWithHttpInfo( * 200 Successful Response - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -4139,6 +4163,7 @@ public okhttp3.Call listCredentialsGroupsAsync( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -4265,6 +4290,7 @@ private okhttp3.Call setDefaultRetentionValidateBeforeCall( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -4298,6 +4324,7 @@ public DefaultRetentionResponse setDefaultRetention( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ @@ -4333,6 +4360,7 @@ public ApiResponse setDefaultRetentionWithHttpInfo( * 400 Bad Request - * 404 Not Found - * 409 Conflict - + * 429 Too Many Requests - * 500 Internal Server Error - * */ diff --git a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/model/CreateCredentialsGroupPayload.java b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/model/CreateCredentialsGroupPayload.java index 57c12ea5..f6b046b1 100644 --- a/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/model/CreateCredentialsGroupPayload.java +++ b/services/objectstorage/src/main/java/cloud/stackit/sdk/objectstorage/v2api/model/CreateCredentialsGroupPayload.java @@ -40,6 +40,11 @@ public class CreateCredentialsGroupPayload { @javax.annotation.Nonnull private String displayName; + public static final String SERIALIZED_NAME_TRUST_POLICY = "trustPolicy"; + + @SerializedName(SERIALIZED_NAME_TRUST_POLICY) + @javax.annotation.Nullable private Object trustPolicy; + public CreateCredentialsGroupPayload() {} public CreateCredentialsGroupPayload displayName(@javax.annotation.Nonnull String displayName) { @@ -61,6 +66,25 @@ public void setDisplayName(@javax.annotation.Nonnull String displayName) { this.displayName = displayName; } + public CreateCredentialsGroupPayload trustPolicy( + @javax.annotation.Nullable Object trustPolicy) { + this.trustPolicy = trustPolicy; + return this; + } + + /** + * Trust policy for cross-account access + * + * @return trustPolicy + */ + @javax.annotation.Nullable public Object getTrustPolicy() { + return trustPolicy; + } + + public void setTrustPolicy(@javax.annotation.Nullable Object trustPolicy) { + this.trustPolicy = trustPolicy; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -116,6 +140,7 @@ public boolean equals(Object o) { CreateCredentialsGroupPayload createCredentialsGroupPayload = (CreateCredentialsGroupPayload) o; return Objects.equals(this.displayName, createCredentialsGroupPayload.displayName) + && Objects.equals(this.trustPolicy, createCredentialsGroupPayload.trustPolicy) && Objects.equals( this.additionalProperties, createCredentialsGroupPayload.additionalProperties); @@ -123,7 +148,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(displayName, additionalProperties); + return Objects.hash(displayName, trustPolicy, additionalProperties); } @Override @@ -131,6 +156,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateCredentialsGroupPayload {\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" trustPolicy: ").append(toIndentedString(trustPolicy)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); @@ -151,7 +177,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("displayName")); + openapiFields = new HashSet(Arrays.asList("displayName", "trustPolicy")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(Arrays.asList("displayName"));