Commit b86b1c9a authored by Rigel Kent's avatar Rigel Kent
Browse files

Minor update kotlin

parent ef890f30
README.md
build.gradle
docs/Abuse.md
docs/AbuseMessage.md
docs/AbuseStateConstant.md
docs/AbuseStateSet.md
docs/AbuseVideo.md
docs/AbusesAccount.md
docs/AbusesApi.md
docs/AbusesComment.md
docs/AbusesVideo.md
docs/Account.md
docs/AccountAllOf.md
docs/AccountBlocksApi.md
docs/AccountSummary.md
docs/AccountsApi.md
docs/Actor.md
docs/ActorInfo.md
docs/ActorInfoAvatar.md
docs/AddUser.md
docs/AddUserResponse.md
docs/AddUserResponseUser.md
docs/AddUserResponseUserAccount.md
docs/Avatar.md
docs/CommentThreadPostResponse.md
docs/CommentThreadResponse.md
docs/ConfigApi.md
docs/FeedsApi.md
docs/FileRedundancyInformation.md
docs/Follow.md
docs/GetMeVideoRating.md
docs/InlineObject.md
docs/InlineObject1.md
docs/InlineObject10.md
docs/InlineObject11.md
docs/InlineObject12.md
docs/InlineObject13.md
docs/InlineObject14.md
docs/InlineObject15.md
docs/InlineObject16.md
docs/InlineObject17.md
docs/InlineObject18.md
docs/InlineObject19.md
docs/InlineObject2.md
docs/InlineObject20.md
docs/InlineObject21.md
docs/InlineObject22.md
docs/InlineObject23.md
docs/InlineObject24.md
docs/InlineObject25.md
docs/InlineObject26.md
docs/InlineObject3.md
docs/InlineObject4.md
docs/InlineObject5.md
docs/InlineObject6.md
docs/InlineObject7.md
docs/InlineObject8.md
docs/InlineObject9.md
docs/InlineResponse200.md
docs/InlineResponse2001.md
docs/InlineResponse2002.md
docs/InlineResponse2003.md
docs/InlineResponse2004.md
docs/InlineResponse2005.md
docs/InlineResponse2005VideoPlaylist.md
docs/InlineResponse2006.md
docs/InlineResponse2006VideoPlaylistElement.md
docs/InlineResponse2007.md
docs/InlineResponse2007VideoId.md
docs/InstanceFollowsApi.md
docs/InstanceRedundancyApi.md
docs/Job.md
docs/JobApi.md
docs/LiveVideoResponse.md
docs/LiveVideoUpdate.md
docs/LiveVideosApi.md
docs/MRSSGroupContent.md
docs/MRSSPeerLink.md
docs/MyNotificationsApi.md
docs/MySubscriptionsApi.md
docs/MyUserApi.md
docs/NSFWPolicy.md
docs/Notification.md
docs/NotificationActorFollow.md
docs/NotificationActorFollowFollowing.md
docs/NotificationComment.md
docs/NotificationListResponse.md
docs/NotificationSettingValue.md
docs/NotificationVideoAbuse.md
docs/NotificationVideoImport.md
docs/PlaylistElement.md
docs/Plugin.md
docs/PluginResponse.md
docs/PluginsApi.md
docs/RegisterUser.md
docs/RegisterUserChannel.md
docs/SearchApi.md
docs/ServerBlocksApi.md
docs/ServerConfig.md
docs/ServerConfigAbout.md
docs/ServerConfigAboutInstance.md
docs/ServerConfigAutoBlacklist.md
docs/ServerConfigAutoBlacklistVideos.md
docs/ServerConfigAvatar.md
docs/ServerConfigAvatarFile.md
docs/ServerConfigAvatarFileSize.md
docs/ServerConfigCustom.md
docs/ServerConfigCustomAdmin.md
docs/ServerConfigCustomCache.md
docs/ServerConfigCustomCachePreviews.md
docs/ServerConfigCustomFollowers.md
docs/ServerConfigCustomFollowersInstance.md
docs/ServerConfigCustomInstance.md
docs/ServerConfigCustomServices.md
docs/ServerConfigCustomServicesTwitter.md
docs/ServerConfigCustomSignup.md
docs/ServerConfigCustomTheme.md
docs/ServerConfigCustomTranscoding.md
docs/ServerConfigCustomTranscodingResolutions.md
docs/ServerConfigEmail.md
docs/ServerConfigFollowings.md
docs/ServerConfigFollowingsInstance.md
docs/ServerConfigFollowingsInstanceAutoFollowIndex.md
docs/ServerConfigImport.md
docs/ServerConfigImportVideos.md
docs/ServerConfigInstance.md
docs/ServerConfigInstanceCustomizations.md
docs/ServerConfigPlugin.md
docs/ServerConfigSearch.md
docs/ServerConfigSearchRemoteUri.md
docs/ServerConfigSignup.md
docs/ServerConfigTranscoding.md
docs/ServerConfigTrending.md
docs/ServerConfigTrendingVideos.md
docs/ServerConfigUser.md
docs/ServerConfigVideo.md
docs/ServerConfigVideoCaption.md
docs/ServerConfigVideoCaptionFile.md
docs/ServerConfigVideoFile.md
docs/ServerConfigVideoImage.md
docs/UpdateMe.md
docs/UpdateUser.md
docs/User.md
docs/UserRole.md
docs/UserWatchingVideo.md
docs/UsersApi.md
docs/Video.md
docs/VideoApi.md
docs/VideoBlacklist.md
docs/VideoBlocksApi.md
docs/VideoCaption.md
docs/VideoCaptionsApi.md
docs/VideoChannel.md
docs/VideoChannelCreate.md
docs/VideoChannelOwnerAccount.md
docs/VideoChannelSummary.md
docs/VideoChannelUpdate.md
docs/VideoChannelsApi.md
docs/VideoComment.md
docs/VideoCommentThreadTree.md
docs/VideoCommentsApi.md
docs/VideoConstantNumber.md
docs/VideoConstantString.md
docs/VideoDetails.md
docs/VideoDetailsAllOf.md
docs/VideoFile.md
docs/VideoImport.md
docs/VideoImportStateConstant.md
docs/VideoInfo.md
docs/VideoListResponse.md
docs/VideoMirroringApi.md
docs/VideoOwnershipChangeApi.md
docs/VideoPlaylist.md
docs/VideoPlaylistPrivacyConstant.md
docs/VideoPlaylistPrivacySet.md
docs/VideoPlaylistTypeConstant.md
docs/VideoPlaylistTypeSet.md
docs/VideoPlaylistsApi.md
docs/VideoPrivacyConstant.md
docs/VideoPrivacySet.md
docs/VideoRatesApi.md
docs/VideoRating.md
docs/VideoRedundancy.md
docs/VideoRedundancyRedundancies.md
docs/VideoResolutionConstant.md
docs/VideoScheduledUpdate.md
docs/VideoStateConstant.md
docs/VideoStreamingPlaylists.md
docs/VideoStreamingPlaylistsRedundancies.md
docs/VideoUploadResponse.md
docs/VideoUploadResponseVideo.md
docs/VideoUserHistory.md
docs/VideosApi.md
settings.gradle
src/main/kotlin/org/peertube/client/apis/AbusesApi.kt
src/main/kotlin/org/peertube/client/apis/AccountBlocksApi.kt
src/main/kotlin/org/peertube/client/apis/AccountsApi.kt
src/main/kotlin/org/peertube/client/apis/ConfigApi.kt
src/main/kotlin/org/peertube/client/apis/FeedsApi.kt
src/main/kotlin/org/peertube/client/apis/InstanceFollowsApi.kt
src/main/kotlin/org/peertube/client/apis/InstanceRedundancyApi.kt
src/main/kotlin/org/peertube/client/apis/JobApi.kt
src/main/kotlin/org/peertube/client/apis/LiveVideosApi.kt
src/main/kotlin/org/peertube/client/apis/MyNotificationsApi.kt
src/main/kotlin/org/peertube/client/apis/MySubscriptionsApi.kt
src/main/kotlin/org/peertube/client/apis/MyUserApi.kt
src/main/kotlin/org/peertube/client/apis/PluginsApi.kt
src/main/kotlin/org/peertube/client/apis/SearchApi.kt
src/main/kotlin/org/peertube/client/apis/ServerBlocksApi.kt
src/main/kotlin/org/peertube/client/apis/UsersApi.kt
src/main/kotlin/org/peertube/client/apis/VideoApi.kt
src/main/kotlin/org/peertube/client/apis/VideoBlocksApi.kt
src/main/kotlin/org/peertube/client/apis/VideoCaptionsApi.kt
src/main/kotlin/org/peertube/client/apis/VideoChannelsApi.kt
src/main/kotlin/org/peertube/client/apis/VideoCommentsApi.kt
src/main/kotlin/org/peertube/client/apis/VideoMirroringApi.kt
src/main/kotlin/org/peertube/client/apis/VideoOwnershipChangeApi.kt
src/main/kotlin/org/peertube/client/apis/VideoPlaylistsApi.kt
src/main/kotlin/org/peertube/client/apis/VideoRatesApi.kt
src/main/kotlin/org/peertube/client/apis/VideosApi.kt
src/main/kotlin/org/peertube/client/infrastructure/ApiAbstractions.kt
src/main/kotlin/org/peertube/client/infrastructure/ApiClient.kt
src/main/kotlin/org/peertube/client/infrastructure/ApiInfrastructureResponse.kt
src/main/kotlin/org/peertube/client/infrastructure/ApplicationDelegates.kt
src/main/kotlin/org/peertube/client/infrastructure/ByteArrayAdapter.kt
src/main/kotlin/org/peertube/client/infrastructure/Errors.kt
src/main/kotlin/org/peertube/client/infrastructure/LocalDateAdapter.kt
src/main/kotlin/org/peertube/client/infrastructure/LocalDateTimeAdapter.kt
src/main/kotlin/org/peertube/client/infrastructure/OffsetDateTimeAdapter.kt
src/main/kotlin/org/peertube/client/infrastructure/RequestConfig.kt
src/main/kotlin/org/peertube/client/infrastructure/RequestMethod.kt
src/main/kotlin/org/peertube/client/infrastructure/ResponseExtensions.kt
src/main/kotlin/org/peertube/client/infrastructure/Serializer.kt
src/main/kotlin/org/peertube/client/infrastructure/UUIDAdapter.kt
src/main/kotlin/org/peertube/client/models/Abuse.kt
src/main/kotlin/org/peertube/client/models/AbuseMessage.kt
src/main/kotlin/org/peertube/client/models/AbuseStateConstant.kt
src/main/kotlin/org/peertube/client/models/AbuseStateSet.kt
src/main/kotlin/org/peertube/client/models/AbuseVideo.kt
src/main/kotlin/org/peertube/client/models/AbusesAccount.kt
src/main/kotlin/org/peertube/client/models/AbusesComment.kt
src/main/kotlin/org/peertube/client/models/AbusesVideo.kt
src/main/kotlin/org/peertube/client/models/Account.kt
src/main/kotlin/org/peertube/client/models/AccountAllOf.kt
src/main/kotlin/org/peertube/client/models/AccountSummary.kt
src/main/kotlin/org/peertube/client/models/Actor.kt
src/main/kotlin/org/peertube/client/models/ActorInfo.kt
src/main/kotlin/org/peertube/client/models/ActorInfoAvatar.kt
src/main/kotlin/org/peertube/client/models/AddUser.kt
src/main/kotlin/org/peertube/client/models/AddUserResponse.kt
src/main/kotlin/org/peertube/client/models/AddUserResponseUser.kt
src/main/kotlin/org/peertube/client/models/AddUserResponseUserAccount.kt
src/main/kotlin/org/peertube/client/models/Avatar.kt
src/main/kotlin/org/peertube/client/models/CommentThreadPostResponse.kt
src/main/kotlin/org/peertube/client/models/CommentThreadResponse.kt
src/main/kotlin/org/peertube/client/models/FileRedundancyInformation.kt
src/main/kotlin/org/peertube/client/models/Follow.kt
src/main/kotlin/org/peertube/client/models/GetMeVideoRating.kt
src/main/kotlin/org/peertube/client/models/InlineObject.kt
src/main/kotlin/org/peertube/client/models/InlineObject1.kt
src/main/kotlin/org/peertube/client/models/InlineObject10.kt
src/main/kotlin/org/peertube/client/models/InlineObject11.kt
src/main/kotlin/org/peertube/client/models/InlineObject12.kt
src/main/kotlin/org/peertube/client/models/InlineObject13.kt
src/main/kotlin/org/peertube/client/models/InlineObject14.kt
src/main/kotlin/org/peertube/client/models/InlineObject15.kt
src/main/kotlin/org/peertube/client/models/InlineObject16.kt
src/main/kotlin/org/peertube/client/models/InlineObject17.kt
src/main/kotlin/org/peertube/client/models/InlineObject18.kt
src/main/kotlin/org/peertube/client/models/InlineObject19.kt
src/main/kotlin/org/peertube/client/models/InlineObject2.kt
src/main/kotlin/org/peertube/client/models/InlineObject20.kt
src/main/kotlin/org/peertube/client/models/InlineObject21.kt
src/main/kotlin/org/peertube/client/models/InlineObject22.kt
src/main/kotlin/org/peertube/client/models/InlineObject23.kt
src/main/kotlin/org/peertube/client/models/InlineObject24.kt
src/main/kotlin/org/peertube/client/models/InlineObject25.kt
src/main/kotlin/org/peertube/client/models/InlineObject26.kt
src/main/kotlin/org/peertube/client/models/InlineObject3.kt
src/main/kotlin/org/peertube/client/models/InlineObject4.kt
src/main/kotlin/org/peertube/client/models/InlineObject5.kt
src/main/kotlin/org/peertube/client/models/InlineObject6.kt
src/main/kotlin/org/peertube/client/models/InlineObject7.kt
src/main/kotlin/org/peertube/client/models/InlineObject8.kt
src/main/kotlin/org/peertube/client/models/InlineObject9.kt
src/main/kotlin/org/peertube/client/models/InlineResponse200.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2001.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2002.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2003.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2004.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2005.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2005VideoPlaylist.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2006.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2006VideoPlaylistElement.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2007.kt
src/main/kotlin/org/peertube/client/models/InlineResponse2007VideoId.kt
src/main/kotlin/org/peertube/client/models/Job.kt
src/main/kotlin/org/peertube/client/models/LiveVideoResponse.kt
src/main/kotlin/org/peertube/client/models/LiveVideoUpdate.kt
src/main/kotlin/org/peertube/client/models/MRSSGroupContent.kt
src/main/kotlin/org/peertube/client/models/MRSSPeerLink.kt
src/main/kotlin/org/peertube/client/models/NSFWPolicy.kt
src/main/kotlin/org/peertube/client/models/Notification.kt
src/main/kotlin/org/peertube/client/models/NotificationActorFollow.kt
src/main/kotlin/org/peertube/client/models/NotificationActorFollowFollowing.kt
src/main/kotlin/org/peertube/client/models/NotificationComment.kt
src/main/kotlin/org/peertube/client/models/NotificationListResponse.kt
src/main/kotlin/org/peertube/client/models/NotificationSettingValue.kt
src/main/kotlin/org/peertube/client/models/NotificationVideoAbuse.kt
src/main/kotlin/org/peertube/client/models/NotificationVideoImport.kt
src/main/kotlin/org/peertube/client/models/PlaylistElement.kt
src/main/kotlin/org/peertube/client/models/Plugin.kt
src/main/kotlin/org/peertube/client/models/PluginResponse.kt
src/main/kotlin/org/peertube/client/models/RegisterUser.kt
src/main/kotlin/org/peertube/client/models/RegisterUserChannel.kt
src/main/kotlin/org/peertube/client/models/ServerConfig.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAbout.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAboutInstance.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAutoBlacklist.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAutoBlacklistVideos.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAvatar.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAvatarFile.kt
src/main/kotlin/org/peertube/client/models/ServerConfigAvatarFileSize.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustom.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomAdmin.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomCache.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomCachePreviews.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomFollowers.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomFollowersInstance.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomInstance.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomServices.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomServicesTwitter.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomSignup.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomTheme.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomTranscoding.kt
src/main/kotlin/org/peertube/client/models/ServerConfigCustomTranscodingResolutions.kt
src/main/kotlin/org/peertube/client/models/ServerConfigEmail.kt
src/main/kotlin/org/peertube/client/models/ServerConfigFollowings.kt
src/main/kotlin/org/peertube/client/models/ServerConfigFollowingsInstance.kt
src/main/kotlin/org/peertube/client/models/ServerConfigFollowingsInstanceAutoFollowIndex.kt
src/main/kotlin/org/peertube/client/models/ServerConfigImport.kt
src/main/kotlin/org/peertube/client/models/ServerConfigImportVideos.kt
src/main/kotlin/org/peertube/client/models/ServerConfigInstance.kt
src/main/kotlin/org/peertube/client/models/ServerConfigInstanceCustomizations.kt
src/main/kotlin/org/peertube/client/models/ServerConfigPlugin.kt
src/main/kotlin/org/peertube/client/models/ServerConfigSearch.kt
src/main/kotlin/org/peertube/client/models/ServerConfigSearchRemoteUri.kt
src/main/kotlin/org/peertube/client/models/ServerConfigSignup.kt
src/main/kotlin/org/peertube/client/models/ServerConfigTranscoding.kt
src/main/kotlin/org/peertube/client/models/ServerConfigTrending.kt
src/main/kotlin/org/peertube/client/models/ServerConfigTrendingVideos.kt
src/main/kotlin/org/peertube/client/models/ServerConfigUser.kt
src/main/kotlin/org/peertube/client/models/ServerConfigVideo.kt
src/main/kotlin/org/peertube/client/models/ServerConfigVideoCaption.kt
src/main/kotlin/org/peertube/client/models/ServerConfigVideoCaptionFile.kt
src/main/kotlin/org/peertube/client/models/ServerConfigVideoFile.kt
src/main/kotlin/org/peertube/client/models/ServerConfigVideoImage.kt
src/main/kotlin/org/peertube/client/models/UpdateMe.kt
src/main/kotlin/org/peertube/client/models/UpdateUser.kt
src/main/kotlin/org/peertube/client/models/User.kt
src/main/kotlin/org/peertube/client/models/UserRole.kt
src/main/kotlin/org/peertube/client/models/UserWatchingVideo.kt
src/main/kotlin/org/peertube/client/models/Video.kt
src/main/kotlin/org/peertube/client/models/VideoBlacklist.kt
src/main/kotlin/org/peertube/client/models/VideoCaption.kt
src/main/kotlin/org/peertube/client/models/VideoChannel.kt
src/main/kotlin/org/peertube/client/models/VideoChannelCreate.kt
src/main/kotlin/org/peertube/client/models/VideoChannelOwnerAccount.kt
src/main/kotlin/org/peertube/client/models/VideoChannelSummary.kt
src/main/kotlin/org/peertube/client/models/VideoChannelUpdate.kt
src/main/kotlin/org/peertube/client/models/VideoComment.kt
src/main/kotlin/org/peertube/client/models/VideoCommentThreadTree.kt
src/main/kotlin/org/peertube/client/models/VideoConstantNumber.kt
src/main/kotlin/org/peertube/client/models/VideoConstantString.kt
src/main/kotlin/org/peertube/client/models/VideoDetails.kt
src/main/kotlin/org/peertube/client/models/VideoDetailsAllOf.kt
src/main/kotlin/org/peertube/client/models/VideoFile.kt
src/main/kotlin/org/peertube/client/models/VideoImport.kt
src/main/kotlin/org/peertube/client/models/VideoImportStateConstant.kt
src/main/kotlin/org/peertube/client/models/VideoInfo.kt
src/main/kotlin/org/peertube/client/models/VideoListResponse.kt
src/main/kotlin/org/peertube/client/models/VideoPlaylist.kt
src/main/kotlin/org/peertube/client/models/VideoPlaylistPrivacyConstant.kt
src/main/kotlin/org/peertube/client/models/VideoPlaylistPrivacySet.kt
src/main/kotlin/org/peertube/client/models/VideoPlaylistTypeConstant.kt
src/main/kotlin/org/peertube/client/models/VideoPlaylistTypeSet.kt
src/main/kotlin/org/peertube/client/models/VideoPrivacyConstant.kt
src/main/kotlin/org/peertube/client/models/VideoPrivacySet.kt
src/main/kotlin/org/peertube/client/models/VideoRating.kt
src/main/kotlin/org/peertube/client/models/VideoRedundancy.kt
src/main/kotlin/org/peertube/client/models/VideoRedundancyRedundancies.kt
src/main/kotlin/org/peertube/client/models/VideoResolutionConstant.kt
src/main/kotlin/org/peertube/client/models/VideoScheduledUpdate.kt
src/main/kotlin/org/peertube/client/models/VideoStateConstant.kt
src/main/kotlin/org/peertube/client/models/VideoStreamingPlaylists.kt
src/main/kotlin/org/peertube/client/models/VideoStreamingPlaylistsRedundancies.kt
src/main/kotlin/org/peertube/client/models/VideoUploadResponse.kt
src/main/kotlin/org/peertube/client/models/VideoUploadResponseVideo.kt
src/main/kotlin/org/peertube/client/models/VideoUserHistory.kt
4.3.1
\ No newline at end of file
5.0.0-beta
\ No newline at end of file
......@@ -59,6 +59,9 @@ Class | Method | HTTP request | Description
*InstanceFollowsApi* | [**serverFollowingPost**](docs/InstanceFollowsApi.md#serverfollowingpost) | **POST** /server/following | Follow a server
*InstanceRedundancyApi* | [**redundancyHostPut**](docs/InstanceRedundancyApi.md#redundancyhostput) | **PUT** /redundancy/{host} | Update a server redundancy policy
*JobApi* | [**jobsStateGet**](docs/JobApi.md#jobsstateget) | **GET** /jobs/{state} | List instance jobs
*LiveVideosApi* | [**videosLiveIdGet**](docs/LiveVideosApi.md#videosliveidget) | **GET** /videos/live/{id} | Get a live information
*LiveVideosApi* | [**videosLiveIdPut**](docs/LiveVideosApi.md#videosliveidput) | **PUT** /videos/live/{id} | Update a live information
*LiveVideosApi* | [**videosLivePost**](docs/LiveVideosApi.md#videoslivepost) | **POST** /videos/live | Create a live
*MyNotificationsApi* | [**usersMeNotificationSettingsPut**](docs/MyNotificationsApi.md#usersmenotificationsettingsput) | **PUT** /users/me/notification-settings | Update my notification settings
*MyNotificationsApi* | [**usersMeNotificationsGet**](docs/MyNotificationsApi.md#usersmenotificationsget) | **GET** /users/me/notifications | List my notifications
*MyNotificationsApi* | [**usersMeNotificationsReadAllPost**](docs/MyNotificationsApi.md#usersmenotificationsreadallpost) | **POST** /users/me/notifications/read-all | Mark all my notification as read
......@@ -110,6 +113,9 @@ Class | Method | HTTP request | Description
*VideoApi* | [**videosImportsPost**](docs/VideoApi.md#videosimportspost) | **POST** /videos/imports | Import a video
*VideoApi* | [**videosLanguagesGet**](docs/VideoApi.md#videoslanguagesget) | **GET** /videos/languages | List available video languages
*VideoApi* | [**videosLicencesGet**](docs/VideoApi.md#videoslicencesget) | **GET** /videos/licences | List available video licences
*VideoApi* | [**videosLiveIdGet**](docs/VideoApi.md#videosliveidget) | **GET** /videos/live/{id} | Get a live information
*VideoApi* | [**videosLiveIdPut**](docs/VideoApi.md#videosliveidput) | **PUT** /videos/live/{id} | Update a live information
*VideoApi* | [**videosLivePost**](docs/VideoApi.md#videoslivepost) | **POST** /videos/live | Create a live
*VideoApi* | [**videosPrivaciesGet**](docs/VideoApi.md#videosprivaciesget) | **GET** /videos/privacies | List available video privacies
*VideoApi* | [**videosUploadPost**](docs/VideoApi.md#videosuploadpost) | **POST** /videos/upload | Upload a video
*VideoBlocksApi* | [**videosBlacklistGet**](docs/VideoBlocksApi.md#videosblacklistget) | **GET** /videos/blacklist | List video blocks
......@@ -204,6 +210,7 @@ Class | Method | HTTP request | Description
- [org.peertube.client.models.InlineObject23](docs/InlineObject23.md)
- [org.peertube.client.models.InlineObject24](docs/InlineObject24.md)
- [org.peertube.client.models.InlineObject25](docs/InlineObject25.md)
- [org.peertube.client.models.InlineObject26](docs/InlineObject26.md)
- [org.peertube.client.models.InlineObject3](docs/InlineObject3.md)
- [org.peertube.client.models.InlineObject4](docs/InlineObject4.md)
- [org.peertube.client.models.InlineObject5](docs/InlineObject5.md)
......@@ -223,6 +230,8 @@ Class | Method | HTTP request | Description
- [org.peertube.client.models.InlineResponse2007](docs/InlineResponse2007.md)
- [org.peertube.client.models.InlineResponse2007VideoId](docs/InlineResponse2007VideoId.md)
- [org.peertube.client.models.Job](docs/Job.md)
- [org.peertube.client.models.LiveVideoResponse](docs/LiveVideoResponse.md)
- [org.peertube.client.models.LiveVideoUpdate](docs/LiveVideoUpdate.md)
- [org.peertube.client.models.MRSSGroupContent](docs/MRSSGroupContent.md)
- [org.peertube.client.models.MRSSPeerLink](docs/MRSSPeerLink.md)
- [org.peertube.client.models.NSFWPolicy](docs/NSFWPolicy.md)
......
......@@ -29,9 +29,11 @@ test {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.0"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "com.squareup.moshi:moshi-kotlin:1.9.2"
compile "com.squareup.moshi:moshi-adapters:1.9.2"
compile "com.squareup.okhttp3:okhttp:4.2.2"
compile "com.squareup.okhttp3:logging-interceptor:4.4.0"
testCompile "io.kotlintest:kotlintest-runner-junit5:3.1.0"
}
......@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.Int** | | [optional]
**reason** | **kotlin.String** | | [optional]
**predefinedReasons** | [**inline**](#kotlin.Array<PredefinedReasonsEnum>) | | [optional]
**predefinedReasons** | [**inline**](#kotlin.collections.List<PredefinedReasonsEnum>) | | [optional]
**reporterAccount** | [**Account**](Account.md) | | [optional]
**state** | [**AbuseStateConstant**](AbuseStateConstant.md) | | [optional]
**moderationComment** | **kotlin.String** | | [optional]
......@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**createdAt** | [**java.time.OffsetDateTime**](java.time.OffsetDateTime.md) | | [optional]
<a name="kotlin.Array<PredefinedReasonsEnum>"></a>
<a name="kotlin.collections.List<PredefinedReasonsEnum>"></a>
## Enum: predefinedReasons
Name | Value
---- | -----
......
......@@ -110,7 +110,7 @@ Configure OAuth2:
<a name="abusesAbuseIdMessagesGet"></a>
# **abusesAbuseIdMessagesGet**
> kotlin.Array&lt;AbuseMessage&gt; abusesAbuseIdMessagesGet(abuseId)
> kotlin.collections.List&lt;AbuseMessage&gt; abusesAbuseIdMessagesGet(abuseId)
List messages of an abuse
......@@ -123,7 +123,7 @@ List messages of an abuse
val apiInstance = AbusesApi()
val abuseId : kotlin.Int = 56 // kotlin.Int | Abuse id
try {
val result : kotlin.Array<AbuseMessage> = apiInstance.abusesAbuseIdMessagesGet(abuseId)
val result : kotlin.collections.List<AbuseMessage> = apiInstance.abusesAbuseIdMessagesGet(abuseId)
println(result)
} catch (e: ClientException) {
println("4xx response calling AbusesApi#abusesAbuseIdMessagesGet")
......@@ -142,7 +142,7 @@ Name | Type | Description | Notes
### Return type
[**kotlin.Array&lt;AbuseMessage&gt;**](AbuseMessage.md)
[**kotlin.collections.List&lt;AbuseMessage&gt;**](AbuseMessage.md)
### Authorization
......@@ -157,7 +157,7 @@ Configure OAuth2:
<a name="abusesAbuseIdMessagesPost"></a>
# **abusesAbuseIdMessagesPost**
> abusesAbuseIdMessagesPost(abuseId, inlineObject11)
> abusesAbuseIdMessagesPost(abuseId, inlineObject12)
Add message to an abuse
......@@ -169,9 +169,9 @@ Add message to an abuse
val apiInstance = AbusesApi()
val abuseId : kotlin.Int = 56 // kotlin.Int | Abuse id
val inlineObject11 : InlineObject11 = // InlineObject11 |
val inlineObject12 : InlineObject12 = // InlineObject12 |
try {
apiInstance.abusesAbuseIdMessagesPost(abuseId, inlineObject11)
apiInstance.abusesAbuseIdMessagesPost(abuseId, inlineObject12)
} catch (e: ClientException) {
println("4xx response calling AbusesApi#abusesAbuseIdMessagesPost")
e.printStackTrace()
......@@ -186,7 +186,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**abuseId** | **kotlin.Int**| Abuse id |
**inlineObject11** | [**InlineObject11**](InlineObject11.md)| |
**inlineObject12** | [**InlineObject12**](InlineObject12.md)| |
### Return type
......@@ -205,7 +205,7 @@ Configure OAuth2:
<a name="abusesAbuseIdPut"></a>
# **abusesAbuseIdPut**
> abusesAbuseIdPut(abuseId, inlineObject10)
> abusesAbuseIdPut(abuseId, inlineObject11)
Update an abuse
......@@ -217,9 +217,9 @@ Update an abuse
val apiInstance = AbusesApi()
val abuseId : kotlin.Int = 56 // kotlin.Int | Abuse id
val inlineObject10 : InlineObject10 = // InlineObject10 |
val inlineObject11 : InlineObject11 = // InlineObject11 |
try {
apiInstance.abusesAbuseIdPut(abuseId, inlineObject10)
apiInstance.abusesAbuseIdPut(abuseId, inlineObject11)
} catch (e: ClientException) {
println("4xx response calling AbusesApi#abusesAbuseIdPut")
e.printStackTrace()
......@@ -234,7 +234,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**abuseId** | **kotlin.Int**| Abuse id |
**inlineObject10** | [**InlineObject10**](InlineObject10.md)| | [optional]
**inlineObject11** | [**InlineObject11**](InlineObject11.md)| | [optional]
### Return type
......@@ -253,7 +253,7 @@ Configure OAuth2:
<a name="abusesGet"></a>
# **abusesGet**
> kotlin.Array&lt;Abuse&gt; abusesGet(id, predefinedReason, search, state, searchReporter, searchReportee, searchVideo, searchVideoChannel, videoIs, filter, start, count, sort)
> kotlin.collections.List&lt;Abuse&gt; abusesGet(id, predefinedReason, search, state, searchReporter, searchReportee, searchVideo, searchVideoChannel, videoIs, filter, start, count, sort)
List abuses
......@@ -265,7 +265,7 @@ List abuses
val apiInstance = AbusesApi()
val id : kotlin.Int = 56 // kotlin.Int | only list the report with this id
val predefinedReason : kotlin.Array<kotlin.String> = // kotlin.Array<kotlin.String> | predefined reason the listed reports should contain
val predefinedReason : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> | predefined reason the listed reports should contain
val search : kotlin.String = search_example // kotlin.String | plain search that will match with video titles, reporter names and more
val state : AbuseStateSet = // AbuseStateSet |
val searchReporter : kotlin.String = searchReporter_example // kotlin.String | only list reports of a specific reporter
......@@ -278,7 +278,7 @@ val start : kotlin.Int = 56 // kotlin.Int | Offset used to paginate results
val count : kotlin.Int = 56 // kotlin.Int | Number of items to return
val sort : kotlin.String = sort_example // kotlin.String | Sort abuses by criteria
try {
val result : kotlin.Array<Abuse> = apiInstance.abusesGet(id, predefinedReason, search, state, searchReporter, searchReportee, searchVideo, searchVideoChannel, videoIs, filter, start, count, sort)
val result : kotlin.collections.List<Abuse> = apiInstance.abusesGet(id, predefinedReason, search, state, searchReporter, searchReportee, searchVideo, searchVideoChannel, videoIs, filter, start, count, sort)
println(result)
} catch (e: ClientException) {
println("4xx response calling AbusesApi#abusesGet")
......@@ -294,7 +294,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **kotlin.Int**| only list the report with this id | [optional]
**predefinedReason** | [**kotlin.Array&lt;kotlin.String&gt;**](kotlin.String.md)| predefined reason the listed reports should contain | [optional] [enum: violentOrAbusive, hatefulOrAbusive, spamOrMisleading, privacy, rights, serverRules, thumbnails, captions]
**predefinedReason** | [**kotlin.collections.List&lt;kotlin.String&gt;**](kotlin.String.md)| predefined reason the listed reports should contain | [optional] [enum: violentOrAbusive, hatefulOrAbusive, spamOrMisleading, privacy, rights, serverRules, thumbnails, captions]
**search** | **kotlin.String**| plain search that will match with video titles, reporter names and more | [optional]
**state** | [**AbuseStateSet**](.md)| | [optional] [enum: 1, 2, 3]
**searchReporter** | **kotlin.String**| only list reports of a specific reporter | [optional]
......@@ -309,7 +309,7 @@ Name | Type | Description | Notes
### Return type
[**kotlin.Array&lt;Abuse&gt;**](Abuse.md)
[**kotlin.collections.List&lt;Abuse&gt;**](Abuse.md)
### Authorization
......@@ -324,7 +324,7 @@ Configure OAuth2:
<a name="abusesPost"></a>
# **abusesPost**
> abusesPost(inlineObject9)
> abusesPost(inlineObject10)
Report an abuse
......@@ -335,9 +335,9 @@ Report an abuse
//import org.peertube.client.models.*
val apiInstance = AbusesApi()
val inlineObject9 : InlineObject9 = // InlineObject9 |
val inlineObject10 : InlineObject10 = // InlineObject10 |
try {
apiInstance.abusesPost(inlineObject9)
apiInstance.abusesPost(inlineObject10)
} catch (e: ClientException) {
println("4xx response calling AbusesApi#abusesPost")
e.printStackTrace()
......@@ -351,7 +351,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inlineObject9** | [**InlineObject9**](InlineObject9.md)| |
**inlineObject10** | [**InlineObject10**](InlineObject10.md)| |
### Return type
......@@ -370,7 +370,7 @@ Configure OAuth2:
<a name="usersMeAbusesGet"></a>
# **usersMeAbusesGet**
> kotlin.Array&lt;Abuse&gt; usersMeAbusesGet(id, state, start, count, sort)
> kotlin.collections.List&lt;Abuse&gt; usersMeAbusesGet(id, state, start, count, sort)
List my abuses
......@@ -387,7 +387,7 @@ val start : kotlin.Int = 56 // kotlin.Int | Offset used to paginate results
val count : kotlin.Int = 56 // kotlin.Int | Number of items to return
val sort : kotlin.String = sort_example // kotlin.String | Sort abuses by criteria
try {
val result : kotlin.Array<Abuse> = apiInstance.usersMeAbusesGet(id, state, start, count, sort)
val result : kotlin.collections.List<Abuse> = apiInstance.usersMeAbusesGet(id, state, start, count, sort)
println(result)