code: func (r *Repository) GetAllowSquashMerge() bool {
  	if r == nil || r.AllowSquashMerge == nil {
  		return false
  	}
  	return *r.AllowSquashMerge
  }
docs: // GetAllowSquashMerge returns the AllowSquashMerge field if it's non-nil, zero value otherwise.