Cursor Json Object Response
data class CursorJsonObjectResponse<M : PenicillinCursorModel<T>, T : Any>( val client: ApiClient, val result: M, val request: HttpRequest, val response: HttpResponse, val content: String, val action: ApiAction<CursorJsonObjectResponse<M, T>>) : ApiResponse<CursorJsonObjectResponse<M, T>> , JsonResponse<M, JsonObject> , CompletedResponse
Content copied to clipboard
The ApiResponse that provides parsed json object with json model. This class supports cursor api operation.
Constructors
Link copied to clipboard
fun <M : PenicillinCursorModel<T>, T : Any> CursorJsonObjectResponse( client: ApiClient, result: M, request: HttpRequest, response: HttpResponse, content: String, action: ApiAction<CursorJsonObjectResponse<M, T>>)
Content copied to clipboard
Properties
Extensions
Link copied to clipboard
fun <M : PenicillinCursorModel<T>, T : Any> CursorJsonObjectResponse<M, T>.byCursor(cursor: Long, vararg options: Option): CursorJsonObjectApiAction<M, T>
Content copied to clipboard
New ApiAction with specified cursor.
Link copied to clipboard
If true, next cursor exists.
Link copied to clipboard
If true, previous cursor exists.
Link copied to clipboard
val <M : PenicillinCursorModel<T>, T : Any> CursorJsonObjectResponse<M, T>.next: CursorJsonObjectApiAction<M, T>
Content copied to clipboard
New ApiAction with next cursor.
Link copied to clipboard
Next cursor value.
Link copied to clipboard
val <M : PenicillinCursorModel<T>, T : Any> CursorJsonObjectResponse<M, T>.previous: CursorJsonObjectApiAction<M, T>
Content copied to clipboard
New ApiAction with previous cursor.
Link copied to clipboard
Previous cursor value.