Class ReferralList.Referral.Builder
-
- All Implemented Interfaces:
public final class ReferralList.Referral.BuilderA builder for Referral.
-
-
Method Summary
-
-
Method Detail
-
id
final ReferralList.Referral.Builder id(String id)
-
id
final ReferralList.Referral.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.
-
createdAt
final ReferralList.Referral.Builder createdAt(Long createdAt)
-
createdAt
final ReferralList.Referral.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.
-
email
final ReferralList.Referral.Builder email(String email)
-
email
final ReferralList.Referral.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.
-
referralStatus
final ReferralList.Referral.Builder referralStatus(ReferralStatus referralStatus)
-
referralStatus
final ReferralList.Referral.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 ReferralList.Referral.Builder referredBy(String referredBy)
-
referredBy
final ReferralList.Referral.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.
-
updatedAt
final ReferralList.Referral.Builder updatedAt(Long updatedAt)
-
updatedAt
final ReferralList.Referral.Builder updatedAt(JsonField<Long> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstName
final ReferralList.Referral.Builder firstName(String firstName)
-
firstName
final ReferralList.Referral.Builder firstName(Optional<String> firstName)
Alias for calling Builder.firstName with
firstName.orElse(null).
-
firstName
final ReferralList.Referral.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.
-
lastName
final ReferralList.Referral.Builder lastName(String lastName)
-
lastName
final ReferralList.Referral.Builder lastName(Optional<String> lastName)
Alias for calling Builder.lastName with
lastName.orElse(null).
-
lastName
final ReferralList.Referral.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.
-
additionalProperties
final ReferralList.Referral.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ReferralList.Referral.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ReferralList.Referral.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ReferralList.Referral.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ReferralList.Referral.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ReferralList.Referral build()
Returns an immutable instance of Referral.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .email() .referralStatus() .referredBy() .updatedAt()
-
-
-
-