/// <summary> /// Add Live Input Stream Changed Webhook Notification (Specific Encoding) /// </summary> /// <param name="encodingId">Id of the encoding resource (required)</param> /// <param name="webhookNotificationWithStreamConditionsRequest">The webhook notifications object</param> public async Task <Models.WebhookNotificationWithStreamConditions> CreateByEncodingIdAsync(string encodingId, Models.WebhookNotificationWithStreamConditionsRequest webhookNotificationWithStreamConditionsRequest) { return(await _apiClient.CreateByEncodingIdAsync(encodingId, webhookNotificationWithStreamConditionsRequest)); }
/// <summary> /// Replace Live Input Stream Changed Webhook Notification /// </summary> /// <param name="notificationId">Id of the webhook notification (required)</param> /// <param name="webhookNotificationWithStreamConditionsRequest">The webhook notification with the updated values</param> public async Task <Models.WebhookNotificationWithStreamConditions> UpdateAsync(string notificationId, Models.WebhookNotificationWithStreamConditionsRequest webhookNotificationWithStreamConditionsRequest) { return(await _apiClient.UpdateAsync(notificationId, webhookNotificationWithStreamConditionsRequest)); }
/// <summary> /// Add Live Input Stream Changed Webhook Notification (All Encodings) /// </summary> /// <param name="webhookNotificationWithStreamConditionsRequest">The webhook notifications object</param> public async Task <Models.WebhookNotificationWithStreamConditions> CreateAsync(Models.WebhookNotificationWithStreamConditionsRequest webhookNotificationWithStreamConditionsRequest) { return(await _apiClient.CreateAsync(webhookNotificationWithStreamConditionsRequest)); }