Skip to content

Commit

Permalink
feat(VideoApi) implement removed feature
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainPetit1 committed Sep 4, 2024
1 parent 4aa5fdf commit 8b9776b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/api/VideosApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ NOTE: If you are updating an array, you must provide the entire array as what yo
sortOrder?: 'asc' | 'desc';
currentPage?: number;
pageSize?: number;
removed?: boolean;
} = {}
): Promise<VideosListResponse> {
return this.listWithResponseHeaders(args).then((res) => res.body);
Expand Down Expand Up @@ -938,6 +939,7 @@ NOTE: If you are updating an array, you must provide the entire array as what yo
sortOrder,
currentPage,
pageSize,
removed,
}: {
title?: string;
tags?: Array<string>;
Expand All @@ -948,6 +950,7 @@ NOTE: If you are updating an array, you must provide the entire array as what yo
sortOrder?: 'asc' | 'desc';
currentPage?: number;
pageSize?: number;
removed?: boolean;
} = {}): Promise<{ headers: ApiResponseHeaders; body: VideosListResponse }> {
const queryParams: QueryOptions = {};
queryParams.headers = {};
Expand Down Expand Up @@ -1037,6 +1040,12 @@ NOTE: If you are updating an array, you must provide the entire array as what yo
ObjectSerializer.serialize(pageSize, 'number', '')
);
}
if (removed !== undefined) {
urlSearchParams.append(
'removed',
ObjectSerializer.serialize(removed, 'boolean', '')
);
}

queryParams.searchParams = urlSearchParams;

Expand Down

0 comments on commit 8b9776b

Please sign in to comment.