Class ReferralList.Referral
-
- All Implemented Interfaces:
public final class ReferralList.Referral
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classReferralList.Referral.BuilderA builder for Referral.
-
Method Summary
Modifier and Type Method Description final Stringid()final LongcreatedAt()final Stringemail()final ReferralStatusreferralStatus()final StringreferredBy()final LongupdatedAt()final Optional<String>firstName()final Optional<String>lastName()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<ReferralStatus>_referralStatus()Returns the raw JSON value of referralStatus. final JsonField<String>_referredBy()Returns the raw JSON value of referredBy. final JsonField<Long>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_firstName()Returns the raw JSON value of firstName. final JsonField<String>_lastName()Returns the raw JSON value of lastName. final Map<String, JsonValue>_additionalProperties()final ReferralList.Referral.BuildertoBuilder()final ReferralList.Referralvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ReferralList.Referral.Builderbuilder()Returns a mutable builder for constructing an instance of Referral. -
-
Method Detail
-
referralStatus
final ReferralStatus referralStatus()
-
referredBy
final String referredBy()
-
_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.
-
_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.
-
_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.
-
_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.
-
_updatedAt
final JsonField<Long> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, 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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ReferralList.Referral.Builder toBuilder()
-
validate
final ReferralList.Referral 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 ReferralList.Referral.Builder builder()
Returns a mutable builder for constructing an instance of Referral.
The following fields are required:
.id() .createdAt() .email() .referralStatus() .referredBy() .updatedAt()
-
-
-
-