1
0
Fork 0
mirror of synced 2024-06-02 02:44:47 +12:00

Merge pull request #1367 from appwrite/feat-kotlin-java-docs

Fixed kotlin sdk java docs
This commit is contained in:
Eldad A. Fux 2021-07-07 15:22:03 +03:00 committed by GitHub
commit 426dad9767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
95 changed files with 201 additions and 201 deletions

View file

@ -9,9 +9,9 @@ public void main() {
Account account = new Account(client);
account.createRecovery(
email = "email@example.com",
url = "https://example.com"
new Continuation<Response>() {
"email@example.com",
"https://example.com"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.createVerification(
url = "https://example.com"
new Continuation<Response>() {
"https://example.com"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.deleteSession(
sessionId = "[SESSION_ID]"
new Continuation<Response>() {
"[SESSION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.deleteSessions(new Continuation<Response>() {
account.deleteSessions(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.delete(new Continuation<Response>() {
account.delete(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.getLogs(new Continuation<Response>() {
account.getLogs(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.getPrefs(new Continuation<Response>() {
account.getPrefs(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.getSession(
sessionId = "[SESSION_ID]"
new Continuation<Response>() {
"[SESSION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.getSessions(new Continuation<Response>() {
account.getSessions(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
Account account = new Account(client);
account.get(new Continuation<Response>() {
account.get(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Account account = new Account(client);
account.updateEmail(
email = "email@example.com",
password = "password"
new Continuation<Response>() {
"email@example.com",
"password"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.updateName(
name = "[NAME]"
new Continuation<Response>() {
"[NAME]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.updatePassword(
password = "password",
new Continuation<Response>() {
"password",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Account account = new Account(client);
account.updatePrefs(
prefs = mapOf( "a" to "b" )
new Continuation<Response>() {
mapOf( "a" to "b" )
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,11 +9,11 @@ public void main() {
Account account = new Account(client);
account.updateRecovery(
userId = "[USER_ID]",
secret = "[SECRET]",
password = "password",
passwordAgain = "password"
new Continuation<Response>() {
"[USER_ID]",
"[SECRET]",
"password",
"password"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Account account = new Account(client);
account.updateVerification(
userId = "[USER_ID]",
secret = "[SECRET]"
new Continuation<Response>() {
"[USER_ID]",
"[SECRET]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getBrowser(
code = "aa",
new Continuation<Response>() {
"aa",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getCreditCard(
code = "amex",
new Continuation<Response>() {
"amex",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getFavicon(
url = "https://example.com"
new Continuation<Response>() {
"https://example.com"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getFlag(
code = "af",
new Continuation<Response>() {
"af",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getImage(
url = "https://example.com",
new Continuation<Response>() {
"https://example.com",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getInitials(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Avatars avatars = new Avatars(client);
avatars.getQR(
text = "[TEXT]",
new Continuation<Response>() {
"[TEXT]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,11 +9,11 @@ public void main() {
Database database = new Database(client);
database.createCollection(
name = "[NAME]",
read = listOf(),
write = listOf(),
rules = listOf()
new Continuation<Response>() {
"[NAME]",
listOf(),
listOf(),
listOf()
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Database database = new Database(client);
database.createDocument(
collectionId = "[COLLECTION_ID]",
data = mapOf( "a" to "b" ),
new Continuation<Response>() {
"[COLLECTION_ID]",
mapOf( "a" to "b" ),
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Database database = new Database(client);
database.deleteCollection(
collectionId = "[COLLECTION_ID]"
new Continuation<Response>() {
"[COLLECTION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Database database = new Database(client);
database.deleteDocument(
collectionId = "[COLLECTION_ID]",
documentId = "[DOCUMENT_ID]"
new Continuation<Response>() {
"[COLLECTION_ID]",
"[DOCUMENT_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Database database = new Database(client);
database.getCollection(
collectionId = "[COLLECTION_ID]"
new Continuation<Response>() {
"[COLLECTION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Database database = new Database(client);
database.getDocument(
collectionId = "[COLLECTION_ID]",
documentId = "[DOCUMENT_ID]"
new Continuation<Response>() {
"[COLLECTION_ID]",
"[DOCUMENT_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Database database = new Database(client);
database.listCollections(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Database database = new Database(client);
database.listDocuments(
collectionId = "[COLLECTION_ID]",
new Continuation<Response>() {
"[COLLECTION_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Database database = new Database(client);
database.updateCollection(
collectionId = "[COLLECTION_ID]",
name = "[NAME]",
new Continuation<Response>() {
"[COLLECTION_ID]",
"[NAME]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Database database = new Database(client);
database.updateDocument(
collectionId = "[COLLECTION_ID]",
documentId = "[DOCUMENT_ID]",
data = mapOf( "a" to "b" ),
new Continuation<Response>() {
"[COLLECTION_ID]",
"[DOCUMENT_ID]",
mapOf( "a" to "b" ),
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Functions functions = new Functions(client);
functions.createExecution(
functionId = "[FUNCTION_ID]",
new Continuation<Response>() {
"[FUNCTION_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Functions functions = new Functions(client);
functions.createTag(
functionId = "[FUNCTION_ID]",
command = "[COMMAND]",
code = File("./path-to-files/image.jpg")
new Continuation<Response>() {
"[FUNCTION_ID]",
"[COMMAND]",
File("./path-to-files/image.jpg")
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Functions functions = new Functions(client);
functions.create(
name = "[NAME]",
execute = listOf(),
runtime = "java-11.0",
new Continuation<Response>() {
"[NAME]",
listOf(),
"java-11.0",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Functions functions = new Functions(client);
functions.deleteTag(
functionId = "[FUNCTION_ID]",
tagId = "[TAG_ID]"
new Continuation<Response>() {
"[FUNCTION_ID]",
"[TAG_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Functions functions = new Functions(client);
functions.delete(
functionId = "[FUNCTION_ID]"
new Continuation<Response>() {
"[FUNCTION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Functions functions = new Functions(client);
functions.getExecution(
functionId = "[FUNCTION_ID]",
executionId = "[EXECUTION_ID]"
new Continuation<Response>() {
"[FUNCTION_ID]",
"[EXECUTION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Functions functions = new Functions(client);
functions.getTag(
functionId = "[FUNCTION_ID]",
tagId = "[TAG_ID]"
new Continuation<Response>() {
"[FUNCTION_ID]",
"[TAG_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Functions functions = new Functions(client);
functions.get(
functionId = "[FUNCTION_ID]"
new Continuation<Response>() {
"[FUNCTION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Functions functions = new Functions(client);
functions.listExecutions(
functionId = "[FUNCTION_ID]",
new Continuation<Response>() {
"[FUNCTION_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Functions functions = new Functions(client);
functions.listTags(
functionId = "[FUNCTION_ID]",
new Continuation<Response>() {
"[FUNCTION_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Functions functions = new Functions(client);
functions.list(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Functions functions = new Functions(client);
functions.updateTag(
functionId = "[FUNCTION_ID]",
tag = "[TAG]"
new Continuation<Response>() {
"[FUNCTION_ID]",
"[TAG]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Functions functions = new Functions(client);
functions.update(
functionId = "[FUNCTION_ID]",
name = "[NAME]",
execute = listOf(),
new Continuation<Response>() {
"[FUNCTION_ID]",
"[NAME]",
listOf(),
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getAntiVirus(new Continuation<Response>() {
health.getAntiVirus(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getCache(new Continuation<Response>() {
health.getCache(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getDB(new Continuation<Response>() {
health.getDB(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueCertificates(new Continuation<Response>() {
health.getQueueCertificates(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueFunctions(new Continuation<Response>() {
health.getQueueFunctions(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueLogs(new Continuation<Response>() {
health.getQueueLogs(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueTasks(new Continuation<Response>() {
health.getQueueTasks(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueUsage(new Continuation<Response>() {
health.getQueueUsage(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getQueueWebhooks(new Continuation<Response>() {
health.getQueueWebhooks(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getStorageLocal(new Continuation<Response>() {
health.getStorageLocal(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.getTime(new Continuation<Response>() {
health.getTime(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Health health = new Health(client);
health.get(new Continuation<Response>() {
health.get(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getContinents(new Continuation<Response>() {
locale.getContinents(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getCountriesEU(new Continuation<Response>() {
locale.getCountriesEU(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getCountriesPhones(new Continuation<Response>() {
locale.getCountriesPhones(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getCountries(new Continuation<Response>() {
locale.getCountries(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getCurrencies(new Continuation<Response>() {
locale.getCurrencies(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.getLanguages(new Continuation<Response>() {
locale.getLanguages(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -8,7 +8,7 @@ public void main() {
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
Locale locale = new Locale(client);
locale.get(new Continuation<Response>() {
locale.get(new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.createFile(
file = File("./path-to-files/image.jpg"),
new Continuation<Response>() {
File("./path-to-files/image.jpg"),
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.deleteFile(
fileId = "[FILE_ID]"
new Continuation<Response>() {
"[FILE_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.getFileDownload(
fileId = "[FILE_ID]"
new Continuation<Response>() {
"[FILE_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.getFilePreview(
fileId = "[FILE_ID]",
new Continuation<Response>() {
"[FILE_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.getFileView(
fileId = "[FILE_ID]"
new Continuation<Response>() {
"[FILE_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Storage storage = new Storage(client);
storage.getFile(
fileId = "[FILE_ID]"
new Continuation<Response>() {
"[FILE_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Storage storage = new Storage(client);
storage.listFiles(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Storage storage = new Storage(client);
storage.updateFile(
fileId = "[FILE_ID]",
read = listOf(),
write = listOf()
new Continuation<Response>() {
"[FILE_ID]",
listOf(),
listOf()
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,11 +9,11 @@ public void main() {
Teams teams = new Teams(client);
teams.createMembership(
teamId = "[TEAM_ID]",
email = "email@example.com",
roles = listOf(),
url = "https://example.com",
new Continuation<Response>() {
"[TEAM_ID]",
"email@example.com",
listOf(),
"https://example.com",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Teams teams = new Teams(client);
teams.create(
name = "[NAME]",
new Continuation<Response>() {
"[NAME]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Teams teams = new Teams(client);
teams.deleteMembership(
teamId = "[TEAM_ID]",
membershipId = "[MEMBERSHIP_ID]"
new Continuation<Response>() {
"[TEAM_ID]",
"[MEMBERSHIP_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Teams teams = new Teams(client);
teams.delete(
teamId = "[TEAM_ID]"
new Continuation<Response>() {
"[TEAM_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Teams teams = new Teams(client);
teams.getMemberships(
teamId = "[TEAM_ID]",
new Continuation<Response>() {
"[TEAM_ID]",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Teams teams = new Teams(client);
teams.get(
teamId = "[TEAM_ID]"
new Continuation<Response>() {
"[TEAM_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Teams teams = new Teams(client);
teams.list(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,10 +9,10 @@ public void main() {
Teams teams = new Teams(client);
teams.updateMembershipRoles(
teamId = "[TEAM_ID]",
membershipId = "[MEMBERSHIP_ID]",
roles = listOf()
new Continuation<Response>() {
"[TEAM_ID]",
"[MEMBERSHIP_ID]",
listOf()
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,11 +9,11 @@ public void main() {
Teams teams = new Teams(client);
teams.updateMembershipStatus(
teamId = "[TEAM_ID]",
membershipId = "[MEMBERSHIP_ID]",
userId = "[USER_ID]",
secret = "[SECRET]"
new Continuation<Response>() {
"[TEAM_ID]",
"[MEMBERSHIP_ID]",
"[USER_ID]",
"[SECRET]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Teams teams = new Teams(client);
teams.update(
teamId = "[TEAM_ID]",
name = "[NAME]"
new Continuation<Response>() {
"[TEAM_ID]",
"[NAME]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Users users = new Users(client);
users.create(
email = "email@example.com",
password = "password",
new Continuation<Response>() {
"email@example.com",
"password",
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Users users = new Users(client);
users.deleteSession(
userId = "[USER_ID]",
sessionId = "[SESSION_ID]"
new Continuation<Response>() {
"[USER_ID]",
"[SESSION_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.deleteSessions(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.delete(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.getLogs(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.getPrefs(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.getSessions(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,8 +9,8 @@ public void main() {
Users users = new Users(client);
users.get(
userId = "[USER_ID]"
new Continuation<Response>() {
"[USER_ID]"
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,7 +9,7 @@ public void main() {
Users users = new Users(client);
users.list(
new Continuation<Response>() {
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Users users = new Users(client);
users.updatePrefs(
userId = "[USER_ID]",
prefs = mapOf( "a" to "b" )
new Continuation<Response>() {
"[USER_ID]",
mapOf( "a" to "b" )
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Users users = new Users(client);
users.updateStatus(
userId = "[USER_ID]",
status = 1
new Continuation<Response>() {
"[USER_ID]",
1
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {

View file

@ -9,9 +9,9 @@ public void main() {
Users users = new Users(client);
users.updateVerification(
userId = "[USER_ID]",
emailVerification = false
new Continuation<Response>() {
"[USER_ID]",
false
new Continuation<Object>() {
@NotNull
@Override
public CoroutineContext getContext() {