io.mosip.pms.device.dto.DeviceInfo Maven / Gradle / Ivy
The newest version!
package io.mosip.pms.device.dto;
import java.time.LocalDateTime;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.mosip.pms.device.validator.ValidCertificateLevel;
import lombok.Data;
@Data
public class DeviceInfo {
private List deviceSubId;
@ValidCertificateLevel(message = "Invalid Certification level received")
private String certification;
private String digitalId;
@NotNull
@Size(min = 1, max = 128)
private String firmware;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
private LocalDateTime deviceExpiry;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
private LocalDateTime timestamp;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy