forked from fossasia/open-event-droidgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: converted POJO classes to kotlin models.Fixes fossasia#2357
- Loading branch information
Showing
65 changed files
with
749 additions
and
3,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
android/app/src/main/java/org/fossasia/openevent/core/auth/model/ImageResponse.java
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
android/app/src/main/java/org/fossasia/openevent/core/auth/model/ImageResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package org.fossasia.openevent.core.auth.model | ||
|
||
data class ImageResponse ( var url: String ) |
61 changes: 0 additions & 61 deletions
61
android/app/src/main/java/org/fossasia/openevent/core/auth/model/Login.java
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
android/app/src/main/java/org/fossasia/openevent/core/auth/model/Login.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package org.fossasia.openevent.core.auth.model | ||
|
||
data class Login(var email: String?, var password: String?) |
52 changes: 0 additions & 52 deletions
52
android/app/src/main/java/org/fossasia/openevent/core/auth/model/LoginResponse.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
android/app/src/main/java/org/fossasia/openevent/core/auth/model/LoginResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.fossasia.openevent.core.auth.model | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategy | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
|
||
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy::class) | ||
data class LoginResponse ( var accessToken: String? = null ) |
44 changes: 0 additions & 44 deletions
44
android/app/src/main/java/org/fossasia/openevent/core/auth/model/UploadImage.java
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
android/app/src/main/java/org/fossasia/openevent/core/auth/model/UploadImage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package org.fossasia.openevent.core.auth.model | ||
|
||
data class UploadImage(var data: String?) |
Oops, something went wrong.