Package org.gitlab4j.api.models
Class RepositoryArchiveParams
- java.lang.Object
-
- org.gitlab4j.api.models.RepositoryArchiveParams
-
public class RepositoryArchiveParams extends java.lang.Object
Params for getting file archive of the repository.
-
-
Constructor Summary
Constructors Constructor Description RepositoryArchiveParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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".
-
-
-
Method Detail
-
withSha
public RepositoryArchiveParams withSha(java.lang.String sha)
Add param "The commit SHA to download".- Parameters:
sha
- the commit SHA to download- Returns:
- current params with sha
-
withPath
public RepositoryArchiveParams withPath(java.lang.String path)
Add param "The subpath of the repository to download".- Parameters:
path
- the subpath of the repository to download- Returns:
- current params with path
-
getForm
public GitLabApiForm getForm()
Get form with params.- Returns:
- form with params
-
-