Class SkillListResponse.Builder
-
- All Implemented Interfaces:
public final class SkillListResponse.BuilderA builder for SkillListResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final SkillListResponse.Builder id(String id)
Unique identifier for the skill.
The format and length of IDs may change over time.
-
id
final SkillListResponse.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.
-
createdAt
final SkillListResponse.Builder createdAt(String createdAt)
ISO 8601 timestamp of when the skill was created.
-
createdAt
final SkillListResponse.Builder createdAt(JsonField<String> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
displayTitle
final SkillListResponse.Builder displayTitle(String displayTitle)
Display title for the skill.
This is a human-readable label that is not included in the prompt sent to the model.
-
displayTitle
final SkillListResponse.Builder displayTitle(Optional<String> displayTitle)
Alias for calling Builder.displayTitle with
displayTitle.orElse(null).
-
displayTitle
final SkillListResponse.Builder displayTitle(JsonField<String> displayTitle)
Sets Builder.displayTitle to an arbitrary JSON value.
You should usually call Builder.displayTitle with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
latestVersion
final SkillListResponse.Builder latestVersion(String latestVersion)
The latest version identifier for the skill.
This represents the most recent version of the skill that has been created.
-
latestVersion
final SkillListResponse.Builder latestVersion(Optional<String> latestVersion)
Alias for calling Builder.latestVersion with
latestVersion.orElse(null).
-
latestVersion
final SkillListResponse.Builder latestVersion(JsonField<String> latestVersion)
Sets Builder.latestVersion to an arbitrary JSON value.
You should usually call Builder.latestVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final SkillListResponse.Builder source(String source)
Source of the skill.
This may be one of the following values:
"custom": the skill was created by a user"anthropic": the skill was created by Anthropic
-
source
final SkillListResponse.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source 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 SkillListResponse.Builder type(String type)
Object type.
For Skills, this is always
"skill".
-
type
final SkillListResponse.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final SkillListResponse.Builder updatedAt(String updatedAt)
ISO 8601 timestamp of when the skill was last updated.
-
updatedAt
final SkillListResponse.Builder updatedAt(JsonField<String> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SkillListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SkillListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SkillListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SkillListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SkillListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SkillListResponse build()
Returns an immutable instance of SkillListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .displayTitle() .latestVersion() .source() .type() .updatedAt()
-
-
-
-