Interface InviteServiceAsync
-
- All Implemented Interfaces:
public interface InviteServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceInviteServiceAsync.WithRawResponseA view of InviteServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract InviteServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract InviteServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<Invite> create(InviteCreateParams params)
Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization.
-
create
abstract CompletableFuture<Invite> create(InviteCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Invite> retrieve(String inviteId)
Retrieves an invite.
-
retrieve
CompletableFuture<Invite> retrieve(String inviteId, InviteRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Invite> retrieve(String inviteId, InviteRetrieveParams params)
-
retrieve
abstract CompletableFuture<Invite> retrieve(InviteRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Invite> retrieve(InviteRetrieveParams params)
-
retrieve
CompletableFuture<Invite> retrieve(String inviteId, RequestOptions requestOptions)
-
list
CompletableFuture<InviteListPageAsync> list()
Returns a list of invites in the organization.
-
list
abstract CompletableFuture<InviteListPageAsync> list(InviteListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<InviteListPageAsync> list(InviteListParams params)
-
list
CompletableFuture<InviteListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<InviteDeleteResponse> delete(String inviteId)
Delete an invite. If the invite has already been accepted, it cannot be deleted.
-
delete
CompletableFuture<InviteDeleteResponse> delete(String inviteId, InviteDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<InviteDeleteResponse> delete(String inviteId, InviteDeleteParams params)
-
delete
abstract CompletableFuture<InviteDeleteResponse> delete(InviteDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<InviteDeleteResponse> delete(InviteDeleteParams params)
-
delete
CompletableFuture<InviteDeleteResponse> delete(String inviteId, RequestOptions requestOptions)
-
-
-
-