aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/ArchiveList.java
blob: f2eddbc9a5f044556b4b5dd86baae558d38aced1 (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
// Copyright Vespa.ai. 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.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ArchiveList {
    @JsonProperty("archives")
    public List<Archive> archives = new ArrayList<>();

    public static class Archive {
        @JsonProperty("tenant")
        public String tenant;

        @JsonProperty("account")
        public String account;

        @JsonProperty("uri")
        public String uri;
    }
}