Interface GroupServiceAsync
-
- All Implemented Interfaces:
public interface GroupServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceGroupServiceAsync.WithRawResponseA view of GroupServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract GroupServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<Group> create(GroupCreateParams params)
Create a new group. If there is an existing group with the same name as the one specified in the request, will return the existing group unmodified
-
create
abstract CompletableFuture<Group> create(GroupCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Group> retrieve(GroupRetrieveParams params)
Get a group object by its id
-
retrieve
abstract CompletableFuture<Group> retrieve(GroupRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Group> update(GroupUpdateParams params)
Partially update a group 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<Group> update(GroupUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<GroupListPageAsync> list()
List out all groups. The groups are sorted by creation date, with the most recently-created groups coming first
-
list
abstract CompletableFuture<GroupListPageAsync> list(GroupListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<GroupListPageAsync> list(GroupListParams params)
-
list
CompletableFuture<GroupListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<Group> delete(GroupDeleteParams params)
Delete a group object by its id
-
delete
abstract CompletableFuture<Group> delete(GroupDeleteParams params, RequestOptions requestOptions)
-
replace
CompletableFuture<Group> replace(GroupReplaceParams params)
Create or replace group. If there is an existing group with the same name as the one specified in the request, will replace the existing group with the provided fields
-
replace
abstract CompletableFuture<Group> replace(GroupReplaceParams params, RequestOptions requestOptions)
-
-
-
-