> @@ -151,5 +160,22 @@ protected ServerInternal(String id, @Nullable String
> name, java.util.Set<Link> l
> super(id, name, links, uuid, tenantId, userId, updated, created,
> hostId, accessIPv4, accessIPv6, status, image, flavor, keyName, configDrive,
> addresses, metadata, extendedStatus, extendedAttributes, diskConfig);
> }
> }
> +
> + public Server apply(ServerInternalWithoutImage in) {
> + return in.toBuilder().build();
> + }
> +
> + private static class ServerInternalWithoutImage extends Server {
Sorry, probably another stupid question here: I can see why we might need
ServerInternalWithoutImage as it has different constructor/deserialization
params from Server. But what is the need for ServerInteral? Looks the same as
Server?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/414/files#r14141053