Package com.braintrustdata.api.models
Interface EvalCreateParams.Parent.Visitor
-
- All Implemented Interfaces:
public interface EvalCreateParams.Parent.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitSpanParentStruct(EvalCreateParams.Parent.SpanParentStruct spanParentStruct)Span parent properties abstract TvisitString(String string)The parent's span identifier, created by calling .export()on a spanTunknown(JsonValue json)Maps an unknown variant of Parent to a value of type T. -
-
Method Detail
-
visitSpanParentStruct
abstract T visitSpanParentStruct(EvalCreateParams.Parent.SpanParentStruct spanParentStruct)
Span parent properties
-
visitString
abstract T visitString(String string)
The parent's span identifier, created by calling
.export()on a span
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Parent to a value of type T.
An instance of Parent can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-