blob: ec8d71f76c55f252361356a31f8f909036c13766 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.noderepository;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author mortent
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class NodeList {
@JsonProperty
List<NodeRepositoryNode> nodes;
public NodeList() {
}
public NodeList(List<NodeRepositoryNode> nodes) {
this.nodes = nodes;
}
public List<NodeRepositoryNode> nodes() {
return nodes;
}
}
|