summaryrefslogtreecommitdiffstats
path: root/serviceview/src/main/java/com/yahoo/vespa/serviceview/bindings/ClusterView.java
blob: cb814dfcae204692f30c716378450ae95acabbc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.serviceview.bindings;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * The response binding for a complete cluster.
 *
 * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
 */
public class ClusterView {
    public String name;
    public String type;
    @JsonInclude(value = Include.NON_NULL)
    public String url;
    public List<ServiceView> services;
}