public class ScreenSchemesApi extends Object
| Constructor and Description |
|---|
ScreenSchemesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ScreenSchemeId> |
createScreenScheme(ScreenSchemeDetails screenSchemeDetails,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create screen scheme
Creates a screen scheme.
|
io.reactivex.Completable |
deleteScreenScheme(String screenSchemeId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete screen scheme
Deletes a screen scheme.
|
io.reactivex.Single<PageBeanScreenScheme> |
getScreenSchemes(Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<List<Long>> id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get screen schemes
Returns a [paginated](#pagination) list of screen schemes.
|
io.reactivex.Single<Object> |
updateScreenScheme(String screenSchemeId,
UpdateScreenSchemeDetails updateScreenSchemeDetails,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update screen scheme
Updates a screen scheme.
|
public ScreenSchemesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ScreenSchemeId> createScreenScheme(ScreenSchemeDetails screenSchemeDetails, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenSchemeDetails - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable deleteScreenScheme(String screenSchemeId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenSchemeId - The ID of the screen scheme. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<PageBeanScreenScheme> getScreenSchemes(Optional<Long> startAt, Optional<Integer> maxResults, Optional<List<Long>> id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
startAt - The index of the first item to return in a page of results (page offset). (optional, default to 0l)maxResults - The maximum number of items to return per page. (optional, default to 25)id - The list of screen scheme IDs. To include multiple IDs, provide an ampersand-separated list. For example, `id=10000&id=10001`. (optional, default to new ArrayList<>())restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Object> updateScreenScheme(String screenSchemeId, UpdateScreenSchemeDetails updateScreenSchemeDetails, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenSchemeId - The ID of the screen scheme. (required)updateScreenSchemeDetails - The screen scheme update details. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.