Class ErrorApi
Inheritance
System.Object
ErrorApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Notifications.Emails.Encoding.Encodings.Error
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class ErrorApi
Constructors
ErrorApi(IBitmovinApiClientFactory)
Declaration
public ErrorApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of ErrorApi
Declaration
public static BitmovinApiBuilder<ErrorApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<ErrorApi> |
Methods
CreateAsync(EncodingErrorEmailNotification)
Add Encoding Error Email Notification (All Encodings)
Declaration
public Task<PaginationResponse<EncodingErrorEmailNotification>> CreateAsync(EncodingErrorEmailNotification encodingErrorEmailNotification)
Parameters
Type | Name | Description |
---|---|---|
EncodingErrorEmailNotification | encodingErrorEmailNotification | Add a new email notification if an encoding received an error |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<EncodingErrorEmailNotification>> |
CreateByEncodingIdAsync(String, EmailNotification)
Add Encoding Error Email Notification (Specific Encoding)
Declaration
public Task<EmailNotification> CreateByEncodingIdAsync(string encodingId, EmailNotification emailNotification)
Parameters
Type | Name | Description |
---|---|---|
System.String | encodingId | Id of the encoding resource (required) |
EmailNotification | emailNotification | The email notifications object |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<EmailNotification> |
UpdateAsync(String, EmailNotification)
Replace Encoding Error Email Notification
Declaration
public Task<EmailNotification> UpdateAsync(string notificationId, EmailNotification emailNotification)
Parameters
Type | Name | Description |
---|---|---|
System.String | notificationId | Id of the email notification (required) |
EmailNotification | emailNotification | The email notification with the updated values |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<EmailNotification> |