Class ParticipantListRewardsResponse.Builder
-
- All Implemented Interfaces:
public final class ParticipantListRewardsResponse.BuilderA builder for ParticipantListRewardsResponse.
-
-
Method Summary
-
-
Method Detail
-
limit
final ParticipantListRewardsResponse.Builder limit(Long limit)
-
limit
final ParticipantListRewardsResponse.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.
-
nextId
final ParticipantListRewardsResponse.Builder nextId(String nextId)
-
nextId
final ParticipantListRewardsResponse.Builder nextId(Optional<String> nextId)
Alias for calling Builder.nextId with
nextId.orElse(null).
-
nextId
final ParticipantListRewardsResponse.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.
-
rewards
final ParticipantListRewardsResponse.Builder rewards(List<ParticipantReward> rewards)
-
rewards
final ParticipantListRewardsResponse.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 ParticipantListRewardsResponse.Builder addReward(ParticipantReward reward)
Adds a single ParticipantReward to rewards.
-
additionalProperties
final ParticipantListRewardsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ParticipantListRewardsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ParticipantListRewardsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ParticipantListRewardsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ParticipantListRewardsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ParticipantListRewardsResponse build()
Returns an immutable instance of ParticipantListRewardsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.limit() .nextId() .rewards()
-
-
-
-