com.chutneytesting.tools.PaginationRequestParametersDto Maven / Gradle / Ivy
package com.chutneytesting.tools;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.immutables.value.Value;
@Value.Immutable
@JsonSerialize(as = ImmutablePaginationRequestParametersDto.class)
@JsonDeserialize(as = ImmutablePaginationRequestParametersDto.class)
@Value.Style(jdkOnly = true)
public interface PaginationRequestParametersDto {
@Value.Default
default Long start() { return 1L; }
@Value.Default
default Long limit() { return 25L; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy