/// <summary> /// Resets the algoritm for a specific alarmsubtype and unit /// </summary> /// <remarks> /// This option resets the unit behaviour used in the alarm algoritms and /// resets it by using the recent unit data and behaviour /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// Id of the unit /// </param> /// <param name='alarmTypeId'> /// Id of the alarm type /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task <object> ResetAlarmByidalarmTypeIdAsync(this IUnits operations, int id, int alarmTypeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ResetAlarmByidalarmTypeIdWithHttpMessagesAsync(id, alarmTypeId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }