Class VersionRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class VersionRetrieveResponse.BuilderA builder for VersionRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final VersionRetrieveResponse.Builder id(String id)
Unique identifier for the skill version.
The format and length of IDs may change over time.
-
id
final VersionRetrieveResponse.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 VersionRetrieveResponse.Builder createdAt(String createdAt)
ISO 8601 timestamp of when the skill version was created.
-
createdAt
final VersionRetrieveResponse.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.
-
description
final VersionRetrieveResponse.Builder description(String description)
Description of the skill version.
This is extracted from the SKILL.md file in the skill upload.
-
description
final VersionRetrieveResponse.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
directory
final VersionRetrieveResponse.Builder directory(String directory)
Directory name of the skill version.
This is the top-level directory name that was extracted from the uploaded files.
-
directory
final VersionRetrieveResponse.Builder directory(JsonField<String> directory)
Sets Builder.directory to an arbitrary JSON value.
You should usually call Builder.directory with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final VersionRetrieveResponse.Builder name(String name)
Human-readable name of the skill version.
This is extracted from the SKILL.md file in the skill upload.
-
name
final VersionRetrieveResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
skillId
final VersionRetrieveResponse.Builder skillId(String skillId)
Identifier for the skill that this version belongs to.
-
skillId
final VersionRetrieveResponse.Builder skillId(JsonField<String> skillId)
Sets Builder.skillId to an arbitrary JSON value.
You should usually call Builder.skillId 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 VersionRetrieveResponse.Builder type(String type)
Object type.
For Skill Versions, this is always
"skill_version".
-
type
final VersionRetrieveResponse.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.
-
version
final VersionRetrieveResponse.Builder version(String version)
Version identifier for the skill.
Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").
-
version
final VersionRetrieveResponse.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version 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 VersionRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VersionRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VersionRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VersionRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VersionRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VersionRetrieveResponse build()
Returns an immutable instance of VersionRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .description() .directory() .name() .skillId() .type() .version()
-
-
-
-