Schedule.kt 376 Bytes
Newer Older
Dylan Jones's avatar
Dylan Jones committed
1
2
3
4
5
6
7
8
9
10
package srct.whatsopen.model

import com.google.gson.annotations.SerializedName

import java.util.*

data class Schedule(
    @SerializedName("open_times") var openTimesList: List<OpenTimes>,
    @SerializedName("valid_start") var validStart: Date,
    @SerializedName("valid_end") var validEnd: Date,
Dylan Jones's avatar
Dylan Jones committed
11
12
13
    @SerializedName("twenty_four_hours") var isOpen24Hours: Boolean
) {
}