generated from NOW-SOPT-ANDROID/now-sopt-android-template
-
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.
- Loading branch information
1 parent
191999e
commit 4391afa
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
app/src/main/java/com/sopt/now/test/data/dto/response/ResponseFriendInfoDto.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,40 @@ | ||
package com.sopt.now.test.data.dto.response | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ResponseFriendDto( | ||
@SerialName("page") | ||
val page: Int, | ||
@SerialName("per_page") | ||
val perPage: Int, | ||
@SerialName("total") | ||
val total: Int, | ||
@SerialName("total_pages") | ||
val totalPages: Int, | ||
val data: List<FriendInfo>, | ||
val support: Support | ||
) | ||
|
||
@Serializable | ||
data class FriendInfo( | ||
@SerialName("id") | ||
val id: Int, | ||
@SerialName("email") | ||
val email: String, | ||
@SerialName("first_name") | ||
val firstName: String, | ||
@SerialName("last_name") | ||
val lastName: String, | ||
@SerialName("avatar") | ||
val avatar: String, | ||
) | ||
|
||
@Serializable | ||
data class Support( | ||
@SerialName("url") | ||
val url: String, | ||
@SerialName("text") | ||
val text: String | ||
) |