Class ParticipantListReferralsParams
-
- All Implemented Interfaces:
-
com.growsurf.api.core.Params
public final class ParticipantListReferralsParams implements Params
Retrieves referrals and email invites made by a participant.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantListReferralsParams.BuilderA builder for ParticipantListReferralsParams.
public final classParticipantListReferralsParams.SortByField used to sort referral results.
-
Method Summary
Modifier and Type Method Description final Stringid()final Optional<String>participantIdOrEmail()final Optional<Boolean>desc()Return results in descending order when true. final Optional<String>email()URL-encoded email value to filter referral results. final Optional<String>firstName()First name value to filter results. final Optional<String>lastName()Last name value to filter results. final Optional<Long>limit()Number of results to return. final Optional<String>nextId()ID to start the next paged result set with. final Optional<Long>offset()Offset number used to skip through a result set. final Optional<ReferralStatus>referralStatus()final Optional<ParticipantListReferralsParams.SortBy>sortBy()Field used to sort referral results. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final ParticipantListReferralsParams.BuildertoBuilder()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ParticipantListReferralsParams.Builderbuilder()Returns a mutable builder for constructing an instance of ParticipantListReferralsParams. -
-
Method Detail
-
participantIdOrEmail
final Optional<String> participantIdOrEmail()
-
referralStatus
final Optional<ReferralStatus> referralStatus()
-
sortBy
final Optional<ParticipantListReferralsParams.SortBy> sortBy()
Field used to sort referral results.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ParticipantListReferralsParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static ParticipantListReferralsParams.Builder builder()
Returns a mutable builder for constructing an instance of ParticipantListReferralsParams.
The following fields are required:
.id()
-
-
-
-