com.chutneytesting.tools.PaginationRequestWrapperDto Maven / Gradle / Ivy
package com.chutneytesting.tools;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Optional;
import org.immutables.value.Value;
@Value.Immutable
@JsonSerialize(as = ImmutablePaginationRequestWrapperDto.class)
@JsonDeserialize(as = ImmutablePaginationRequestWrapperDto.class)
@Value.Style(jdkOnly = true)
public interface PaginationRequestWrapperDto {
Integer pageNumber();
Integer elementPerPage();
@Value.Default
default Optional wrappedRequest() { return Optional.empty(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy