Class Participant.Builder
-
- All Implemented Interfaces:
public final class Participant.BuilderA builder for Participant.
-
-
Method Summary
-
-
Method Detail
-
id
final Participant.Builder id(String id)
-
id
final Participant.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final Participant.Builder email(String email)
-
email
final Participant.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monthlyRank
final Participant.Builder monthlyRank(Long monthlyRank)
-
monthlyRank
final Participant.Builder monthlyRank(JsonField<Long> monthlyRank)
Sets Builder.monthlyRank to an arbitrary JSON value.
You should usually call Builder.monthlyRank with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monthlyReferralCount
final Participant.Builder monthlyReferralCount(Long monthlyReferralCount)
-
monthlyReferralCount
final Participant.Builder monthlyReferralCount(JsonField<Long> monthlyReferralCount)
Sets Builder.monthlyReferralCount to an arbitrary JSON value.
You should usually call Builder.monthlyReferralCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
rank
final Participant.Builder rank(Long rank)
-
rank
final Participant.Builder rank(JsonField<Long> rank)
Sets Builder.rank to an arbitrary JSON value.
You should usually call Builder.rank with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referralCount
final Participant.Builder referralCount(Long referralCount)
-
referralCount
final Participant.Builder referralCount(JsonField<Long> referralCount)
Sets Builder.referralCount to an arbitrary JSON value.
You should usually call Builder.referralCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
rewards
final Participant.Builder rewards(List<ParticipantReward> rewards)
-
rewards
final Participant.Builder rewards(JsonField<List<ParticipantReward>> rewards)
Sets Builder.rewards to an arbitrary JSON value.
You should usually call Builder.rewards with a well-typed
List<ParticipantReward>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addReward
final Participant.Builder addReward(ParticipantReward reward)
Adds a single ParticipantReward to rewards.
-
shareUrl
final Participant.Builder shareUrl(String shareUrl)
-
shareUrl
final Participant.Builder shareUrl(JsonField<String> shareUrl)
Sets Builder.shareUrl to an arbitrary JSON value.
You should usually call Builder.shareUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
allMatchingFraudsters
final Participant.Builder allMatchingFraudsters(List<Participant.AllMatchingFraudster> allMatchingFraudsters)
-
allMatchingFraudsters
final Participant.Builder allMatchingFraudsters(JsonField<List<Participant.AllMatchingFraudster>> allMatchingFraudsters)
Sets Builder.allMatchingFraudsters to an arbitrary JSON value.
You should usually call Builder.allMatchingFraudsters with a well-typed
List<AllMatchingFraudster>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllMatchingFraudster
final Participant.Builder addAllMatchingFraudster(Participant.AllMatchingFraudster allMatchingFraudster)
Adds a single AllMatchingFraudster to allMatchingFraudsters.
-
createdAt
final Participant.Builder createdAt(Long createdAt)
-
createdAt
final Participant.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fingerprint
final Participant.Builder fingerprint(String fingerprint)
-
fingerprint
final Participant.Builder fingerprint(Optional<String> fingerprint)
Alias for calling Builder.fingerprint with
fingerprint.orElse(null).
-
fingerprint
final Participant.Builder fingerprint(JsonField<String> fingerprint)
Sets Builder.fingerprint to an arbitrary JSON value.
You should usually call Builder.fingerprint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstName
final Participant.Builder firstName(String firstName)
-
firstName
final Participant.Builder firstName(Optional<String> firstName)
Alias for calling Builder.firstName with
firstName.orElse(null).
-
firstName
final Participant.Builder firstName(JsonField<String> firstName)
Sets Builder.firstName to an arbitrary JSON value.
You should usually call Builder.firstName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fraudReasonCode
final Participant.Builder fraudReasonCode(String fraudReasonCode)
-
fraudReasonCode
final Participant.Builder fraudReasonCode(JsonField<String> fraudReasonCode)
Sets Builder.fraudReasonCode to an arbitrary JSON value.
You should usually call Builder.fraudReasonCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fraudRiskLevel
final Participant.Builder fraudRiskLevel(FraudRiskLevel fraudRiskLevel)
-
fraudRiskLevel
final Participant.Builder fraudRiskLevel(JsonField<FraudRiskLevel> fraudRiskLevel)
Sets Builder.fraudRiskLevel to an arbitrary JSON value.
You should usually call Builder.fraudRiskLevel with a well-typed FraudRiskLevel value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
impressionCount
final Participant.Builder impressionCount(Long impressionCount)
-
impressionCount
final Participant.Builder impressionCount(JsonField<Long> impressionCount)
Sets Builder.impressionCount to an arbitrary JSON value.
You should usually call Builder.impressionCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inviteCount
final Participant.Builder inviteCount(Long inviteCount)
-
inviteCount
final Participant.Builder inviteCount(JsonField<Long> inviteCount)
Sets Builder.inviteCount to an arbitrary JSON value.
You should usually call Builder.inviteCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ipAddress
final Participant.Builder ipAddress(String ipAddress)
-
ipAddress
final Participant.Builder ipAddress(Optional<String> ipAddress)
Alias for calling Builder.ipAddress with
ipAddress.orElse(null).
-
ipAddress
final Participant.Builder ipAddress(JsonField<String> ipAddress)
Sets Builder.ipAddress to an arbitrary JSON value.
You should usually call Builder.ipAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isNew
final Participant.Builder isNew(Boolean isNew)
-
isNew
final Participant.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.
-
isWinner
final Participant.Builder isWinner(Boolean isWinner)
-
isWinner
final Participant.Builder isWinner(JsonField<Boolean> isWinner)
Sets Builder.isWinner to an arbitrary JSON value.
You should usually call Builder.isWinner with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastName
final Participant.Builder lastName(String lastName)
-
lastName
final Participant.Builder lastName(Optional<String> lastName)
Alias for calling Builder.lastName with
lastName.orElse(null).
-
lastName
final Participant.Builder lastName(JsonField<String> lastName)
Sets Builder.lastName to an arbitrary JSON value.
You should usually call Builder.lastName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final Participant.Builder metadata(Participant.Metadata metadata)
Shallow custom metadata object.
-
metadata
final Participant.Builder metadata(JsonField<Participant.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
monthlyReferrals
final Participant.Builder monthlyReferrals(List<String> monthlyReferrals)
-
monthlyReferrals
final Participant.Builder monthlyReferrals(JsonField<List<String>> monthlyReferrals)
Sets Builder.monthlyReferrals to an arbitrary JSON value.
You should usually call Builder.monthlyReferrals with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addMonthlyReferral
final Participant.Builder addMonthlyReferral(String monthlyReferral)
Adds a single String to monthlyReferrals.
-
notes
final Participant.Builder notes(String notes)
-
notes
final Participant.Builder notes(Optional<String> notes)
Alias for calling Builder.notes with
notes.orElse(null).
-
notes
final Participant.Builder notes(JsonField<String> notes)
Sets Builder.notes to an arbitrary JSON value.
You should usually call Builder.notes with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paypalEmailAddress
final Participant.Builder paypalEmailAddress(String paypalEmailAddress)
-
paypalEmailAddress
final Participant.Builder paypalEmailAddress(JsonField<String> paypalEmailAddress)
Sets Builder.paypalEmailAddress to an arbitrary JSON value.
You should usually call Builder.paypalEmailAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
prevMonthlyRank
final Participant.Builder prevMonthlyRank(Long prevMonthlyRank)
-
prevMonthlyRank
final Participant.Builder prevMonthlyRank(JsonField<Long> prevMonthlyRank)
Sets Builder.prevMonthlyRank to an arbitrary JSON value.
You should usually call Builder.prevMonthlyRank with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
prevMonthlyReferralCount
final Participant.Builder prevMonthlyReferralCount(Long prevMonthlyReferralCount)
-
prevMonthlyReferralCount
final Participant.Builder prevMonthlyReferralCount(JsonField<Long> prevMonthlyReferralCount)
Sets Builder.prevMonthlyReferralCount to an arbitrary JSON value.
You should usually call Builder.prevMonthlyReferralCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referrals
final Participant.Builder referrals(List<String> referrals)
-
referrals
final Participant.Builder referrals(JsonField<List<String>> referrals)
Sets Builder.referrals to an arbitrary JSON value.
You should usually call Builder.referrals with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addReferral
final Participant.Builder addReferral(String referral)
-
referralSource
final Participant.Builder referralSource(ReferralSource referralSource)
-
referralSource
final Participant.Builder referralSource(JsonField<ReferralSource> referralSource)
Sets Builder.referralSource to an arbitrary JSON value.
You should usually call Builder.referralSource with a well-typed ReferralSource value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referralStatus
final Participant.Builder referralStatus(ReferralStatus referralStatus)
-
referralStatus
final Participant.Builder referralStatus(JsonField<ReferralStatus> referralStatus)
Sets Builder.referralStatus to an arbitrary JSON value.
You should usually call Builder.referralStatus with a well-typed ReferralStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referredBy
final Participant.Builder referredBy(String referredBy)
-
referredBy
final Participant.Builder referredBy(JsonField<String> referredBy)
Sets Builder.referredBy to an arbitrary JSON value.
You should usually call Builder.referredBy with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referrer
final Participant.Builder referrer(Participant.Referrer referrer)
-
referrer
final Participant.Builder referrer(Optional<Participant.Referrer> referrer)
Alias for calling Builder.referrer with
referrer.orElse(null).
-
referrer
final Participant.Builder referrer(JsonField<Participant.Referrer> referrer)
Sets Builder.referrer to an arbitrary JSON value.
You should usually call Builder.referrer with a well-typed Referrer value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
shareCount
final Participant.Builder shareCount(Participant.ShareCount shareCount)
-
shareCount
final Participant.Builder shareCount(JsonField<Participant.ShareCount> shareCount)
Sets Builder.shareCount to an arbitrary JSON value.
You should usually call Builder.shareCount with a well-typed ShareCount value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
uniqueImpressionCount
final Participant.Builder uniqueImpressionCount(Long uniqueImpressionCount)
-
uniqueImpressionCount
final Participant.Builder uniqueImpressionCount(JsonField<Long> uniqueImpressionCount)
Sets Builder.uniqueImpressionCount to an arbitrary JSON value.
You should usually call Builder.uniqueImpressionCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unreadCommissionsCount
final Participant.Builder unreadCommissionsCount(Long unreadCommissionsCount)
-
unreadCommissionsCount
final Participant.Builder unreadCommissionsCount(JsonField<Long> unreadCommissionsCount)
Sets Builder.unreadCommissionsCount to an arbitrary JSON value.
You should usually call Builder.unreadCommissionsCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unreadPayoutsCount
final Participant.Builder unreadPayoutsCount(Long unreadPayoutsCount)
-
unreadPayoutsCount
final Participant.Builder unreadPayoutsCount(JsonField<Long> unreadPayoutsCount)
Sets Builder.unreadPayoutsCount to an arbitrary JSON value.
You should usually call Builder.unreadPayoutsCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unsubscribed
final Participant.Builder unsubscribed(Boolean unsubscribed)
-
unsubscribed
final Participant.Builder unsubscribed(JsonField<Boolean> unsubscribed)
Sets Builder.unsubscribed to an arbitrary JSON value.
You should usually call Builder.unsubscribed with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vanityKeys
final Participant.Builder vanityKeys(List<String> vanityKeys)
-
vanityKeys
final Participant.Builder vanityKeys(JsonField<List<String>> vanityKeys)
Sets Builder.vanityKeys to an arbitrary JSON value.
You should usually call Builder.vanityKeys with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVanityKey
final Participant.Builder addVanityKey(String vanityKey)
Adds a single String to vanityKeys.
-
additionalProperties
final Participant.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Participant.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Participant.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Participant.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Participant.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Participant build()
Returns an immutable instance of Participant.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .email() .monthlyRank() .monthlyReferralCount() .rank() .referralCount() .rewards() .shareUrl()
-
-
-
-