Package com.anthropic.models.skills
Class DeletedSkill.Builder
-
- All Implemented Interfaces:
public final class DeletedSkill.BuilderA builder for DeletedSkill.
-
-
Method Summary
Modifier and Type Method Description final DeletedSkill.Builderid(String id)Unique identifier for the skill. final DeletedSkill.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final DeletedSkill.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final DeletedSkill.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final DeletedSkill.BuilderputAdditionalProperty(String key, JsonValue value)final DeletedSkill.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final DeletedSkill.BuilderremoveAdditionalProperty(String key)final DeletedSkill.BuilderremoveAllAdditionalProperties(Set<String> keys)final DeletedSkillbuild()Returns an immutable instance of DeletedSkill. -
-
Method Detail
-
id
final DeletedSkill.Builder id(String id)
Unique identifier for the skill.
The format and length of IDs may change over time.
-
id
final DeletedSkill.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final DeletedSkill.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("skill_deleted")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DeletedSkill.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DeletedSkill.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DeletedSkill.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DeletedSkill.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DeletedSkill.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DeletedSkill build()
Returns an immutable instance of DeletedSkill.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-