Class PluginMarketplaceValidateRepositoryParams.Body.Builder
-
- All Implemented Interfaces:
public final class PluginMarketplaceValidateRepositoryParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
repositoryUrl
final PluginMarketplaceValidateRepositoryParams.Body.Builder repositoryUrl(String repositoryUrl)
The
https://URL of a public repository on github.com that holds the marketplace. A URL longer than 2,048 characters, on any other host or scheme, with a port other than 443 or 80, with credentials in it, or that does not name exactlyowner/repo(a trailing.gitor/is accepted) is a 400. A private or missing repository is reported in the response, not refused.
-
repositoryUrl
final PluginMarketplaceValidateRepositoryParams.Body.Builder repositoryUrl(JsonField<String> repositoryUrl)
Sets Builder.repositoryUrl to an arbitrary JSON value.
You should usually call Builder.repositoryUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ref
final PluginMarketplaceValidateRepositoryParams.Body.Builder ref(String ref)
The branch to validate the tip of, or the full 40-character SHA of the commit to validate. When omitted, the branch a synchronization would read (usually the repository's default branch); if that is not the default branch, the report's
refsays which branch was read. An empty string, a value longer than 255 characters, or one that contains..or a character other than ASCII letters, digits,.,_,-,+, and/, is a 400. Any other value that is not a 40-character SHA is read as a branch name; if the repository has no such branch, the response is a report withvalid: false, not a 400.
-
ref
final PluginMarketplaceValidateRepositoryParams.Body.Builder ref(Optional<String> ref)
Alias for calling Builder.ref with
ref.orElse(null).
-
ref
final PluginMarketplaceValidateRepositoryParams.Body.Builder ref(JsonField<String> ref)
Sets Builder.ref to an arbitrary JSON value.
You should usually call Builder.ref with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PluginMarketplaceValidateRepositoryParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PluginMarketplaceValidateRepositoryParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PluginMarketplaceValidateRepositoryParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PluginMarketplaceValidateRepositoryParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PluginMarketplaceValidateRepositoryParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PluginMarketplaceValidateRepositoryParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.repositoryUrl()
-
-
-
-