Package com.openai.core
Class MultipartField
-
- All Implemented Interfaces:
public final class MultipartField<T extends Object>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMultipartField.BuilderA builder for MultipartField.
-
Field Summary
Fields Modifier and Type Field Description private final JsonField<T>valueprivate final StringcontentType
-
Method Summary
Modifier and Type Method Description final JsonField<T>value()final StringcontentType()final Optional<String>filename()IntegerhashCode()Booleanequals(Object other)StringtoString()final static <T extends Any> MultipartField<T>of(T value)final static <T extends Any> MultipartField<T>of(JsonField<T> value)final static <T extends Any> MultipartField.Builder<T>builder()-
-
Method Detail
-
contentType
final String contentType()
-
of
final static <T extends Any> MultipartField<T> of(T value)
-
builder
final static <T extends Any> MultipartField.Builder<T> builder()
-
-
-
-