Class CampaignCreateMobileParticipantTokenResponse
-
- All Implemented Interfaces:
public final class CampaignCreateMobileParticipantTokenResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCampaignCreateMobileParticipantTokenResponse.BuilderA builder for CampaignCreateMobileParticipantTokenResponse.
-
Method Summary
Modifier and Type Method Description final LongexpiresIn()Token lifetime in seconds. final BooleanisNew()Whether this request created a new participant. final Participantparticipant()final StringparticipantToken()Participant-scoped bearer token for GrowSurf mobile SDK participant endpoints. final JsonField<Long>_expiresIn()Returns the raw JSON value of expiresIn. final JsonField<Boolean>_isNew()Returns the raw JSON value of isNew. final JsonField<Participant>_participant()Returns the raw JSON value of participant. final JsonField<String>_participantToken()Returns the raw JSON value of participantToken. final Map<String, JsonValue>_additionalProperties()final CampaignCreateMobileParticipantTokenResponse.BuildertoBuilder()final CampaignCreateMobileParticipantTokenResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CampaignCreateMobileParticipantTokenResponse.Builderbuilder()Returns a mutable builder for constructing an instance of CampaignCreateMobileParticipantTokenResponse. -
-
Method Detail
-
isNew
final Boolean isNew()
Whether this request created a new participant. Returns false when the participant already existed.
-
participant
final Participant participant()
-
participantToken
final String participantToken()
Participant-scoped bearer token for GrowSurf mobile SDK participant endpoints.
-
_expiresIn
final JsonField<Long> _expiresIn()
Returns the raw JSON value of expiresIn.
Unlike expiresIn, this method doesn't throw if the JSON field has an unexpected type.
-
_isNew
final JsonField<Boolean> _isNew()
Returns the raw JSON value of isNew.
Unlike isNew, this method doesn't throw if the JSON field has an unexpected type.
-
_participant
final JsonField<Participant> _participant()
Returns the raw JSON value of participant.
Unlike participant, this method doesn't throw if the JSON field has an unexpected type.
-
_participantToken
final JsonField<String> _participantToken()
Returns the raw JSON value of participantToken.
Unlike participantToken, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CampaignCreateMobileParticipantTokenResponse.Builder toBuilder()
-
validate
final CampaignCreateMobileParticipantTokenResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CampaignCreateMobileParticipantTokenResponse.Builder builder()
Returns a mutable builder for constructing an instance of CampaignCreateMobileParticipantTokenResponse.
The following fields are required:
.expiresIn() .isNew() .participant() .participantToken()
-
-
-
-