| java.lang.Object | ||
| ↳ | com.atlassian.bitbucket.repository.AbstractRepositoryRequest | |
| ↳ | com.atlassian.bitbucket.repository.RepositoryForkRequest | |
Defines the properties that can be set when forking a Repository. To reduce backwards compatibility issues
 as new properties are added over time, instances of this class may only be created using its RepositoryForkRequest.Builder.
 
The following property is required:
getParent(): The repository to forkgetName(): Defaults to the parent repository's name if not explicitly specifiedgetProject(): Defaults to the forking user's personal project
     if not explicitly specifiedisForkable(): Defaults to true, meaning the fork will itself be forkable, if not
     explicitly specifiedisPublic(): Defaults to false, meaning the fork will will not be public, if not
     explicitly specifiedslug, which is used in URLs (both for the browser and when cloning), will be
 generated from the provided getName(). Both the name and the generated slug must be unique within the
 project or the fork cannot be created.
  | Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RepositoryForkRequest.Builder | Constructs requestsfor forking repositories. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Retrieves the repository to be forked. | |||||||||||
| Retrieves the project in which the fork should be created, or  nullto create the fork in the current
 user'spersonal project. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  com.atlassian.bitbucket.repository.AbstractRepositoryRequest | |||||||||||
|  From class
  java.lang.Object | |||||||||||
Retrieves the repository to be forked. This will become the origin of the new
 fork.
Retrieves the project in which the fork should be created, or null to create the fork in the current
 user's personal project.
null to use the current user's personal project