io.opengood.api.rest.contracts.request.GetDataRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-contracts Show documentation
Show all versions of rest-api-contracts Show documentation
Reusable REST API contracts
package io.opengood.api.rest.contracts.request
import com.fasterxml.jackson.annotation.JsonInclude
import io.opengood.api.rest.contracts.page.PageRequest
import io.opengood.api.rest.contracts.sort.SortRequest
data class GetDataRequest(
@JsonInclude(JsonInclude.Include.NON_EMPTY)
val name: String,
val filters: Map = emptyMap(),
val page: PageRequest = PageRequest.EMPTY,
val sort: SortRequest = SortRequest.EMPTY
)