public Pager < ProtectedBranch > getProtectedBranches ( Object projectIdOrPath , int itemsPerPage ) throws GitLabApiException { return ( new Pager < ProtectedBranch > ( this , ProtectedBranch . class , itemsPerPage , null , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "protected_branches" ) ) ; }
Gets a Pager of protected branches from a project .