/// <summary> /// Activate or suspend jobs with the given job definition id, process definition id, process definition key or process instance id. /// </summary> public Task UpdateSuspensionState(JobDefinitionSuspensionState state) => _api.UpdateSuspensionState(state);
/// <summary> /// Activate or suspend a given job definition by id. /// </summary> public Task UpdateSuspensionState(bool suspended) => _api.UpdateSuspensionState(_jobDefinitionId, new SuspensionState() { Suspended = suspended });