code: func (r *RepositoryInvitation) GetPermissions() string {
  	if r == nil || r.Permissions == nil {
  		return ""
  	}
  	return *r.Permissions
  }
docs: // GetPermissions returns the Permissions field if it's non-nil, zero value otherwise.