Class VersionCreateParams.Body
-
- All Implemented Interfaces:
public final class VersionCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVersionCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final List<MultipartField<InputStream>>files()Files to upload for the skill. final Map<String, JsonValue>_additionalProperties()final VersionCreateParams.Body.BuildertoBuilder()final VersionCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VersionCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static VersionCreateParams.Bodyof(List<MultipartField<InputStream>> files)Returns an immutable instance of Body with the required files set to the given value. -
-
Method Detail
-
files
final List<MultipartField<InputStream>> files()
Files to upload for the skill.
All files must be in the same top-level directory and must include a SKILL.md file at the root of that directory.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VersionCreateParams.Body.Builder toBuilder()
-
validate
final VersionCreateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static VersionCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.files()
-
of
final static VersionCreateParams.Body of(List<MultipartField<InputStream>> files)
-
-
-
-