/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="updateChannel"></param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of ChannelViewModel</returns> public async System.Threading.Tasks.Task <ChannelViewModel> ApiChannelsPatchAsync(UpdateChannel updateChannel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <ChannelViewModel> localVarResponse = await ApiChannelsPatchWithHttpInfoAsync(updateChannel, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createChannel"></param> /// <returns>ChannelViewModel</returns> public ChannelViewModel ApiChannelsPost(CreateChannel createChannel) { ErsatzTV.Api.Sdk.Client.ApiResponse <ChannelViewModel> localVarResponse = ApiChannelsPostWithHttpInfo(createChannel); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="ffmpegProfileId"></param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of FFmpegProfileViewModel</returns> public async System.Threading.Tasks.Task <FFmpegProfileViewModel> ApiFfmpegProfilesFfmpegProfileIdGetAsync(int ffmpegProfileId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <FFmpegProfileViewModel> localVarResponse = await ApiFfmpegProfilesFfmpegProfileIdGetWithHttpInfoAsync(ffmpegProfileId, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="updateChannel"></param> /// <returns>ChannelViewModel</returns> public ChannelViewModel ApiChannelsPatch(UpdateChannel updateChannel) { ErsatzTV.Api.Sdk.Client.ApiResponse <ChannelViewModel> localVarResponse = ApiChannelsPatchWithHttpInfo(updateChannel); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <returns>List<MediaItemViewModel></returns> public List <MediaItemViewModel> ApiMediaCollectionsIdItemsGet(int id) { ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = ApiMediaCollectionsIdItemsGetWithHttpInfo(id); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <param name="requestBody"></param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of List<MediaItemViewModel></returns> public async System.Threading.Tasks.Task <List <MediaItemViewModel> > ApiMediaCollectionsIdItemsPutAsync(int id, List <int> requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = await ApiMediaCollectionsIdItemsPutWithHttpInfoAsync(id, requestBody, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="playoutId"></param> /// <returns>PlayoutViewModel</returns> public PlayoutViewModel ApiPlayoutsPlayoutIdGet(int playoutId) { ErsatzTV.Api.Sdk.Client.ApiResponse <PlayoutViewModel> localVarResponse = ApiPlayoutsPlayoutIdGetWithHttpInfo(playoutId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <returns>MediaCollectionViewModel</returns> public MediaCollectionViewModel ApiMediaCollectionsIdGet(int id) { ErsatzTV.Api.Sdk.Client.ApiResponse <MediaCollectionViewModel> localVarResponse = ApiMediaCollectionsIdGetWithHttpInfo(id); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createPlayout"></param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of PlayoutViewModel</returns> public async System.Threading.Tasks.Task <PlayoutViewModel> ApiPlayoutsPostAsync(CreatePlayout createPlayout, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <PlayoutViewModel> localVarResponse = await ApiPlayoutsPostWithHttpInfoAsync(createPlayout, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="updatePlayout"></param> /// <returns>PlayoutViewModel</returns> public PlayoutViewModel ApiPlayoutsPatch(UpdatePlayout updatePlayout) { ErsatzTV.Api.Sdk.Client.ApiResponse <PlayoutViewModel> localVarResponse = ApiPlayoutsPatchWithHttpInfo(updatePlayout); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createFFmpegProfile"></param> /// <returns>FFmpegProfileViewModel</returns> public FFmpegProfileViewModel ApiFfmpegProfilesPost(CreateFFmpegProfile createFFmpegProfile) { ErsatzTV.Api.Sdk.Client.ApiResponse <FFmpegProfileViewModel> localVarResponse = ApiFfmpegProfilesPostWithHttpInfo(createFFmpegProfile); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="updateFFmpegProfile"></param> /// <returns>FFmpegProfileViewModel</returns> public FFmpegProfileViewModel ApiFfmpegProfilesPatch(UpdateFFmpegProfile updateFFmpegProfile) { ErsatzTV.Api.Sdk.Client.ApiResponse <FFmpegProfileViewModel> localVarResponse = ApiFfmpegProfilesPatchWithHttpInfo(updateFFmpegProfile); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>List<FFmpegProfileViewModel></returns> public List <FFmpegProfileViewModel> ApiFfmpegProfilesGet() { ErsatzTV.Api.Sdk.Client.ApiResponse <List <FFmpegProfileViewModel> > localVarResponse = ApiFfmpegProfilesGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of List<MediaItemViewModel></returns> public async System.Threading.Tasks.Task <List <MediaItemViewModel> > ApiMediaItemsGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = await ApiMediaItemsGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createPlayout"></param> /// <returns>PlayoutViewModel</returns> public PlayoutViewModel ApiPlayoutsPost(CreatePlayout createPlayout) { ErsatzTV.Api.Sdk.Client.ApiResponse <PlayoutViewModel> localVarResponse = ApiPlayoutsPostWithHttpInfo(createPlayout); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="mediaItemId"></param> /// <returns>MediaItemViewModel</returns> public MediaItemViewModel ApiMediaItemsMediaItemIdGet(int mediaItemId) { ErsatzTV.Api.Sdk.Client.ApiResponse <MediaItemViewModel> localVarResponse = ApiMediaItemsMediaItemIdGetWithHttpInfo(mediaItemId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>List<MediaSourceViewModel></returns> public List <MediaSourceViewModel> ApiMediaSourcesGet() { ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaSourceViewModel> > localVarResponse = ApiMediaSourcesGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of MediaCollectionViewModel</returns> public async System.Threading.Tasks.Task <MediaCollectionViewModel> ApiMediaCollectionsIdGetAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { ErsatzTV.Api.Sdk.Client.ApiResponse <MediaCollectionViewModel> localVarResponse = await ApiMediaCollectionsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="channelId"></param> /// <returns>ChannelViewModel</returns> public ChannelViewModel ApiChannelsChannelIdGet(int channelId) { ErsatzTV.Api.Sdk.Client.ApiResponse <ChannelViewModel> localVarResponse = ApiChannelsChannelIdGetWithHttpInfo(channelId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <param name="requestBody"></param> /// <returns>List<MediaItemViewModel></returns> public List <MediaItemViewModel> ApiMediaCollectionsIdItemsPut(int id, List <int> requestBody) { ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = ApiMediaCollectionsIdItemsPutWithHttpInfo(id, requestBody); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>List<ChannelViewModel></returns> public List <ChannelViewModel> ApiChannelsGet() { ErsatzTV.Api.Sdk.Client.ApiResponse <List <ChannelViewModel> > localVarResponse = ApiChannelsGetWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createSimpleMediaCollection"></param> /// <returns>MediaCollectionViewModel</returns> public MediaCollectionViewModel ApiMediaCollectionsPost(CreateSimpleMediaCollection createSimpleMediaCollection) { ErsatzTV.Api.Sdk.Client.ApiResponse <MediaCollectionViewModel> localVarResponse = ApiMediaCollectionsPostWithHttpInfo(createSimpleMediaCollection); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="ffmpegProfileId"></param> /// <returns>FFmpegProfileViewModel</returns> public FFmpegProfileViewModel ApiFfmpegProfilesFfmpegProfileIdGet(int ffmpegProfileId) { ErsatzTV.Api.Sdk.Client.ApiResponse <FFmpegProfileViewModel> localVarResponse = ApiFfmpegProfilesFfmpegProfileIdGetWithHttpInfo(ffmpegProfileId); return(localVarResponse.Data); }