com.github.nagyesta.lowkeyvault.model.v7_2.common.BaseBackupModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
package com.github.nagyesta.lowkeyvault.model.v7_2.common;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.nagyesta.lowkeyvault.model.v7_2.BasePropertiesModel;
import com.github.nagyesta.lowkeyvault.model.v7_2.key.BackupListContainer;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
/**
* Base class of backup models.
*
* @param The type of the properties model.
* @param The type of the backup list items.
* @param The wrapper type of the backup list.
*/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BaseBackupModel, BL extends BackupListContainer> {
@Valid
@NotNull
private BL value;
}