Package com.braintrustdata.api.models
Class FunctionCreateParams.Origin
-
- All Implemented Interfaces:
public final class FunctionCreateParams.Origin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionCreateParams.Origin.BuilderA builder for Origin.
-
Method Summary
Modifier and Type Method Description final StringobjectId()Id of the object the function is originating from final AclObjectTypeobjectType()The object type that the ACL applies to final Optional<Boolean>internal_()The function exists for internal purposes and should not be displayed in the list of functions. final JsonField<String>_objectId()Returns the raw JSON value of objectId. final JsonField<AclObjectType>_objectType()Returns the raw JSON value of objectType. final JsonField<Boolean>_internal_()Returns the raw JSON value of internal_. final Map<String, JsonValue>_additionalProperties()final FunctionCreateParams.Originvalidate()final FunctionCreateParams.Origin.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionCreateParams.Origin.Builderbuilder()Returns a mutable builder for constructing an instance of Origin. -
-
Method Detail
-
objectType
final AclObjectType objectType()
The object type that the ACL applies to
-
internal_
final Optional<Boolean> internal_()
The function exists for internal purposes and should not be displayed in the list of functions.
-
_objectId
final JsonField<String> _objectId()
Returns the raw JSON value of objectId.
Unlike objectId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectType
final JsonField<AclObjectType> _objectType()
Returns the raw JSON value of objectType.
Unlike objectType, this method doesn't throw if the JSON field has an unexpected type.
-
_internal_
final JsonField<Boolean> _internal_()
Returns the raw JSON value of internal_.
Unlike internal_, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FunctionCreateParams.Origin validate()
-
toBuilder
final FunctionCreateParams.Origin.Builder toBuilder()
-
builder
final static FunctionCreateParams.Origin.Builder builder()
Returns a mutable builder for constructing an instance of Origin.
The following fields are required:
.objectId() .objectType()
-
-
-
-