Package ai.vectros.types
Class CreateInviteResponse.Builder
java.lang.Object
ai.vectros.types.CreateInviteResponse.Builder
- Enclosing class:
CreateInviteResponse
-
Method Summary
Modifier and TypeMethodDescriptionacceptLink(String acceptLink) acceptLink(Optional<String> acceptLink) A ready-to-use accept link (youracceptUrlwith the token appended as atquery parameter).additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Whether the invitation email was sent.from(CreateInviteResponse other) inviteExpiresAt(String inviteExpiresAt) inviteExpiresAt(Optional<String> inviteExpiresAt) When the invitation token expires, as an ISO-8601 UTC timestamp.inviteToken(String inviteToken) inviteToken(Optional<String> inviteToken) The raw invitation token.Server-generated identifier of the invited user.
-
Method Details
-
from
-
userId
Server-generated identifier of the invited user. Stable for the life of the user, including after they accept and become active.
-
userId
-
inviteExpiresAt
When the invitation token expires, as an ISO-8601 UTC timestamp. Accept requests made after this time are rejected.
-
inviteExpiresAt
-
emailSent
Whether the invitation email was sent. True only when you requested delivery (
sendEmailtrue) and the send succeeded. -
emailSent
-
inviteToken
The raw invitation token. Returned only when you set
sendEmailto false. Treat it as a sensitive credential: anyone holding the token can accept the invitation. -
inviteToken
-
acceptLink
A ready-to-use accept link (your
acceptUrlwith the token appended as atquery parameter). Returned only when you setsendEmailto false, so you do not have to build the URL yourself when sending your own email. -
acceptLink
-
build
-
additionalProperty
-
additionalProperties
-