Skip to content

Commit 2fa96fc

Browse files
committed
feat: update for 1.0.0-RC1
1 parent f112351 commit 2fa96fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+96
-153
lines changed

src/main/kotlin/io/appwrite/models/Account.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ data class Account(
122122
"phoneVerification" to phoneVerification as Any,
123123
"prefs" to prefs.toMap() as Any
124124
)
125-
}
125+
}

src/main/kotlin/io/appwrite/models/AlgoArgon2.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ data class AlgoArgon2(
4141
"timeCost" to timeCost as Any,
4242
"threads" to threads as Any
4343
)
44-
}
44+
}

src/main/kotlin/io/appwrite/models/AlgoBcrypt.kt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ import com.google.gson.annotations.SerializedName
55
/**
66
* AlgoBcrypt
77
*/
8-
data class AlgoBcrypt(
9-
) {
10-
companion object {
11-
@Suppress("UNCHECKED_CAST")
12-
fun from(map: Map<String, Any>) = AlgoBcrypt(
13-
)
14-
}
15-
16-
fun toMap(): Map<String, Any> = mapOf(
17-
)
18-
}
8+
class AlgoBcrypt {}

src/main/kotlin/io/appwrite/models/AlgoMd5.kt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ import com.google.gson.annotations.SerializedName
55
/**
66
* AlgoMD5
77
*/
8-
data class AlgoMd5(
9-
) {
10-
companion object {
11-
@Suppress("UNCHECKED_CAST")
12-
fun from(map: Map<String, Any>) = AlgoMd5(
13-
)
14-
}
15-
16-
fun toMap(): Map<String, Any> = mapOf(
17-
)
18-
}
8+
class AlgoMd5 {}

src/main/kotlin/io/appwrite/models/AlgoPhpass.kt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ import com.google.gson.annotations.SerializedName
55
/**
66
* AlgoPHPass
77
*/
8-
data class AlgoPhpass(
9-
) {
10-
companion object {
11-
@Suppress("UNCHECKED_CAST")
12-
fun from(map: Map<String, Any>) = AlgoPhpass(
13-
)
14-
}
15-
16-
fun toMap(): Map<String, Any> = mapOf(
17-
)
18-
}
8+
class AlgoPhpass {}

src/main/kotlin/io/appwrite/models/AlgoScrypt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ data class AlgoScrypt(
5050
"costParallel" to costParallel as Any,
5151
"length" to length as Any
5252
)
53-
}
53+
}

src/main/kotlin/io/appwrite/models/AlgoScryptModified.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ data class AlgoScryptModified(
4141
"saltSeparator" to saltSeparator as Any,
4242
"signerKey" to signerKey as Any
4343
)
44-
}
44+
}

src/main/kotlin/io/appwrite/models/AlgoSha.kt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ import com.google.gson.annotations.SerializedName
55
/**
66
* AlgoSHA
77
*/
8-
data class AlgoSha(
9-
) {
10-
companion object {
11-
@Suppress("UNCHECKED_CAST")
12-
fun from(map: Map<String, Any>) = AlgoSha(
13-
)
14-
}
15-
16-
fun toMap(): Map<String, Any> = mapOf(
17-
)
18-
}
8+
class AlgoSha {}

src/main/kotlin/io/appwrite/models/AttributeBoolean.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ data class AttributeBoolean(
6868
"array" to array as Any,
6969
"default" to default as Any
7070
)
71-
}
71+
}

src/main/kotlin/io/appwrite/models/AttributeDatetime.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ data class AttributeDatetime(
7777
"format" to format as Any,
7878
"default" to default as Any
7979
)
80-
}
80+
}

0 commit comments

Comments
 (0)