code: func (u *User) GetOwnedPrivateRepos() int {
  	if u == nil || u.OwnedPrivateRepos == nil {
  		return 0
  	}
  	return *u.OwnedPrivateRepos
  }
docs: // GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise.