Class PluginMarketplaceValidateArchiveParams.Body
-
- All Implemented Interfaces:
public final class PluginMarketplaceValidateArchiveParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPluginMarketplaceValidateArchiveParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final InputStreamarchive()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 MultipartField<InputStream>_archive()Returns the raw multipart value of archive. final Map<String, JsonValue>_additionalProperties()final PluginMarketplaceValidateArchiveParams.Body.BuildertoBuilder()final PluginMarketplaceValidateArchiveParams.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 PluginMarketplaceValidateArchiveParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static PluginMarketplaceValidateArchiveParams.Bodyof(InputStream archive)Returns an immutable instance of Body with the required archive set to the given value. -
-
Method Detail
-
archive
final 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 MultipartField<InputStream> _archive()
Returns the raw multipart value of archive.
Unlike archive, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PluginMarketplaceValidateArchiveParams.Body.Builder toBuilder()
-
validate
final PluginMarketplaceValidateArchiveParams.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 PluginMarketplaceValidateArchiveParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.archive()
-
of
final static PluginMarketplaceValidateArchiveParams.Body of(InputStream archive)
-
-
-
-