code: func (r *Recurrence) GetUntilOccurrences() int {
  	if r == nil || r.UntilOccurrences == nil {
  		return 0
  	}
  	return *r.UntilOccurrences
  }
docs: // GetUntilOccurrences returns the UntilOccurrences field if non-nil, zero value otherwise.