aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeMembership.java
blob: 5579c43daf0c1a35e8dc9334bca38c8247c0d9af (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// 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;

/**
 * @author mpolden
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class NodeMembership {

    @JsonProperty
    public String clustertype;
    @JsonProperty
    public String clusterid;
    @JsonProperty
    public String group;
    @JsonProperty
    public Integer index;
    @JsonProperty
    public Boolean retired;

    public String getClustertype() {
        return clustertype;
    }

    public String getClusterid() {
        return clusterid;
    }

    public String getGroup() {
        return group;
    }

    public Integer getIndex() {
        return index;
    }

    public Boolean getRetired() {
        return retired;
    }
}