Package com.openai.models.videos
Class VideoCreateCharacterParams.Body
-
- All Implemented Interfaces:
public final class VideoCreateCharacterParams.BodyParameters for creating a character from an uploaded video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoCreateCharacterParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Display name for this API character. final InputStreamvideo()Video file used to create a character. final MultipartField<String>_name()Returns the raw multipart value of name. final MultipartField<InputStream>_video()Returns the raw multipart value of video. final Map<String, JsonValue>_additionalProperties()final VideoCreateCharacterParams.Body.BuildertoBuilder()final VideoCreateCharacterParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VideoCreateCharacterParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
video
final InputStream video()
Video file used to create a character.
-
_name
final MultipartField<String> _name()
Returns the raw multipart value of name.
Unlike name, this method doesn't throw if the multipart field has an unexpected type.
-
_video
final MultipartField<InputStream> _video()
Returns the raw multipart value of video.
Unlike video, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VideoCreateCharacterParams.Body.Builder toBuilder()
-
validate
final VideoCreateCharacterParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static VideoCreateCharacterParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .video()
-
-
-
-