Files
Stirling-PDF/src/main/java/stirling/software/SPDF/model/api/SplitPdfBySectionsRequest.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
942 B
Java
Raw Normal View History

2023-12-16 19:29:43 +00:00
package stirling.software.SPDF.model.api;
2023-12-30 19:11:27 +00:00
2023-12-16 19:29:43 +00:00
import io.swagger.v3.oas.annotations.media.Schema;
2023-12-30 19:11:27 +00:00
2023-12-16 19:29:43 +00:00
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class SplitPdfBySectionsRequest extends PDFFile {
@Schema(
description = "Number of horizontal divisions for each PDF page",
defaultValue = "0",
minimum = "0",
requiredMode = Schema.RequiredMode.REQUIRED)
2023-12-16 19:29:43 +00:00
private int horizontalDivisions;
@Schema(
description = "Number of vertical divisions for each PDF page",
defaultValue = "1",
minimum = "0",
requiredMode = Schema.RequiredMode.REQUIRED)
2023-12-16 19:29:43 +00:00
private int verticalDivisions;
@Schema(
description = "Merge the split documents into a single PDF",
defaultValue = "true",
requiredMode = Schema.RequiredMode.REQUIRED)
private Boolean merge;
2023-12-16 19:29:43 +00:00
}