File tree Expand file tree Collapse file tree 12 files changed +12
-12
lines changed
Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public void main() {
99
1010 Database database = new Database(client);
1111 database.createCollection(
12- collectionId = "",
12+ collectionId = "[COLLECTION_ID] ",
1313 name = "[NAME]",
1414 permission = "document",
1515 read = ["role:all"],
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public void main() {
1010 Database database = new Database(client);
1111 database.createDocument(
1212 collectionId = "[COLLECTION_ID]",
13- documentId = "",
13+ documentId = "[DOCUMENT_ID] ",
1414 data = mapOf( "a" to "b" ),
1515 new Continuation<Response>() {
1616 @NotNull
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public void main() {
99
1010 Functions functions = new Functions(client);
1111 functions.create(
12- functionId = "",
12+ functionId = "[FUNCTION_ID] ",
1313 name = "[NAME]",
1414 execute = listOf(),
1515 runtime = "node-14.5",
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public void main() {
99
1010 Storage storage = new Storage(client);
1111 storage.createFile(
12- fileId = "",
12+ fileId = "[FILE_ID] ",
1313 file = File("./path-to-files/image.jpg"),
1414 new Continuation<Response>() {
1515 @NotNull
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public void main() {
99
1010 Teams teams = new Teams(client);
1111 teams.create(
12- teamId = "",
12+ teamId = "[TEAM_ID] ",
1313 name = "[NAME]",
1414 new Continuation<Response>() {
1515 @NotNull
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public void main() {
99
1010 Users users = new Users(client);
1111 users.create(
12- userId = "",
12+ userId = "[USER_ID] ",
1313 email = "email@example.com",
1414 password = "password",
1515 new Continuation<Response>() {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ suspend fun main() {
99
1010 val database = Database(client)
1111 val response = database.createCollection(
12- collectionId = "",
12+ collectionId = "[COLLECTION_ID] ",
1313 name = "[NAME]",
1414 permission = "document",
1515 read = ["role:all"],
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ suspend fun main() {
1010 val database = Database(client)
1111 val response = database.createDocument(
1212 collectionId = "[COLLECTION_ID]",
13- documentId = "",
13+ documentId = "[DOCUMENT_ID] ",
1414 data = mapOf( "a" to "b" ),
1515 )
1616 val json = response.body?.string()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ suspend fun main() {
99
1010 val functions = Functions(client)
1111 val response = functions.create(
12- functionId = "",
12+ functionId = "[FUNCTION_ID] ",
1313 name = "[NAME]",
1414 execute = listOf(),
1515 runtime = "node-14.5",
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ suspend fun main() {
99
1010 val storage = Storage(client)
1111 val response = storage.createFile(
12- fileId = "",
12+ fileId = "[FILE_ID] ",
1313 file = File("./path-to-files/image.jpg"),
1414 )
1515 val json = response.body?.string()
You can’t perform that action at this time.
0 commit comments