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