package com.iqser.red.service.persistence.management.v1.processor.model;

import java.util.ArrayList;
import java.util.List;

import com.iqser.red.service.pdftron.redaction.v1.api.model.RedactionResultDetail;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
@Builder
@Getter
@Setter
public class RedactionFileResult {

    private String fileId;

    private boolean processed;

    private int retryCounter;

    @Builder.Default
    private List<RedactionResultDetail> redactionResultDetailList = new ArrayList<>();


    public void increaseRetryCounter() {
        this.retryCounter = this.retryCounter + 1;
    }

}
