public class ScreenTabsApi extends Object
| Constructor and Description |
|---|
ScreenTabsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ScreenableTab> |
addScreenTab(Long screenId,
ScreenableTab screenableTab,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create screen tab
Creates a tab for a screen.
|
io.reactivex.Completable |
deleteScreenTab(Long screenId,
Long tabId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete screen tab
Deletes a screen tab.
|
io.reactivex.Single<List<ScreenableTab>> |
getAllScreenTabs(Long screenId,
Optional<String> projectKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all screen tabs
Returns the list of tabs for a screen.
|
io.reactivex.Completable |
getBulkScreenTabs(Optional<List<Long>> screenId,
Optional<List<Long>> tabId,
Optional<Long> startAt,
Optional<Integer> maxResult,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get bulk screen tabs
Returns the list of tabs for a bulk of screens.
|
io.reactivex.Single<Object> |
moveScreenTab(Long screenId,
Long tabId,
Integer pos,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Move screen tab
Moves a screen tab.
|
io.reactivex.Single<ScreenableTab> |
renameScreenTab(Long screenId,
Long tabId,
ScreenableTab screenableTab,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update screen tab
Updates the name of a screen tab.
|
public ScreenTabsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ScreenableTab> addScreenTab(Long screenId, ScreenableTab screenableTab, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The ID of the screen. (required)screenableTab - (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 deleteScreenTab(Long screenId, Long tabId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The ID of the screen. (required)tabId - The ID of the screen tab. (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<List<ScreenableTab>> getAllScreenTabs(Long screenId, Optional<String> projectKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The ID of the screen. (required)projectKey - The key of the project. (optional)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 getBulkScreenTabs(Optional<List<Long>> screenId, Optional<List<Long>> tabId, Optional<Long> startAt, Optional<Integer> maxResult, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The list of screen IDs. To include multiple screen IDs, provide an ampersand-separated list. For example, `screenId=10000&screenId=10001`. (optional, default to new ArrayList<>())tabId - The list of tab IDs. To include multiple tab IDs, provide an ampersand-separated list. For example, `tabId=10000&tabId=10001`. (optional, default to new ArrayList<>())startAt - The index of the first item to return in a page of results (page offset). (optional, default to 0l)maxResult - The maximum number of items to return per page. The maximum number is 100, (optional, default to 100)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> moveScreenTab(Long screenId, Long tabId, Integer pos, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The ID of the screen. (required)tabId - The ID of the screen tab. (required)pos - The position of tab. The base index is 0. (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<ScreenableTab> renameScreenTab(Long screenId, Long tabId, ScreenableTab screenableTab, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
screenId - The ID of the screen. (required)tabId - The ID of the screen tab. (required)screenableTab - (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–2023 Everit Kft.. All rights reserved.