public class RepositoryArchiveParams
extends java.lang.Object
Constructor and Description |
---|
RepositoryArchiveParams() |
Modifier and Type | Method and Description |
---|---|
GitLabApiForm |
getForm()
Get form with params.
|
RepositoryArchiveParams |
withPath(java.lang.String path)
Add param "The subpath of the repository to download".
|
RepositoryArchiveParams |
withSha(java.lang.String sha)
Add param "The commit SHA to download".
|
public RepositoryArchiveParams withSha(java.lang.String sha)
sha
- the commit SHA to downloadpublic RepositoryArchiveParams withPath(java.lang.String path)
path
- the subpath of the repository to downloadpublic GitLabApiForm getForm()