Class ReferralList.Builder
-
- All Implemented Interfaces:
public final class ReferralList.BuilderA builder for ReferralList.
-
-
Method Summary
-
-
Method Detail
-
limit
final ReferralList.Builder limit(Long limit)
-
limit
final ReferralList.Builder limit(JsonField<Long> limit)
Sets Builder.limit to an arbitrary JSON value.
You should usually call Builder.limit with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
more
final ReferralList.Builder more(Boolean more)
-
more
final ReferralList.Builder more(JsonField<Boolean> more)
Sets Builder.more to an arbitrary JSON value.
You should usually call Builder.more with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referrals
final ReferralList.Builder referrals(List<ReferralList.Referral> referrals)
-
referrals
final ReferralList.Builder referrals(JsonField<List<ReferralList.Referral>> referrals)
Sets Builder.referrals to an arbitrary JSON value.
You should usually call Builder.referrals with a well-typed
List<Referral>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addReferral
final ReferralList.Builder addReferral(ReferralList.Referral referral)
-
nextId
final ReferralList.Builder nextId(String nextId)
-
nextId
final ReferralList.Builder nextId(Optional<String> nextId)
Alias for calling Builder.nextId with
nextId.orElse(null).
-
nextId
final ReferralList.Builder nextId(JsonField<String> nextId)
Sets Builder.nextId to an arbitrary JSON value.
You should usually call Builder.nextId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextOffset
final ReferralList.Builder nextOffset(Long nextOffset)
-
nextOffset
final ReferralList.Builder nextOffset(Long nextOffset)
Alias for Builder.nextOffset.
This unboxed primitive overload exists for backwards compatibility.
-
nextOffset
final ReferralList.Builder nextOffset(Optional<Long> nextOffset)
Alias for calling Builder.nextOffset with
nextOffset.orElse(null).
-
nextOffset
final ReferralList.Builder nextOffset(JsonField<Long> nextOffset)
Sets Builder.nextOffset to an arbitrary JSON value.
You should usually call Builder.nextOffset with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ReferralList.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ReferralList.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ReferralList.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ReferralList.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ReferralList.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ReferralList build()
Returns an immutable instance of ReferralList.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.limit() .more() .referrals()
-
-
-
-