Package com.bennyapi.models.sessions
Class SessionCreateTokenResponse
-
- All Implemented Interfaces:
public final class SessionCreateTokenResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionCreateTokenResponse.BuilderA builder for SessionCreateTokenResponse.
-
Method Summary
Modifier and Type Method Description final Stringtoken()The session token. final OffsetDateTimeexpiresAt()The UTC time at which the token expires. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<OffsetDateTime>_expiresAt()Returns the raw JSON value of expiresAt. final Map<String, JsonValue>_additionalProperties()final SessionCreateTokenResponse.BuildertoBuilder()final SessionCreateTokenResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreateTokenResponse.Builderbuilder()Returns a mutable builder for constructing an instance of SessionCreateTokenResponse. -
-
Method Detail
-
expiresAt
final OffsetDateTime expiresAt()
The UTC time at which the token expires.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionCreateTokenResponse.Builder toBuilder()
-
validate
final SessionCreateTokenResponse validate()
-
builder
final static SessionCreateTokenResponse.Builder builder()
Returns a mutable builder for constructing an instance of SessionCreateTokenResponse.
The following fields are required:
.token() .expiresAt()
-
-
-
-