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