aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/dataplanetoken/DataplaneTokenVersions.java
blob: 1ce558bd84e9e118843191814f94ab3054ef91b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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.dataplanetoken;

import java.time.Instant;
import java.util.List;
import java.util.Optional;

/**
 * List of dataplane token versions of a token id.
 *
 * @author mortent
 */
public record DataplaneTokenVersions(TokenId tokenId, List<Version> tokenVersions) {
    public record Version(FingerPrint fingerPrint, String checkAccessHash, Instant creationTime,
                          Optional<Instant> expiration, String author) {
    }
}