File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
android/library/src/main/java/io/package/services
kotlin/src/main/kotlin/io/appwrite/services Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
43
43
{%~ if method .parameters .all | reduce((carry , param ) => carry or not param .required ) %}
44
44
@JvmOverloads
45
45
{%~ endif %}
46
- suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel }}(
46
+ suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel | escapeKeyword }}(
47
47
{%~ if method .type == " webAuth" %}
48
48
activity: ComponentActivity,
49
49
{%~ endif %}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
36
36
@JvmOverloads
37
37
{%~ endif %}
38
38
@Throws({{ spec .title | caseUcfirst }}Exception::class)
39
- suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel }}(
39
+ suspend fun {% if method .responseModel | hasGenericType(spec ) %}{{ ' <T>' | raw }} {% endif %}{{ method .name | caseCamel | escapeKeyword }}(
40
40
{%~ for parameter in method .parameters .all %}
41
41
{{ parameter .name | caseCamel }}: {{ parameter | typeName }}{%~ if not parameter .required or parameter .nullable %}? = null{% endif %},
42
42
{%~ endfor %}
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public void test() throws IOException {
140
140
writeToFile (ex .toString ());
141
141
}
142
142
143
- general .enum (MockType .FIRST , new CoroutineCallback <>(this ::writeMockResult ));
143
+ general .xenum (MockType .FIRST , new CoroutineCallback <>(this ::writeMockResult ));
144
144
145
145
try {
146
146
general .error400 ();
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class ServiceTest {
135
135
writeToFile(ex.toString())
136
136
}
137
137
138
- mock = general.enum (MockType .FIRST )
138
+ mock = general.xenum (MockType .FIRST )
139
139
writeToFile(mock.result)
140
140
141
141
try {
You can’t perform that action at this time.
0 commit comments