Commit 42689dc5 authored by Rigel Kent's avatar Rigel Kent
Browse files

Minor update kotlin

parent 5c91adc1
......@@ -152,11 +152,16 @@ Class | Method | HTTP request | Description
- [org.peertube.client.models.ServerConfigCustomTranscoding](docs/ServerConfigCustomTranscoding.md)
- [org.peertube.client.models.ServerConfigCustomTranscodingResolutions](docs/ServerConfigCustomTranscodingResolutions.md)
- [org.peertube.client.models.ServerConfigEmail](docs/ServerConfigEmail.md)
- [org.peertube.client.models.ServerConfigFollowings](docs/ServerConfigFollowings.md)
- [org.peertube.client.models.ServerConfigFollowingsInstance](docs/ServerConfigFollowingsInstance.md)
- [org.peertube.client.models.ServerConfigFollowingsInstanceAutoFollowIndex](docs/ServerConfigFollowingsInstanceAutoFollowIndex.md)
- [org.peertube.client.models.ServerConfigImport](docs/ServerConfigImport.md)
- [org.peertube.client.models.ServerConfigImportVideos](docs/ServerConfigImportVideos.md)
- [org.peertube.client.models.ServerConfigInstance](docs/ServerConfigInstance.md)
- [org.peertube.client.models.ServerConfigInstanceCustomizations](docs/ServerConfigInstanceCustomizations.md)
- [org.peertube.client.models.ServerConfigPlugin](docs/ServerConfigPlugin.md)
- [org.peertube.client.models.ServerConfigSearch](docs/ServerConfigSearch.md)
- [org.peertube.client.models.ServerConfigSearchRemoteUri](docs/ServerConfigSearchRemoteUri.md)
- [org.peertube.client.models.ServerConfigSignup](docs/ServerConfigSignup.md)
- [org.peertube.client.models.ServerConfigTranscoding](docs/ServerConfigTranscoding.md)
- [org.peertube.client.models.ServerConfigTrending](docs/ServerConfigTrending.md)
......
......@@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**instance** | [**ServerConfigInstance**](ServerConfigInstance.md) | | [optional]
**search** | [**ServerConfigSearch**](ServerConfigSearch.md) | | [optional]
**plugin** | [**ServerConfigPlugin**](ServerConfigPlugin.md) | | [optional]
**theme** | [**ServerConfigPlugin**](ServerConfigPlugin.md) | | [optional]
**email** | [**ServerConfigEmail**](ServerConfigEmail.md) | | [optional]
......@@ -21,6 +22,7 @@ Name | Type | Description | Notes
**user** | [**ServerConfigUser**](ServerConfigUser.md) | | [optional]
**trending** | [**ServerConfigTrending**](ServerConfigTrending.md) | | [optional]
**tracker** | [**ServerConfigEmail**](ServerConfigEmail.md) | | [optional]
**followings** | [**ServerConfigFollowings**](ServerConfigFollowings.md) | | [optional]
# ServerConfigFollowings
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**instance** | [**ServerConfigFollowingsInstance**](ServerConfigFollowingsInstance.md) | | [optional]
# ServerConfigFollowingsInstance
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**autoFollowIndex** | [**ServerConfigFollowingsInstanceAutoFollowIndex**](ServerConfigFollowingsInstanceAutoFollowIndex.md) | | [optional]
# ServerConfigFollowingsInstanceAutoFollowIndex
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**indexUrl** | **kotlin.String** | | [optional]
# ServerConfigSearch
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**remoteUri** | [**ServerConfigSearchRemoteUri**](ServerConfigSearchRemoteUri.md) | | [optional]
# ServerConfigSearchRemoteUri
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**users** | **kotlin.Boolean** | | [optional]
**anonymous** | **kotlin.Boolean** | | [optional]
......@@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hls** | [**ServerConfigEmail**](ServerConfigEmail.md) | | [optional]
**webtorrent** | [**ServerConfigEmail**](ServerConfigEmail.md) | | [optional]
**enabledResolutions** | [**kotlin.Array<java.math.BigDecimal>**](java.math.BigDecimal.md) | | [optional]
......
......@@ -14,9 +14,11 @@ package org.peertube.client.models
import org.peertube.client.models.ServerConfigAutoBlacklist
import org.peertube.client.models.ServerConfigAvatar
import org.peertube.client.models.ServerConfigEmail
import org.peertube.client.models.ServerConfigFollowings
import org.peertube.client.models.ServerConfigImport
import org.peertube.client.models.ServerConfigInstance
import org.peertube.client.models.ServerConfigPlugin
import org.peertube.client.models.ServerConfigSearch
import org.peertube.client.models.ServerConfigSignup
import org.peertube.client.models.ServerConfigTranscoding
import org.peertube.client.models.ServerConfigTrending
......@@ -28,6 +30,7 @@ import com.squareup.moshi.Json
/**
*
* @param instance
* @param search
* @param plugin
* @param theme
* @param email
......@@ -44,11 +47,14 @@ import com.squareup.moshi.Json
* @param user
* @param trending
* @param tracker
* @param followings
*/
data class ServerConfig (
@Json(name = "instance")
val instance: ServerConfigInstance? = null,
@Json(name = "search")
val search: ServerConfigSearch? = null,
@Json(name = "plugin")
val plugin: ServerConfigPlugin? = null,
@Json(name = "theme")
......@@ -80,7 +86,9 @@ data class ServerConfig (
@Json(name = "trending")
val trending: ServerConfigTrending? = null,
@Json(name = "tracker")
val tracker: ServerConfigEmail? = null
val tracker: ServerConfigEmail? = null,
@Json(name = "followings")
val followings: ServerConfigFollowings? = null
)
......
/**
* PeerTube
* # Introduction The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable resource URLs. It returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. You can use your favorite HTTP/REST library for your programming language to use PeerTube. No official SDK is currently provided, but the spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice. # Authentication When you sign up for an account, you are given the possibility to generate sessions, and authenticate using this session token. One session token can currently be used at a time. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format. ``` { \"code\": \"unauthorized_request\", // example inner error code \"error\": \"Token is invalid.\" // example exposed error message } ```
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.peertube.client.models
import org.peertube.client.models.ServerConfigFollowingsInstance
import com.squareup.moshi.Json
/**
*
* @param instance
*/
data class ServerConfigFollowings (
@Json(name = "instance")
val instance: ServerConfigFollowingsInstance? = null
)
/**
* PeerTube
* # Introduction The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable resource URLs. It returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. You can use your favorite HTTP/REST library for your programming language to use PeerTube. No official SDK is currently provided, but the spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice. # Authentication When you sign up for an account, you are given the possibility to generate sessions, and authenticate using this session token. One session token can currently be used at a time. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format. ``` { \"code\": \"unauthorized_request\", // example inner error code \"error\": \"Token is invalid.\" // example exposed error message } ```
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.peertube.client.models
import org.peertube.client.models.ServerConfigFollowingsInstanceAutoFollowIndex
import com.squareup.moshi.Json
/**
*
* @param autoFollowIndex
*/
data class ServerConfigFollowingsInstance (
@Json(name = "autoFollowIndex")
val autoFollowIndex: ServerConfigFollowingsInstanceAutoFollowIndex? = null
)
/**
* PeerTube
* # Introduction The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable resource URLs. It returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. You can use your favorite HTTP/REST library for your programming language to use PeerTube. No official SDK is currently provided, but the spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice. # Authentication When you sign up for an account, you are given the possibility to generate sessions, and authenticate using this session token. One session token can currently be used at a time. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format. ``` { \"code\": \"unauthorized_request\", // example inner error code \"error\": \"Token is invalid.\" // example exposed error message } ```
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.peertube.client.models
import com.squareup.moshi.Json
/**
*
* @param indexUrl
*/
data class ServerConfigFollowingsInstanceAutoFollowIndex (
@Json(name = "indexUrl")
val indexUrl: kotlin.String? = null
)
/**
* PeerTube
* # Introduction The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable resource URLs. It returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. You can use your favorite HTTP/REST library for your programming language to use PeerTube. No official SDK is currently provided, but the spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice. # Authentication When you sign up for an account, you are given the possibility to generate sessions, and authenticate using this session token. One session token can currently be used at a time. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format. ``` { \"code\": \"unauthorized_request\", // example inner error code \"error\": \"Token is invalid.\" // example exposed error message } ```
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.peertube.client.models
import org.peertube.client.models.ServerConfigSearchRemoteUri
import com.squareup.moshi.Json
/**
*
* @param remoteUri
*/
data class ServerConfigSearch (
@Json(name = "remoteUri")
val remoteUri: ServerConfigSearchRemoteUri? = null
)
/**
* PeerTube
* # Introduction The PeerTube API is built on HTTP(S). Our API is RESTful. It has predictable resource URLs. It returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body. You can use your favorite HTTP/REST library for your programming language to use PeerTube. No official SDK is currently provided, but the spec API is fully compatible with [openapi-generator](https://github.com/OpenAPITools/openapi-generator/wiki/API-client-generator-HOWTO) which generates a client SDK in the language of your choice. # Authentication When you sign up for an account, you are given the possibility to generate sessions, and authenticate using this session token. One session token can currently be used at a time. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format. ``` { \"code\": \"unauthorized_request\", // example inner error code \"error\": \"Token is invalid.\" // example exposed error message } ```
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.peertube.client.models
import com.squareup.moshi.Json
/**
*
* @param users
* @param anonymous
*/
data class ServerConfigSearchRemoteUri (
@Json(name = "users")
val users: kotlin.Boolean? = null,
@Json(name = "anonymous")
val anonymous: kotlin.Boolean? = null
)
......@@ -17,12 +17,15 @@ import com.squareup.moshi.Json
/**
*
* @param hls
* @param webtorrent
* @param enabledResolutions
*/
data class ServerConfigTranscoding (
@Json(name = "hls")
val hls: ServerConfigEmail? = null,
@Json(name = "webtorrent")
val webtorrent: ServerConfigEmail? = null,
@Json(name = "enabledResolutions")
val enabledResolutions: kotlin.Array<java.math.BigDecimal>? = null
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment