Package com.openai.models.evals.runs
Class RunCreateResponse.DataSource.Responses.Source.FileContent
-
- All Implemented Interfaces:
public final class RunCreateResponse.DataSource.Responses.Source.FileContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCreateResponse.DataSource.Responses.Source.FileContent.BuilderA builder for FileContent.
public final classRunCreateResponse.DataSource.Responses.Source.FileContent.Content
-
Method Summary
Modifier and Type Method Description final List<RunCreateResponse.DataSource.Responses.Source.FileContent.Content>content()The content of the jsonl file. final JsonValue_type()The type of jsonl source. final JsonField<List<RunCreateResponse.DataSource.Responses.Source.FileContent.Content>>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final RunCreateResponse.DataSource.Responses.Source.FileContent.BuildertoBuilder()final RunCreateResponse.DataSource.Responses.Source.FileContentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunCreateResponse.DataSource.Responses.Source.FileContent.Builderbuilder()Returns a mutable builder for constructing an instance of FileContent. -
-
Method Detail
-
content
final List<RunCreateResponse.DataSource.Responses.Source.FileContent.Content> content()
The content of the jsonl file.
-
_type
final JsonValue _type()
The type of jsonl source. Always
file_content.Expected to always return the following:
JsonValue.from("file_content")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<List<RunCreateResponse.DataSource.Responses.Source.FileContent.Content>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunCreateResponse.DataSource.Responses.Source.FileContent.Builder toBuilder()
-
validate
final RunCreateResponse.DataSource.Responses.Source.FileContent 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 RunCreateResponse.DataSource.Responses.Source.FileContent.Builder builder()
Returns a mutable builder for constructing an instance of FileContent.
The following fields are required:
.content()
-
-
-
-