Class TransferErrorApi
Inheritance
Inherited Members
Namespace: Bitmovin.Api.Sdk.Notifications.Webhooks.Encoding.Encodings.TransferError
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class TransferErrorApi
Constructors
TransferErrorApi(IBitmovinApiClientFactory)
Declaration
public TransferErrorApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of TransferErrorApi
Declaration
public static BitmovinApiBuilder<TransferErrorApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<TransferErrorApi> |
Customdata
Declaration
public CustomdataApi Customdata { get; }
Property Value
Type | Description |
---|---|
CustomdataApi |
Methods
CreateAsync(Webhook)
Add 'Encoding Transfer Error' Webhook
Declaration
public Task<Webhook> CreateAsync(Webhook webhook)
Parameters
Type | Name | Description |
---|---|---|
Webhook | webhook | The 'Encoding Transfer Error' Webhook to be added. A maximum number of 5 webhooks is allowed |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Webhook> |
CreateByEncodingIdAsync(String, Webhook)
Add 'Encoding Transfer Error' Webhook for a specific Encoding
Declaration
public Task<Webhook> CreateByEncodingIdAsync(string encodingId, Webhook webhook)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding (required) |
Webhook | webhook | The 'Encoding Transfer Error' Webhook to be added. A maximum number of 5 webhooks per Encoding is allowed |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Webhook> |
DeleteByEncodingIdAndWebhookIdAsync(String, String)
Delete 'Encoding Transfer Error' Webhook for a specific Encoding
Declaration
public Task<BitmovinResponse> DeleteByEncodingIdAndWebhookIdAsync(string encodingId, string webhookId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding (required) |
System.String | webhookId | Id of the webhook (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
DeleteByWebhookIdAsync(String)
Delete 'Encoding Transfer Error' Webhook
Declaration
public Task<BitmovinResponse> DeleteByWebhookIdAsync(string webhookId)
Parameters
Type | Name | Description |
---|---|---|
System.String | webhookId | Id of the webhook (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetByEncodingIdAndWebhookIdAsync(String, String)
'Encoding Transfer Error' Webhook Details for a specific Encoding
Declaration
public Task<Webhook> GetByEncodingIdAndWebhookIdAsync(string encodingId, string webhookId)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding (required) |
System.String | webhookId | Id of the webhook (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Webhook> |
GetByWebhookIdAsync(String)
'Encoding Transfer Error' Webhook Details
Declaration
public Task<Webhook> GetByWebhookIdAsync(string webhookId)
Parameters
Type | Name | Description |
---|---|---|
System.String | webhookId | Id of the webhook (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Webhook> |
ListAsync(Func<TransferErrorApi.ListQueryParams, TransferErrorApi.ListQueryParams>[])
List 'Encoding Transfer Error' Webhooks
Declaration
public Task<PaginationResponse<Webhook>> ListAsync(params Func<TransferErrorApi.ListQueryParams, TransferErrorApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TransferErrorApi.ListQueryParams, TransferErrorApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<Webhook>> |
ListByEncodingIdAsync(String, Func<TransferErrorApi.ListByEncodingIdQueryParams, TransferErrorApi.ListByEncodingIdQueryParams>[])
List 'Encoding Transfer Error' Webhooks for a specific Encoding
Declaration
public Task<PaginationResponse<Webhook>> ListByEncodingIdAsync(string encodingId, params Func<TransferErrorApi.ListByEncodingIdQueryParams, TransferErrorApi.ListByEncodingIdQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding (required) |
System.Func<TransferErrorApi.ListByEncodingIdQueryParams, TransferErrorApi.ListByEncodingIdQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<Webhook>> |