-
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
Showing
16 changed files
with
67 additions
and
52 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
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
28 changes: 1 addition & 27 deletions
28
app/src/main/java/com/wafflestudio/snutt2/lib/network/dto/PutLectureParams.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 |
---|---|---|
@@ -1,29 +1,3 @@ | ||
package com.wafflestudio.snutt2.lib.network.dto | ||
|
||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
import com.wafflestudio.snutt2.lib.network.dto.core.ClassTimeDto | ||
import com.wafflestudio.snutt2.lib.network.dto.core.ColorDto | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class PutLectureParams( | ||
@Json(name = "id") var id: String? = null, | ||
@Json(name = "classification") var classification: String? = null, | ||
@Json(name = "department") var department: String? = null, | ||
@Json(name = "academic_year") var academic_year: String? = null, | ||
@Json(name = "course_number") var course_number: String? = null, | ||
@Json(name = "lecture_number") var lecture_number: String? = null, | ||
@Json(name = "course_title") var course_title: String? = null, | ||
@Json(name = "credit") var credit: Long? = null, | ||
@Json(name = "class_time") var class_time: String? = null, // lecture 검색시 띄어주는 class time | ||
@Json(name = "class_time_json") var class_time_json: List<ClassTimeDto>? = null, | ||
@Json(name = "location") var location: String? = null, | ||
@Json(name = "instructor") var instructor: String? = null, | ||
@Json(name = "quota") var quota: Long? = null, | ||
@Json(name = "enrollment") var enrollment: Long? = null, | ||
@Json(name = "remark") var remark: String? = null, | ||
@Json(name = "category") var category: String? = null, | ||
@Json(name = "colorIndex") var colorIndex: Long? = null, // 색상 | ||
@Json(name = "color") var color: ColorDto? = null, | ||
@Json(name = "is_forced") var isForced: Boolean? = false, | ||
) | ||
typealias PutLectureParams = PostCustomLectureParams |
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
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
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