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