Package com.braintrustdata.api.models
Class CodeBundle
-
- All Implemented Interfaces:
public final class CodeBundle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeBundle.BuilderA builder for CodeBundle.
public final classCodeBundle.Locationpublic final classCodeBundle.RuntimeContext
-
Method Summary
Modifier and Type Method Description final StringbundleId()final CodeBundle.Locationlocation()final CodeBundle.RuntimeContextruntimeContext()final Optional<String>preview()A preview of the code final JsonField<String>_bundleId()Returns the raw JSON value of bundleId. final JsonField<CodeBundle.Location>_location()Returns the raw JSON value of location. final JsonField<CodeBundle.RuntimeContext>_runtimeContext()Returns the raw JSON value of runtimeContext. final JsonField<String>_preview()Returns the raw JSON value of preview. final Map<String, JsonValue>_additionalProperties()final CodeBundlevalidate()final CodeBundle.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeBundle.Builderbuilder()Returns a mutable builder for constructing an instance of CodeBundle. -
-
Method Detail
-
location
final CodeBundle.Location location()
-
runtimeContext
final CodeBundle.RuntimeContext runtimeContext()
-
_bundleId
final JsonField<String> _bundleId()
Returns the raw JSON value of bundleId.
Unlike bundleId, this method doesn't throw if the JSON field has an unexpected type.
-
_location
final JsonField<CodeBundle.Location> _location()
Returns the raw JSON value of location.
Unlike location, this method doesn't throw if the JSON field has an unexpected type.
-
_runtimeContext
final JsonField<CodeBundle.RuntimeContext> _runtimeContext()
Returns the raw JSON value of runtimeContext.
Unlike runtimeContext, this method doesn't throw if the JSON field has an unexpected type.
-
_preview
final JsonField<String> _preview()
Returns the raw JSON value of preview.
Unlike preview, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final CodeBundle validate()
-
toBuilder
final CodeBundle.Builder toBuilder()
-
builder
final static CodeBundle.Builder builder()
Returns a mutable builder for constructing an instance of CodeBundle.
The following fields are required:
.bundleId() .location() .runtimeContext()
-
-
-
-