Class RunCreateParams.Body
-
- All Implemented Interfaces:
public final class RunCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final RunCreateParams.DataSourcedataSource()Details about the run's data source. final Optional<RunCreateParams.Metadata>metadata()Set of 16 key-value pairs that can be attached to an object. final Optional<String>name()The name of the run. final JsonField<RunCreateParams.DataSource>_dataSource()Returns the raw JSON value of dataSource. final JsonField<RunCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final RunCreateParams.Body.BuildertoBuilder()final RunCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
dataSource
final RunCreateParams.DataSource dataSource()
Details about the run's data source.
-
metadata
final Optional<RunCreateParams.Metadata> metadata()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
_dataSource
final JsonField<RunCreateParams.DataSource> _dataSource()
Returns the raw JSON value of dataSource.
Unlike dataSource, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<RunCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunCreateParams.Body.Builder toBuilder()
-
validate
final RunCreateParams.Body validate()
-
builder
final static RunCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.dataSource()
-
-
-
-