public class CustomXmlElementsApi extends Object
Constructor and Description |
---|
CustomXmlElementsApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<CustomXmlElementsApi> |
builder()
Fluent builder for creating an instance of CustomXmlElementsApi
|
CustomXmlElement |
create(String manifestId,
String periodId,
CustomXmlElement customXmlElement)
Add Custom XML Element to Period
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String customXmlElementId)
Delete Custom XML Element
|
CustomXmlElement |
get(String manifestId,
String periodId,
String customXmlElementId)
Custom XML Element Details
|
PaginationResponse<CustomXmlElement> |
list(String manifestId,
String periodId)
List all Custom XML Elements of Period
|
PaginationResponse<CustomXmlElement> |
list(String manifestId,
String periodId,
CustomXmlElementListQueryParams queryParams)
List all Custom XML Elements of Period
|
public CustomXmlElementsApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<CustomXmlElementsApi> builder()
public CustomXmlElement create(String manifestId, String periodId, CustomXmlElement customXmlElement) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)customXmlElement
- Data of the custom XML element to be added to the period (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String customXmlElementId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)customXmlElementId
- Id of the Custom XML Element (required)BitmovinException
- if fails to make API callpublic CustomXmlElement get(String manifestId, String periodId, String customXmlElementId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)customXmlElementId
- Id of the Custom XML Element (required)BitmovinException
- if fails to make API callpublic PaginationResponse<CustomXmlElement> list(String manifestId, String periodId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)BitmovinException
- if fails to make API callpublic PaginationResponse<CustomXmlElement> list(String manifestId, String periodId, CustomXmlElementListQueryParams queryParams) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2019. All rights reserved.