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

io.mosip.pms.common.request.dto.RequestWrapper Maven / Gradle / Ivy

There is a newer version: 1.3.0-dp.1
Show newest version
package io.mosip.pms.common.request.dto;

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