Package com.braintrustdata.api.models
Class PromptData.Origin
-
- All Implemented Interfaces:
public final class PromptData.Origin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptData.Origin.BuilderA builder for Origin.
-
Method Summary
Modifier and Type Method Description final Optional<String>projectId()final Optional<String>promptId()final Optional<String>promptVersion()final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<String>_promptId()Returns the raw JSON value of promptId. final JsonField<String>_promptVersion()Returns the raw JSON value of promptVersion. final Map<String, JsonValue>_additionalProperties()final PromptData.Origin.BuildertoBuilder()final PromptData.Originvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptData.Origin.Builderbuilder()Returns a mutable builder for constructing an instance of Origin. -
-
Method Detail
-
promptVersion
final Optional<String> promptVersion()
-
_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.
-
_promptId
final JsonField<String> _promptId()
Returns the raw JSON value of promptId.
Unlike promptId, this method doesn't throw if the JSON field has an unexpected type.
-
_promptVersion
final JsonField<String> _promptVersion()
Returns the raw JSON value of promptVersion.
Unlike promptVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptData.Origin.Builder toBuilder()
-
validate
final PromptData.Origin validate()
-
builder
final static PromptData.Origin.Builder builder()
Returns a mutable builder for constructing an instance of Origin.
-
-
-
-