Package com.braintrustdata.api.models
Class Function.FunctionData.Global
-
- All Implemented Interfaces:
public final class Function.FunctionData.Global
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunction.FunctionData.Global.BuilderA builder for Global.
public final classFunction.FunctionData.Global.Type
-
Method Summary
Modifier and Type Method Description final Stringname()final Function.FunctionData.Global.Typetype()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Function.FunctionData.Global.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final Function.FunctionData.Globalvalidate()final Function.FunctionData.Global.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Function.FunctionData.Global.Builderbuilder()Returns a mutable builder for constructing an instance of Global. -
-
Method Detail
-
type
final Function.FunctionData.Global.Type 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.
-
_type
final JsonField<Function.FunctionData.Global.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Function.FunctionData.Global validate()
-
toBuilder
final Function.FunctionData.Global.Builder toBuilder()
-
builder
final static Function.FunctionData.Global.Builder builder()
Returns a mutable builder for constructing an instance of Global.
The following fields are required:
.name() .type()
-
-
-
-