summaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeOwner.java
blob: 21c2c46907731040d550144cce98df57ac2a1755 (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
// Copyright 2018 Yahoo Holdings. 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 NodeOwner {

    @JsonProperty
    public String tenant;
    @JsonProperty
    public String application;
    @JsonProperty
    public String instance;

    public NodeOwner() {}

    public String getTenant() {
        return tenant;
    }

    public String getApplication() {
        return application;
    }

    public String getInstance() {
        return instance;
    }
}