blob: b209a385b6b087c1206645bfdf651d7f7c033230 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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.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, Instant lastUpdated) {
public record Version(FingerPrint fingerPrint, String checkAccessHash, Instant creationTime,
Optional<Instant> expiration, String author) {
}
}
|