public class JqlFunctionsAppsApi extends Object
| Constructor and Description |
|---|
JqlFunctionsAppsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<PageBeanJqlFunctionPrecomputationBean> |
getPrecomputations(Optional<List<String>> functionKey,
Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<String> orderBy,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get precomputations (apps)
Returns the list of a function's precomputations along with information about when they were created, updated, and last used.
|
io.reactivex.Single<Object> |
updatePrecomputations(JqlFunctionPrecomputationUpdateRequestBean jqlFunctionPrecomputationUpdateRequestBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update precomputations (apps)
Update the precomputation value of a function created by a Forge/Connect app.
|
public JqlFunctionsAppsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<PageBeanJqlFunctionPrecomputationBean> getPrecomputations(Optional<List<String>> functionKey, Optional<Long> startAt, Optional<Integer> maxResults, Optional<String> orderBy, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
functionKey - The function key in format: * Forge: `ari:cloud:ecosystem::extension/[App ID]/[Environment ID]/static/[Function key from manifest]` * Connect: `[App key]__[Module key]` (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)maxResults - The maximum number of items to return per page. (optional, default to 100)orderBy - [Order](#ordering) the results by a field: * `functionKey` Sorts by the functionKey. * `used` Sorts by the used timestamp. * `created` Sorts by the created timestamp. * `updated` Sorts by the updated timestamp. (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> updatePrecomputations(JqlFunctionPrecomputationUpdateRequestBean jqlFunctionPrecomputationUpdateRequestBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
jqlFunctionPrecomputationUpdateRequestBean - (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.