Class RefusalDeltaBlock.Builder
-
- All Implemented Interfaces:
public final class RefusalDeltaBlock.Builder
A builder for RefusalDeltaBlock.
-
-
Method Summary
-
-
Method Detail
-
index
final RefusalDeltaBlock.Builder index(Long index)
The index of the refusal part in the message.
-
index
final RefusalDeltaBlock.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final RefusalDeltaBlock.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("refusal")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
refusal
final RefusalDeltaBlock.Builder refusal(String refusal)
-
refusal
final RefusalDeltaBlock.Builder refusal(JsonField<String> refusal)
Sets Builder.refusal to an arbitrary JSON value.
You should usually call Builder.refusal with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RefusalDeltaBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RefusalDeltaBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RefusalDeltaBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RefusalDeltaBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RefusalDeltaBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RefusalDeltaBlock build()
Returns an immutable instance of RefusalDeltaBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-