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