Skip to content

Commit

Permalink
Update get live streams sortby attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
szekelyzol committed Dec 20, 2023
1 parent 073047c commit ca3bad4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
155cd5d675d3c44d398908686882100c90ce1dd99ef14b0d53ca66624ec0e640
63a60566e96276d6fd17729d52dd15eba96cbf7b2352951f939d8d7555db4304
4 changes: 2 additions & 2 deletions docs/LiveStreamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ namespace Example

var streamKey = dw-dew8-q6w9-k67w-1ws8; // string | The unique stream key that allows you to stream videos. (optional)
var name = My Video; // string | You can filter live streams by their name or a part of their name. (optional)
var sortBy = createdAt; // string | Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional)
var sortBy = createdAt; // string | Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. (optional)
var sortOrder = desc; // string | Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional)
var currentPage = 2; // int? | Choose the number of search results to return per page. Minimum value: 1 (optional) (default to 1)
var pageSize = 30; // int? | Results per page. Allowed values 1-100, default is 25. (optional) (default to 25)
Expand Down Expand Up @@ -334,7 +334,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**streamKey** | **string**| The unique stream key that allows you to stream videos. | [optional]
**name** | **string**| You can filter live streams by their name or a part of their name. | [optional]
**sortBy** | **string**| Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. | [optional]
**sortBy** | **string**| Enables you to sort live stream results. Allowed attributes: `name`, `createdAt`, `updatedAt`. `name` - the name of the live stream. `createdAt` - the time a live stream was created. `updatedAt` - the time a live stream was last updated. When using `createdAt` or `updatedAt`, the API sorts the results based on the ISO-8601 time format. | [optional]
**sortOrder** | **string**| Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. | [optional]
**currentPage** | **int?**| Choose the number of search results to return per page. Minimum value: 1 | [optional] [default to 1]
**pageSize** | **int?**| Results per page. Allowed values 1-100, default is 25. | [optional] [default to 25]
Expand Down
6 changes: 3 additions & 3 deletions src/Api/LiveStreamsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public ApiResponse<Object> deleteWithHttpInfo(string liveStreamId)
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="streamKey">The unique stream key that allows you to stream videos. (optional)</param>
/// <param name="name">You can filter live streams by their name or a part of their name. (optional)</param>
/// <param name="sortBy">Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional)</param>
/// <param name="sortBy">Enables you to sort live stream results. Allowed attributes: &#x60;name&#x60;, &#x60;createdAt&#x60;, &#x60;updatedAt&#x60;. &#x60;name&#x60; - the name of the live stream. &#x60;createdAt&#x60; - the time a live stream was created. &#x60;updatedAt&#x60; - the time a live stream was last updated. When using &#x60;createdAt&#x60; or &#x60;updatedAt&#x60;, the API sorts the results based on the ISO-8601 time format. (optional)</param>
/// <param name="sortOrder">Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional)</param>
/// <param name="currentPage">Choose the number of search results to return per page. Minimum value: 1 (optional, default to 1)</param>
/// <param name="pageSize">Results per page. Allowed values 1-100, default is 25. (optional, default to 25)</param>
Expand All @@ -364,7 +364,7 @@ public LiveStreamListResponse list(string streamKey = default, string name = def
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="streamKey">The unique stream key that allows you to stream videos. (optional)</param>
/// <param name="name">You can filter live streams by their name or a part of their name. (optional)</param>
/// <param name="sortBy">Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional)</param>
/// <param name="sortBy">Enables you to sort live stream results. Allowed attributes: &#x60;name&#x60;, &#x60;createdAt&#x60;, &#x60;updatedAt&#x60;. &#x60;name&#x60; - the name of the live stream. &#x60;createdAt&#x60; - the time a live stream was created. &#x60;updatedAt&#x60; - the time a live stream was last updated. When using &#x60;createdAt&#x60; or &#x60;updatedAt&#x60;, the API sorts the results based on the ISO-8601 time format. (optional)</param>
/// <param name="sortOrder">Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional)</param>
/// <param name="currentPage">Choose the number of search results to return per page. Minimum value: 1 (optional, default to 1)</param>
/// <param name="pageSize">Results per page. Allowed values 1-100, default is 25. (optional, default to 25)</param>
Expand Down Expand Up @@ -476,7 +476,7 @@ public class APIlistRequest {
/// <summary>
/// Set sortBy
/// </summary>
/// <param name="sortBy">Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional)</param>
/// <param name="sortBy">Enables you to sort live stream results. Allowed attributes: &#x60;name&#x60;, &#x60;createdAt&#x60;, &#x60;updatedAt&#x60;. &#x60;name&#x60; - the name of the live stream. &#x60;createdAt&#x60; - the time a live stream was created. &#x60;updatedAt&#x60; - the time a live stream was last updated. When using &#x60;createdAt&#x60; or &#x60;updatedAt&#x60;, the API sorts the results based on the ISO-8601 time format. (optional)</param>
/// <returns>APIlistRequest</returns>
public APIlistRequest SortBy(string sortBy) {
this.sortBy = sortBy;
Expand Down

0 comments on commit ca3bad4

Please sign in to comment.