/// <summary> /// Replace Manifest Finished Webhook Notification /// </summary> /// <param name="notificationId">Id of the webhook notification (required)</param> /// <param name="webhook">The webhook notification with the updated values</param> public async Task <Models.Webhook> UpdateAsync(string notificationId, Models.Webhook webhook) { return(await _apiClient.UpdateAsync(notificationId, webhook)); }
/// <summary> /// Add Manifest Finished Successfully Webhook (All Manifests) /// </summary> /// <param name="webhook">Add a new webhook notification if a manifest creation finished successfully. **Note:** A maximum number of 5 webhooks is allowed</param> public async Task <Models.Webhook> CreateAsync(Models.Webhook webhook) { return(await _apiClient.CreateAsync(webhook)); }
/// <summary> /// Add Manifest Finished Successfully Webhook Notification (Specific Manifest) /// </summary> /// <param name="manifestId">Id of the manifest resource (required)</param> /// <param name="webhook">The webhook notifications object. **Note:** A maximum number of 5 webhooks is allowed</param> public async Task <Models.Webhook> CreateByManifestIdAsync(string manifestId, Models.Webhook webhook) { return(await _apiClient.CreateByManifestIdAsync(manifestId, webhook)); }
/// <summary> /// Add Encoding Finished Webhook for specific Encoding Resource. /// </summary> /// <param name="encodingId">Id of the encoding (required)</param> /// <param name="webhook">The Encoding Finished Webhook to be added. **Note:** A maximum number of 5 webhooks is allowed</param> public async Task <Models.Webhook> CreateByEncodingIdAsync(string encodingId, Models.Webhook webhook) { return(await _apiClient.CreateByEncodingIdAsync(encodingId, webhook)); }