public class ErrorApi extends Object
Constructor and Description |
---|
ErrorApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<ErrorApi> |
builder()
Fluent builder for creating an instance of ErrorApi
|
PaginationResponse<EncodingErrorEmailNotification> |
create(EncodingErrorEmailNotification encodingErrorEmailNotification)
Add Encoding Error Email Notification (All Encodings)
|
EmailNotification |
createByEncodingId(String encodingId,
EmailNotification emailNotification)
Add Encoding Error Email Notification (Specific Encoding)
|
EmailNotification |
update(String notificationId,
EmailNotification emailNotification)
Replace Encoding Error Email Notification
|
public ErrorApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ErrorApi> builder()
public PaginationResponse<EncodingErrorEmailNotification> create(EncodingErrorEmailNotification encodingErrorEmailNotification) throws BitmovinException
encodingErrorEmailNotification
- Add a new email notification if an encoding received an error (required)BitmovinException
- if fails to make API callpublic EmailNotification createByEncodingId(String encodingId, EmailNotification emailNotification) throws BitmovinException
encodingId
- Id of the encoding resource (required)emailNotification
- The email notifications object (required)BitmovinException
- if fails to make API callpublic EmailNotification update(String notificationId, EmailNotification emailNotification) throws BitmovinException
notificationId
- Id of the email notification (required)emailNotification
- The email notification with the updated values (required)BitmovinException
- if fails to make API callCopyright © 2021. All rights reserved.