Class RepositoryArchiveParams


  • public class RepositoryArchiveParams
    extends java.lang.Object
    Params for getting file archive of the repository.
    • Constructor Detail

      • RepositoryArchiveParams

        public RepositoryArchiveParams()
    • 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