com.github.nagyesta.lowkeyvault.model.management.VaultBackupModel Maven / Gradle / Ivy
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;
}