Jelajahi Sumber

Refactor: remove not use body

liweihao 5 tahun lalu
induk
melakukan
cf8eeefe96

+ 0 - 9
src/main/java/com/example/kdan_data_center/datacenter/folder/body/SelectFolderBody.kt

@@ -1,9 +0,0 @@
-package com.example.kdan_data_center.datacenter.folder.body
-
-import com.google.gson.annotations.SerializedName
-
-
-data class SelectFolderBody(
-        @SerializedName("folder_id") val folderId: Int?,
-        @SerializedName("folder_id_list") val folderIdList: List<Int>?
-)

+ 0 - 10
src/main/java/com/example/kdan_data_center/datacenter/folder/body/SelectFolderWithParent.kt

@@ -1,10 +0,0 @@
-package com.example.kdan_data_center.datacenter.folder.body
-
-import com.google.gson.annotations.SerializedName
-
-
-data class SelectFolderWithParent(
-        @SerializedName("folder_id") val folderId: Int?,
-        @SerializedName("folder_id_list") val folderIdList: List<Int>?,
-        @SerializedName("parent_id") val parentId: Int?
-)

+ 0 - 20
src/main/java/com/example/kdan_data_center/datacenter/folder/body/SyncBody.kt

@@ -1,20 +0,0 @@
-package com.example.kdan_data_center.datacenter.folder.body
-
-
-data class SyncBody(
-        val last_sync_time: String,
-        val architecture_infos: List<ArchitectureInfo>
-) {
-
-    data class ArchitectureInfo(
-            val updated_at: String,
-            val depth: Int
-    ){
-        val folder_id: Int? = null
-        val prev_parent_id: Int? = null
-        val prev_name:String? = null
-        val cur_parent_id: Int? = null
-        val cur_name: String? = null
-        val cur_path: String? = null
-    }
-}