/// More info: /// https://confluence.atlassian.com/display/BITBUCKET/branch-restrictions+Resource /// <summary> /// List the information associated with a repository's branch restrictions. /// </summary> /// <returns></returns> public object ListBranchRestrictions() { return(_repositoriesEndPoint.ListBranchRestrictions(_accountName, _repository)); }