Class BetaAdvisorResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaAdvisorResultBlock.BuilderA builder for BetaAdvisorResultBlock.
-
-
Method Summary
Modifier and Type Method Description final BetaAdvisorResultBlock.Buildertext(String text)final BetaAdvisorResultBlock.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final BetaAdvisorResultBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaAdvisorResultBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAdvisorResultBlock.BuilderputAdditionalProperty(String key, JsonValue value)final BetaAdvisorResultBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaAdvisorResultBlock.BuilderremoveAdditionalProperty(String key)final BetaAdvisorResultBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaAdvisorResultBlockbuild()Returns an immutable instance of BetaAdvisorResultBlock. -
-
Method Detail
-
text
final BetaAdvisorResultBlock.Builder text(String text)
-
text
final BetaAdvisorResultBlock.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaAdvisorResultBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("advisor_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaAdvisorResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAdvisorResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAdvisorResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAdvisorResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAdvisorResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAdvisorResultBlock build()
Returns an immutable instance of BetaAdvisorResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text()
-
-
-
-