Class ParticipantReward.Builder
-
- All Implemented Interfaces:
public final class ParticipantReward.BuilderA builder for ParticipantReward.
-
-
Method Summary
-
-
Method Detail
-
id
final ParticipantReward.Builder id(String id)
-
id
final ParticipantReward.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.
-
rewardId
final ParticipantReward.Builder rewardId(String rewardId)
-
rewardId
final ParticipantReward.Builder rewardId(JsonField<String> rewardId)
Sets Builder.rewardId to an arbitrary JSON value.
You should usually call Builder.rewardId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ParticipantReward.Builder status(ParticipantReward.Status status)
-
status
final ParticipantReward.Builder status(JsonField<ParticipantReward.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
approved
final ParticipantReward.Builder approved(Boolean approved)
-
approved
final ParticipantReward.Builder approved(JsonField<Boolean> approved)
Sets Builder.approved to an arbitrary JSON value.
You should usually call Builder.approved with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
approvedAt
final ParticipantReward.Builder approvedAt(Long approvedAt)
-
approvedAt
final ParticipantReward.Builder approvedAt(JsonField<Long> approvedAt)
Sets Builder.approvedAt to an arbitrary JSON value.
You should usually call Builder.approvedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
commissionStructure
final ParticipantReward.Builder commissionStructure(CommissionStructure commissionStructure)
-
commissionStructure
final ParticipantReward.Builder commissionStructure(Optional<CommissionStructure> commissionStructure)
Alias for calling Builder.commissionStructure with
commissionStructure.orElse(null).
-
commissionStructure
final ParticipantReward.Builder commissionStructure(JsonField<CommissionStructure> commissionStructure)
Sets Builder.commissionStructure to an arbitrary JSON value.
You should usually call Builder.commissionStructure with a well-typed CommissionStructure value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fulfilledAt
final ParticipantReward.Builder fulfilledAt(Long fulfilledAt)
-
fulfilledAt
final ParticipantReward.Builder fulfilledAt(JsonField<Long> fulfilledAt)
Sets Builder.fulfilledAt to an arbitrary JSON value.
You should usually call Builder.fulfilledAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isAvailable
final ParticipantReward.Builder isAvailable(Boolean isAvailable)
-
isAvailable
final ParticipantReward.Builder isAvailable(JsonField<Boolean> isAvailable)
Sets Builder.isAvailable to an arbitrary JSON value.
You should usually call Builder.isAvailable with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isFulfilled
final ParticipantReward.Builder isFulfilled(Boolean isFulfilled)
-
isFulfilled
final ParticipantReward.Builder isFulfilled(JsonField<Boolean> isFulfilled)
Sets Builder.isFulfilled to an arbitrary JSON value.
You should usually call Builder.isFulfilled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isReferrer
final ParticipantReward.Builder isReferrer(Boolean isReferrer)
-
isReferrer
final ParticipantReward.Builder isReferrer(JsonField<Boolean> isReferrer)
Sets Builder.isReferrer to an arbitrary JSON value.
You should usually call Builder.isReferrer with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referredId
final ParticipantReward.Builder referredId(String referredId)
-
referredId
final ParticipantReward.Builder referredId(JsonField<String> referredId)
Sets Builder.referredId to an arbitrary JSON value.
You should usually call Builder.referredId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referrerId
final ParticipantReward.Builder referrerId(String referrerId)
-
referrerId
final ParticipantReward.Builder referrerId(JsonField<String> referrerId)
Sets Builder.referrerId to an arbitrary JSON value.
You should usually call Builder.referrerId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unread
final ParticipantReward.Builder unread(Boolean unread)
-
unread
final ParticipantReward.Builder unread(JsonField<Boolean> unread)
Sets Builder.unread to an arbitrary JSON value.
You should usually call Builder.unread with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ParticipantReward.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ParticipantReward.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ParticipantReward.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ParticipantReward.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ParticipantReward.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ParticipantReward build()
Returns an immutable instance of ParticipantReward.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .rewardId() .status()
-
-
-
-