aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/client/zms/bindings/ServiceListResponseEntity.java
blob: 39aca41ab18ddb53dc003800b22f57659d6c79ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.client.zms.bindings;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author andreer
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class ServiceListResponseEntity {
    public final List<String> services;

    @JsonCreator
    public ServiceListResponseEntity(@JsonProperty("names") List<String> services) {
        this.services = services;
    }
}