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.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.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–2021 Everit Kft.. All rights reserved.