• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package kotlinx.benchmarks.model
2 
3 import kotlinx.serialization.Serializable
4 
5 
6 @Serializable
7 data class CitmCatalog(
8     val areaNames: Map<String, String>,
9     val blockNames: Map<String, String>,
10     val events: Map<String, CitmEvent>,
11     val audienceSubCategoryNames: Map<String, String>,
12     val performances: List<CitmPerformance>,
13     val seatCategoryNames: Map<String, String>,
14     val subTopicNames: Map<String, String>,
15     val subjectNames: Map<String, String>,
16     val topicNames: Map<String, String>,
17     val topicSubTopics: Map<String, List<Int>>,
18     val venueNames: Map<String, String>
19 )
20 
21 @Serializable
22 data class CitmPerformance(
23     val eventId: Int,
24     val id: Int,
25     val logo: String?,
26     val name: String?,
27     val prices: List<CitmPrice>,
28     val seatCategories: List<CitmSeatCategory>,
29     val seatMapImage: String?,
30     val start: Long,
31     val venueCode: String
32 )
33 
34 @Serializable
35 data class CitmSeatCategory(
36     val areas: List<CitmArea>,
37     val seatCategoryId: Int
38 )
39 
40 @Serializable
41 data class CitmArea(val areaId: Int, val blockIds: List<String>)
42 
43 @Serializable
44 data class CitmPrice(
45     val amount: Int,
46     val audienceSubCategoryId: Int,
47     val seatCategoryId: Int
48 )
49 
50 @Serializable
51 data class CitmEvent(
52     val description: String?,
53     val id: Int?,
54     val logo: String?,
55     val name: String,
56     val subTopicIds: List<Int>,
57     val subjectCode: Int?,
58     val subtitle: String?,
59     val topicIds: List<Int>
60 )
61