code: func (r *patchDashboardRequest) Valid() error {
  	if !r.DashboardID.Valid() {
  		return fmt.Errorf("missing dashboard ID")
  	}
  
  	if pe := r.Upd.Valid(); pe != nil {
  		return pe
  	}
  	return nil
  }
docs: // Valid validates that the dashboard ID is non zero valued and update has expected values set.