io.mosip.pmp.partner.core.RequestWrapper Maven / Gradle / Ivy
package io.mosip.pmp.partner.core;
import java.time.LocalDateTime;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
/**
* @author sanjeev.shrivastava
*
* @param any type of object as a parameter
*/
@Data
public class RequestWrapper {
private String id;
private String version;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
private LocalDateTime requesttime;
private Object metadata;
@NotNull
@Valid
private T request;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy