Class VersionCreateParams.Body
-
- All Implemented Interfaces:
public final class VersionCreateParams.BodyUploads a new immutable version of a skill.
-
-
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 Optional<Boolean>default_()Whether to set this version as the default. final Optional<VersionCreateParams.Files>files()Skill files to upload (directory upload) or a single zip file. final MultipartField<Boolean>_default_()Returns the raw multipart value of default_. final MultipartField<VersionCreateParams.Files>_files()Returns the raw multipart value of files. 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. -
-
Method Detail
-
files
final Optional<VersionCreateParams.Files> files()
Skill files to upload (directory upload) or a single zip file.
-
_default_
final MultipartField<Boolean> _default_()
Returns the raw multipart value of default_.
Unlike default_, this method doesn't throw if the multipart field has an unexpected type.
-
_files
final MultipartField<VersionCreateParams.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 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.
-
-
-
-