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