Package com.braintrustdata.api.models
Class ExperimentFeedbackParams.Body.Builder
-
- All Implemented Interfaces:
public final class ExperimentFeedbackParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
feedback
final ExperimentFeedbackParams.Body.Builder feedback(List<FeedbackExperimentItem> feedback)
A list of experiment feedback items
-
feedback
final ExperimentFeedbackParams.Body.Builder feedback(JsonField<List<FeedbackExperimentItem>> feedback)
Sets Builder.feedback to an arbitrary JSON value.
You should usually call Builder.feedback with a well-typed
List<FeedbackExperimentItem>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFeedback
final ExperimentFeedbackParams.Body.Builder addFeedback(FeedbackExperimentItem feedback)
Adds a single FeedbackExperimentItem to Builder.feedback.
-
additionalProperties
final ExperimentFeedbackParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ExperimentFeedbackParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ExperimentFeedbackParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ExperimentFeedbackParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ExperimentFeedbackParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ExperimentFeedbackParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.feedback()
-
-
-
-