Class Participant
-
- All Implemented Interfaces:
public final class Participant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipant.BuilderA builder for Participant.
public final classParticipant.AllMatchingFraudsterpublic final classParticipant.MetadataShallow custom metadata object.
public final classParticipant.Referrerpublic final classParticipant.ShareCount
-
Method Summary
-
-
Method Detail
-
monthlyRank
final Long monthlyRank()
-
monthlyReferralCount
final Long monthlyReferralCount()
-
referralCount
final Long referralCount()
-
rewards
final List<ParticipantReward> rewards()
-
allMatchingFraudsters
final Optional<List<Participant.AllMatchingFraudster>> allMatchingFraudsters()
-
fingerprint
final Optional<String> fingerprint()
-
fraudReasonCode
final Optional<String> fraudReasonCode()
-
fraudRiskLevel
final Optional<FraudRiskLevel> fraudRiskLevel()
-
impressionCount
final Optional<Long> impressionCount()
-
inviteCount
final Optional<Long> inviteCount()
-
metadata
final Optional<Participant.Metadata> metadata()
Shallow custom metadata object.
-
monthlyReferrals
final Optional<List<String>> monthlyReferrals()
-
paypalEmailAddress
final Optional<String> paypalEmailAddress()
-
prevMonthlyRank
final Optional<Long> prevMonthlyRank()
-
prevMonthlyReferralCount
final Optional<Long> prevMonthlyReferralCount()
-
referralSource
final Optional<ReferralSource> referralSource()
-
referralStatus
final Optional<ReferralStatus> referralStatus()
-
referredBy
final Optional<String> referredBy()
-
referrer
final Optional<Participant.Referrer> referrer()
-
shareCount
final Optional<Participant.ShareCount> shareCount()
-
uniqueImpressionCount
final Optional<Long> uniqueImpressionCount()
-
unreadCommissionsCount
final Optional<Long> unreadCommissionsCount()
-
unreadPayoutsCount
final Optional<Long> unreadPayoutsCount()
-
unsubscribed
final Optional<Boolean> unsubscribed()
-
vanityKeys
final Optional<List<String>> vanityKeys()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_monthlyRank
final JsonField<Long> _monthlyRank()
Returns the raw JSON value of monthlyRank.
Unlike monthlyRank, this method doesn't throw if the JSON field has an unexpected type.
-
_monthlyReferralCount
final JsonField<Long> _monthlyReferralCount()
Returns the raw JSON value of monthlyReferralCount.
Unlike monthlyReferralCount, this method doesn't throw if the JSON field has an unexpected type.
-
_rank
final JsonField<Long> _rank()
Returns the raw JSON value of rank.
Unlike rank, this method doesn't throw if the JSON field has an unexpected type.
-
_referralCount
final JsonField<Long> _referralCount()
Returns the raw JSON value of referralCount.
Unlike referralCount, this method doesn't throw if the JSON field has an unexpected type.
-
_rewards
final JsonField<List<ParticipantReward>> _rewards()
Returns the raw JSON value of rewards.
Unlike rewards, this method doesn't throw if the JSON field has an unexpected type.
-
_shareUrl
final JsonField<String> _shareUrl()
Returns the raw JSON value of shareUrl.
Unlike shareUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_allMatchingFraudsters
final JsonField<List<Participant.AllMatchingFraudster>> _allMatchingFraudsters()
Returns the raw JSON value of allMatchingFraudsters.
Unlike allMatchingFraudsters, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_fingerprint
final JsonField<String> _fingerprint()
Returns the raw JSON value of fingerprint.
Unlike fingerprint, this method doesn't throw if the JSON field has an unexpected type.
-
_firstName
final JsonField<String> _firstName()
Returns the raw JSON value of firstName.
Unlike firstName, this method doesn't throw if the JSON field has an unexpected type.
-
_fraudReasonCode
final JsonField<String> _fraudReasonCode()
Returns the raw JSON value of fraudReasonCode.
Unlike fraudReasonCode, this method doesn't throw if the JSON field has an unexpected type.
-
_fraudRiskLevel
final JsonField<FraudRiskLevel> _fraudRiskLevel()
Returns the raw JSON value of fraudRiskLevel.
Unlike fraudRiskLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_impressionCount
final JsonField<Long> _impressionCount()
Returns the raw JSON value of impressionCount.
Unlike impressionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_inviteCount
final JsonField<Long> _inviteCount()
Returns the raw JSON value of inviteCount.
Unlike inviteCount, this method doesn't throw if the JSON field has an unexpected type.
-
_ipAddress
final JsonField<String> _ipAddress()
Returns the raw JSON value of ipAddress.
Unlike ipAddress, 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.
-
_isWinner
final JsonField<Boolean> _isWinner()
Returns the raw JSON value of isWinner.
Unlike isWinner, this method doesn't throw if the JSON field has an unexpected type.
-
_lastName
final JsonField<String> _lastName()
Returns the raw JSON value of lastName.
Unlike lastName, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<Participant.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_monthlyReferrals
final JsonField<List<String>> _monthlyReferrals()
Returns the raw JSON value of monthlyReferrals.
Unlike monthlyReferrals, this method doesn't throw if the JSON field has an unexpected type.
-
_notes
final JsonField<String> _notes()
Returns the raw JSON value of notes.
Unlike notes, this method doesn't throw if the JSON field has an unexpected type.
-
_paypalEmailAddress
final JsonField<String> _paypalEmailAddress()
Returns the raw JSON value of paypalEmailAddress.
Unlike paypalEmailAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_prevMonthlyRank
final JsonField<Long> _prevMonthlyRank()
Returns the raw JSON value of prevMonthlyRank.
Unlike prevMonthlyRank, this method doesn't throw if the JSON field has an unexpected type.
-
_prevMonthlyReferralCount
final JsonField<Long> _prevMonthlyReferralCount()
Returns the raw JSON value of prevMonthlyReferralCount.
Unlike prevMonthlyReferralCount, this method doesn't throw if the JSON field has an unexpected type.
-
_referrals
final JsonField<List<String>> _referrals()
Returns the raw JSON value of referrals.
Unlike referrals, this method doesn't throw if the JSON field has an unexpected type.
-
_referralSource
final JsonField<ReferralSource> _referralSource()
Returns the raw JSON value of referralSource.
Unlike referralSource, this method doesn't throw if the JSON field has an unexpected type.
-
_referralStatus
final JsonField<ReferralStatus> _referralStatus()
Returns the raw JSON value of referralStatus.
Unlike referralStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_referredBy
final JsonField<String> _referredBy()
Returns the raw JSON value of referredBy.
Unlike referredBy, this method doesn't throw if the JSON field has an unexpected type.
-
_referrer
final JsonField<Participant.Referrer> _referrer()
Returns the raw JSON value of referrer.
Unlike referrer, this method doesn't throw if the JSON field has an unexpected type.
-
_shareCount
final JsonField<Participant.ShareCount> _shareCount()
Returns the raw JSON value of shareCount.
Unlike shareCount, this method doesn't throw if the JSON field has an unexpected type.
-
_uniqueImpressionCount
final JsonField<Long> _uniqueImpressionCount()
Returns the raw JSON value of uniqueImpressionCount.
Unlike uniqueImpressionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_unreadCommissionsCount
final JsonField<Long> _unreadCommissionsCount()
Returns the raw JSON value of unreadCommissionsCount.
Unlike unreadCommissionsCount, this method doesn't throw if the JSON field has an unexpected type.
-
_unreadPayoutsCount
final JsonField<Long> _unreadPayoutsCount()
Returns the raw JSON value of unreadPayoutsCount.
Unlike unreadPayoutsCount, this method doesn't throw if the JSON field has an unexpected type.
-
_unsubscribed
final JsonField<Boolean> _unsubscribed()
Returns the raw JSON value of unsubscribed.
Unlike unsubscribed, this method doesn't throw if the JSON field has an unexpected type.
-
_vanityKeys
final JsonField<List<String>> _vanityKeys()
Returns the raw JSON value of vanityKeys.
Unlike vanityKeys, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Participant.Builder toBuilder()
-
validate
final Participant 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 Participant.Builder builder()
Returns a mutable builder for constructing an instance of Participant.
The following fields are required:
.id() .email() .monthlyRank() .monthlyReferralCount() .rank() .referralCount() .rewards() .shareUrl()
-
-
-
-