Class TestUpdateParams.Payload.Builder
-
- All Implemented Interfaces:
public final class TestUpdateParams.Payload.BuilderA builder for Payload.
-
-
Method Summary
-
-
Method Detail
-
id
final TestUpdateParams.Payload.Builder id(String id)
-
id
final TestUpdateParams.Payload.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.
-
archived
final TestUpdateParams.Payload.Builder archived(Boolean archived)
Whether the test is archived.
-
archived
final TestUpdateParams.Payload.Builder archived(JsonField<Boolean> archived)
Sets Builder.archived to an arbitrary JSON value.
You should usually call Builder.archived with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final TestUpdateParams.Payload.Builder description(JsonValue description)
The test description.
-
name
final TestUpdateParams.Payload.Builder name(String name)
The test name.
-
name
final TestUpdateParams.Payload.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
suggested
final TestUpdateParams.Payload.Builder suggested(TestUpdateParams.Payload.Suggested suggested)
-
suggested
final TestUpdateParams.Payload.Builder suggested(JsonField<TestUpdateParams.Payload.Suggested> suggested)
Sets Builder.suggested to an arbitrary JSON value.
You should usually call Builder.suggested with a well-typed Suggested value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thresholds
final TestUpdateParams.Payload.Builder thresholds(List<TestUpdateParams.Payload.Threshold> thresholds)
-
thresholds
final TestUpdateParams.Payload.Builder thresholds(JsonField<List<TestUpdateParams.Payload.Threshold>> thresholds)
Sets Builder.thresholds to an arbitrary JSON value.
You should usually call Builder.thresholds with a well-typed
List<Threshold>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addThreshold
final TestUpdateParams.Payload.Builder addThreshold(TestUpdateParams.Payload.Threshold threshold)
Adds a single Threshold to thresholds.
-
additionalProperties
final TestUpdateParams.Payload.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TestUpdateParams.Payload.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TestUpdateParams.Payload.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TestUpdateParams.Payload.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TestUpdateParams.Payload.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TestUpdateParams.Payload build()
Returns an immutable instance of Payload.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-