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