All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.edurt.datacap.service.body.FunctionsImportBody Maven / Gradle / Ivy

There is a newer version: 2024.4.0
Show newest version
package io.edurt.datacap.service.body;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.edurt.datacap.common.enums.FunctionImportMode;
import io.edurt.datacap.common.enums.FunctionType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import java.util.List;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@SuppressFBWarnings(value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
public class FunctionsImportBody
{
    @NotBlank
    private String content;

    @NotNull
    @Size(min = 1)
    private List plugin;
    private FunctionType type = FunctionType.KEYWORD;
    private FunctionImportMode mode = FunctionImportMode.txt;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy