code: func (r *Recurrence) GetUntilOccurrencesOk() (int, bool) {
  	if r == nil || r.UntilOccurrences == nil {
  		return 0, false
  	}
  	return *r.UntilOccurrences, true
  }
docs: // GetUntilOccurrencesOk returns a tuple with the UntilOccurrences field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.