Class PluginMarketplaceValidateArchiveParams.Body.Builder
-
- All Implemented Interfaces:
public final class PluginMarketplaceValidateArchiveParams.Body.BuilderA builder for Body.
-
-
Method Summary
Modifier and Type Method Description final PluginMarketplaceValidateArchiveParams.Body.Builderarchive(InputStream archive)A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. final PluginMarketplaceValidateArchiveParams.Body.Builderarchive(MultipartField<InputStream> archive)Sets Builder.archive to an arbitrary multipart value. final PluginMarketplaceValidateArchiveParams.Body.Builderarchive(ByteArray archive)A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. final PluginMarketplaceValidateArchiveParams.Body.Builderarchive(Path path)A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. final PluginMarketplaceValidateArchiveParams.Body.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PluginMarketplaceValidateArchiveParams.Body.BuilderputAdditionalProperty(String key, JsonValue value)final PluginMarketplaceValidateArchiveParams.Body.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PluginMarketplaceValidateArchiveParams.Body.BuilderremoveAdditionalProperty(String key)final PluginMarketplaceValidateArchiveParams.Body.BuilderremoveAllAdditionalProperties(Set<String> keys)final PluginMarketplaceValidateArchiveParams.Bodybuild()Returns an immutable instance of Body. -
-
Method Detail
-
archive
final PluginMarketplaceValidateArchiveParams.Body.Builder archive(InputStream archive)
A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. A part sent without a filename, a second archive part, or any other form field is a 400; a larger archive is a 413.
-
archive
final PluginMarketplaceValidateArchiveParams.Body.Builder archive(MultipartField<InputStream> archive)
Sets Builder.archive to an arbitrary multipart value.
You should usually call Builder.archive with a well-typed InputStream value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archive
final PluginMarketplaceValidateArchiveParams.Body.Builder archive(ByteArray archive)
A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. A part sent without a filename, a second archive part, or any other form field is a 400; a larger archive is a 413.
-
archive
final PluginMarketplaceValidateArchiveParams.Body.Builder archive(Path path)
A .zip of the marketplace directory (its contents at the root, or wrapped in one folder as a Git host's download produces), sent as a file part with a filename; DEFLATE- or STORE-compressed, at most 32 MB. A part sent without a filename, a second archive part, or any other form field is a 400; a larger archive is a 413.
-
additionalProperties
final PluginMarketplaceValidateArchiveParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PluginMarketplaceValidateArchiveParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PluginMarketplaceValidateArchiveParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PluginMarketplaceValidateArchiveParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PluginMarketplaceValidateArchiveParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PluginMarketplaceValidateArchiveParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.archive()
-
-
-
-