From 0989a53fca56edf8cb1b59adf383a7e18006d939 Mon Sep 17 00:00:00 2001 From: olivierapivideo Date: Wed, 5 Jun 2024 07:42:37 +0000 Subject: [PATCH] [DO NOT MERGE] Add Watch Data endpoints to OpenAPI spec --- README.md | 106 +++-- api/openapi.yaml | 386 ++++-------------- docs/AnalyticsApi.md | 4 +- docs/LiveStreamSession.md | 21 - docs/LiveStreamSessionClient.md | 19 - docs/LiveStreamSessionDevice.md | 19 - docs/LiveStreamSessionLocation.md | 18 - docs/LiveStreamSessionReferrer.md | 19 - docs/LiveStreamSessionSession.md | 18 - docs/UnrecognizedRequestUrl.md | 18 + docs/VideoSession.md | 21 - docs/VideoSessionClient.md | 19 - docs/VideoSessionDevice.md | 19 - docs/VideoSessionLocation.md | 18 - docs/VideoSessionOs.md | 19 - docs/VideoSessionReferrer.md | 19 - docs/VideoSessionSession.md | 19 - .../api/client/api/clients/AnalyticsApi.java | 38 +- .../client/api/models/LiveStreamSession.java | 235 ----------- .../api/models/LiveStreamSessionClient.java | 149 ------- .../api/models/LiveStreamSessionDevice.java | 149 ------- .../api/models/LiveStreamSessionLocation.java | 122 ------ .../api/models/LiveStreamSessionReferrer.java | 176 -------- .../api/models/LiveStreamSessionSession.java | 149 ------- ...evice.java => UnrecognizedRequestUrl.java} | 75 ++-- .../api/client/api/models/VideoSession.java | 234 ----------- .../client/api/models/VideoSessionClient.java | 149 ------- .../api/models/VideoSessionLocation.java | 122 ------ .../api/client/api/models/VideoSessionOs.java | 149 ------- .../api/models/VideoSessionReferrer.java | 177 -------- .../api/models/VideoSessionSession.java | 189 --------- 31 files changed, 209 insertions(+), 2666 deletions(-) delete mode 100644 docs/LiveStreamSession.md delete mode 100644 docs/LiveStreamSessionClient.md delete mode 100644 docs/LiveStreamSessionDevice.md delete mode 100644 docs/LiveStreamSessionLocation.md delete mode 100644 docs/LiveStreamSessionReferrer.md delete mode 100644 docs/LiveStreamSessionSession.md create mode 100644 docs/UnrecognizedRequestUrl.md delete mode 100644 docs/VideoSession.md delete mode 100644 docs/VideoSessionClient.md delete mode 100644 docs/VideoSessionDevice.md delete mode 100644 docs/VideoSessionLocation.md delete mode 100644 docs/VideoSessionOs.md delete mode 100644 docs/VideoSessionReferrer.md delete mode 100644 docs/VideoSessionSession.md delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSession.java delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSessionClient.java delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSessionDevice.java delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSessionLocation.java delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSessionReferrer.java delete mode 100644 src/main/java/video/api/client/api/models/LiveStreamSessionSession.java rename src/main/java/video/api/client/api/models/{VideoSessionDevice.java => UnrecognizedRequestUrl.java} (53%) delete mode 100644 src/main/java/video/api/client/api/models/VideoSession.java delete mode 100644 src/main/java/video/api/client/api/models/VideoSessionClient.java delete mode 100644 src/main/java/video/api/client/api/models/VideoSessionLocation.java delete mode 100644 src/main/java/video/api/client/api/models/VideoSessionOs.java delete mode 100644 src/main/java/video/api/client/api/models/VideoSessionReferrer.java delete mode 100644 src/main/java/video/api/client/api/models/VideoSessionSession.java diff --git a/README.md b/README.md index a43df63..6c5af39 100644 --- a/README.md +++ b/README.md @@ -151,8 +151,8 @@ AnalyticsApi analytics = client.analytics() Method | HTTP request | Description ------------- | ------------- | ------------- -[**getLiveStreamsPlays**](https://github.com/apivideo/api.video-java-client/blob/main/docs/AnalyticsApi.md#getLiveStreamsPlays) | **GET** /analytics/live-streams/plays | Get play events for live stream -[**getVideosPlays**](https://github.com/apivideo/api.video-java-client/blob/main/docs/AnalyticsApi.md#getVideosPlays) | **GET** /analytics/videos/plays | Get play events for video +**(deprecated)** [**getLiveStreamsPlays**](https://github.com/apivideo/api.video-java-client/blob/main/docs/AnalyticsApi.md#getLiveStreamsPlays) | **GET** `/analytics/live-streams/plays` | Get play events for live stream +**(deprecated)** [**getVideosPlays**](https://github.com/apivideo/api.video-java-client/blob/main/docs/AnalyticsApi.md#getVideosPlays) | **GET** `/analytics/videos/plays` | Get play events for video ### CaptionsApi @@ -170,11 +170,11 @@ CaptionsApi captions = client.captions() Method | HTTP request | Description ------------- | ------------- | ------------- -[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#upload) | **POST** /videos/{videoId}/captions/{language} | Upload a caption -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#get) | **GET** /videos/{videoId}/captions/{language} | Retrieve a caption -[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#update) | **PATCH** /videos/{videoId}/captions/{language} | Update a caption -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#delete) | **DELETE** /videos/{videoId}/captions/{language} | Delete a caption -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#list) | **GET** /videos/{videoId}/captions | List video captions +[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#upload) | **POST** `/videos/{videoId}/captions/{language}` | Upload a caption +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#get) | **GET** `/videos/{videoId}/captions/{language}` | Retrieve a caption +[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#update) | **PATCH** `/videos/{videoId}/captions/{language}` | Update a caption +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#delete) | **DELETE** `/videos/{videoId}/captions/{language}` | Delete a caption +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/CaptionsApi.md#list) | **GET** `/videos/{videoId}/captions` | List video captions ### ChaptersApi @@ -192,10 +192,10 @@ ChaptersApi chapters = client.chapters() Method | HTTP request | Description ------------- | ------------- | ------------- -[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#upload) | **POST** /videos/{videoId}/chapters/{language} | Upload a chapter -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#get) | **GET** /videos/{videoId}/chapters/{language} | Retrieve a chapter -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#delete) | **DELETE** /videos/{videoId}/chapters/{language} | Delete a chapter -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#list) | **GET** /videos/{videoId}/chapters | List video chapters +[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#upload) | **POST** `/videos/{videoId}/chapters/{language}` | Upload a chapter +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#get) | **GET** `/videos/{videoId}/chapters/{language}` | Retrieve a chapter +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#delete) | **DELETE** `/videos/{videoId}/chapters/{language}` | Delete a chapter +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/ChaptersApi.md#list) | **GET** `/videos/{videoId}/chapters` | List video chapters ### LiveStreamsApi @@ -213,13 +213,13 @@ LiveStreamsApi liveStreams = client.liveStreams() Method | HTTP request | Description ------------- | ------------- | ------------- -[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#create) | **POST** /live-streams | Create live stream -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#get) | **GET** /live-streams/{liveStreamId} | Retrieve live stream -[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#update) | **PATCH** /live-streams/{liveStreamId} | Update a live stream -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#delete) | **DELETE** /live-streams/{liveStreamId} | Delete a live stream -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#list) | **GET** /live-streams | List all live streams -[**uploadThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#uploadThumbnail) | **POST** /live-streams/{liveStreamId}/thumbnail | Upload a thumbnail -[**deleteThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#deleteThumbnail) | **DELETE** /live-streams/{liveStreamId}/thumbnail | Delete a thumbnail +[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#create) | **POST** `/live-streams` | Create live stream +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#get) | **GET** `/live-streams/{liveStreamId}` | Retrieve live stream +[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#update) | **PATCH** `/live-streams/{liveStreamId}` | Update a live stream +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#delete) | **DELETE** `/live-streams/{liveStreamId}` | Delete a live stream +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#list) | **GET** `/live-streams` | List all live streams +[**uploadThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#uploadThumbnail) | **POST** `/live-streams/{liveStreamId}/thumbnail` | Upload a thumbnail +[**deleteThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamsApi.md#deleteThumbnail) | **DELETE** `/live-streams/{liveStreamId}/thumbnail` | Delete a thumbnail ### PlayerThemesApi @@ -237,13 +237,13 @@ PlayerThemesApi playerThemes = client.playerThemes() Method | HTTP request | Description ------------- | ------------- | ------------- -[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#create) | **POST** /players | Create a player -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#get) | **GET** /players/{playerId} | Retrieve a player -[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#update) | **PATCH** /players/{playerId} | Update a player -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#delete) | **DELETE** /players/{playerId} | Delete a player -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#list) | **GET** /players | List all player themes -[**uploadLogo**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#uploadLogo) | **POST** /players/{playerId}/logo | Upload a logo -[**deleteLogo**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#deleteLogo) | **DELETE** /players/{playerId}/logo | Delete logo +[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#create) | **POST** `/players` | Create a player +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#get) | **GET** `/players/{playerId}` | Retrieve a player +[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#update) | **PATCH** `/players/{playerId}` | Update a player +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#delete) | **DELETE** `/players/{playerId}` | Delete a player +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#list) | **GET** `/players` | List all player themes +[**uploadLogo**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#uploadLogo) | **POST** `/players/{playerId}/logo` | Upload a logo +[**deleteLogo**](https://github.com/apivideo/api.video-java-client/blob/main/docs/PlayerThemesApi.md#deleteLogo) | **DELETE** `/players/{playerId}/logo` | Delete logo ### UploadTokensApi @@ -261,10 +261,10 @@ UploadTokensApi uploadTokens = client.uploadTokens() Method | HTTP request | Description ------------- | ------------- | ------------- -[**createToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#createToken) | **POST** /upload-tokens | Generate an upload token -[**getToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#getToken) | **GET** /upload-tokens/{uploadToken} | Retrieve upload token -[**deleteToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#deleteToken) | **DELETE** /upload-tokens/{uploadToken} | Delete an upload token -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#list) | **GET** /upload-tokens | List all active upload tokens +[**createToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#createToken) | **POST** `/upload-tokens` | Generate an upload token +[**getToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#getToken) | **GET** `/upload-tokens/{uploadToken}` | Retrieve upload token +[**deleteToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#deleteToken) | **DELETE** `/upload-tokens/{uploadToken}` | Delete an upload token +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadTokensApi.md#list) | **GET** `/upload-tokens` | List all active upload tokens ### VideosApi @@ -282,16 +282,16 @@ VideosApi videos = client.videos() Method | HTTP request | Description ------------- | ------------- | ------------- -[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#create) | **POST** /videos | Create a video object -[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#upload) | **POST** /videos/{videoId}/source | Upload a video -[**uploadWithUploadToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#uploadWithUploadToken) | **POST** /upload | Upload with an delegated upload token -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#get) | **GET** /videos/{videoId} | Retrieve a video object -[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#update) | **PATCH** /videos/{videoId} | Update a video object -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#delete) | **DELETE** /videos/{videoId} | Delete a video object -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#list) | **GET** /videos | List all video objects -[**uploadThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#uploadThumbnail) | **POST** /videos/{videoId}/thumbnail | Upload a thumbnail -[**pickThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#pickThumbnail) | **PATCH** /videos/{videoId}/thumbnail | Set a thumbnail -[**getStatus**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#getStatus) | **GET** /videos/{videoId}/status | Retrieve video status and details +[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#create) | **POST** `/videos` | Create a video object +[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#upload) | **POST** `/videos/{videoId}/source` | Upload a video +[**uploadWithUploadToken**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#uploadWithUploadToken) | **POST** `/upload` | Upload with an delegated upload token +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#get) | **GET** `/videos/{videoId}` | Retrieve a video object +[**update**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#update) | **PATCH** `/videos/{videoId}` | Update a video object +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#delete) | **DELETE** `/videos/{videoId}` | Delete a video object +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#list) | **GET** `/videos` | List all video objects +[**uploadThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#uploadThumbnail) | **POST** `/videos/{videoId}/thumbnail` | Upload a thumbnail +[**pickThumbnail**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#pickThumbnail) | **PATCH** `/videos/{videoId}/thumbnail` | Set a thumbnail +[**getStatus**](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideosApi.md#getStatus) | **GET** `/videos/{videoId}/status` | Retrieve video status and details ### WatermarksApi @@ -309,9 +309,9 @@ WatermarksApi watermarks = client.watermarks() Method | HTTP request | Description ------------- | ------------- | ------------- -[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#upload) | **POST** /watermarks | Upload a watermark -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#delete) | **DELETE** /watermarks/{watermarkId} | Delete a watermark -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#list) | **GET** /watermarks | List all watermarks +[**upload**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#upload) | **POST** `/watermarks` | Upload a watermark +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#delete) | **DELETE** `/watermarks/{watermarkId}` | Delete a watermark +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WatermarksApi.md#list) | **GET** `/watermarks` | List all watermarks ### WebhooksApi @@ -329,10 +329,10 @@ WebhooksApi webhooks = client.webhooks() Method | HTTP request | Description ------------- | ------------- | ------------- -[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#create) | **POST** /webhooks | Create Webhook -[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#get) | **GET** /webhooks/{webhookId} | Retrieve Webhook details -[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#delete) | **DELETE** /webhooks/{webhookId} | Delete a Webhook -[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#list) | **GET** /webhooks | List all webhooks +[**create**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#create) | **POST** `/webhooks` | Create Webhook +[**get**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#get) | **GET** `/webhooks/{webhookId}` | Retrieve Webhook details +[**delete**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#delete) | **DELETE** `/webhooks/{webhookId}` | Delete a Webhook +[**list**](https://github.com/apivideo/api.video-java-client/blob/main/docs/WebhooksApi.md#list) | **GET** `/webhooks` | List all webhooks @@ -356,12 +356,6 @@ Method | HTTP request | Description - [LiveStreamAssets](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamAssets.md) - [LiveStreamCreationPayload](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamCreationPayload.md) - [LiveStreamListResponse](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamListResponse.md) - - [LiveStreamSession](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSession.md) - - [LiveStreamSessionClient](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSessionClient.md) - - [LiveStreamSessionDevice](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSessionDevice.md) - - [LiveStreamSessionLocation](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSessionLocation.md) - - [LiveStreamSessionReferrer](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSessionReferrer.md) - - [LiveStreamSessionSession](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamSessionSession.md) - [LiveStreamUpdatePayload](https://github.com/apivideo/api.video-java-client/blob/main/docs/LiveStreamUpdatePayload.md) - [Metadata](https://github.com/apivideo/api.video-java-client/blob/main/docs/Metadata.md) - [Model403ErrorSchema](https://github.com/apivideo/api.video-java-client/blob/main/docs/Model403ErrorSchema.md) @@ -381,18 +375,12 @@ Method | HTTP request | Description - [TokenCreationPayload](https://github.com/apivideo/api.video-java-client/blob/main/docs/TokenCreationPayload.md) - [TokenListResponse](https://github.com/apivideo/api.video-java-client/blob/main/docs/TokenListResponse.md) - [TooManyRequests](https://github.com/apivideo/api.video-java-client/blob/main/docs/TooManyRequests.md) + - [UnrecognizedRequestUrl](https://github.com/apivideo/api.video-java-client/blob/main/docs/UnrecognizedRequestUrl.md) - [UploadToken](https://github.com/apivideo/api.video-java-client/blob/main/docs/UploadToken.md) - [Video](https://github.com/apivideo/api.video-java-client/blob/main/docs/Video.md) - [VideoAssets](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoAssets.md) - [VideoClip](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoClip.md) - [VideoCreationPayload](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoCreationPayload.md) - - [VideoSession](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSession.md) - - [VideoSessionClient](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionClient.md) - - [VideoSessionDevice](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionDevice.md) - - [VideoSessionLocation](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionLocation.md) - - [VideoSessionOs](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionOs.md) - - [VideoSessionReferrer](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionReferrer.md) - - [VideoSessionSession](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSessionSession.md) - [VideoSource](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSource.md) - [VideoSourceLiveStream](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSourceLiveStream.md) - [VideoSourceLiveStreamLink](https://github.com/apivideo/api.video-java-client/blob/main/docs/VideoSourceLiveStreamLink.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 0c4c208..98c49e9 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -453,7 +453,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -735,7 +735,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1145,7 +1145,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1515,7 +1515,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1673,7 +1673,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1936,7 +1936,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2125,7 +2125,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2425,7 +2425,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2643,7 +2643,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2876,7 +2876,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3171,7 +3171,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3482,7 +3482,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3747,7 +3747,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3993,7 +3993,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4193,7 +4193,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4419,7 +4419,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4692,7 +4692,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4961,7 +4961,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5282,7 +5282,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5480,7 +5480,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5673,7 +5673,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5971,7 +5971,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6257,7 +6257,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6500,7 +6500,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6796,7 +6796,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7096,7 +7096,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7419,7 +7419,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7725,7 +7725,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8021,7 +8021,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8267,7 +8267,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8506,7 +8506,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8786,7 +8786,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9073,7 +9073,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9418,7 +9418,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9654,7 +9654,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9941,7 +9941,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10183,7 +10183,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10411,7 +10411,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10686,7 +10686,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10951,7 +10951,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -11121,8 +11121,11 @@ paths: x-accepts: application/json /analytics/videos/plays: get: - description: Retrieve filtered analytics about the number of plays for your - videos in a project. + deprecated: true + description: | + Retrieve filtered analytics about the number of plays for your videos in a project. + + This endpoint will be deprecated with the release of Analytics v2.0. operationId: GET_analytics-videos-plays parameters: - description: | @@ -11464,7 +11467,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -11804,8 +11807,11 @@ paths: x-accepts: application/json /analytics/live-streams/plays: get: - description: Retrieve filtered analytics about the number of plays for your - live streams in a project. + deprecated: true + description: | + Retrieve filtered analytics about the number of plays for your live streams in a project. + + This endpoint will be deprecated with the release of Analytics v2.0. operationId: GET_analytics-live-streams-plays parameters: - description: | @@ -12145,7 +12151,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -12579,7 +12585,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -12839,7 +12845,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -13072,7 +13078,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -13266,7 +13272,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -14063,47 +14069,6 @@ components: type: boolean title: Caption type: object - video-session: - example: - session: - sessionId: psEmFwGQUAXR2lFHj5nDOpy - loadedAt: 2019-06-24T11:45:01.109Z - endedAt: 2019-06-24T11:49:19.243Z - location: - country: France - city: Paris - referrer: - url: https://api.video - medium: organic - source: https://google.com - searchTerm: video encoding hosting and delivery - device: - type: desktop - vendor: Dell - model: unknown - os: - name: Microsoft Windows - shortname: W10 - version: Windows10 - client: - type: browser - name: Firefox - version: "67.0" - properties: - session: - $ref: '#/components/schemas/video-session-session' - location: - $ref: '#/components/schemas/video-session-location' - referrer: - $ref: '#/components/schemas/video-session-referrer' - device: - $ref: '#/components/schemas/video-session-device' - os: - $ref: '#/components/schemas/video-session-os' - client: - $ref: '#/components/schemas/video-session-client' - title: VideoSession - type: object live-stream: example: streamKey: dw-dew8-q6w9-k67w-1ws8 @@ -14179,22 +14144,6 @@ components: - restreams title: LiveStream type: object - live-stream-session: - properties: - session: - $ref: '#/components/schemas/live-stream-session-session' - location: - $ref: '#/components/schemas/live-stream-session-location' - referrer: - $ref: '#/components/schemas/live-stream-session-referrer' - device: - $ref: '#/components/schemas/live-stream-session-device' - os: - $ref: '#/components/schemas/video-session-os' - client: - $ref: '#/components/schemas/live-stream-session-client' - title: LiveStreamSession - type: object player-session-event: properties: type: @@ -15232,6 +15181,19 @@ components: description: The name of the parameter that caused the error. type: string type: object + unrecognized-request-url: + properties: + type: + description: A link to the error documentation. + type: string + title: + description: A description of the error that occurred. + type: string + status: + description: The HTTP status code. + type: integer + title: Unrecognized request URL + type: object webhooks-list-response: example: pagination: @@ -15441,124 +15403,6 @@ components: type: string title: VideoAssets type: object - video-session-session: - properties: - sessionId: - description: The unique identifier for the session that you can use to track - what happens during it. - example: psEmFwGQUAXR2lFHj5nDOpy - type: string - loadedAt: - description: When the video session started, presented in ISO-8601 format. - example: 2019-06-24T11:45:01.109Z - format: date-time - type: string - endedAt: - description: When the video session ended, presented in ISO-8601 format. - example: 2019-06-24T12:45:01.109Z - format: date-time - type: string - metadata: - description: A list of key value pairs that you use to provide metadata - for your video. These pairs can be made dynamic, allowing you to segment - your audience. You can also just use the pairs as another way to tag and - categorize your videos. - example: '[{"key": "Author", "value": "John Doe"}]' - items: - $ref: '#/components/schemas/metadata' - type: array - title: VideoSessionSession - type: object - video-session-location: - description: The location of the viewer. - properties: - country: - description: The country of the viewer. - example: France - type: string - city: - description: The city of the viewer. - example: Paris - nullable: true - type: string - title: VideoSessionLocation - type: object - video-session-referrer: - properties: - url: - description: The link the viewer used to reach the video session. - example: https://api.video - nullable: true - type: string - medium: - description: How they arrived at the site, for example organic or paid. - Organic meaning they found it themselves and paid meaning they followed - a link from an advertisement. - example: organic - type: string - source: - description: The source the referrer came from to the video session. For - example if they searched through google to find the stream. - example: https://google.com - type: string - searchTerm: - description: The search term they typed to arrive at the video session. - type: string - title: VideoSessionReferrer - type: object - video-session-device: - description: What type of device the user is on when in the video session. - properties: - type: - description: What the type is like desktop, laptop, mobile. - example: desktop - type: string - vendor: - description: If known, what the brand of the device is, like Apple, Dell, - etc. - example: Dell - type: string - model: - description: The specific model of the device, if known. - example: unknown - type: string - title: VideoSessionDevice - type: object - video-session-os: - description: The operating system the viewer is on. - properties: - name: - description: The name of the operating system. - example: Microsoft Windows - type: string - shortname: - description: The nickname for the operating system, often representing the - version. - example: W10 - type: string - version: - description: The version of the operating system. - example: Windows 10 - type: string - title: VideoSessionOs - type: object - video-session-client: - description: What kind of browser the viewer is using for the video session. - properties: - name: - description: The name of the browser used to view the video session. - example: Firefox - type: string - version: - description: The version of the browser used to view the video session. - example: "67.0" - type: string - type: - description: The type of client used to view the video session. - example: browser - type: string - title: VideoSessionClient - type: object live-stream-assets: example: thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg @@ -15589,98 +15433,6 @@ components: type: string title: LiveStreamAssets type: object - live-stream-session-session: - properties: - sessionId: - description: A unique identifier for your session. You can use this to track - what happens during a specific session. - type: string - loadedAt: - description: When the session started, with the date and time presented - in ISO-8601 format. - example: 2019-06-24T11:45:01.109Z - format: date-time - type: string - endedAt: - description: When the session ended, with the date and time presented in - ISO-8601 format. - example: 2019-06-24T12:45:01.109Z - format: date-time - type: string - title: LiveStreamSessionSession - type: object - live-stream-session-location: - description: The location of the viewer of the live stream. - properties: - country: - description: The country of the viewer of the live stream. - example: France - type: string - city: - description: The city of the viewer of the live stream. - example: Paris - type: string - title: LiveStreamSessionLocation - type: object - live-stream-session-referrer: - properties: - url: - description: The website the viewer of the live stream was referred to in - order to view the live stream. - example: https://api.video - type: string - medium: - description: The type of search that brought the viewer to the live stream. - Organic would be they found it on their own, paid would be they found - it via an advertisement. - example: organic - type: string - source: - description: Where the viewer came from to see the live stream (usually - where they searched from). - example: https://google.com - type: string - searchTerm: - description: What term they searched for that led them to the live stream. - example: video stream - type: string - title: LiveStreamSessionReferrer - type: object - live-stream-session-device: - description: What type of device the user is on when in the live stream session. - properties: - type: - description: What the type is like desktop, laptop, mobile. - example: desktop - type: string - vendor: - description: If known, what the brand of the device is, like Apple, Dell, - etc. - example: Dell - type: string - model: - description: The specific model of the device, if known. - example: unknown - type: string - title: LiveStreamSessionDevice - type: object - live-stream-session-client: - description: What kind of browser the viewer is using for the live stream session. - properties: - name: - description: The name of the browser used to view the live stream session. - example: Firefox - type: string - version: - description: The version of the browser used to view the live stream session. - example: "67.0" - type: string - type: - description: The type of client used to view the live stream session. - example: browser - type: string - title: LiveStreamSessionClient - type: object video-status-ingest: description: Details about the capturing, transferring, and storing of your video for use immediately or in the future. diff --git a/docs/AnalyticsApi.md b/docs/AnalyticsApi.md index 97f7823..873ac29 100644 --- a/docs/AnalyticsApi.md +++ b/docs/AnalyticsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description Get play events for live stream -Retrieve filtered analytics about the number of plays for your live streams in a project. +Retrieve filtered analytics about the number of plays for your live streams in a project. This endpoint will be deprecated with the release of Analytics v2.0. ### Example ```java @@ -103,7 +103,7 @@ Name | Type | Description | Notes Get play events for video -Retrieve filtered analytics about the number of plays for your videos in a project. +Retrieve filtered analytics about the number of plays for your videos in a project. This endpoint will be deprecated with the release of Analytics v2.0. ### Example ```java diff --git a/docs/LiveStreamSession.md b/docs/LiveStreamSession.md deleted file mode 100644 index 476b07b..0000000 --- a/docs/LiveStreamSession.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# LiveStreamSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**session** | [**LiveStreamSessionSession**](LiveStreamSessionSession.md) | | [optional] -**location** | [**LiveStreamSessionLocation**](LiveStreamSessionLocation.md) | | [optional] -**referrer** | [**LiveStreamSessionReferrer**](LiveStreamSessionReferrer.md) | | [optional] -**device** | [**LiveStreamSessionDevice**](LiveStreamSessionDevice.md) | | [optional] -**os** | [**VideoSessionOs**](VideoSessionOs.md) | | [optional] -**client** | [**LiveStreamSessionClient**](LiveStreamSessionClient.md) | | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/LiveStreamSessionClient.md b/docs/LiveStreamSessionClient.md deleted file mode 100644 index e0ab9a3..0000000 --- a/docs/LiveStreamSessionClient.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# LiveStreamSessionClient - -What kind of browser the viewer is using for the live stream session. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the browser used to view the live stream session. | [optional] -**version** | **String** | The version of the browser used to view the live stream session. | [optional] -**type** | **String** | The type of client used to view the live stream session. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/LiveStreamSessionDevice.md b/docs/LiveStreamSessionDevice.md deleted file mode 100644 index 915a4cd..0000000 --- a/docs/LiveStreamSessionDevice.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# LiveStreamSessionDevice - -What type of device the user is on when in the live stream session. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **String** | What the type is like desktop, laptop, mobile. | [optional] -**vendor** | **String** | If known, what the brand of the device is, like Apple, Dell, etc. | [optional] -**model** | **String** | The specific model of the device, if known. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/LiveStreamSessionLocation.md b/docs/LiveStreamSessionLocation.md deleted file mode 100644 index fe1b3e2..0000000 --- a/docs/LiveStreamSessionLocation.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# LiveStreamSessionLocation - -The location of the viewer of the live stream. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**country** | **String** | The country of the viewer of the live stream. | [optional] -**city** | **String** | The city of the viewer of the live stream. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/LiveStreamSessionReferrer.md b/docs/LiveStreamSessionReferrer.md deleted file mode 100644 index 6e4767c..0000000 --- a/docs/LiveStreamSessionReferrer.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# LiveStreamSessionReferrer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **String** | The website the viewer of the live stream was referred to in order to view the live stream. | [optional] -**medium** | **String** | The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement. | [optional] -**source** | **String** | Where the viewer came from to see the live stream (usually where they searched from). | [optional] -**searchTerm** | **String** | What term they searched for that led them to the live stream. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/LiveStreamSessionSession.md b/docs/LiveStreamSessionSession.md deleted file mode 100644 index d213e79..0000000 --- a/docs/LiveStreamSessionSession.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# LiveStreamSessionSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sessionId** | **String** | A unique identifier for your session. You can use this to track what happens during a specific session. | [optional] -**loadedAt** | **OffsetDateTime** | When the session started, with the date and time presented in ISO-8601 format. | [optional] -**endedAt** | **OffsetDateTime** | When the session ended, with the date and time presented in ISO-8601 format. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/UnrecognizedRequestUrl.md b/docs/UnrecognizedRequestUrl.md new file mode 100644 index 0000000..1f08819 --- /dev/null +++ b/docs/UnrecognizedRequestUrl.md @@ -0,0 +1,18 @@ + + +# UnrecognizedRequestUrl + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | A link to the error documentation. | [optional] +**title** | **String** | A description of the error that occurred. | [optional] +**status** | **Integer** | The HTTP status code. | [optional] + + +## Implemented Interfaces + +* Serializable + + diff --git a/docs/VideoSession.md b/docs/VideoSession.md deleted file mode 100644 index 1bdfeec..0000000 --- a/docs/VideoSession.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# VideoSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**session** | [**VideoSessionSession**](VideoSessionSession.md) | | [optional] -**location** | [**VideoSessionLocation**](VideoSessionLocation.md) | | [optional] -**referrer** | [**VideoSessionReferrer**](VideoSessionReferrer.md) | | [optional] -**device** | [**VideoSessionDevice**](VideoSessionDevice.md) | | [optional] -**os** | [**VideoSessionOs**](VideoSessionOs.md) | | [optional] -**client** | [**VideoSessionClient**](VideoSessionClient.md) | | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionClient.md b/docs/VideoSessionClient.md deleted file mode 100644 index 3b69cfd..0000000 --- a/docs/VideoSessionClient.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# VideoSessionClient - -What kind of browser the viewer is using for the video session. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the browser used to view the video session. | [optional] -**version** | **String** | The version of the browser used to view the video session. | [optional] -**type** | **String** | The type of client used to view the video session. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionDevice.md b/docs/VideoSessionDevice.md deleted file mode 100644 index 2064211..0000000 --- a/docs/VideoSessionDevice.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# VideoSessionDevice - -What type of device the user is on when in the video session. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **String** | What the type is like desktop, laptop, mobile. | [optional] -**vendor** | **String** | If known, what the brand of the device is, like Apple, Dell, etc. | [optional] -**model** | **String** | The specific model of the device, if known. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionLocation.md b/docs/VideoSessionLocation.md deleted file mode 100644 index e40e243..0000000 --- a/docs/VideoSessionLocation.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# VideoSessionLocation - -The location of the viewer. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**country** | **String** | The country of the viewer. | [optional] -**city** | **String** | The city of the viewer. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionOs.md b/docs/VideoSessionOs.md deleted file mode 100644 index c948c2e..0000000 --- a/docs/VideoSessionOs.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# VideoSessionOs - -The operating system the viewer is on. -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the operating system. | [optional] -**shortname** | **String** | The nickname for the operating system, often representing the version. | [optional] -**version** | **String** | The version of the operating system. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionReferrer.md b/docs/VideoSessionReferrer.md deleted file mode 100644 index eb4784e..0000000 --- a/docs/VideoSessionReferrer.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# VideoSessionReferrer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **String** | The link the viewer used to reach the video session. | [optional] -**medium** | **String** | How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement. | [optional] -**source** | **String** | The source the referrer came from to the video session. For example if they searched through google to find the stream. | [optional] -**searchTerm** | **String** | The search term they typed to arrive at the video session. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/docs/VideoSessionSession.md b/docs/VideoSessionSession.md deleted file mode 100644 index dfb58ea..0000000 --- a/docs/VideoSessionSession.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# VideoSessionSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sessionId** | **String** | The unique identifier for the session that you can use to track what happens during it. | [optional] -**loadedAt** | **OffsetDateTime** | When the video session started, presented in ISO-8601 format. | [optional] -**endedAt** | **OffsetDateTime** | When the video session ended, presented in ISO-8601 format. | [optional] -**metadata** | [**List<Metadata>**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. | [optional] - - -## Implemented Interfaces - -* Serializable - - diff --git a/src/main/java/video/api/client/api/clients/AnalyticsApi.java b/src/main/java/video/api/client/api/clients/AnalyticsApi.java index 585a796..0428884 100644 --- a/src/main/java/video/api/client/api/clients/AnalyticsApi.java +++ b/src/main/java/video/api/client/api/clients/AnalyticsApi.java @@ -151,6 +151,7 @@ private okhttp3.Call getLiveStreamsPlaysCall(LocalDate from, String dimension, L localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, _callback); } + @Deprecated @SuppressWarnings("rawtypes") private okhttp3.Call getLiveStreamsPlaysValidateBeforeCall(LocalDate from, String dimension, LocalDate to, String filter, Integer currentPage, Integer pageSize, final ApiCallback _callback) throws ApiException { @@ -330,7 +331,10 @@ public APIgetLiveStreamsPlaysRequest pageSize(Integer pageSize) { * * * + * + * @deprecated */ + @Deprecated public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return getLiveStreamsPlaysCall(from, dimension, to, filter, currentPage, pageSize, _callback); } @@ -401,7 +405,10 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { * * * + * + * @deprecated */ + @Deprecated public Page execute() throws ApiException { ApiResponse localVarResp = getLiveStreamsPlaysWithHttpInfo(from, dimension, to, filter, currentPage, pageSize); @@ -489,7 +496,10 @@ private APIgetLiveStreamsPlaysRequest copy() { * * * + * + * @deprecated */ + @Deprecated public ApiResponse executeWithHttpInfo() throws ApiException { return getLiveStreamsPlaysWithHttpInfo(from, dimension, to, filter, currentPage, pageSize); } @@ -563,7 +573,10 @@ public ApiResponse executeWithHttpInfo() throws ApiExcep * * * + * + * @deprecated */ + @Deprecated public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { ApiCallback apiCallback = new ApiCallback() { @@ -601,7 +614,8 @@ public void onDownloadProgress(long bytesRead, long contentLength, boolean done) /** * Get play events for live stream * - * Retrieve filtered analytics about the number of plays for your live streams in a project. + * Retrieve filtered analytics about the number of plays for your live streams in a project. This endpoint will be + * deprecated with the release of Analytics v2.0. * * @param from * Use this query parameter to set the start date for the time period that you want analytics for. - The @@ -686,7 +700,10 @@ public void onDownloadProgress(long bytesRead, long contentLength, boolean done) * * * + * + * @deprecated */ + @Deprecated public APIgetLiveStreamsPlaysRequest getLiveStreamsPlays(LocalDate from, String dimension) { return new APIgetLiveStreamsPlaysRequest(from, dimension); } @@ -744,6 +761,7 @@ private okhttp3.Call getVideosPlaysCall(LocalDate from, String dimension, LocalD localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, _callback); } + @Deprecated @SuppressWarnings("rawtypes") private okhttp3.Call getVideosPlaysValidateBeforeCall(LocalDate from, String dimension, LocalDate to, String filter, Integer currentPage, Integer pageSize, final ApiCallback _callback) throws ApiException { @@ -921,7 +939,10 @@ public APIgetVideosPlaysRequest pageSize(Integer pageSize) { * * * + * + * @deprecated */ + @Deprecated public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return getVideosPlaysCall(from, dimension, to, filter, currentPage, pageSize, _callback); } @@ -992,7 +1013,10 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { * * * + * + * @deprecated */ + @Deprecated public Page execute() throws ApiException { ApiResponse localVarResp = getVideosPlaysWithHttpInfo(from, dimension, to, filter, currentPage, pageSize); @@ -1080,7 +1104,10 @@ private APIgetVideosPlaysRequest copy() { * * * + * + * @deprecated */ + @Deprecated public ApiResponse executeWithHttpInfo() throws ApiException { return getVideosPlaysWithHttpInfo(from, dimension, to, filter, currentPage, pageSize); } @@ -1154,7 +1181,10 @@ public ApiResponse executeWithHttpInfo() throws ApiExcep * * * + * + * @deprecated */ + @Deprecated public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { ApiCallback apiCallback = new ApiCallback() { @@ -1192,7 +1222,8 @@ public void onDownloadProgress(long bytesRead, long contentLength, boolean done) /** * Get play events for video * - * Retrieve filtered analytics about the number of plays for your videos in a project. + * Retrieve filtered analytics about the number of plays for your videos in a project. This endpoint will be + * deprecated with the release of Analytics v2.0. * * @param from * Use this query parameter to set the start date for the time period that you want analytics for. - The @@ -1276,7 +1307,10 @@ public void onDownloadProgress(long bytesRead, long contentLength, boolean done) * * * + * + * @deprecated */ + @Deprecated public APIgetVideosPlaysRequest getVideosPlays(LocalDate from, String dimension) { return new APIgetVideosPlaysRequest(from, dimension); } diff --git a/src/main/java/video/api/client/api/models/LiveStreamSession.java b/src/main/java/video/api/client/api/models/LiveStreamSession.java deleted file mode 100644 index 03c6a76..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSession.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import video.api.client.api.models.LiveStreamSessionClient; -import video.api.client.api.models.LiveStreamSessionDevice; -import video.api.client.api.models.LiveStreamSessionLocation; -import video.api.client.api.models.LiveStreamSessionReferrer; -import video.api.client.api.models.LiveStreamSessionSession; -import video.api.client.api.models.VideoSessionOs; -import java.io.Serializable; - -/** - * LiveStreamSession - */ - -public class LiveStreamSession implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_SESSION = "session"; - @SerializedName(SERIALIZED_NAME_SESSION) - private LiveStreamSessionSession session; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private LiveStreamSessionLocation location; - - public static final String SERIALIZED_NAME_REFERRER = "referrer"; - @SerializedName(SERIALIZED_NAME_REFERRER) - private LiveStreamSessionReferrer referrer; - - public static final String SERIALIZED_NAME_DEVICE = "device"; - @SerializedName(SERIALIZED_NAME_DEVICE) - private LiveStreamSessionDevice device; - - public static final String SERIALIZED_NAME_OS = "os"; - @SerializedName(SERIALIZED_NAME_OS) - private VideoSessionOs os; - - public static final String SERIALIZED_NAME_CLIENT = "client"; - @SerializedName(SERIALIZED_NAME_CLIENT) - private LiveStreamSessionClient client; - - public LiveStreamSession session(LiveStreamSessionSession session) { - this.session = session; - return this; - } - - /** - * Get session - * - * @return session - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LiveStreamSessionSession getSession() { - return session; - } - - public void setSession(LiveStreamSessionSession session) { - this.session = session; - } - - public LiveStreamSession location(LiveStreamSessionLocation location) { - this.location = location; - return this; - } - - /** - * Get location - * - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LiveStreamSessionLocation getLocation() { - return location; - } - - public void setLocation(LiveStreamSessionLocation location) { - this.location = location; - } - - public LiveStreamSession referrer(LiveStreamSessionReferrer referrer) { - this.referrer = referrer; - return this; - } - - /** - * Get referrer - * - * @return referrer - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LiveStreamSessionReferrer getReferrer() { - return referrer; - } - - public void setReferrer(LiveStreamSessionReferrer referrer) { - this.referrer = referrer; - } - - public LiveStreamSession device(LiveStreamSessionDevice device) { - this.device = device; - return this; - } - - /** - * Get device - * - * @return device - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LiveStreamSessionDevice getDevice() { - return device; - } - - public void setDevice(LiveStreamSessionDevice device) { - this.device = device; - } - - public LiveStreamSession os(VideoSessionOs os) { - this.os = os; - return this; - } - - /** - * Get os - * - * @return os - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionOs getOs() { - return os; - } - - public void setOs(VideoSessionOs os) { - this.os = os; - } - - public LiveStreamSession client(LiveStreamSessionClient client) { - this.client = client; - return this; - } - - /** - * Get client - * - * @return client - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LiveStreamSessionClient getClient() { - return client; - } - - public void setClient(LiveStreamSessionClient client) { - this.client = client; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSession liveStreamSession = (LiveStreamSession) o; - return Objects.equals(this.session, liveStreamSession.session) - && Objects.equals(this.location, liveStreamSession.location) - && Objects.equals(this.referrer, liveStreamSession.referrer) - && Objects.equals(this.device, liveStreamSession.device) - && Objects.equals(this.os, liveStreamSession.os) - && Objects.equals(this.client, liveStreamSession.client); - } - - @Override - public int hashCode() { - return Objects.hash(session, location, referrer, device, os, client); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSession {\n"); - sb.append(" session: ").append(toIndentedString(session)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" referrer: ").append(toIndentedString(referrer)).append("\n"); - sb.append(" device: ").append(toIndentedString(device)).append("\n"); - sb.append(" os: ").append(toIndentedString(os)).append("\n"); - sb.append(" client: ").append(toIndentedString(client)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/LiveStreamSessionClient.java b/src/main/java/video/api/client/api/models/LiveStreamSessionClient.java deleted file mode 100644 index 393495e..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSessionClient.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * What kind of browser the viewer is using for the live stream session. - */ -@ApiModel(description = "What kind of browser the viewer is using for the live stream session.") - -public class LiveStreamSessionClient implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private String version; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public LiveStreamSessionClient name(String name) { - this.name = name; - return this; - } - - /** - * The name of the browser used to view the live stream session. - * - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Firefox", value = "The name of the browser used to view the live stream session.") - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public LiveStreamSessionClient version(String version) { - this.version = version; - return this; - } - - /** - * The version of the browser used to view the live stream session. - * - * @return version - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "67.0", value = "The version of the browser used to view the live stream session.") - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public LiveStreamSessionClient type(String type) { - this.type = type; - return this; - } - - /** - * The type of client used to view the live stream session. - * - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "browser", value = "The type of client used to view the live stream session.") - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSessionClient liveStreamSessionClient = (LiveStreamSessionClient) o; - return Objects.equals(this.name, liveStreamSessionClient.name) - && Objects.equals(this.version, liveStreamSessionClient.version) - && Objects.equals(this.type, liveStreamSessionClient.type); - } - - @Override - public int hashCode() { - return Objects.hash(name, version, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSessionClient {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/LiveStreamSessionDevice.java b/src/main/java/video/api/client/api/models/LiveStreamSessionDevice.java deleted file mode 100644 index a88ce0d..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSessionDevice.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * What type of device the user is on when in the live stream session. - */ -@ApiModel(description = "What type of device the user is on when in the live stream session.") - -public class LiveStreamSessionDevice implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public static final String SERIALIZED_NAME_VENDOR = "vendor"; - @SerializedName(SERIALIZED_NAME_VENDOR) - private String vendor; - - public static final String SERIALIZED_NAME_MODEL = "model"; - @SerializedName(SERIALIZED_NAME_MODEL) - private String model; - - public LiveStreamSessionDevice type(String type) { - this.type = type; - return this; - } - - /** - * What the type is like desktop, laptop, mobile. - * - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "desktop", value = "What the type is like desktop, laptop, mobile.") - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public LiveStreamSessionDevice vendor(String vendor) { - this.vendor = vendor; - return this; - } - - /** - * If known, what the brand of the device is, like Apple, Dell, etc. - * - * @return vendor - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Dell", value = "If known, what the brand of the device is, like Apple, Dell, etc.") - - public String getVendor() { - return vendor; - } - - public void setVendor(String vendor) { - this.vendor = vendor; - } - - public LiveStreamSessionDevice model(String model) { - this.model = model; - return this; - } - - /** - * The specific model of the device, if known. - * - * @return model - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "unknown", value = "The specific model of the device, if known.") - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSessionDevice liveStreamSessionDevice = (LiveStreamSessionDevice) o; - return Objects.equals(this.type, liveStreamSessionDevice.type) - && Objects.equals(this.vendor, liveStreamSessionDevice.vendor) - && Objects.equals(this.model, liveStreamSessionDevice.model); - } - - @Override - public int hashCode() { - return Objects.hash(type, vendor, model); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSessionDevice {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" vendor: ").append(toIndentedString(vendor)).append("\n"); - sb.append(" model: ").append(toIndentedString(model)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/LiveStreamSessionLocation.java b/src/main/java/video/api/client/api/models/LiveStreamSessionLocation.java deleted file mode 100644 index 33812c4..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSessionLocation.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * The location of the viewer of the live stream. - */ -@ApiModel(description = "The location of the viewer of the live stream.") - -public class LiveStreamSessionLocation implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_CITY = "city"; - @SerializedName(SERIALIZED_NAME_CITY) - private String city; - - public LiveStreamSessionLocation country(String country) { - this.country = country; - return this; - } - - /** - * The country of the viewer of the live stream. - * - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "France", value = "The country of the viewer of the live stream.") - - public String getCountry() { - return country; - } - - public void setCountry(String country) { - this.country = country; - } - - public LiveStreamSessionLocation city(String city) { - this.city = city; - return this; - } - - /** - * The city of the viewer of the live stream. - * - * @return city - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Paris", value = "The city of the viewer of the live stream.") - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSessionLocation liveStreamSessionLocation = (LiveStreamSessionLocation) o; - return Objects.equals(this.country, liveStreamSessionLocation.country) - && Objects.equals(this.city, liveStreamSessionLocation.city); - } - - @Override - public int hashCode() { - return Objects.hash(country, city); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSessionLocation {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" city: ").append(toIndentedString(city)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/LiveStreamSessionReferrer.java b/src/main/java/video/api/client/api/models/LiveStreamSessionReferrer.java deleted file mode 100644 index 4d52280..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSessionReferrer.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * LiveStreamSessionReferrer - */ - -public class LiveStreamSessionReferrer implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_MEDIUM = "medium"; - @SerializedName(SERIALIZED_NAME_MEDIUM) - private String medium; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private String source; - - public static final String SERIALIZED_NAME_SEARCH_TERM = "searchTerm"; - @SerializedName(SERIALIZED_NAME_SEARCH_TERM) - private String searchTerm; - - public LiveStreamSessionReferrer url(String url) { - this.url = url; - return this; - } - - /** - * The website the viewer of the live stream was referred to in order to view the live stream. - * - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://api.video", value = "The website the viewer of the live stream was referred to in order to view the live stream.") - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public LiveStreamSessionReferrer medium(String medium) { - this.medium = medium; - return this; - } - - /** - * The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid - * would be they found it via an advertisement. - * - * @return medium - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "organic", value = "The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement.") - - public String getMedium() { - return medium; - } - - public void setMedium(String medium) { - this.medium = medium; - } - - public LiveStreamSessionReferrer source(String source) { - this.source = source; - return this; - } - - /** - * Where the viewer came from to see the live stream (usually where they searched from). - * - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://google.com", value = "Where the viewer came from to see the live stream (usually where they searched from).") - - public String getSource() { - return source; - } - - public void setSource(String source) { - this.source = source; - } - - public LiveStreamSessionReferrer searchTerm(String searchTerm) { - this.searchTerm = searchTerm; - return this; - } - - /** - * What term they searched for that led them to the live stream. - * - * @return searchTerm - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "video stream", value = "What term they searched for that led them to the live stream.") - - public String getSearchTerm() { - return searchTerm; - } - - public void setSearchTerm(String searchTerm) { - this.searchTerm = searchTerm; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSessionReferrer liveStreamSessionReferrer = (LiveStreamSessionReferrer) o; - return Objects.equals(this.url, liveStreamSessionReferrer.url) - && Objects.equals(this.medium, liveStreamSessionReferrer.medium) - && Objects.equals(this.source, liveStreamSessionReferrer.source) - && Objects.equals(this.searchTerm, liveStreamSessionReferrer.searchTerm); - } - - @Override - public int hashCode() { - return Objects.hash(url, medium, source, searchTerm); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSessionReferrer {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" medium: ").append(toIndentedString(medium)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" searchTerm: ").append(toIndentedString(searchTerm)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/LiveStreamSessionSession.java b/src/main/java/video/api/client/api/models/LiveStreamSessionSession.java deleted file mode 100644 index acf282a..0000000 --- a/src/main/java/video/api/client/api/models/LiveStreamSessionSession.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.io.Serializable; - -/** - * LiveStreamSessionSession - */ - -public class LiveStreamSessionSession implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; - @SerializedName(SERIALIZED_NAME_SESSION_ID) - private String sessionId; - - public static final String SERIALIZED_NAME_LOADED_AT = "loadedAt"; - @SerializedName(SERIALIZED_NAME_LOADED_AT) - private OffsetDateTime loadedAt; - - public static final String SERIALIZED_NAME_ENDED_AT = "endedAt"; - @SerializedName(SERIALIZED_NAME_ENDED_AT) - private OffsetDateTime endedAt; - - public LiveStreamSessionSession sessionId(String sessionId) { - this.sessionId = sessionId; - return this; - } - - /** - * A unique identifier for your session. You can use this to track what happens during a specific session. - * - * @return sessionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A unique identifier for your session. You can use this to track what happens during a specific session.") - - public String getSessionId() { - return sessionId; - } - - public void setSessionId(String sessionId) { - this.sessionId = sessionId; - } - - public LiveStreamSessionSession loadedAt(OffsetDateTime loadedAt) { - this.loadedAt = loadedAt; - return this; - } - - /** - * When the session started, with the date and time presented in ISO-8601 format. - * - * @return loadedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2019-06-24T11:45:01.109Z", value = "When the session started, with the date and time presented in ISO-8601 format.") - - public OffsetDateTime getLoadedAt() { - return loadedAt; - } - - public void setLoadedAt(OffsetDateTime loadedAt) { - this.loadedAt = loadedAt; - } - - public LiveStreamSessionSession endedAt(OffsetDateTime endedAt) { - this.endedAt = endedAt; - return this; - } - - /** - * When the session ended, with the date and time presented in ISO-8601 format. - * - * @return endedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2019-06-24T12:45:01.109Z", value = "When the session ended, with the date and time presented in ISO-8601 format.") - - public OffsetDateTime getEndedAt() { - return endedAt; - } - - public void setEndedAt(OffsetDateTime endedAt) { - this.endedAt = endedAt; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LiveStreamSessionSession liveStreamSessionSession = (LiveStreamSessionSession) o; - return Objects.equals(this.sessionId, liveStreamSessionSession.sessionId) - && Objects.equals(this.loadedAt, liveStreamSessionSession.loadedAt) - && Objects.equals(this.endedAt, liveStreamSessionSession.endedAt); - } - - @Override - public int hashCode() { - return Objects.hash(sessionId, loadedAt, endedAt); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LiveStreamSessionSession {\n"); - sb.append(" sessionId: ").append(toIndentedString(sessionId)).append("\n"); - sb.append(" loadedAt: ").append(toIndentedString(loadedAt)).append("\n"); - sb.append(" endedAt: ").append(toIndentedString(endedAt)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionDevice.java b/src/main/java/video/api/client/api/models/UnrecognizedRequestUrl.java similarity index 53% rename from src/main/java/video/api/client/api/models/VideoSessionDevice.java rename to src/main/java/video/api/client/api/models/UnrecognizedRequestUrl.java index 7fad56a..996d93b 100644 --- a/src/main/java/video/api/client/api/models/VideoSessionDevice.java +++ b/src/main/java/video/api/client/api/models/UnrecognizedRequestUrl.java @@ -24,37 +24,36 @@ import java.io.Serializable; /** - * What type of device the user is on when in the video session. + * UnrecognizedRequestUrl */ -@ApiModel(description = "What type of device the user is on when in the video session.") -public class VideoSessionDevice implements Serializable { +public class UnrecognizedRequestUrl implements Serializable { private static final long serialVersionUID = 1L; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public static final String SERIALIZED_NAME_VENDOR = "vendor"; - @SerializedName(SERIALIZED_NAME_VENDOR) - private String vendor; + public static final String SERIALIZED_NAME_TITLE = "title"; + @SerializedName(SERIALIZED_NAME_TITLE) + private String title; - public static final String SERIALIZED_NAME_MODEL = "model"; - @SerializedName(SERIALIZED_NAME_MODEL) - private String model; + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private Integer status; - public VideoSessionDevice type(String type) { + public UnrecognizedRequestUrl type(String type) { this.type = type; return this; } /** - * What the type is like desktop, laptop, mobile. + * A link to the error documentation. * * @return type **/ @javax.annotation.Nullable - @ApiModelProperty(example = "desktop", value = "What the type is like desktop, laptop, mobile.") + @ApiModelProperty(value = "A link to the error documentation.") public String getType() { return type; @@ -64,46 +63,46 @@ public void setType(String type) { this.type = type; } - public VideoSessionDevice vendor(String vendor) { - this.vendor = vendor; + public UnrecognizedRequestUrl title(String title) { + this.title = title; return this; } /** - * If known, what the brand of the device is, like Apple, Dell, etc. + * A description of the error that occurred. * - * @return vendor + * @return title **/ @javax.annotation.Nullable - @ApiModelProperty(example = "Dell", value = "If known, what the brand of the device is, like Apple, Dell, etc.") + @ApiModelProperty(value = "A description of the error that occurred.") - public String getVendor() { - return vendor; + public String getTitle() { + return title; } - public void setVendor(String vendor) { - this.vendor = vendor; + public void setTitle(String title) { + this.title = title; } - public VideoSessionDevice model(String model) { - this.model = model; + public UnrecognizedRequestUrl status(Integer status) { + this.status = status; return this; } /** - * The specific model of the device, if known. + * The HTTP status code. * - * @return model + * @return status **/ @javax.annotation.Nullable - @ApiModelProperty(example = "unknown", value = "The specific model of the device, if known.") + @ApiModelProperty(value = "The HTTP status code.") - public String getModel() { - return model; + public Integer getStatus() { + return status; } - public void setModel(String model) { - this.model = model; + public void setStatus(Integer status) { + this.status = status; } @Override @@ -114,24 +113,24 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - VideoSessionDevice videoSessionDevice = (VideoSessionDevice) o; - return Objects.equals(this.type, videoSessionDevice.type) - && Objects.equals(this.vendor, videoSessionDevice.vendor) - && Objects.equals(this.model, videoSessionDevice.model); + UnrecognizedRequestUrl unrecognizedRequestUrl = (UnrecognizedRequestUrl) o; + return Objects.equals(this.type, unrecognizedRequestUrl.type) + && Objects.equals(this.title, unrecognizedRequestUrl.title) + && Objects.equals(this.status, unrecognizedRequestUrl.status); } @Override public int hashCode() { - return Objects.hash(type, vendor, model); + return Objects.hash(type, title, status); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionDevice {\n"); + sb.append("class UnrecognizedRequestUrl {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" vendor: ").append(toIndentedString(vendor)).append("\n"); - sb.append(" model: ").append(toIndentedString(model)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/video/api/client/api/models/VideoSession.java b/src/main/java/video/api/client/api/models/VideoSession.java deleted file mode 100644 index 4f81618..0000000 --- a/src/main/java/video/api/client/api/models/VideoSession.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import video.api.client.api.models.VideoSessionClient; -import video.api.client.api.models.VideoSessionDevice; -import video.api.client.api.models.VideoSessionLocation; -import video.api.client.api.models.VideoSessionOs; -import video.api.client.api.models.VideoSessionReferrer; -import video.api.client.api.models.VideoSessionSession; -import java.io.Serializable; - -/** - * VideoSession - */ - -public class VideoSession implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_SESSION = "session"; - @SerializedName(SERIALIZED_NAME_SESSION) - private VideoSessionSession session; - - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private VideoSessionLocation location; - - public static final String SERIALIZED_NAME_REFERRER = "referrer"; - @SerializedName(SERIALIZED_NAME_REFERRER) - private VideoSessionReferrer referrer; - - public static final String SERIALIZED_NAME_DEVICE = "device"; - @SerializedName(SERIALIZED_NAME_DEVICE) - private VideoSessionDevice device; - - public static final String SERIALIZED_NAME_OS = "os"; - @SerializedName(SERIALIZED_NAME_OS) - private VideoSessionOs os; - - public static final String SERIALIZED_NAME_CLIENT = "client"; - @SerializedName(SERIALIZED_NAME_CLIENT) - private VideoSessionClient client; - - public VideoSession session(VideoSessionSession session) { - this.session = session; - return this; - } - - /** - * Get session - * - * @return session - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionSession getSession() { - return session; - } - - public void setSession(VideoSessionSession session) { - this.session = session; - } - - public VideoSession location(VideoSessionLocation location) { - this.location = location; - return this; - } - - /** - * Get location - * - * @return location - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionLocation getLocation() { - return location; - } - - public void setLocation(VideoSessionLocation location) { - this.location = location; - } - - public VideoSession referrer(VideoSessionReferrer referrer) { - this.referrer = referrer; - return this; - } - - /** - * Get referrer - * - * @return referrer - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionReferrer getReferrer() { - return referrer; - } - - public void setReferrer(VideoSessionReferrer referrer) { - this.referrer = referrer; - } - - public VideoSession device(VideoSessionDevice device) { - this.device = device; - return this; - } - - /** - * Get device - * - * @return device - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionDevice getDevice() { - return device; - } - - public void setDevice(VideoSessionDevice device) { - this.device = device; - } - - public VideoSession os(VideoSessionOs os) { - this.os = os; - return this; - } - - /** - * Get os - * - * @return os - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionOs getOs() { - return os; - } - - public void setOs(VideoSessionOs os) { - this.os = os; - } - - public VideoSession client(VideoSessionClient client) { - this.client = client; - return this; - } - - /** - * Get client - * - * @return client - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VideoSessionClient getClient() { - return client; - } - - public void setClient(VideoSessionClient client) { - this.client = client; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSession videoSession = (VideoSession) o; - return Objects.equals(this.session, videoSession.session) - && Objects.equals(this.location, videoSession.location) - && Objects.equals(this.referrer, videoSession.referrer) - && Objects.equals(this.device, videoSession.device) && Objects.equals(this.os, videoSession.os) - && Objects.equals(this.client, videoSession.client); - } - - @Override - public int hashCode() { - return Objects.hash(session, location, referrer, device, os, client); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSession {\n"); - sb.append(" session: ").append(toIndentedString(session)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" referrer: ").append(toIndentedString(referrer)).append("\n"); - sb.append(" device: ").append(toIndentedString(device)).append("\n"); - sb.append(" os: ").append(toIndentedString(os)).append("\n"); - sb.append(" client: ").append(toIndentedString(client)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionClient.java b/src/main/java/video/api/client/api/models/VideoSessionClient.java deleted file mode 100644 index c260507..0000000 --- a/src/main/java/video/api/client/api/models/VideoSessionClient.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * What kind of browser the viewer is using for the video session. - */ -@ApiModel(description = "What kind of browser the viewer is using for the video session.") - -public class VideoSessionClient implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private String version; - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private String type; - - public VideoSessionClient name(String name) { - this.name = name; - return this; - } - - /** - * The name of the browser used to view the video session. - * - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Firefox", value = "The name of the browser used to view the video session.") - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public VideoSessionClient version(String version) { - this.version = version; - return this; - } - - /** - * The version of the browser used to view the video session. - * - * @return version - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "67.0", value = "The version of the browser used to view the video session.") - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public VideoSessionClient type(String type) { - this.type = type; - return this; - } - - /** - * The type of client used to view the video session. - * - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "browser", value = "The type of client used to view the video session.") - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSessionClient videoSessionClient = (VideoSessionClient) o; - return Objects.equals(this.name, videoSessionClient.name) - && Objects.equals(this.version, videoSessionClient.version) - && Objects.equals(this.type, videoSessionClient.type); - } - - @Override - public int hashCode() { - return Objects.hash(name, version, type); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionClient {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionLocation.java b/src/main/java/video/api/client/api/models/VideoSessionLocation.java deleted file mode 100644 index c54057f..0000000 --- a/src/main/java/video/api/client/api/models/VideoSessionLocation.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * The location of the viewer. - */ -@ApiModel(description = "The location of the viewer.") - -public class VideoSessionLocation implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_COUNTRY = "country"; - @SerializedName(SERIALIZED_NAME_COUNTRY) - private String country; - - public static final String SERIALIZED_NAME_CITY = "city"; - @SerializedName(SERIALIZED_NAME_CITY) - private String city; - - public VideoSessionLocation country(String country) { - this.country = country; - return this; - } - - /** - * The country of the viewer. - * - * @return country - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "France", value = "The country of the viewer.") - - public String getCountry() { - return country; - } - - public void setCountry(String country) { - this.country = country; - } - - public VideoSessionLocation city(String city) { - this.city = city; - return this; - } - - /** - * The city of the viewer. - * - * @return city - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Paris", value = "The city of the viewer.") - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSessionLocation videoSessionLocation = (VideoSessionLocation) o; - return Objects.equals(this.country, videoSessionLocation.country) - && Objects.equals(this.city, videoSessionLocation.city); - } - - @Override - public int hashCode() { - return Objects.hash(country, city); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionLocation {\n"); - sb.append(" country: ").append(toIndentedString(country)).append("\n"); - sb.append(" city: ").append(toIndentedString(city)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionOs.java b/src/main/java/video/api/client/api/models/VideoSessionOs.java deleted file mode 100644 index 0d3f01a..0000000 --- a/src/main/java/video/api/client/api/models/VideoSessionOs.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * The operating system the viewer is on. - */ -@ApiModel(description = "The operating system the viewer is on.") - -public class VideoSessionOs implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SHORTNAME = "shortname"; - @SerializedName(SERIALIZED_NAME_SHORTNAME) - private String shortname; - - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private String version; - - public VideoSessionOs name(String name) { - this.name = name; - return this; - } - - /** - * The name of the operating system. - * - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Microsoft Windows", value = "The name of the operating system.") - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public VideoSessionOs shortname(String shortname) { - this.shortname = shortname; - return this; - } - - /** - * The nickname for the operating system, often representing the version. - * - * @return shortname - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "W10", value = "The nickname for the operating system, often representing the version.") - - public String getShortname() { - return shortname; - } - - public void setShortname(String shortname) { - this.shortname = shortname; - } - - public VideoSessionOs version(String version) { - this.version = version; - return this; - } - - /** - * The version of the operating system. - * - * @return version - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "Windows 10", value = "The version of the operating system.") - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSessionOs videoSessionOs = (VideoSessionOs) o; - return Objects.equals(this.name, videoSessionOs.name) - && Objects.equals(this.shortname, videoSessionOs.shortname) - && Objects.equals(this.version, videoSessionOs.version); - } - - @Override - public int hashCode() { - return Objects.hash(name, shortname, version); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionOs {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" shortname: ").append(toIndentedString(shortname)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionReferrer.java b/src/main/java/video/api/client/api/models/VideoSessionReferrer.java deleted file mode 100644 index e374874..0000000 --- a/src/main/java/video/api/client/api/models/VideoSessionReferrer.java +++ /dev/null @@ -1,177 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.io.Serializable; - -/** - * VideoSessionReferrer - */ - -public class VideoSessionReferrer implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_URL = "url"; - @SerializedName(SERIALIZED_NAME_URL) - private String url; - - public static final String SERIALIZED_NAME_MEDIUM = "medium"; - @SerializedName(SERIALIZED_NAME_MEDIUM) - private String medium; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private String source; - - public static final String SERIALIZED_NAME_SEARCH_TERM = "searchTerm"; - @SerializedName(SERIALIZED_NAME_SEARCH_TERM) - private String searchTerm; - - public VideoSessionReferrer url(String url) { - this.url = url; - return this; - } - - /** - * The link the viewer used to reach the video session. - * - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://api.video", value = "The link the viewer used to reach the video session.") - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public VideoSessionReferrer medium(String medium) { - this.medium = medium; - return this; - } - - /** - * How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid - * meaning they followed a link from an advertisement. - * - * @return medium - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "organic", value = "How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement.") - - public String getMedium() { - return medium; - } - - public void setMedium(String medium) { - this.medium = medium; - } - - public VideoSessionReferrer source(String source) { - this.source = source; - return this; - } - - /** - * The source the referrer came from to the video session. For example if they searched through google to find the - * stream. - * - * @return source - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "https://google.com", value = "The source the referrer came from to the video session. For example if they searched through google to find the stream.") - - public String getSource() { - return source; - } - - public void setSource(String source) { - this.source = source; - } - - public VideoSessionReferrer searchTerm(String searchTerm) { - this.searchTerm = searchTerm; - return this; - } - - /** - * The search term they typed to arrive at the video session. - * - * @return searchTerm - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The search term they typed to arrive at the video session.") - - public String getSearchTerm() { - return searchTerm; - } - - public void setSearchTerm(String searchTerm) { - this.searchTerm = searchTerm; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSessionReferrer videoSessionReferrer = (VideoSessionReferrer) o; - return Objects.equals(this.url, videoSessionReferrer.url) - && Objects.equals(this.medium, videoSessionReferrer.medium) - && Objects.equals(this.source, videoSessionReferrer.source) - && Objects.equals(this.searchTerm, videoSessionReferrer.searchTerm); - } - - @Override - public int hashCode() { - return Objects.hash(url, medium, source, searchTerm); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionReferrer {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" medium: ").append(toIndentedString(medium)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" searchTerm: ").append(toIndentedString(searchTerm)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} diff --git a/src/main/java/video/api/client/api/models/VideoSessionSession.java b/src/main/java/video/api/client/api/models/VideoSessionSession.java deleted file mode 100644 index 0f08f44..0000000 --- a/src/main/java/video/api/client/api/models/VideoSessionSession.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * api.video Java API client - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * The version of the OpenAPI document: 1 - * Contact: ecosystem@api.video - * - * NOTE: This class is auto generated. - * Do not edit the class manually. - */ - -package video.api.client.api.models; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.List; -import video.api.client.api.models.Metadata; -import java.io.Serializable; - -/** - * VideoSessionSession - */ - -public class VideoSessionSession implements Serializable { - private static final long serialVersionUID = 1L; - - public static final String SERIALIZED_NAME_SESSION_ID = "sessionId"; - @SerializedName(SERIALIZED_NAME_SESSION_ID) - private String sessionId; - - public static final String SERIALIZED_NAME_LOADED_AT = "loadedAt"; - @SerializedName(SERIALIZED_NAME_LOADED_AT) - private OffsetDateTime loadedAt; - - public static final String SERIALIZED_NAME_ENDED_AT = "endedAt"; - @SerializedName(SERIALIZED_NAME_ENDED_AT) - private OffsetDateTime endedAt; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private List metadata = null; - - public VideoSessionSession sessionId(String sessionId) { - this.sessionId = sessionId; - return this; - } - - /** - * The unique identifier for the session that you can use to track what happens during it. - * - * @return sessionId - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "psEmFwGQUAXR2lFHj5nDOpy", value = "The unique identifier for the session that you can use to track what happens during it.") - - public String getSessionId() { - return sessionId; - } - - public void setSessionId(String sessionId) { - this.sessionId = sessionId; - } - - public VideoSessionSession loadedAt(OffsetDateTime loadedAt) { - this.loadedAt = loadedAt; - return this; - } - - /** - * When the video session started, presented in ISO-8601 format. - * - * @return loadedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2019-06-24T11:45:01.109Z", value = "When the video session started, presented in ISO-8601 format.") - - public OffsetDateTime getLoadedAt() { - return loadedAt; - } - - public void setLoadedAt(OffsetDateTime loadedAt) { - this.loadedAt = loadedAt; - } - - public VideoSessionSession endedAt(OffsetDateTime endedAt) { - this.endedAt = endedAt; - return this; - } - - /** - * When the video session ended, presented in ISO-8601 format. - * - * @return endedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "2019-06-24T12:45:01.109Z", value = "When the video session ended, presented in ISO-8601 format.") - - public OffsetDateTime getEndedAt() { - return endedAt; - } - - public void setEndedAt(OffsetDateTime endedAt) { - this.endedAt = endedAt; - } - - public VideoSessionSession metadata(List metadata) { - this.metadata = metadata; - return this; - } - - public VideoSessionSession addMetadataItem(Metadata metadataItem) { - if (this.metadata == null) { - this.metadata = new ArrayList<>(); - } - this.metadata.add(metadataItem); - return this; - } - - /** - * A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, - * allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your - * videos. - * - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "[{\"key\": \"Author\", \"value\": \"John Doe\"}]", value = "A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.") - - public List getMetadata() { - return metadata; - } - - public void setMetadata(List metadata) { - this.metadata = metadata; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VideoSessionSession videoSessionSession = (VideoSessionSession) o; - return Objects.equals(this.sessionId, videoSessionSession.sessionId) - && Objects.equals(this.loadedAt, videoSessionSession.loadedAt) - && Objects.equals(this.endedAt, videoSessionSession.endedAt) - && Objects.equals(this.metadata, videoSessionSession.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(sessionId, loadedAt, endedAt, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VideoSessionSession {\n"); - sb.append(" sessionId: ").append(toIndentedString(sessionId)).append("\n"); - sb.append(" loadedAt: ").append(toIndentedString(loadedAt)).append("\n"); - sb.append(" endedAt: ").append(toIndentedString(endedAt)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -}