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