protected override RefRestrictionTypes ConvertFromString(string s)
 {
     return(BitbucketHelpers.StringToRefRestrictionType(s));
 }