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

io.mosip.registration.dto.schema.Validator Maven / Gradle / Ivy

package io.mosip.registration.dto.schema;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Getter;
import lombok.Setter;

/**
 * Validator class will be having information of what type of validator it is,
 * and validator value, and required arguments also
 * 
 * @author YASWANTH S
 *
 */
@Setter
@Getter
@JsonIgnoreProperties(ignoreUnknown = true)
public class Validator {

	/**
	 * Type of the validator
	 */
	private String type;
	/**
	 * Validator value
	 */
	private String validator;
	/**
	 * Arguments if required
	 */
	private List arguments;
	
	/**
	 * Langcode to opt validator 
	 */
	private String langCode;
	
	/**
	 * errorCode to display specific validation 
	 */
	private String errorCode;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy