Interface ViewServiceAsync
-
- All Implemented Interfaces:
public interface ViewServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceViewServiceAsync.WithRawResponseA view of ViewServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ViewServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<View> create(ViewCreateParams params)
Create a new view. If there is an existing view with the same name as the one specified in the request, will return the existing view unmodified
-
create
abstract CompletableFuture<View> create(ViewCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<View> retrieve(ViewRetrieveParams params)
Get a view object by its id
-
retrieve
abstract CompletableFuture<View> retrieve(ViewRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<View> update(ViewUpdateParams params)
Partially update a view object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
update
abstract CompletableFuture<View> update(ViewUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ViewListPageAsync> list(ViewListParams params)
List out all views. The views are sorted by creation date, with the most recently-created views coming first
-
list
abstract CompletableFuture<ViewListPageAsync> list(ViewListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<View> delete(ViewDeleteParams params)
Delete a view object by its id
-
delete
abstract CompletableFuture<View> delete(ViewDeleteParams params, RequestOptions requestOptions)
-
replace
CompletableFuture<View> replace(ViewReplaceParams params)
Create or replace view. If there is an existing view with the same name as the one specified in the request, will replace the existing view with the provided fields
-
replace
abstract CompletableFuture<View> replace(ViewReplaceParams params, RequestOptions requestOptions)
-
-
-
-