Package com.braintrustdata.api.models
Class DatasetCreateParams.Body
-
- All Implemented Interfaces:
public final class DatasetCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDatasetCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the dataset. final StringprojectId()Unique identifier for the project that the dataset belongs under final Optional<String>description()Textual description of the dataset final Optional<DatasetCreateParams.Metadata>metadata()User-controlled metadata about the dataset final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<DatasetCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final DatasetCreateParams.Bodyvalidate()final DatasetCreateParams.Body.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DatasetCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
description
final Optional<String> description()
Textual description of the dataset
-
metadata
final Optional<DatasetCreateParams.Metadata> metadata()
User-controlled metadata about the dataset
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<DatasetCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final DatasetCreateParams.Body validate()
-
toBuilder
final DatasetCreateParams.Body.Builder toBuilder()
-
builder
final static DatasetCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name() .projectId()
-
-
-
-