Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
 /// <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);
        }
Beispiel #4
0
 /// <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);
 }
Beispiel #5
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="id"></param>
 /// <returns>List&lt;MediaItemViewModel&gt;</returns>
 public List <MediaItemViewModel> ApiMediaCollectionsIdItemsGet(int id)
 {
     ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = ApiMediaCollectionsIdItemsGetWithHttpInfo(id);
     return(localVarResponse.Data);
 }
Beispiel #6
0
        /// <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&lt;MediaItemViewModel&gt;</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);
        }
Beispiel #7
0
 /// <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);
 }
Beispiel #8
0
 /// <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);
 }
Beispiel #9
0
        /// <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);
        }
Beispiel #10
0
 /// <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);
 }
Beispiel #11
0
 /// <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);
 }
Beispiel #12
0
 /// <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);
 }
Beispiel #13
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>List&lt;FFmpegProfileViewModel&gt;</returns>
 public List <FFmpegProfileViewModel> ApiFfmpegProfilesGet()
 {
     ErsatzTV.Api.Sdk.Client.ApiResponse <List <FFmpegProfileViewModel> > localVarResponse = ApiFfmpegProfilesGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Beispiel #14
0
        /// <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&lt;MediaItemViewModel&gt;</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);
        }
Beispiel #15
0
 /// <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);
 }
Beispiel #16
0
 /// <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);
 }
Beispiel #17
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>List&lt;MediaSourceViewModel&gt;</returns>
 public List <MediaSourceViewModel> ApiMediaSourcesGet()
 {
     ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaSourceViewModel> > localVarResponse = ApiMediaSourcesGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Beispiel #18
0
        /// <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);
        }
Beispiel #19
0
 /// <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);
 }
Beispiel #20
0
 /// <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&lt;MediaItemViewModel&gt;</returns>
 public List <MediaItemViewModel> ApiMediaCollectionsIdItemsPut(int id, List <int> requestBody)
 {
     ErsatzTV.Api.Sdk.Client.ApiResponse <List <MediaItemViewModel> > localVarResponse = ApiMediaCollectionsIdItemsPutWithHttpInfo(id, requestBody);
     return(localVarResponse.Data);
 }
Beispiel #21
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="ErsatzTV.Api.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>List&lt;ChannelViewModel&gt;</returns>
 public List <ChannelViewModel> ApiChannelsGet()
 {
     ErsatzTV.Api.Sdk.Client.ApiResponse <List <ChannelViewModel> > localVarResponse = ApiChannelsGetWithHttpInfo();
     return(localVarResponse.Data);
 }
Beispiel #22
0
 /// <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);
 }
Beispiel #23
0
 /// <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);
 }