Skip to content

Commit

Permalink
Merge pull request #7 from pellepelster/master
Browse files Browse the repository at this point in the history
add support for server labels
  • Loading branch information
Tom Michael Siewert authored Jan 27, 2019
2 parents bbbd332 + 20cb2f6 commit 804985e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,6 +25,8 @@ public class ServerRequest {
@JsonProperty("start_after_create")
private boolean startAfterCreate;

private Map<String, String> 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}
*/
Expand Down

0 comments on commit 804985e

Please sign in to comment.