Defines the properties that can be modified when updating a
Repository. To reduce backwards compatibility
issues as new properties are added over time, instances of this class may only be created using its
The following properties are required:
IDof the repository to update. This value will not be changed.
getName(): The new name for the repository, which may match the old name if only the
forkabilityof the repository should be updated
isForkable(): Defaults to
true, meaning the repository will be marked as forkable if not explicitly specified
isPublic(): Defaults to
false, meaning the repository will not be public if not explicitly specified
slug, which is used in URLs (both for the browser and when cloning), will be generated from the provided
getName(). If the new name, or new slug, have already been used by a different repository in the same
project, the repository cannot be updated. Additionally, note that changing a repository's name, as it may change the slug, may change every URL for the repository, both URLs used by the browser and the clone URL. As a result, changing a repository's name may be very disruptive and should be carefully considered.
|From class com.atlassian.bitbucket.repository.AbstractRepositoryRequest|
|From class java.lang.Object|
ID of the repository to update.