Package ai.vectros.types
Class MintTokenResponse.Builder
java.lang.Object
ai.vectros.types.MintTokenResponse.Builder
- All Implemented Interfaces:
MintTokenResponse._FinalStage,MintTokenResponse.ExpiresAtStage,MintTokenResponse.TokenStage
- Enclosing class:
MintTokenResponse
public static final class MintTokenResponse.Builder
extends Object
implements MintTokenResponse.TokenStage, MintTokenResponse.ExpiresAtStage, MintTokenResponse._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()expiresAt(long expiresAt) When the token expires, as seconds since the Unix epoch (matches the token'sexpclaim).from(MintTokenResponse other) The opaque bearer token.
-
Method Details
-
from
- Specified by:
fromin interfaceMintTokenResponse.TokenStage
-
token
The opaque bearer token. Send it as
Authorization: Bearer <token>on subsequent requests.The opaque bearer token. Send it as
Authorization: Bearer <token>on subsequent requests.- Specified by:
tokenin interfaceMintTokenResponse.TokenStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
expiresAt
When the token expires, as seconds since the Unix epoch (matches the token's
expclaim).When the token expires, as seconds since the Unix epoch (matches the token's
expclaim).- Specified by:
expiresAtin interfaceMintTokenResponse.ExpiresAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceMintTokenResponse._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceMintTokenResponse._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceMintTokenResponse._FinalStage
-