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 @@
d5bd75f47f4b364fa6f71663efb4ba41ec703ac8
8caddd5c6ee9cb85b926a0787715ef06a5996a0f
Original file line number Diff line number Diff 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 number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ public class CreateServerPayload {
@SerializedName(SERIALIZED_NAME_VOLUMES)
@javax.annotation.Nullable private List<UUID> volumes;

public static final String SERIALIZED_NAME_VTPM = "vtpm";

@SerializedName(SERIALIZED_NAME_VTPM)
@javax.annotation.Nullable private ServerVTPM vtpm;

public CreateServerPayload() {}

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

public CreateServerPayload vtpm(@javax.annotation.Nullable ServerVTPM vtpm) {
this.vtpm = vtpm;
return this;
}

/**
* Get vtpm
*
* @return vtpm
*/
@javax.annotation.Nullable public ServerVTPM getVtpm() {
return vtpm;
}

public void setVtpm(@javax.annotation.Nullable ServerVTPM vtpm) {
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 Down Expand 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 Down Expand Up @@ -740,7 +716,6 @@ public int hashCode() {
updatedAt,
Arrays.hashCode(userData),
volumes,
vtpm,
additionalProperties);
}

Expand Down Expand 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 Down Expand 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 = new HashSet<String>(Arrays.asList("machineType", "name"));
Expand Down Expand 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"));
}
}

public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ public class Server {
@SerializedName(SERIALIZED_NAME_VOLUMES)
@javax.annotation.Nullable private List<UUID> volumes;

public static final String SERIALIZED_NAME_VTPM = "vtpm";

@SerializedName(SERIALIZED_NAME_VTPM)
@javax.annotation.Nullable private ServerVTPM vtpm;

public Server() {}

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

public Server vtpm(@javax.annotation.Nullable ServerVTPM vtpm) {
this.vtpm = vtpm;
return this;
}

/**
* Get vtpm
*
* @return vtpm
*/
@javax.annotation.Nullable public ServerVTPM getVtpm() {
return vtpm;
}

public void setVtpm(@javax.annotation.Nullable ServerVTPM vtpm) {
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 Down Expand 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 Down Expand Up @@ -735,7 +711,6 @@ public int hashCode() {
updatedAt,
Arrays.hashCode(userData),
volumes,
vtpm,
additionalProperties);
}

Expand Down Expand 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 Down Expand 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 = new HashSet<String>(Arrays.asList("machineType", "name"));
Expand Down Expand 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"));
}
}

public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
Expand Down
Loading
Loading