Package org.miaixz.bus.gitlab.models
Class RepositoryArchiveParams
java.lang.Object
org.miaixz.bus.gitlab.models.RepositoryArchiveParams
Params for getting file archive of the repository.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetForm()Get form with params.Add param "The subpath of the repository to download".Add param "The commit SHA to download".
-
Constructor Details
-
RepositoryArchiveParams
public RepositoryArchiveParams()
-
-
Method Details
-
withSha
Add param "The commit SHA to download".- Parameters:
sha- the commit SHA to download- Returns:
- current params with sha
-
withPath
Add param "The subpath of the repository to download".- Parameters:
path- the subpath of the repository to download- Returns:
- current params with path
-
getForm
Get form with params.- Returns:
- form with params
-