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

io.mosip.pmp.authdevice.dto.DeviceData Maven / Gradle / Ivy

package io.mosip.pmp.authdevice.dto;

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

import io.mosip.pmp.authdevice.util.ValidFoundational;
import io.mosip.pmp.authdevice.util.ValidPurpose;
import lombok.Data;

@Data
@ValidFoundational(baseField = "certificationLevel", matchField = { "foundationalTrustProviderId" })
public class DeviceData {

	
	@Size(min = 1, max = 36)
	private String deviceId;

	@ValidPurpose(message = "Invalid Purpose received")
	private String purpose;
	
	@NotNull
	private String deviceInfo;	
	
	private String foundationalTrustProviderId;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy