io.mosip.pms.oauth.client.dto.RequestWrapper Maven / Gradle / Ivy
The newest version!
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package io.mosip.pms.oauth.client.dto;
import lombok.Data;
import java.time.LocalDateTime;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonFormat;
@Data
public class RequestWrapper {
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
private String requestTime;
@NotNull
@Valid
private T request;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy