package com.iqser.red.service.persistence.service.v1.api.shared.model;

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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "Object containing information about a successfully uploaded file.")
public class FileUploadResult {

    @Builder.Default
    @Schema(description = "List of fileIds generated for uploaded file(s).")
    public List<String> fileIds = new ArrayList<>();

    @Builder.Default
    @Schema(description = "List processed file attributes, in case the upload contained a CSV.")
    public List<String> processedAttributes = new ArrayList<>();

    @Builder.Default
    @Schema(description = "List processed fileIds, in case the upload contained a CSV.")
    public List<String> processedFileIds = new ArrayList<>();

}
