Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/iaas/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
779c34469d663919ed700f2c69487eb5cccf70f3
208d3f9c5620b4c85b5a153e5a636aff11882e6d
Original file line number Diff line number Diff line change
Expand Up @@ -10334,6 +10334,7 @@ public okhttp3.Call deleteSnapshotAsync(
* @param projectId The identifier (ID) of a STACKIT Project. (required)
* @param region The STACKIT Region of the resources. (required)
* @param volumeId The identifier (ID) of a STACKIT Volume. (required)
* @param cascade Cascade action. (optional, default to false)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand All @@ -10354,6 +10355,7 @@ public okhttp3.Call deleteVolumeCall(
@javax.annotation.Nonnull UUID projectId,
@javax.annotation.Nonnull String region,
@javax.annotation.Nonnull UUID volumeId,
@javax.annotation.Nullable Boolean cascade,
final ApiCallback _callback)
throws ApiException {
String basePath = null;
Expand Down Expand Up @@ -10390,6 +10392,10 @@ public okhttp3.Call deleteVolumeCall(
Map<String, String> localVarCookieParams = new HashMap<String, String>();
Map<String, Object> localVarFormParams = new HashMap<String, Object>();

if (cascade != null) {
localVarQueryParams.addAll(localVarApiClient.parameterToPair("cascade", cascade));
}

final String[] localVarAccepts = {"application/json"};
final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
if (localVarAccept != null) {
Expand Down Expand Up @@ -10423,6 +10429,7 @@ private okhttp3.Call deleteVolumeValidateBeforeCall(
@javax.annotation.Nonnull UUID projectId,
@javax.annotation.Nonnull String region,
@javax.annotation.Nonnull UUID volumeId,
@javax.annotation.Nullable Boolean cascade,
final ApiCallback _callback)
throws ApiException {
// verify the required parameter 'projectId' is set
Expand All @@ -10443,7 +10450,7 @@ private okhttp3.Call deleteVolumeValidateBeforeCall(
"Missing the required parameter 'volumeId' when calling deleteVolume(Async)");
}

return deleteVolumeCall(projectId, region, volumeId, _callback);
return deleteVolumeCall(projectId, region, volumeId, cascade, _callback);
}

/**
Expand All @@ -10453,6 +10460,7 @@ private okhttp3.Call deleteVolumeValidateBeforeCall(
* @param projectId The identifier (ID) of a STACKIT Project. (required)
* @param region The STACKIT Region of the resources. (required)
* @param volumeId The identifier (ID) of a STACKIT Volume. (required)
* @param cascade Cascade action. (optional, default to false)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
* @http.response.details
Expand All @@ -10471,9 +10479,10 @@ private okhttp3.Call deleteVolumeValidateBeforeCall(
public void deleteVolume(
@javax.annotation.Nonnull UUID projectId,
@javax.annotation.Nonnull String region,
@javax.annotation.Nonnull UUID volumeId)
@javax.annotation.Nonnull UUID volumeId,
@javax.annotation.Nullable Boolean cascade)
throws ApiException {
deleteVolumeWithHttpInfo(projectId, region, volumeId);
deleteVolumeWithHttpInfo(projectId, region, volumeId, cascade);
}

/**
Expand All @@ -10483,6 +10492,7 @@ public void deleteVolume(
* @param projectId The identifier (ID) of a STACKIT Project. (required)
* @param region The STACKIT Region of the resources. (required)
* @param volumeId The identifier (ID) of a STACKIT Volume. (required)
* @param cascade Cascade action. (optional, default to false)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
Expand All @@ -10502,10 +10512,11 @@ public void deleteVolume(
public ApiResponse<Void> deleteVolumeWithHttpInfo(
@javax.annotation.Nonnull UUID projectId,
@javax.annotation.Nonnull String region,
@javax.annotation.Nonnull UUID volumeId)
@javax.annotation.Nonnull UUID volumeId,
@javax.annotation.Nullable Boolean cascade)
throws ApiException {
okhttp3.Call localVarCall =
deleteVolumeValidateBeforeCall(projectId, region, volumeId, null);
deleteVolumeValidateBeforeCall(projectId, region, volumeId, cascade, null);
return localVarApiClient.execute(localVarCall);
}

Expand All @@ -10516,6 +10527,7 @@ public ApiResponse<Void> deleteVolumeWithHttpInfo(
* @param projectId The identifier (ID) of a STACKIT Project. (required)
* @param region The STACKIT Region of the resources. (required)
* @param volumeId The identifier (ID) of a STACKIT Volume. (required)
* @param cascade Cascade action. (optional, default to false)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body
Expand All @@ -10537,11 +10549,12 @@ public okhttp3.Call deleteVolumeAsync(
@javax.annotation.Nonnull UUID projectId,
@javax.annotation.Nonnull String region,
@javax.annotation.Nonnull UUID volumeId,
@javax.annotation.Nullable Boolean cascade,
final ApiCallback<Void> _callback)
throws ApiException {

okhttp3.Call localVarCall =
deleteVolumeValidateBeforeCall(projectId, region, volumeId, _callback);
deleteVolumeValidateBeforeCall(projectId, region, volumeId, cascade, _callback);
localVarApiClient.executeAsync(localVarCall, _callback);
return localVarCall;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public class CreateServerPayload {
@SerializedName(SERIALIZED_NAME_BOOT_VOLUME)
@javax.annotation.Nullable private BootVolume bootVolume;

public static final String SERIALIZED_NAME_CONFIG_DRIVE = "configDrive";

@SerializedName(SERIALIZED_NAME_CONFIG_DRIVE)
@javax.annotation.Nullable private Boolean configDrive = false;

public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";

@SerializedName(SERIALIZED_NAME_CREATED_AT)
Expand Down Expand Up @@ -262,6 +267,24 @@ public void setBootVolume(@javax.annotation.Nullable BootVolume bootVolume) {
this.bootVolume = bootVolume;
}

public CreateServerPayload configDrive(@javax.annotation.Nullable Boolean configDrive) {
this.configDrive = configDrive;
return this;
}

/**
* When true the server is created with a config drive.
*
* @return configDrive
*/
@javax.annotation.Nullable public Boolean getConfigDrive() {
return configDrive;
}

public void setConfigDrive(@javax.annotation.Nullable Boolean configDrive) {
this.configDrive = configDrive;
}

/**
* Date-time when resource was created.
*
Expand Down Expand Up @@ -645,6 +668,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.agent, createServerPayload.agent)
&& Objects.equals(this.availabilityZone, createServerPayload.availabilityZone)
&& Objects.equals(this.bootVolume, createServerPayload.bootVolume)
&& Objects.equals(this.configDrive, createServerPayload.configDrive)
&& Objects.equals(this.createdAt, createServerPayload.createdAt)
&& Objects.equals(this.errorMessage, createServerPayload.errorMessage)
&& Objects.equals(this.id, createServerPayload.id)
Expand Down Expand Up @@ -676,6 +700,7 @@ public int hashCode() {
agent,
availabilityZone,
bootVolume,
configDrive,
createdAt,
errorMessage,
id,
Expand Down Expand Up @@ -707,6 +732,7 @@ public String toString() {
sb.append(" agent: ").append(toIndentedString(agent)).append("\n");
sb.append(" availabilityZone: ").append(toIndentedString(availabilityZone)).append("\n");
sb.append(" bootVolume: ").append(toIndentedString(bootVolume)).append("\n");
sb.append(" configDrive: ").append(toIndentedString(configDrive)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Expand Down Expand Up @@ -761,6 +787,7 @@ private String toIndentedString(Object o) {
"agent",
"availabilityZone",
"bootVolume",
"configDrive",
"createdAt",
"errorMessage",
"id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public class Server {
@SerializedName(SERIALIZED_NAME_BOOT_VOLUME)
@javax.annotation.Nullable private BootVolume bootVolume;

public static final String SERIALIZED_NAME_CONFIG_DRIVE = "configDrive";

@SerializedName(SERIALIZED_NAME_CONFIG_DRIVE)
@javax.annotation.Nullable private Boolean configDrive = false;

public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";

@SerializedName(SERIALIZED_NAME_CREATED_AT)
Expand Down Expand Up @@ -260,6 +265,24 @@ public void setBootVolume(@javax.annotation.Nullable BootVolume bootVolume) {
this.bootVolume = bootVolume;
}

public Server configDrive(@javax.annotation.Nullable Boolean configDrive) {
this.configDrive = configDrive;
return this;
}

/**
* When true the server is created with a config drive.
*
* @return configDrive
*/
@javax.annotation.Nullable public Boolean getConfigDrive() {
return configDrive;
}

public void setConfigDrive(@javax.annotation.Nullable Boolean configDrive) {
this.configDrive = configDrive;
}

/**
* Date-time when resource was created.
*
Expand Down Expand Up @@ -638,6 +661,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.agent, server.agent)
&& Objects.equals(this.availabilityZone, server.availabilityZone)
&& Objects.equals(this.bootVolume, server.bootVolume)
&& Objects.equals(this.configDrive, server.configDrive)
&& Objects.equals(this.createdAt, server.createdAt)
&& Objects.equals(this.errorMessage, server.errorMessage)
&& Objects.equals(this.id, server.id)
Expand Down Expand Up @@ -668,6 +692,7 @@ public int hashCode() {
agent,
availabilityZone,
bootVolume,
configDrive,
createdAt,
errorMessage,
id,
Expand Down Expand Up @@ -699,6 +724,7 @@ public String toString() {
sb.append(" agent: ").append(toIndentedString(agent)).append("\n");
sb.append(" availabilityZone: ").append(toIndentedString(availabilityZone)).append("\n");
sb.append(" bootVolume: ").append(toIndentedString(bootVolume)).append("\n");
sb.append(" configDrive: ").append(toIndentedString(configDrive)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Expand Down Expand Up @@ -753,6 +779,7 @@ private String toIndentedString(Object o) {
"agent",
"availabilityZone",
"bootVolume",
"configDrive",
"createdAt",
"errorMessage",
"id",
Expand Down