/// <summary> /// Get the <see cref="InfluxDB.Client.Api.Domain.NotificationRules" /> client. /// </summary> /// <returns>the new client instance for NotificationRules API</returns> public NotificationRulesApi GetNotificationRulesApi() { var service = new NotificationRulesService((Configuration)_apiClient.Configuration) { ExceptionFactory = _exceptionFactory }; return(new NotificationRulesApi(service)); }
protected internal NotificationRulesApi(NotificationRulesService service) { Arguments.CheckNotNull(service, nameof(service)); _service = service; }