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 numberDiff line numberDiff line change
@@ -1 +1 @@
d5bd75f47f4b364fa6f71663efb4ba41ec703ac8
c09e232a83532c75ca1041153e3ebc7ce2d50eb6
Original file line numberDiff line numberDiff line change
Expand Up@@ -341,8 +341,6 @@ private static Class getClassByDiscriminator(
new cloud.stackit.sdk.iaas.v1api.model.ServerNetwork.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.iaas.v1api.model.ServerNetworking.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.iaas.v1api.model.ServerVTPM.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.iaas.v1api.model.ServiceAccountMailListResponse
.CustomTypeAdapterFactory());
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -164,11 +164,6 @@ public class CreateServerPayload {
@SerializedName(SERIALIZED_NAME_VOLUMES)
@javax.annotation.NullableprivateList<UUID> volumes;

publicstaticfinalStringSERIALIZED_NAME_VTPM = "vtpm";

@SerializedName(SERIALIZED_NAME_VTPM)
@javax.annotation.NullableprivateServerVTPMvtpm;

publicCreateServerPayload() {}

publicCreateServerPayload(
Expand DownExpand Up@@ -611,24 +606,6 @@ public void setVolumes(@javax.annotation.Nullable List<UUID> volumes) {
this.volumes = volumes;
}

publicCreateServerPayloadvtpm(@javax.annotation.NullableServerVTPMvtpm) {
this.vtpm = vtpm;
returnthis;
}

/**
* Get vtpm
*
* @return vtpm
*/
@javax.annotation.NullablepublicServerVTPMgetVtpm() {
returnvtpm;
}

publicvoidsetVtpm(@javax.annotation.NullableServerVTPMvtpm) {
this.vtpm = vtpm;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand DownExpand Up@@ -707,7 +684,6 @@ public boolean equals(Object o) {
&& Objects.equals(this.updatedAt, createServerPayload.updatedAt)
&& Arrays.equals(this.userData, createServerPayload.userData)
&& Objects.equals(this.volumes, createServerPayload.volumes)
&& Objects.equals(this.vtpm, createServerPayload.vtpm)
&& Objects.equals(
this.additionalProperties, createServerPayload.additionalProperties);
}
Expand DownExpand Up@@ -740,7 +716,6 @@ public int hashCode() {
updatedAt,
Arrays.hashCode(userData),
volumes,
vtpm,
additionalProperties);
}

Expand DownExpand Up@@ -777,7 +752,6 @@ public String toString() {
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" userData: ").append(toIndentedString(userData)).append("\n");
sb.append(" volumes: ").append(toIndentedString(volumes)).append("\n");
sb.append(" vtpm: ").append(toIndentedString(vtpm)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand DownExpand Up@@ -828,8 +802,7 @@ private String toIndentedString(Object o) {
"status",
"updatedAt",
"userData",
"volumes",
"vtpm"));
"volumes"));

// a set of required properties/fields (JSON key names)
openapiRequiredFields = newHashSet<String>(Arrays.asList("machineType", "name"));
Expand DownExpand Up@@ -1010,10 +983,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
"Expected the field `volumes` to be an array in the JSON string but got `%s`",
jsonObj.get("volumes").toString()));
}
// validate the optional field `vtpm`
if (jsonObj.get("vtpm") != null && !jsonObj.get("vtpm").isJsonNull()) {
ServerVTPM.validateJsonElement(jsonObj.get("vtpm"));
}
}

publicstaticclassCustomTypeAdapterFactoryimplementsTypeAdapterFactory {
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -164,11 +164,6 @@ public class Server {
@SerializedName(SERIALIZED_NAME_VOLUMES)
@javax.annotation.NullableprivateList<UUID> volumes;

publicstaticfinalStringSERIALIZED_NAME_VTPM = "vtpm";

@SerializedName(SERIALIZED_NAME_VTPM)
@javax.annotation.NullableprivateServerVTPMvtpm;

publicServer() {}

publicServer(
Expand DownExpand Up@@ -607,24 +602,6 @@ public void setVolumes(@javax.annotation.Nullable List<UUID> volumes) {
this.volumes = volumes;
}

publicServervtpm(@javax.annotation.NullableServerVTPMvtpm) {
this.vtpm = vtpm;
returnthis;
}

/**
* Get vtpm
*
* @return vtpm
*/
@javax.annotation.NullablepublicServerVTPMgetVtpm() {
returnvtpm;
}

publicvoidsetVtpm(@javax.annotation.NullableServerVTPMvtpm) {
this.vtpm = vtpm;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand DownExpand Up@@ -703,7 +680,6 @@ public boolean equals(Object o) {
&& Objects.equals(this.updatedAt, server.updatedAt)
&& Arrays.equals(this.userData, server.userData)
&& Objects.equals(this.volumes, server.volumes)
&& Objects.equals(this.vtpm, server.vtpm)
&& Objects.equals(this.additionalProperties, server.additionalProperties);
}

Expand DownExpand Up@@ -735,7 +711,6 @@ public int hashCode() {
updatedAt,
Arrays.hashCode(userData),
volumes,
vtpm,
additionalProperties);
}

Expand DownExpand Up@@ -772,7 +747,6 @@ public String toString() {
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" userData: ").append(toIndentedString(userData)).append("\n");
sb.append(" volumes: ").append(toIndentedString(volumes)).append("\n");
sb.append(" vtpm: ").append(toIndentedString(vtpm)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand DownExpand Up@@ -823,8 +797,7 @@ private String toIndentedString(Object o) {
"status",
"updatedAt",
"userData",
"volumes",
"vtpm"));
"volumes"));

// a set of required properties/fields (JSON key names)
openapiRequiredFields = newHashSet<String>(Arrays.asList("machineType", "name"));
Expand DownExpand Up@@ -1005,10 +978,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
"Expected the field `volumes` to be an array in the JSON string but got `%s`",
jsonObj.get("volumes").toString()));
}
// validate the optional field `vtpm`
if (jsonObj.get("vtpm") != null && !jsonObj.get("vtpm").isJsonNull()) {
ServerVTPM.validateJsonElement(jsonObj.get("vtpm"));
}
}

publicstaticclassCustomTypeAdapterFactoryimplementsTypeAdapterFactory {
Expand Down
Loading
Loading