All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nagyesta.lowkeyvault.model.management.VaultBackupModel Maven / Gradle / Ivy

The newest version!
package com.github.nagyesta.lowkeyvault.model.management;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.nagyesta.lowkeyvault.model.common.backup.CertificateBackupList;
import com.github.nagyesta.lowkeyvault.model.common.backup.KeyBackupList;
import com.github.nagyesta.lowkeyvault.model.common.backup.SecretBackupList;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Map;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VaultBackupModel {
    @Valid
    @NotNull
    @JsonProperty("attributes")
    private VaultModel attributes;
    @Valid
    @JsonProperty("keys")
    private Map keys;
    @Valid
    @JsonProperty("secrets")
    private Map secrets;
    @Valid
    @JsonProperty("certificates")
    private Map certificates;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy