Class ParticipantCreateMobileTokenResponse.Builder
-
- All Implemented Interfaces:
public final class ParticipantCreateMobileTokenResponse.BuilderA builder for ParticipantCreateMobileTokenResponse.
-
-
Method Summary
-
-
Method Detail
-
expiresIn
final ParticipantCreateMobileTokenResponse.Builder expiresIn(Long expiresIn)
Token lifetime in seconds.
-
expiresIn
final ParticipantCreateMobileTokenResponse.Builder expiresIn(JsonField<Long> expiresIn)
Sets Builder.expiresIn to an arbitrary JSON value.
You should usually call Builder.expiresIn with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
participantToken
final ParticipantCreateMobileTokenResponse.Builder participantToken(String participantToken)
Participant-scoped bearer token for GrowSurf mobile SDK participant endpoints.
-
participantToken
final ParticipantCreateMobileTokenResponse.Builder participantToken(JsonField<String> participantToken)
Sets Builder.participantToken to an arbitrary JSON value.
You should usually call Builder.participantToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ParticipantCreateMobileTokenResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ParticipantCreateMobileTokenResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ParticipantCreateMobileTokenResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ParticipantCreateMobileTokenResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ParticipantCreateMobileTokenResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ParticipantCreateMobileTokenResponse build()
Returns an immutable instance of ParticipantCreateMobileTokenResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresIn() .participantToken()
-
-
-
-