Class RepositoryArchiveParams

java.lang.Object
org.miaixz.bus.gitlab.models.RepositoryArchiveParams

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

    • RepositoryArchiveParams

      public RepositoryArchiveParams()
  • Method Details

    • withSha

      public RepositoryArchiveParams withSha(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(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