Package com.openai.models.skills
Class SkillCreateParams.Body
-
- All Implemented Interfaces:
public final class SkillCreateParams.BodyUploads a skill either as a directory (multipart
files[]) or as a single zip file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSkillCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<SkillCreateParams.Files>files()Skill files to upload (directory upload) or a single zip file. final MultipartField<SkillCreateParams.Files>_files()Returns the raw multipart value of files. final Map<String, JsonValue>_additionalProperties()final SkillCreateParams.Body.BuildertoBuilder()final SkillCreateParams.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 SkillCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
files
final Optional<SkillCreateParams.Files> files()
Skill files to upload (directory upload) or a single zip file.
-
_files
final MultipartField<SkillCreateParams.Files> _files()
Returns the raw multipart value of files.
Unlike files, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SkillCreateParams.Body.Builder toBuilder()
-
validate
final SkillCreateParams.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 SkillCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-