diff --git a/src/main/java/me/tomsdevsn/hetznercloud/objects/request/ServerRequest.java b/src/main/java/me/tomsdevsn/hetznercloud/objects/request/ServerRequest.java index d156418d..66325a4b 100644 --- a/src/main/java/me/tomsdevsn/hetznercloud/objects/request/ServerRequest.java +++ b/src/main/java/me/tomsdevsn/hetznercloud/objects/request/ServerRequest.java @@ -4,7 +4,9 @@ import com.fasterxml.jackson.annotation.JsonProperty; import lombok.*; +import java.util.HashMap; import java.util.List; +import java.util.Map; @Data @Builder @@ -23,6 +25,8 @@ public class ServerRequest { @JsonProperty("start_after_create") private boolean startAfterCreate; + private Map labels = new HashMap<>(); + /** * The objects in the list have to be a Long or a String, or it will throw an Exception {@link me.tomsdevsn.hetznercloud.exception.InvalidParametersException} */