From c55c58b40422781e54354bf89c8ea0d2e9a0d3fb Mon Sep 17 00:00:00 2001 From: merenyimiklos Date: Wed, 18 Nov 2026 22:24:14 +0100 Subject: [PATCH 1/5] ```text feat(api): add Chronos OpenAPI spec and regenerate API client * Add `chronos-openapi.json` OpenAPI specification for the Chronos backend. * Regenerate API client models, service interfaces, and generated test files. * Update `ApiClient` default base URL, JSON serialization options, and `sessionAuth` query parameter handling. ``` --- .../hu/petrik/filcapp/api/auth/ApiKeyAuth.kt | 17 +- .../petrik/filcapp/api/auth/Authentication.kt | 7 +- .../petrik/filcapp/api/auth/HttpBasicAuth.kt | 9 +- .../petrik/filcapp/api/auth/HttpBearerAuth.kt | 13 +- .../hu/petrik/filcapp/api/auth/OAuth.kt | 5 +- .../petrik/filcapp/api/client/APIKeysApi.kt | 113 +- .../filcapp/api/client/BugReportsApi.kt | 155 +- .../petrik/filcapp/api/client/ClassroomApi.kt | 86 +- .../hu/petrik/filcapp/api/client/CohortApi.kt | 75 +- .../petrik/filcapp/api/client/DashboardApi.kt | 50 +- .../petrik/filcapp/api/client/DoorlockApi.kt | 541 +- .../hu/petrik/filcapp/api/client/GroupApi.kt | 84 +- .../hu/petrik/filcapp/api/client/HealthApi.kt | 50 +- .../hu/petrik/filcapp/api/client/ImportApi.kt | 55 +- .../hu/petrik/filcapp/api/client/KioskApi.kt | 274 +- .../hu/petrik/filcapp/api/client/LessonApi.kt | 202 +- .../filcapp/api/client/MovedLessonApi.kt | 237 +- .../petrik/filcapp/api/client/NavigatorApi.kt | 910 +- .../api/client/NewsAnnouncementsApi.kt | 221 +- .../petrik/filcapp/api/client/NewsBlogsApi.kt | 261 +- .../api/client/NewsSystemMessagesApi.kt | 165 +- .../filcapp/api/client/NotificationsApi.kt | 325 +- .../hu/petrik/filcapp/api/client/PeriodApi.kt | 50 +- .../hu/petrik/filcapp/api/client/PingApi.kt | 73 +- .../hu/petrik/filcapp/api/client/RolesApi.kt | 153 +- .../petrik/filcapp/api/client/SubjectApi.kt | 50 +- .../filcapp/api/client/SubstitutionApi.kt | 242 +- .../petrik/filcapp/api/client/TeacherApi.kt | 125 +- .../petrik/filcapp/api/client/TimetableApi.kt | 234 +- .../hu/petrik/filcapp/api/client/UsersApi.kt | 86 +- .../hu/petrik/filcapp/api/client/WiFiApi.kt | 799 +- .../api/infrastructure/ApiAbstractions.kt | 33 +- .../filcapp/api/infrastructure/ApiClient.kt | 130 +- .../api/infrastructure/Base64ByteArray.kt | 22 +- .../api/infrastructure/HttpResponse.kt | 45 +- .../api/infrastructure/OctetByteArray.kt | 21 +- .../filcapp/api/infrastructure/PartConfig.kt | 8 + .../api/infrastructure/RequestConfig.kt | 2 +- .../api/infrastructure/RequestMethod.kt | 8 +- .../DeleteAdminApiKeysByKeyId200Response.kt | 26 +- .../DeleteAdminApiKeysByKeyId400Response.kt | 28 +- ...DeleteNavigatorBuildingsById200Response.kt | 26 +- .../api/model/GetAdminApiKeys200Response.kt | 27 +- .../GetAdminApiKeys200ResponseItemsInner.kt | 38 +- .../api/model/GetBugReport200Response.kt | 27 +- .../GetBugReport200ResponseItemsInner.kt | 35 +- ...tBugReport200ResponseItemsInnerMetadata.kt | 22 +- ...200ResponseItemsInnerMetadataAnyOfInner.kt | 24 +- ...200ResponseItemsInnerMetadataAnyOfValue.kt | 24 +- .../filcapp/api/model/GetCohort200Response.kt | 27 +- .../model/GetCohort200ResponseItemsInner.kt | 33 +- .../api/model/GetDashboardStats200Response.kt | 26 +- .../GetDashboardStats200ResponseStats.kt | 33 +- ...oardStats200ResponseStatsChartDataInner.kt | 28 +- .../api/model/GetDoorlockCards200Response.kt | 27 +- .../GetDoorlockCards200ResponseItemsInner.kt | 38 +- ...esponseItemsInnerAuthorizedDevicesInner.kt | 27 +- ...DoorlockCards200ResponseItemsInnerOwner.kt | 29 +- .../model/GetDoorlockCardsUsers200Response.kt | 27 +- ...DoorlockCardsUsers200ResponseItemsInner.kt | 29 +- .../model/GetDoorlockDevices200Response.kt | 27 +- ...GetDoorlockDevices200ResponseItemsInner.kt | 32 +- .../GetDoorlockDevicesByIdStats200Response.kt | 26 +- ...ckDevicesByIdStats200ResponseStatsInner.kt | 28 +- ...yIdStats200ResponseStatsInnerDeviceMeta.kt | 30 +- ...ats200ResponseStatsInnerDeviceMetaDebug.kt | 50 +- ...ResponseStatsInnerDeviceMetaDebugErrors.kt | 30 +- ...s200ResponseStatsInnerDeviceMetaStorage.kt | 27 +- .../api/model/GetDoorlockLogs200Response.kt | 27 +- .../GetDoorlockLogs200ResponseItemsInner.kt | 36 +- ...etDoorlockLogs200ResponseItemsInnerCard.kt | 27 +- .../GetDoorlockStatsOverview200Response.kt | 26 +- ...etDoorlockStatsOverview200ResponseStats.kt | 33 +- ...view200ResponseStatsDoorOpenSeriesInner.kt | 27 +- ...tsOverview200ResponseStatsTopUsersInner.kt | 29 +- .../filcapp/api/model/GetHealth200Response.kt | 30 +- .../filcapp/api/model/GetKiosk200Response.kt | 27 +- .../model/GetKiosk200ResponseItemsInner.kt | 36 +- .../api/model/GetKioskNews200Response.kt | 27 +- .../GetKioskNews200ResponseItemsInner.kt | 35 +- .../model/GetKioskPetrikNews200Response.kt | 27 +- ...GetKioskPetrikNews200ResponseItemsInner.kt | 30 +- .../api/model/GetKioskWeather200Response.kt | 29 +- .../model/GetNavigatorBuildings200Response.kt | 27 +- ...NavigatorBuildings200ResponseItemsInner.kt | 31 +- .../GetNavigatorClassroomTypes200Response.kt | 27 +- ...atorClassroomTypes200ResponseItemsInner.kt | 30 +- .../GetNavigatorClassrooms200Response.kt | 27 +- ...avigatorClassrooms200ResponseItemsInner.kt | 40 +- .../model/GetNavigatorCorridors200Response.kt | 27 +- ...NavigatorCorridors200ResponseItemsInner.kt | 38 +- .../api/model/GetNavigatorGraph200Response.kt | 31 +- .../GetNavigatorGraph200ResponseLiftsInner.kt | 34 +- ...GetNavigatorGraph200ResponseStairsInner.kt | 35 +- .../api/model/GetNavigatorLifts200Response.kt | 27 +- .../GetNavigatorLifts200ResponseItemsInner.kt | 34 +- .../model/GetNavigatorStairs200Response.kt | 27 +- ...GetNavigatorStairs200ResponseItemsInner.kt | 35 +- .../GetNavigatorTranslations200Response.kt | 27 +- ...igatorTranslations200ResponseItemsInner.kt | 28 +- ...vigatorTranslationsAvailable200Response.kt | 27 +- .../model/GetNewsAnnouncements200Response.kt | 27 +- ...tNewsAnnouncements200ResponseItemsInner.kt | 42 +- ...nnouncements200ResponseItemsInnerAuthor.kt | 28 +- .../GetNewsAnnouncementsById200Response.kt | 42 +- ...tNewsAnnouncementsById200ResponseAuthor.kt | 28 +- .../api/model/GetNewsBlogs200Response.kt | 27 +- .../GetNewsBlogs200ResponseItemsInner.kt | 35 +- .../model/GetNewsBlogsBySlug200Response.kt | 35 +- .../model/GetNewsSystemMessages200Response.kt | 27 +- ...NewsSystemMessages200ResponseItemsInner.kt | 35 +- .../GetNewsSystemMessagesById200Response.kt | 35 +- .../api/model/GetNotifications200Response.kt | 27 +- .../GetNotifications200ResponseItemsInner.kt | 35 +- .../GetNotificationsSettings200Response.kt | 40 +- ...tings200ResponseNotificationPreferences.kt | 32 +- .../GetNotificationsUnreadCount200Response.kt | 26 +- .../filcapp/api/model/GetPing200Response.kt | 26 +- .../api/model/GetPingUptime200Response.kt | 27 +- .../filcapp/api/model/GetRoles200Response.kt | 27 +- .../model/GetRoles200ResponseItemsInner.kt | 27 +- ...GroupsGetForCohortByCohortId200Response.kt | 30 +- ...orCohortByCohortId200ResponseItemsInner.kt | 33 +- ...essonsGetForCohortByCohortId200Response.kt | 30 +- ...orCohortByCohortId200ResponseItemsInner.kt | 53 +- ...tId200ResponseItemsInnerClassroomsInner.kt | 28 +- ...hortId200ResponseItemsInnerCohortsInner.kt | 28 +- ...ohortByCohortId200ResponseItemsInnerDay.kt | 31 +- ...ohortId200ResponseItemsInnerGroupsInner.kt | 29 +- ...rtByCohortId200ResponseItemsInnerPeriod.kt | 29 +- ...tByCohortId200ResponseItemsInnerSubject.kt | 28 +- ...rtId200ResponseItemsInnerWeekDefinition.kt | 29 +- ...bleLessonsGetForIdByLessonId200Response.kt | 51 +- ...LessonsGetForIdByLessonId200ResponseDay.kt | 31 +- ...etForIdByLessonId200ResponseGroupsInner.kt | 29 +- ...orIdByLessonId200ResponseWeekDefinition.kt | 29 +- .../GetTimetableMovedLessons200Response.kt | 27 +- ...etableMovedLessons200ResponseItemsInner.kt | 33 +- ...Lessons200ResponseItemsInnerMovedLesson.kt | 31 +- ...MovedLessons200ResponseItemsInnerPeriod.kt | 31 +- .../GetTimetablePeriodsGetAll200Response.kt | 27 +- ...tablePeriodsGetAll200ResponseItemsInner.kt | 29 +- .../model/GetTimetableSubjects200Response.kt | 27 +- ...tTimetableSubjects200ResponseItemsInner.kt | 30 +- .../GetTimetableSubstitutions200Response.kt | 27 +- ...tableSubstitutions200ResponseItemsInner.kt | 31 +- ...utions200ResponseItemsInnerSubstitution.kt | 29 +- ...bstitutions200ResponseItemsInnerTeacher.kt | 32 +- ...ubstitutionsCohortByCohortId200Response.kt | 28 +- ...metableSubstitutionsRelevant200Response.kt | 27 +- ...stitutionsRelevant200ResponseItemsInner.kt | 28 +- ...onsRelevant200ResponseItemsInnerTeacher.kt | 32 +- .../model/GetTimetableTeachers200Response.kt | 27 +- ...tTimetableTeachers200ResponseItemsInner.kt | 32 +- ...etableTeachers200ResponseItemsInnerUser.kt | 28 +- .../GetTimetableTeachersGetAll200Response.kt | 27 +- ...ableTeachersGetAll200ResponseItemsInner.kt | 29 +- .../GetTimetableTeachersMe200Response.kt | 29 +- .../GetTimetableTimetables200Response.kt | 27 +- ...imetableTimetables200ResponseItemsInner.kt | 31 +- ...eTimetablesByIdPreviewDelete200Response.kt | 32 +- ...yIdPreviewDelete200ResponseCohortsInner.kt | 28 +- ...ablesByIdPreviewDelete200ResponseTotals.kt | 31 +- .../filcapp/api/model/GetUsers200Response.kt | 27 +- .../model/GetUsers200ResponseItemsInner.kt | 37 +- .../api/model/GetWifiAuthLogs200Response.kt | 27 +- .../GetWifiAuthLogs200ResponseItemsInner.kt | 38 +- .../api/model/GetWifiDevices200Response.kt | 27 +- .../GetWifiDevices200ResponseItemsInner.kt | 35 +- .../api/model/GetWifiNas200Response.kt | 27 +- .../model/GetWifiNas200ResponseItemsInner.kt | 31 +- .../GetWifiRoleSpeedProfiles200Response.kt | 27 +- ...iRoleSpeedProfiles200ResponseItemsInner.kt | 28 +- .../api/model/GetWifiSelf200Response.kt | 29 +- .../GetWifiSelf200ResponseDevicesInner.kt | 31 +- .../model/GetWifiSelf200ResponseSpeedLimit.kt | 45 +- .../model/GetWifiSpeedProfiles200Response.kt | 27 +- ...tWifiSpeedProfiles200ResponseItemsInner.kt | 30 +- .../model/GetWifiStatsOverview200Response.kt | 26 +- .../GetWifiStatsOverview200ResponseStats.kt | 32 +- ...Overview200ResponseStatsAuthSeriesInner.kt | 28 +- .../api/model/GetWifiStatus200Response.kt | 27 +- .../api/model/GetWifiUsers200Response.kt | 27 +- .../GetWifiUsers200ResponseItemsInner.kt | 37 +- .../PatchAdminApiKeysByKeyId200Response.kt | 38 +- .../PatchAdminApiKeysByKeyId400Response.kt | 28 +- .../model/PatchAdminApiKeysByKeyIdRequest.kt | 26 +- .../PatchBugReportByIdStatus200Response.kt | 35 +- ...hBugReportByIdStatus200ResponseMetadata.kt | 22 +- .../model/PatchBugReportByIdStatusRequest.kt | 45 +- .../PatchNewsAnnouncementsById200Response.kt | 41 +- .../PatchNewsAnnouncementsByIdRequest.kt | 33 +- ...ewsAnnouncementsByIdRequestContentInner.kt | 27 +- .../model/PatchNewsBlogsById200Response.kt | 34 +- .../api/model/PatchNewsBlogsByIdRequest.kt | 28 +- .../PatchNewsSystemMessagesById200Response.kt | 34 +- .../PatchNewsSystemMessagesByIdRequest.kt | 30 +- .../PatchNotificationsSettingsRequest.kt | 46 +- ...sSettingsRequestNotificationPreferences.kt | 32 +- .../api/model/PatchRolesByNameRequest.kt | 26 +- .../PatchTimetableTeachersById200Response.kt | 32 +- ...tchTimetableTeachersById200ResponseUser.kt | 28 +- .../PatchTimetableTeachersByIdRequest.kt | 27 +- ...PatchTimetableTimetablesById200Response.kt | 31 +- .../PatchTimetableTimetablesByIdRequest.kt | 28 +- .../api/model/PatchUsersById200Response.kt | 37 +- .../api/model/PatchUsersByIdRequest.kt | 28 +- .../api/model/PostBugReport201Response.kt | 26 +- .../filcapp/api/model/PostBugReportRequest.kt | 31 +- .../PostBugReportRequestMetadataValue.kt | 22 +- ...BugReportRequestMetadataValueAnyOfInner.kt | 22 +- ...BugReportRequestMetadataValueAnyOfValue.kt | 22 +- .../api/model/PostDoorlockCards201Response.kt | 38 +- ...kCards201ResponseAuthorizedDevicesInner.kt | 27 +- .../PostDoorlockCards201ResponseOwner.kt | 29 +- .../api/model/PostDoorlockCardsRequest.kt | 33 +- .../model/PostDoorlockDevices201Response.kt | 32 +- ...ostDoorlockDevicesByIdUpdate200Response.kt | 27 +- .../PostDoorlockDevicesByIdUpdateRequest.kt | 26 +- .../api/model/PostDoorlockDevicesRequest.kt | 29 +- .../PostDoorlockDevicesUpdate200Response.kt | 26 +- ...oorlockSelfCardsByIdActivate200Response.kt | 33 +- ...ostDoorlockSelfCardsByIdActivateRequest.kt | 26 +- .../filcapp/api/model/PostKiosk201Response.kt | 36 +- .../model/PostKioskDepartures200Response.kt | 29 +- ...ostKioskDepartures200ResponseItemsInner.kt | 28 +- .../api/model/PostKioskDeparturesRequest.kt | 26 +- .../PostKioskDeparturesRequestGroupsInner.kt | 27 +- ...kDeparturesRequestGroupsInnerStopsInner.kt | 27 +- .../model/PostKioskHeartbeat200Response.kt | 33 +- .../PostKioskHeartbeat200ResponseAnyOf.kt | 27 +- .../PostKioskHeartbeat200ResponseAnyOf1.kt | 31 +- ...ostKioskHeartbeat200ResponseAnyOf1Kiosk.kt | 39 +- .../PostKioskHeartbeat200ResponseAnyOf2.kt | 31 +- ...ostKioskHeartbeat200ResponseAnyOf2Kiosk.kt | 40 +- .../api/model/PostKioskHeartbeatRequest.kt | 27 +- .../filcapp/api/model/PostKioskRequest.kt | 41 +- .../api/model/PostKioskRequestConfig.kt | 22 +- .../PostNavigatorBuildings201Response.kt | 31 +- .../model/PostNavigatorBuildingsRequest.kt | 29 +- .../PostNavigatorClassroomTypes201Response.kt | 30 +- .../PostNavigatorClassroomTypesRequest.kt | 27 +- .../PostNavigatorClassrooms201Response.kt | 40 +- .../model/PostNavigatorClassroomsRequest.kt | 38 +- .../PostNavigatorCorridors201Response.kt | 38 +- .../model/PostNavigatorCorridorsRequest.kt | 35 +- .../model/PostNavigatorImport200Response.kt | 32 +- .../api/model/PostNavigatorImportRequest.kt | 26 +- .../api/model/PostNavigatorLiftsRequest.kt | 31 +- .../api/model/PostNavigatorStairsRequest.kt | 32 +- .../PostNavigatorTranslations201Response.kt | 27 +- ...igatorTranslations201ResponseItemsInner.kt | 28 +- .../model/PostNavigatorTranslationsRequest.kt | 27 +- .../model/PostNewsAnnouncements201Response.kt | 41 +- .../api/model/PostNewsAnnouncementsRequest.kt | 33 +- ...ostNewsAnnouncementsRequestContentInner.kt | 27 +- .../api/model/PostNewsBlogs201Response.kt | 34 +- .../filcapp/api/model/PostNewsBlogsRequest.kt | 40 +- .../PostNewsSystemMessages201Response.kt | 34 +- .../model/PostNewsSystemMessagesRequest.kt | 30 +- .../PostNotificationsByIdRead200Response.kt | 35 +- .../PostNotificationsFcmTokensRequest.kt | 27 +- ...PostNotificationsTestPreview200Response.kt | 26 +- .../PostNotificationsTestPreviewRequest.kt | 83 +- .../PostNotificationsTestSend200Response.kt | 28 +- .../model/PostNotificationsTestSendRequest.kt | 85 +- ...ostNotificationsTestSendRequestChannels.kt | 28 +- .../filcapp/api/model/PostRoles201Response.kt | 27 +- .../filcapp/api/model/PostRolesRequest.kt | 27 +- .../PostTimetableGroupsSelect200Response.kt | 27 +- .../model/PostTimetableGroupsSelectRequest.kt | 26 +- .../api/model/PostTimetableImportRequest.kt | 29 +- ...metableLessonsGetForTeachers200Response.kt | 27 +- ...sonsGetForTeachers200ResponseItemsInner.kt | 30 +- ...achers200ResponseItemsInnerLessonsInner.kt | 50 +- ...ers200ResponseItemsInnerLessonsInnerDay.kt | 31 +- ...stTimetableLessonsGetForTeachersRequest.kt | 26 +- ...onsGetSubstitutionCandidates200Response.kt | 35 +- ...tes200ResponseSubstituteCandidatesInner.kt | 28 +- ...LessonsGetSubstitutionCandidatesRequest.kt | 29 +- .../PostTimetableMovedLessons200Response.kt | 31 +- .../model/PostTimetableMovedLessonsRequest.kt | 31 +- .../PostTimetableSubstitutions200Response.kt | 29 +- ...PostTimetableSubstitutionsManualRequest.kt | 32 +- .../PostTimetableSubstitutionsRequest.kt | 29 +- ...tablesCleanupOrphanedCohorts200Response.kt | 28 +- .../api/model/PostWifiDevices201Response.kt | 35 +- .../api/model/PostWifiDevicesRequest.kt | 30 +- .../api/model/PostWifiNas201Response.kt | 31 +- .../filcapp/api/model/PostWifiNasRequest.kt | 28 +- .../PostWifiRadiusAuthorize200Response.kt | 28 +- .../model/PostWifiRadiusAuthorizeRequest.kt | 32 +- .../PostWifiRoleSpeedProfiles201Response.kt | 28 +- .../model/PostWifiRoleSpeedProfilesRequest.kt | 28 +- .../api/model/PostWifiSelf201Response.kt | 29 +- .../PostWifiSelf201ResponseDevicesInner.kt | 31 +- .../filcapp/api/model/PostWifiSelfRequest.kt | 26 +- .../model/PostWifiSpeedProfiles201Response.kt | 30 +- .../api/model/PostWifiSpeedProfilesRequest.kt | 28 +- .../api/model/PostWifiUsers201Response.kt | 37 +- .../filcapp/api/model/PostWifiUsersRequest.kt | 31 +- .../api/model/PutDoorlockCardsByIdRequest.kt | 30 +- .../model/PutDoorlockDevicesByIdRequest.kt | 29 +- .../PutDoorlockSelfCardsByIdFrozenRequest.kt | 26 +- .../filcapp/api/model/PutKioskByIdRequest.kt | 40 +- .../model/PutNavigatorBuildingsByIdRequest.kt | 29 +- .../PutNavigatorClassroomTypesByIdRequest.kt | 27 +- .../PutNavigatorClassroomsById200Response.kt | 40 +- .../PutNavigatorClassroomsByIdRequest.kt | 38 +- .../model/PutNavigatorCorridorsByIdRequest.kt | 35 +- .../api/model/PutNavigatorLiftsByIdRequest.kt | 31 +- .../model/PutNavigatorStairsByIdRequest.kt | 32 +- ...NavigatorTranslationsByLangByKeyRequest.kt | 26 +- .../PutTimetableMovedLessonsByIdRequest.kt | 31 +- .../PutTimetableSubstitutionsByIdRequest.kt | 29 +- .../api/model/PutWifiDevicesByIdRequest.kt | 30 +- .../api/model/PutWifiNasByIdRequest.kt | 28 +- .../PutWifiRoleSpeedProfilesByIdRequest.kt | 28 +- .../model/PutWifiSelfDevicesByIdRequest.kt | 26 +- .../model/PutWifiSelfPassword200Response.kt | 26 +- .../api/model/PutWifiSelfPasswordRequest.kt | 26 +- .../model/PutWifiSpeedProfilesByIdRequest.kt | 28 +- .../api/model/PutWifiUsersByIdRequest.kt | 32 +- .../filcapp/api/client/APIKeysApiTest.kt | 71 + .../filcapp/api/client/BugReportsApiTest.kt | 83 + .../filcapp/api/client/ClassroomApiTest.kt | 57 + .../filcapp/api/client/CohortApiTest.kt | 54 + .../filcapp/api/client/DashboardApiTest.kt | 47 + .../filcapp/api/client/DoorlockApiTest.kt | 215 + .../petrik/filcapp/api/client/GroupApiTest.kt | 57 + .../filcapp/api/client/HealthApiTest.kt | 46 + .../filcapp/api/client/ImportApiTest.kt | 48 + .../petrik/filcapp/api/client/KioskApiTest.kt | 129 + .../filcapp/api/client/LessonApiTest.kt | 95 + .../filcapp/api/client/MovedLessonApiTest.kt | 108 + .../filcapp/api/client/NavigatorApiTest.kt | 336 + .../api/client/NewsAnnouncementsApiTest.kt | 109 + .../filcapp/api/client/NewsBlogsApiTest.kt | 121 + .../api/client/NewsSystemMessagesApiTest.kt | 91 + .../api/client/NotificationsApiTest.kt | 138 + .../filcapp/api/client/PeriodApiTest.kt | 47 + .../petrik/filcapp/api/client/PingApiTest.kt | 54 + .../petrik/filcapp/api/client/RolesApiTest.kt | 83 + .../filcapp/api/client/SubjectApiTest.kt | 46 + .../filcapp/api/client/SubstitutionApiTest.kt | 111 + .../filcapp/api/client/TeacherApiTest.kt | 73 + .../filcapp/api/client/TimetableApiTest.kt | 108 + .../petrik/filcapp/api/client/UsersApiTest.kt | 61 + .../petrik/filcapp/api/client/WiFiApiTest.kt | 313 + ...eleteAdminApiKeysByKeyId200ResponseTest.kt | 43 + ...eleteAdminApiKeysByKeyId400ResponseTest.kt | 55 + ...teNavigatorBuildingsById200ResponseTest.kt | 43 + ...etAdminApiKeys200ResponseItemsInnerTest.kt | 115 + .../model/GetAdminApiKeys200ResponseTest.kt | 50 + ...esponseItemsInnerMetadataAnyOfInnerTest.kt | 38 + ...esponseItemsInnerMetadataAnyOfValueTest.kt | 38 + ...Report200ResponseItemsInnerMetadataTest.kt | 39 + .../GetBugReport200ResponseItemsInnerTest.kt | 98 + .../api/model/GetBugReport200ResponseTest.kt | 50 + .../GetCohort200ResponseItemsInnerTest.kt | 73 + .../api/model/GetCohort200ResponseTest.kt | 50 + ...Stats200ResponseStatsChartDataInnerTest.kt | 55 + .../GetDashboardStats200ResponseStatsTest.kt | 86 + .../model/GetDashboardStats200ResponseTest.kt | 44 + ...nseItemsInnerAuthorizedDevicesInnerTest.kt | 49 + ...lockCards200ResponseItemsInnerOwnerTest.kt | 61 + ...tDoorlockCards200ResponseItemsInnerTest.kt | 99 + .../model/GetDoorlockCards200ResponseTest.kt | 50 + ...lockCardsUsers200ResponseItemsInnerTest.kt | 61 + .../GetDoorlockCardsUsers200ResponseTest.kt | 50 + ...oorlockDevices200ResponseItemsInnerTest.kt | 79 + .../GetDoorlockDevices200ResponseTest.kt | 50 + ...onseStatsInnerDeviceMetaDebugErrorsTest.kt | 67 + ...00ResponseStatsInnerDeviceMetaDebugTest.kt | 56 + ...ResponseStatsInnerDeviceMetaStorageTest.kt | 49 + ...tats200ResponseStatsInnerDeviceMetaTest.kt | 69 + ...vicesByIdStats200ResponseStatsInnerTest.kt | 56 + ...DoorlockDevicesByIdStats200ResponseTest.kt | 44 + ...orlockLogs200ResponseItemsInnerCardTest.kt | 49 + ...etDoorlockLogs200ResponseItemsInnerTest.kt | 105 + .../model/GetDoorlockLogs200ResponseTest.kt | 50 + ...200ResponseStatsDoorOpenSeriesInnerTest.kt | 49 + ...orlockStatsOverview200ResponseStatsTest.kt | 69 + ...erview200ResponseStatsTopUsersInnerTest.kt | 61 + ...GetDoorlockStatsOverview200ResponseTest.kt | 44 + .../api/model/GetHealth200ResponseTest.kt | 49 + .../GetKiosk200ResponseItemsInnerTest.kt | 104 + .../api/model/GetKiosk200ResponseTest.kt | 50 + .../GetKioskNews200ResponseItemsInnerTest.kt | 85 + .../api/model/GetKioskNews200ResponseTest.kt | 50 + ...ioskPetrikNews200ResponseItemsInnerTest.kt | 67 + .../GetKioskPetrikNews200ResponseTest.kt | 50 + .../model/GetKioskWeather200ResponseTest.kt | 61 + ...gatorBuildings200ResponseItemsInnerTest.kt | 73 + .../GetNavigatorBuildings200ResponseTest.kt | 50 + ...ClassroomTypes200ResponseItemsInnerTest.kt | 67 + ...tNavigatorClassroomTypes200ResponseTest.kt | 50 + ...atorClassrooms200ResponseItemsInnerTest.kt | 127 + .../GetNavigatorClassrooms200ResponseTest.kt | 50 + ...gatorCorridors200ResponseItemsInnerTest.kt | 115 + .../GetNavigatorCorridors200ResponseTest.kt | 50 + ...NavigatorGraph200ResponseLiftsInnerTest.kt | 91 + ...avigatorGraph200ResponseStairsInnerTest.kt | 97 + .../model/GetNavigatorGraph200ResponseTest.kt | 79 + ...NavigatorLifts200ResponseItemsInnerTest.kt | 91 + .../model/GetNavigatorLifts200ResponseTest.kt | 50 + ...avigatorStairs200ResponseItemsInnerTest.kt | 97 + .../GetNavigatorStairs200ResponseTest.kt | 50 + ...orTranslations200ResponseItemsInnerTest.kt | 55 + ...GetNavigatorTranslations200ResponseTest.kt | 50 + ...torTranslationsAvailable200ResponseTest.kt | 49 + ...ncements200ResponseItemsInnerAuthorTest.kt | 55 + ...sAnnouncements200ResponseItemsInnerTest.kt | 141 + .../GetNewsAnnouncements200ResponseTest.kt | 50 + ...sAnnouncementsById200ResponseAuthorTest.kt | 55 + ...GetNewsAnnouncementsById200ResponseTest.kt | 141 + .../GetNewsBlogs200ResponseItemsInnerTest.kt | 99 + .../api/model/GetNewsBlogs200ResponseTest.kt | 50 + .../GetNewsBlogsBySlug200ResponseTest.kt | 99 + ...SystemMessages200ResponseItemsInnerTest.kt | 99 + .../GetNewsSystemMessages200ResponseTest.kt | 50 + ...etNewsSystemMessagesById200ResponseTest.kt | 99 + ...tNotifications200ResponseItemsInnerTest.kt | 85 + .../model/GetNotifications200ResponseTest.kt | 50 + ...s200ResponseNotificationPreferencesTest.kt | 79 + ...GetNotificationsSettings200ResponseTest.kt | 98 + ...NotificationsUnreadCount200ResponseTest.kt | 43 + .../api/model/GetPing200ResponseTest.kt | 43 + .../api/model/GetPingUptime200ResponseTest.kt | 49 + .../GetRoles200ResponseItemsInnerTest.kt | 49 + .../api/model/GetRoles200ResponseTest.kt | 50 + ...hortByCohortId200ResponseItemsInnerTest.kt | 85 + ...psGetForCohortByCohortId200ResponseTest.kt | 50 + ...00ResponseItemsInnerClassroomsInnerTest.kt | 55 + ...Id200ResponseItemsInnerCohortsInnerTest.kt | 55 + ...tByCohortId200ResponseItemsInnerDayTest.kt | 73 + ...tId200ResponseItemsInnerGroupsInnerTest.kt | 61 + ...CohortId200ResponseItemsInnerPeriodTest.kt | 61 + ...ohortId200ResponseItemsInnerSubjectTest.kt | 55 + ...hortByCohortId200ResponseItemsInnerTest.kt | 122 + ...200ResponseItemsInnerWeekDefinitionTest.kt | 61 + ...nsGetForCohortByCohortId200ResponseTest.kt | 50 + ...onsGetForIdByLessonId200ResponseDayTest.kt | 73 + ...rIdByLessonId200ResponseGroupsInnerTest.kt | 61 + ...essonsGetForIdByLessonId200ResponseTest.kt | 127 + ...ByLessonId200ResponseWeekDefinitionTest.kt | 61 + ...ons200ResponseItemsInnerMovedLessonTest.kt | 73 + ...dLessons200ResponseItemsInnerPeriodTest.kt | 73 + ...leMovedLessons200ResponseItemsInnerTest.kt | 72 + ...GetTimetableMovedLessons200ResponseTest.kt | 50 + ...ePeriodsGetAll200ResponseItemsInnerTest.kt | 61 + ...etTimetablePeriodsGetAll200ResponseTest.kt | 50 + ...etableSubjects200ResponseItemsInnerTest.kt | 67 + .../GetTimetableSubjects200ResponseTest.kt | 50 + ...ns200ResponseItemsInnerSubstitutionTest.kt | 61 + ...tutions200ResponseItemsInnerTeacherTest.kt | 79 + ...eSubstitutions200ResponseItemsInnerTest.kt | 58 + ...etTimetableSubstitutions200ResponseTest.kt | 50 + ...itutionsCohortByCohortId200ResponseTest.kt | 50 + ...elevant200ResponseItemsInnerTeacherTest.kt | 79 + ...utionsRelevant200ResponseItemsInnerTest.kt | 57 + ...bleSubstitutionsRelevant200ResponseTest.kt | 50 + ...etableTeachers200ResponseItemsInnerTest.kt | 80 + ...leTeachers200ResponseItemsInnerUserTest.kt | 55 + .../GetTimetableTeachers200ResponseTest.kt | 50 + ...TeachersGetAll200ResponseItemsInnerTest.kt | 61 + ...tTimetableTeachersGetAll200ResponseTest.kt | 50 + .../GetTimetableTeachersMe200ResponseTest.kt | 61 + ...ableTimetables200ResponseItemsInnerTest.kt | 73 + .../GetTimetableTimetables200ResponseTest.kt | 50 + ...reviewDelete200ResponseCohortsInnerTest.kt | 55 + ...etablesByIdPreviewDelete200ResponseTest.kt | 64 + ...sByIdPreviewDelete200ResponseTotalsTest.kt | 73 + .../GetUsers200ResponseItemsInnerTest.kt | 109 + .../api/model/GetUsers200ResponseTest.kt | 50 + ...etWifiAuthLogs200ResponseItemsInnerTest.kt | 115 + .../model/GetWifiAuthLogs200ResponseTest.kt | 50 + ...GetWifiDevices200ResponseItemsInnerTest.kt | 97 + .../model/GetWifiDevices200ResponseTest.kt | 50 + .../GetWifiNas200ResponseItemsInnerTest.kt | 73 + .../api/model/GetWifiNas200ResponseTest.kt | 50 + ...eSpeedProfiles200ResponseItemsInnerTest.kt | 55 + ...GetWifiRoleSpeedProfiles200ResponseTest.kt | 50 + .../GetWifiSelf200ResponseDevicesInnerTest.kt | 73 + .../GetWifiSelf200ResponseSpeedLimitTest.kt | 67 + .../api/model/GetWifiSelf200ResponseTest.kt | 63 + ...iSpeedProfiles200ResponseItemsInnerTest.kt | 67 + .../GetWifiSpeedProfiles200ResponseTest.kt | 50 + ...view200ResponseStatsAuthSeriesInnerTest.kt | 55 + ...etWifiStatsOverview200ResponseStatsTest.kt | 62 + .../GetWifiStatsOverview200ResponseTest.kt | 44 + .../api/model/GetWifiStatus200ResponseTest.kt | 49 + .../GetWifiUsers200ResponseItemsInnerTest.kt | 109 + .../api/model/GetWifiUsers200ResponseTest.kt | 50 + ...PatchAdminApiKeysByKeyId200ResponseTest.kt | 115 + ...PatchAdminApiKeysByKeyId400ResponseTest.kt | 55 + .../PatchAdminApiKeysByKeyIdRequestTest.kt | 43 + ...ReportByIdStatus200ResponseMetadataTest.kt | 38 + ...PatchBugReportByIdStatus200ResponseTest.kt | 98 + .../PatchBugReportByIdStatusRequestTest.kt | 43 + ...tchNewsAnnouncementsById200ResponseTest.kt | 134 + ...nnouncementsByIdRequestContentInnerTest.kt | 50 + .../PatchNewsAnnouncementsByIdRequestTest.kt | 86 + .../PatchNewsBlogsById200ResponseTest.kt | 92 + .../model/PatchNewsBlogsByIdRequestTest.kt | 56 + ...chNewsSystemMessagesById200ResponseTest.kt | 92 + .../PatchNewsSystemMessagesByIdRequestTest.kt | 68 + ...tingsRequestNotificationPreferencesTest.kt | 79 + .../PatchNotificationsSettingsRequestTest.kt | 74 + .../api/model/PatchRolesByNameRequestTest.kt | 43 + ...tchTimetableTeachersById200ResponseTest.kt | 80 + ...imetableTeachersById200ResponseUserTest.kt | 55 + .../PatchTimetableTeachersByIdRequestTest.kt | 49 + ...hTimetableTimetablesById200ResponseTest.kt | 73 + ...PatchTimetableTimetablesByIdRequestTest.kt | 55 + .../model/PatchUsersById200ResponseTest.kt | 109 + .../api/model/PatchUsersByIdRequestTest.kt | 55 + .../api/model/PostBugReport201ResponseTest.kt | 43 + ...eportRequestMetadataValueAnyOfInnerTest.kt | 37 + ...eportRequestMetadataValueAnyOfValueTest.kt | 37 + .../PostBugReportRequestMetadataValueTest.kt | 39 + .../api/model/PostBugReportRequestTest.kt | 62 + ...ds201ResponseAuthorizedDevicesInnerTest.kt | 49 + .../PostDoorlockCards201ResponseOwnerTest.kt | 61 + .../model/PostDoorlockCards201ResponseTest.kt | 99 + .../api/model/PostDoorlockCardsRequestTest.kt | 73 + .../PostDoorlockDevices201ResponseTest.kt | 79 + ...oorlockDevicesByIdUpdate200ResponseTest.kt | 43 + ...ostDoorlockDevicesByIdUpdateRequestTest.kt | 43 + .../model/PostDoorlockDevicesRequestTest.kt | 61 + ...ostDoorlockDevicesUpdate200ResponseTest.kt | 43 + ...ockSelfCardsByIdActivate200ResponseTest.kt | 85 + ...oorlockSelfCardsByIdActivateRequestTest.kt | 43 + .../api/model/PostKiosk201ResponseTest.kt | 104 + ...ioskDepartures200ResponseItemsInnerTest.kt | 55 + .../PostKioskDepartures200ResponseTest.kt | 50 + ...arturesRequestGroupsInnerStopsInnerTest.kt | 49 + ...stKioskDeparturesRequestGroupsInnerTest.kt | 50 + .../model/PostKioskDeparturesRequestTest.kt | 44 + ...ioskHeartbeat200ResponseAnyOf1KioskTest.kt | 55 + ...PostKioskHeartbeat200ResponseAnyOf1Test.kt | 56 + ...ioskHeartbeat200ResponseAnyOf2KioskTest.kt | 62 + ...PostKioskHeartbeat200ResponseAnyOf2Test.kt | 56 + .../PostKioskHeartbeat200ResponseAnyOfTest.kt | 43 + .../PostKioskHeartbeat200ResponseTest.kt | 59 + .../model/PostKioskHeartbeatRequestTest.kt | 49 + .../api/model/PostKioskRequestConfigTest.kt | 38 + .../filcapp/api/model/PostKioskRequestTest.kt | 68 + .../PostNavigatorBuildings201ResponseTest.kt | 73 + .../PostNavigatorBuildingsRequestTest.kt | 61 + ...tNavigatorClassroomTypes201ResponseTest.kt | 67 + .../PostNavigatorClassroomTypesRequestTest.kt | 49 + .../PostNavigatorClassrooms201ResponseTest.kt | 127 + .../PostNavigatorClassroomsRequestTest.kt | 115 + .../PostNavigatorCorridors201ResponseTest.kt | 115 + .../PostNavigatorCorridorsRequestTest.kt | 97 + .../PostNavigatorImport200ResponseTest.kt | 79 + .../model/PostNavigatorImportRequestTest.kt | 43 + .../model/PostNavigatorLiftsRequestTest.kt | 73 + .../model/PostNavigatorStairsRequestTest.kt | 79 + ...orTranslations201ResponseItemsInnerTest.kt | 55 + ...ostNavigatorTranslations201ResponseTest.kt | 50 + .../PostNavigatorTranslationsRequestTest.kt | 49 + .../PostNewsAnnouncements201ResponseTest.kt | 134 + ...ewsAnnouncementsRequestContentInnerTest.kt | 50 + .../model/PostNewsAnnouncementsRequestTest.kt | 86 + .../api/model/PostNewsBlogs201ResponseTest.kt | 92 + .../api/model/PostNewsBlogsRequestTest.kt | 62 + .../PostNewsSystemMessages201ResponseTest.kt | 92 + .../PostNewsSystemMessagesRequestTest.kt | 68 + ...ostNotificationsByIdRead200ResponseTest.kt | 85 + .../PostNotificationsFcmTokensRequestTest.kt | 49 + ...NotificationsTestPreview200ResponseTest.kt | 43 + ...PostNotificationsTestPreviewRequestTest.kt | 61 + ...ostNotificationsTestSend200ResponseTest.kt | 55 + ...otificationsTestSendRequestChannelsTest.kt | 55 + .../PostNotificationsTestSendRequestTest.kt | 74 + .../api/model/PostRoles201ResponseTest.kt | 49 + .../filcapp/api/model/PostRolesRequestTest.kt | 49 + ...ostTimetableGroupsSelect200ResponseTest.kt | 49 + .../PostTimetableGroupsSelectRequestTest.kt | 43 + .../model/PostTimetableImportRequestTest.kt | 61 + ...00ResponseItemsInnerLessonsInnerDayTest.kt | 73 + ...rs200ResponseItemsInnerLessonsInnerTest.kt | 121 + ...GetForTeachers200ResponseItemsInnerTest.kt | 50 + ...bleLessonsGetForTeachers200ResponseTest.kt | 50 + ...metableLessonsGetForTeachersRequestTest.kt | 43 + ...00ResponseSubstituteCandidatesInnerTest.kt | 56 + ...etSubstitutionCandidates200ResponseTest.kt | 57 + ...onsGetSubstitutionCandidatesRequestTest.kt | 61 + ...ostTimetableMovedLessons200ResponseTest.kt | 73 + .../PostTimetableMovedLessonsRequestTest.kt | 73 + ...stTimetableSubstitutions200ResponseTest.kt | 61 + ...TimetableSubstitutionsManualRequestTest.kt | 79 + .../PostTimetableSubstitutionsRequestTest.kt | 61 + ...esCleanupOrphanedCohorts200ResponseTest.kt | 55 + .../model/PostWifiDevices201ResponseTest.kt | 97 + .../api/model/PostWifiDevicesRequestTest.kt | 67 + .../api/model/PostWifiNas201ResponseTest.kt | 73 + .../api/model/PostWifiNasRequestTest.kt | 55 + .../PostWifiRadiusAuthorize200ResponseTest.kt | 55 + .../PostWifiRadiusAuthorizeRequestTest.kt | 79 + ...ostWifiRoleSpeedProfiles201ResponseTest.kt | 55 + .../PostWifiRoleSpeedProfilesRequestTest.kt | 55 + ...PostWifiSelf201ResponseDevicesInnerTest.kt | 73 + .../api/model/PostWifiSelf201ResponseTest.kt | 63 + .../api/model/PostWifiSelfRequestTest.kt | 43 + .../PostWifiSpeedProfiles201ResponseTest.kt | 67 + .../model/PostWifiSpeedProfilesRequestTest.kt | 55 + .../api/model/PostWifiUsers201ResponseTest.kt | 109 + .../api/model/PostWifiUsersRequestTest.kt | 73 + .../model/PutDoorlockCardsByIdRequestTest.kt | 67 + .../PutDoorlockDevicesByIdRequestTest.kt | 61 + ...tDoorlockSelfCardsByIdFrozenRequestTest.kt | 43 + .../api/model/PutKioskByIdRequestTest.kt | 62 + .../PutNavigatorBuildingsByIdRequestTest.kt | 61 + ...tNavigatorClassroomTypesByIdRequestTest.kt | 49 + ...tNavigatorClassroomsById200ResponseTest.kt | 127 + .../PutNavigatorClassroomsByIdRequestTest.kt | 115 + .../PutNavigatorCorridorsByIdRequestTest.kt | 97 + .../model/PutNavigatorLiftsByIdRequestTest.kt | 73 + .../PutNavigatorStairsByIdRequestTest.kt | 79 + ...gatorTranslationsByLangByKeyRequestTest.kt | 43 + ...PutTimetableMovedLessonsByIdRequestTest.kt | 73 + ...utTimetableSubstitutionsByIdRequestTest.kt | 61 + .../model/PutWifiDevicesByIdRequestTest.kt | 67 + .../api/model/PutWifiNasByIdRequestTest.kt | 55 + ...PutWifiRoleSpeedProfilesByIdRequestTest.kt | 55 + .../PutWifiSelfDevicesByIdRequestTest.kt | 43 + .../PutWifiSelfPassword200ResponseTest.kt | 43 + .../model/PutWifiSelfPasswordRequestTest.kt | 43 + .../PutWifiSpeedProfilesByIdRequestTest.kt | 55 + .../api/model/PutWifiUsersByIdRequestTest.kt | 79 + openapi/chronos-openapi.json | 61909 ++++++++++++++++ 634 files changed, 93225 insertions(+), 4755 deletions(-) create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt create mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt create mode 100644 openapi/chronos-openapi.json diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/ApiKeyAuth.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/ApiKeyAuth.kt index a27acdf..5e5db26 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/ApiKeyAuth.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/ApiKeyAuth.kt @@ -1,21 +1,16 @@ package hu.petrik.filcapp.api.auth -class ApiKeyAuth( - private val location: String, - val paramName: String, -) : Authentication { +class ApiKeyAuth(private val location: String, val paramName: String) : Authentication { var apiKey: String? = null var apiKeyPrefix: String? = null - override fun apply( - query: MutableMap>, - headers: MutableMap, - ) { + override fun apply(query: MutableMap>, headers: MutableMap) { val key: String = apiKey ?: return + val prefix: String? = apiKeyPrefix + val value: String = if (prefix != null) "$prefix $key" else key when (location) { - "cookie" -> Unit - "query" -> query[paramName] = listOf(key) - "header" -> headers[paramName] = key + "query" -> query[paramName] = listOf(value) + "header" -> headers[paramName] = value } } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/Authentication.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/Authentication.kt index 5af1290..ca5adc4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/Authentication.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/Authentication.kt @@ -1,14 +1,13 @@ package hu.petrik.filcapp.api.auth interface Authentication { + /** * Apply authentication settings to header and query params. * * @param query Query parameters. * @param headers Header parameters. */ - fun apply( - query: MutableMap>, - headers: MutableMap, - ) + fun apply(query: MutableMap>, headers: MutableMap) + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBasicAuth.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBasicAuth.kt index 75cf24e..15cae75 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBasicAuth.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBasicAuth.kt @@ -1,18 +1,15 @@ package hu.petrik.filcapp.api.auth -import io.ktor.util.encodeBase64 +import kotlin.io.encoding.Base64 class HttpBasicAuth : Authentication { var username: String? = null var password: String? = null - override fun apply( - query: MutableMap>, - headers: MutableMap, - ) { + override fun apply(query: MutableMap>, headers: MutableMap) { if (username == null && password == null) return val str = (username ?: "") + ":" + (password ?: "") - val auth = str.encodeBase64() + val auth = Base64.encode(str.encodeToByteArray()) headers["Authorization"] = "Basic $auth" } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBearerAuth.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBearerAuth.kt index 2b16246..49875e6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBearerAuth.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/HttpBearerAuth.kt @@ -1,17 +1,14 @@ package hu.petrik.filcapp.api.auth -class HttpBearerAuth( - private val scheme: String?, -) : Authentication { +class HttpBearerAuth(private val scheme: String?) : Authentication { var bearerToken: String? = null - override fun apply( - query: MutableMap>, - headers: MutableMap, - ) { + override fun apply(query: MutableMap>, headers: MutableMap) { val token: String = bearerToken ?: return headers["Authorization"] = (if (scheme != null) upperCaseBearer(scheme)!! + " " else "") + token } - private fun upperCaseBearer(scheme: String): String? = if ("bearer".equals(scheme, ignoreCase = true)) "Bearer" else scheme + private fun upperCaseBearer(scheme: String): String? { + return if ("bearer".equals(scheme, ignoreCase = true)) "Bearer" else scheme + } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/OAuth.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/OAuth.kt index 44ed153..fa1e391 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/OAuth.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/auth/OAuth.kt @@ -3,10 +3,7 @@ package hu.petrik.filcapp.api.auth class OAuth : Authentication { var accessToken: String? = null - override fun apply( - query: MutableMap>, - headers: MutableMap, - ) { + override fun apply(query: MutableMap>, headers: MutableMap) { val token: String = accessToken ?: return headers["Authorization"] = "Bearer $token" } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt index 000aca5..9c6b7f0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt @@ -8,77 +8,92 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class APIKeysApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Revoke any user's API key - * @param keyId + * @param keyId * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteAdminApiKeysByKeyId(keyId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/admin/api-keys/{keyId}".replace("{" + "keyId" + "}", "$keyId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/api-keys/{keyId}".replace("{" + "keyId" + "}", "$keyId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List every user's API keys * @param limit (optional, default to 20) * @param offset (optional, default to 0) @@ -87,15 +102,11 @@ open class APIKeysApi : ApiClient { * @return GetAdminApiKeys200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getAdminApiKeys( - limit: kotlin.Double? = 20.toDouble(), - offset: kotlin.Double? = 0.toDouble(), - ownerId: kotlin.String? = null, - search: kotlin.String? = null, - ): HttpResponse { + open suspend fun getAdminApiKeys(limit: kotlin.Double? = 20.toDouble(), offset: kotlin.Double? = 0.toDouble(), ownerId: kotlin.String? = null, search: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -105,34 +116,32 @@ open class APIKeysApi : ApiClient { search?.apply { localVariableQuery["search"] = listOf("$search") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/admin/api-keys", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/api-keys", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Enable or disable any user's API key - * @param keyId - * @param patchAdminApiKeysByKeyIdRequest + * @param keyId + * @param patchAdminApiKeysByKeyIdRequest * @return PatchAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchAdminApiKeysByKeyId( - keyId: kotlin.String, - patchAdminApiKeysByKeyIdRequest: PatchAdminApiKeysByKeyIdRequest, - ): HttpResponse { + open suspend fun patchAdminApiKeysByKeyId(keyId: kotlin.String, patchAdminApiKeysByKeyIdRequest: PatchAdminApiKeysByKeyIdRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchAdminApiKeysByKeyIdRequest @@ -140,19 +149,21 @@ open class APIKeysApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/admin/api-keys/{keyId}".replace("{" + "keyId" + "}", "$keyId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/api-keys/{keyId}".replace("{" + "keyId" + "}", "$keyId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt index ebc89e1..d4beaed 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetBugReport200Response @@ -24,83 +31,93 @@ import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest import hu.petrik.filcapp.api.model.PostBugReport201Response import hu.petrik.filcapp.api.model.PostBugReportRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class BugReportsApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a bug report - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteBugReportById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/bug-report/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/bug-report/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** * enum for parameter status */ @Serializable - enum class StatusGetBugReport( - val value: kotlin.String, - ) { + enum class StatusGetBugReport(val value: kotlin.String) { + @SerialName(value = "open") `open`("open"), - + @SerialName(value = "in_progress") in_progress("in_progress"), - + @SerialName(value = "resolved") resolved("resolved"), - + @SerialName(value = "closed") - closed("closed"), + closed("closed"); + + override fun toString(): kotlin.String = value } /** - * + * * List bug reports with optional filters and paging * @param dateFrom (optional) * @param dateTo (optional) @@ -111,17 +128,11 @@ open class BugReportsApi : ApiClient { * @return GetBugReport200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getBugReport( - dateFrom: kotlin.String? = null, - dateTo: kotlin.String? = null, - limit: kotlin.Int? = 20, - page: kotlin.Int? = 1, - search: kotlin.String? = null, - status: StatusGetBugReport? = null, - ): HttpResponse { + open suspend fun getBugReport(dateFrom: kotlin.String? = null, dateTo: kotlin.String? = null, limit: kotlin.Int? = 20, page: kotlin.Int? = 1, search: kotlin.String? = null, status: StatusGetBugReport? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -133,34 +144,32 @@ open class BugReportsApi : ApiClient { status?.apply { localVariableQuery["status"] = listOf("${ status.value }") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/bug-report", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/bug-report", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update a bug report status - * @param id - * @param patchBugReportByIdStatusRequest + * @param id + * @param patchBugReportByIdStatusRequest * @return PatchBugReportByIdStatus200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchBugReportByIdStatus( - id: kotlin.String, - patchBugReportByIdStatusRequest: PatchBugReportByIdStatusRequest, - ): HttpResponse { + open suspend fun patchBugReportByIdStatus(id: kotlin.String, patchBugReportByIdStatusRequest: PatchBugReportByIdStatusRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchBugReportByIdStatusRequest @@ -168,30 +177,32 @@ open class BugReportsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/bug-report/{id}/status".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/bug-report/{id}/status".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new bug report - * @param postBugReportRequest + * @param postBugReportRequest * @return PostBugReport201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postBugReport(postBugReportRequest: PostBugReportRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postBugReportRequest @@ -199,19 +210,21 @@ open class BugReportsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/bug-report", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/bug-report", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt index a265f85..d9e7c06 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt @@ -8,89 +8,100 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class ClassroomApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get all classrooms from the database. * @return GetNavigatorClassrooms200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableClassroomsGetAll(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/classrooms/getAll", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/classrooms/getAll", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get classrooms that are free for a given date, day and period. - * @param date - * @param startingDay - * @param startingPeriod + * @param date + * @param startingDay + * @param startingPeriod * @param timetableId (optional) * @return GetNavigatorClassrooms200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableClassroomsGetAvailable( - date: kotlin.String, - startingDay: kotlin.String, - startingPeriod: kotlin.String, - timetableId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableClassroomsGetAvailable(date: kotlin.String, startingDay: kotlin.String, startingPeriod: kotlin.String, timetableId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -100,19 +111,20 @@ open class ClassroomApi : ApiClient { timetableId?.apply { localVariableQuery["timetableId"] = listOf("$timetableId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/classrooms/getAvailable", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/classrooms/getAvailable", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt index 3a2aebf..94149c5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt @@ -8,99 +8,116 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetCohort200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class CohortApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * List all cohorts * @return GetCohort200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getCohort(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/cohort", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/cohort", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get cohorts for a given timetable from the database. - * @param timetableId + * @param timetableId * @return GetCohort200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableCohortsGetAllForTimetableByTimetableId(timetableId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/cohorts/getAllForTimetable/{timetableId}".replace("{" + "timetableId" + "}", "$timetableId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/cohorts/getAllForTimetable/{timetableId}".replace("{" + "timetableId" + "}", "$timetableId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt index ce2d0d7..cfb5a23 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt @@ -8,69 +8,85 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetDashboardStats200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class DashboardApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get aggregated dashboard statistics * @param days (optional, default to 30) * @return GetDashboardStats200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDashboardStats(days: kotlin.Int? = 30): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() days?.apply { localVariableQuery["days"] = listOf("$days") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/dashboard/stats", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/dashboard/stats", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt index c9fa532..8e725d3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetDoorlockCards200Response @@ -37,234 +44,249 @@ import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivateRequest import hu.petrik.filcapp.api.model.PutDoorlockCardsByIdRequest import hu.petrik.filcapp.api.model.PutDoorlockDevicesByIdRequest import hu.petrik.filcapp.api.model.PutDoorlockSelfCardsByIdFrozenRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class DoorlockApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete an access card - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteDoorlockCardsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/doorlock/cards/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/doorlock/cards/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a doorlock device - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteDoorlockDevicesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/doorlock/devices/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/doorlock/devices/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all access cards * @return GetDoorlockCards200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockCards(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/cards", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/cards", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List users eligible for card ownership * @return GetDoorlockCardsUsers200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockCardsUsers(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/cards/users", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/cards/users", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all doorlock devices * @return GetDoorlockDevices200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockDevices(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/devices", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/devices", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get device health statistics - * @param id + * @param id * @return GetDoorlockDevicesByIdStats200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockDevicesByIdStats(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/devices/{id}/stats".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/devices/{id}/stats".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** * enum for parameter granted */ @Serializable - enum class GrantedGetDoorlockLogs( - val value: kotlin.String, - ) { + enum class GrantedGetDoorlockLogs(val value: kotlin.String) { + @SerialName(value = "true") `true`("true"), - + @SerialName(value = "false") - `false`("false"), + `false`("false"); + + override fun toString(): kotlin.String = value } /** - * + * * List audit log entries * @param cardId (optional) * @param deviceId (optional) @@ -277,19 +299,11 @@ open class DoorlockApi : ApiClient { * @return GetDoorlockLogs200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getDoorlockLogs( - cardId: kotlin.String? = null, - deviceId: kotlin.String? = null, - from: kotlin.String? = null, - granted: GrantedGetDoorlockLogs? = null, - limit: kotlin.Int? = 500, - search: kotlin.String? = null, - to: kotlin.String? = null, - userId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getDoorlockLogs(cardId: kotlin.String? = null, deviceId: kotlin.String? = null, from: kotlin.String? = null, granted: GrantedGetDoorlockLogs? = null, limit: kotlin.Int? = 500, search: kotlin.String? = null, to: kotlin.String? = null, userId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -303,38 +317,40 @@ open class DoorlockApi : ApiClient { userId?.apply { localVariableQuery["userId"] = listOf("$userId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/logs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/logs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** * enum for parameter granted */ @Serializable - enum class GrantedGetDoorlockLogsExport( - val value: kotlin.String, - ) { + enum class GrantedGetDoorlockLogsExport(val value: kotlin.String) { + @SerialName(value = "true") `true`("true"), - + @SerialName(value = "false") - `false`("false"), + `false`("false"); + + override fun toString(): kotlin.String = value } /** - * + * * Export doorlock audit log entries (attendance data) as a CSV file over an optional date range. * @param cardId (optional) * @param deviceId (optional) @@ -346,18 +362,11 @@ open class DoorlockApi : ApiClient { * @return kotlin.String */ @Suppress("UNCHECKED_CAST") - open suspend fun getDoorlockLogsExport( - cardId: kotlin.String? = null, - deviceId: kotlin.String? = null, - from: kotlin.String? = null, - granted: GrantedGetDoorlockLogsExport? = null, - search: kotlin.String? = null, - to: kotlin.String? = null, - userId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getDoorlockLogsExport(cardId: kotlin.String? = null, deviceId: kotlin.String? = null, from: kotlin.String? = null, granted: GrantedGetDoorlockLogsExport? = null, search: kotlin.String? = null, to: kotlin.String? = null, userId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -370,92 +379,95 @@ open class DoorlockApi : ApiClient { userId?.apply { localVariableQuery["userId"] = listOf("$userId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/logs/export", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/logs/export", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List cards owned by the authenticated user * @return GetDoorlockCards200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockSelfCards(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/self/cards", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/self/cards", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get aggregated doorlock statistics * @return GetDoorlockStatsOverview200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getDoorlockStatsOverview(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/doorlock/stats/overview", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/doorlock/stats/overview", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Create a new access card - * @param postDoorlockCardsRequest + * @param postDoorlockCardsRequest * @return PostDoorlockCards201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postDoorlockCards(postDoorlockCardsRequest: PostDoorlockCardsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postDoorlockCardsRequest @@ -463,32 +475,32 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/doorlock/cards", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/doorlock/cards", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new doorlock device - * @param postDoorlockDevicesRequest + * @param postDoorlockDevicesRequest * @return PostDoorlockDevices201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postDoorlockDevices( - postDoorlockDevicesRequest: PostDoorlockDevicesRequest, - ): HttpResponse { + open suspend fun postDoorlockDevices(postDoorlockDevicesRequest: PostDoorlockDevicesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postDoorlockDevicesRequest @@ -496,34 +508,33 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/doorlock/devices", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/doorlock/devices", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Trigger an OTA update on a specific device - * @param id - * @param postDoorlockDevicesByIdUpdateRequest + * @param id + * @param postDoorlockDevicesByIdUpdateRequest * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postDoorlockDevicesByIdUpdate( - id: kotlin.String, - postDoorlockDevicesByIdUpdateRequest: PostDoorlockDevicesByIdUpdateRequest, - ): HttpResponse { + open suspend fun postDoorlockDevicesByIdUpdate(id: kotlin.String, postDoorlockDevicesByIdUpdateRequest: PostDoorlockDevicesByIdUpdateRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postDoorlockDevicesByIdUpdateRequest @@ -531,32 +542,32 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/doorlock/devices/{id}/update".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/doorlock/devices/{id}/update".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Trigger an OTA update on all devices - * @param postDoorlockDevicesByIdUpdateRequest + * @param postDoorlockDevicesByIdUpdateRequest * @return PostDoorlockDevicesUpdate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postDoorlockDevicesUpdate( - postDoorlockDevicesByIdUpdateRequest: PostDoorlockDevicesByIdUpdateRequest, - ): HttpResponse { + open suspend fun postDoorlockDevicesUpdate(postDoorlockDevicesByIdUpdateRequest: PostDoorlockDevicesByIdUpdateRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postDoorlockDevicesByIdUpdateRequest @@ -564,34 +575,33 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/doorlock/devices/update", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/doorlock/devices/update", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Activate an authorized device using a user-owned virtual card - * @param id + * @param id * @param postDoorlockSelfCardsByIdActivateRequest (optional) * @return PostDoorlockSelfCardsByIdActivate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postDoorlockSelfCardsByIdActivate( - id: kotlin.String, - postDoorlockSelfCardsByIdActivateRequest: PostDoorlockSelfCardsByIdActivateRequest? = null, - ): HttpResponse { + open suspend fun postDoorlockSelfCardsByIdActivate(id: kotlin.String, postDoorlockSelfCardsByIdActivateRequest: PostDoorlockSelfCardsByIdActivateRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postDoorlockSelfCardsByIdActivateRequest @@ -599,34 +609,33 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/doorlock/self/cards/{id}/activate".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/doorlock/self/cards/{id}/activate".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update an access card - * @param id - * @param putDoorlockCardsByIdRequest + * @param id + * @param putDoorlockCardsByIdRequest * @return PostDoorlockCards201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putDoorlockCardsById( - id: kotlin.String, - putDoorlockCardsByIdRequest: PutDoorlockCardsByIdRequest, - ): HttpResponse { + open suspend fun putDoorlockCardsById(id: kotlin.String, putDoorlockCardsByIdRequest: PutDoorlockCardsByIdRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putDoorlockCardsByIdRequest @@ -634,34 +643,33 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/doorlock/cards/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/doorlock/cards/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update an existing doorlock device - * @param id - * @param putDoorlockDevicesByIdRequest + * @param id + * @param putDoorlockDevicesByIdRequest * @return PostDoorlockDevices201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putDoorlockDevicesById( - id: kotlin.String, - putDoorlockDevicesByIdRequest: PutDoorlockDevicesByIdRequest, - ): HttpResponse { + open suspend fun putDoorlockDevicesById(id: kotlin.String, putDoorlockDevicesByIdRequest: PutDoorlockDevicesByIdRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putDoorlockDevicesByIdRequest @@ -669,34 +677,33 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/doorlock/devices/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/doorlock/devices/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update the frozen state of a user-owned card - * @param id - * @param putDoorlockSelfCardsByIdFrozenRequest + * @param id + * @param putDoorlockSelfCardsByIdFrozenRequest * @return PostDoorlockCards201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putDoorlockSelfCardsByIdFrozen( - id: kotlin.String, - putDoorlockSelfCardsByIdFrozenRequest: PutDoorlockSelfCardsByIdFrozenRequest, - ): HttpResponse { + open suspend fun putDoorlockSelfCardsByIdFrozen(id: kotlin.String, putDoorlockSelfCardsByIdFrozenRequest: PutDoorlockSelfCardsByIdFrozenRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putDoorlockSelfCardsByIdFrozenRequest @@ -704,19 +711,21 @@ open class DoorlockApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/doorlock/self/cards/{id}/frozen".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/doorlock/self/cards/{id}/frozen".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt index 8e3864e..f6ffd8b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt @@ -8,85 +8,97 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class GroupApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get the groups of a cohort, marking the current user selection. - * @param cohortId + * @param cohortId * @return GetTimetableGroupsGetForCohortByCohortId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableGroupsGetForCohortByCohortId( - cohortId: kotlin.String, - ): HttpResponse { + open suspend fun getTimetableGroupsGetForCohortByCohortId(cohortId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/groups/getForCohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/groups/getForCohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Select the group the current user belongs to for a division. Replaces any previous membership in that division. - * @param postTimetableGroupsSelectRequest + * @param postTimetableGroupsSelectRequest * @return PostTimetableGroupsSelect200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableGroupsSelect( - postTimetableGroupsSelectRequest: PostTimetableGroupsSelectRequest, - ): HttpResponse { + open suspend fun postTimetableGroupsSelect(postTimetableGroupsSelectRequest: PostTimetableGroupsSelectRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableGroupsSelectRequest @@ -94,19 +106,21 @@ open class GroupApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/groups/select", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/groups/select", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt index d584ab1..c69a546 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt @@ -8,67 +8,83 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetHealth200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class HealthApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Readiness probe: answers 200 only when PostgreSQL is reachable. * @return GetHealth200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getHealth(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/health", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/health", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt index 42510b3..c429bc3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt @@ -8,50 +8,63 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostTimetableImportRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class ImportApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Import a timetable from an Oman or aSc 2012 XML file. - * @param postTimetableImportRequest + * @param postTimetableImportRequest * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableImport( - postTimetableImportRequest: PostTimetableImportRequest, - ): HttpResponse { + open suspend fun postTimetableImport(postTimetableImportRequest: PostTimetableImportRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableImportRequest @@ -59,19 +72,21 @@ open class ImportApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/import", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/import", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt index d1d8e3b..f4a54cc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetKiosk200Response @@ -30,227 +37,241 @@ import hu.petrik.filcapp.api.model.PostKioskHeartbeat200Response import hu.petrik.filcapp.api.model.PostKioskHeartbeatRequest import hu.petrik.filcapp.api.model.PostKioskRequest import hu.petrik.filcapp.api.model.PutKioskByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class KioskApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a kiosk - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteKioskById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/kiosk/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/kiosk/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all kiosks * @return GetKiosk200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getKiosk(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/kiosk", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/kiosk", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Active, titled, non-cohort-scoped announcements for the TV kiosk marquee * @return GetKioskNews200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getKioskNews(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/kiosk/news", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/kiosk/news", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * The image an announcement shows on the kiosk, as stored - * @param id + * @param id * @return kotlin.String */ @Suppress("UNCHECKED_CAST") open suspend fun getKioskNewsByIdImage(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/kiosk/news/{id}/image".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/kiosk/news/{id}/image".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * petrik.hu news for the navigator kiosk, cached for ten minutes * @param machine (optional) * @return GetKioskPetrikNews200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getKioskPetrikNews(machine: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() machine?.apply { localVariableQuery["machine"] = listOf("$machine") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/kiosk/petrik-news", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/kiosk/petrik-news", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Current weather for the TV kiosk, cached for ten minutes * @return GetKioskWeather200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getKioskWeather(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/kiosk/weather", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/kiosk/weather", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Register a kiosk - * @param postKioskRequest + * @param postKioskRequest * @return PostKiosk201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postKiosk(postKioskRequest: PostKioskRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postKioskRequest @@ -258,32 +279,32 @@ open class KioskApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/kiosk", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/kiosk", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Next departure per configured group, trying each stop in order - * @param postKioskDeparturesRequest + * @param postKioskDeparturesRequest * @return PostKioskDepartures200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postKioskDepartures( - postKioskDeparturesRequest: PostKioskDeparturesRequest, - ): HttpResponse { + open suspend fun postKioskDepartures(postKioskDeparturesRequest: PostKioskDeparturesRequest): HttpResponse { + val localVariableAuthNames = listOf() val localVariableBody = postKioskDeparturesRequest @@ -291,30 +312,32 @@ open class KioskApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/kiosk/departures", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/kiosk/departures", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Record a kiosk heartbeat and report whether the box is registered and enabled - * @param postKioskHeartbeatRequest + * @param postKioskHeartbeatRequest * @return PostKioskHeartbeat200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postKioskHeartbeat(postKioskHeartbeatRequest: PostKioskHeartbeatRequest): HttpResponse { + val localVariableAuthNames = listOf() val localVariableBody = postKioskHeartbeatRequest @@ -322,34 +345,33 @@ open class KioskApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/kiosk/heartbeat", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/kiosk/heartbeat", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a kiosk - * @param id + * @param id * @param putKioskByIdRequest (optional) * @return PostKiosk201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putKioskById( - id: kotlin.String, - putKioskByIdRequest: PutKioskByIdRequest? = null, - ): HttpResponse { + open suspend fun putKioskById(id: kotlin.String, putKioskByIdRequest: PutKioskByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putKioskByIdRequest @@ -357,19 +379,21 @@ open class KioskApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/kiosk/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/kiosk/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt index 1cee6c4..804b5e3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response @@ -23,184 +30,183 @@ import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidatesRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class LessonApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get lessons for a given cohort from the database. - * @param cohortId + * @param cohortId * @param timetableId (optional) * @return GetTimetableLessonsGetForCohortByCohortId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableLessonsGetForCohortByCohortId( - cohortId: kotlin.String, - timetableId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableLessonsGetForCohortByCohortId(cohortId: kotlin.String, timetableId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() timetableId?.apply { localVariableQuery["timetableId"] = listOf("$timetableId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/lessons/getForCohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/lessons/getForCohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get a lesson by its ID from the database. - * @param lessonId + * @param lessonId * @return GetTimetableLessonsGetForIdByLessonId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableLessonsGetForIdByLessonId( - lessonId: kotlin.String, - ): HttpResponse { + open suspend fun getTimetableLessonsGetForIdByLessonId(lessonId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/lessons/getForId/{lessonId}".replace("{" + "lessonId" + "}", "$lessonId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/lessons/getForId/{lessonId}".replace("{" + "lessonId" + "}", "$lessonId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get lessons for a given classroom from the database. - * @param classroomId + * @param classroomId * @param timetableId (optional) * @return GetTimetableLessonsGetForCohortByCohortId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableLessonsGetForRoomByClassroomId( - classroomId: kotlin.String, - timetableId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableLessonsGetForRoomByClassroomId(classroomId: kotlin.String, timetableId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() timetableId?.apply { localVariableQuery["timetableId"] = listOf("$timetableId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/lessons/getForRoom/{classroomId}".replace("{" + "classroomId" + "}", "$classroomId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/lessons/getForRoom/{classroomId}".replace("{" + "classroomId" + "}", "$classroomId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get lessons for a given teacher from the database. - * @param teacherId + * @param teacherId * @param timetableId (optional) * @return GetTimetableLessonsGetForCohortByCohortId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableLessonsGetForTeacherByTeacherId( - teacherId: kotlin.String, - timetableId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableLessonsGetForTeacherByTeacherId(teacherId: kotlin.String, timetableId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() timetableId?.apply { localVariableQuery["timetableId"] = listOf("$timetableId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/lessons/getForTeacher/{teacherId}".replace("{" + "teacherId" + "}", "$teacherId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/lessons/getForTeacher/{teacherId}".replace("{" + "teacherId" + "}", "$teacherId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get lessons for multiple teachers in a single request. - * @param postTimetableLessonsGetForTeachersRequest + * @param postTimetableLessonsGetForTeachersRequest * @return PostTimetableLessonsGetForTeachers200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableLessonsGetForTeachers( - postTimetableLessonsGetForTeachersRequest: PostTimetableLessonsGetForTeachersRequest, - ): HttpResponse { + open suspend fun postTimetableLessonsGetForTeachers(postTimetableLessonsGetForTeachersRequest: PostTimetableLessonsGetForTeachersRequest): HttpResponse { + val localVariableAuthNames = listOf() val localVariableBody = postTimetableLessonsGetForTeachersRequest @@ -208,32 +214,32 @@ open class LessonApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/lessons/getForTeachers", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/lessons/getForTeachers", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Get available lessons and substitute teacher candidates for substitution editing in one request. - * @param postTimetableLessonsGetSubstitutionCandidatesRequest + * @param postTimetableLessonsGetSubstitutionCandidatesRequest * @return PostTimetableLessonsGetSubstitutionCandidates200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableLessonsGetSubstitutionCandidates( - postTimetableLessonsGetSubstitutionCandidatesRequest: PostTimetableLessonsGetSubstitutionCandidatesRequest, - ): HttpResponse { + open suspend fun postTimetableLessonsGetSubstitutionCandidates(postTimetableLessonsGetSubstitutionCandidatesRequest: PostTimetableLessonsGetSubstitutionCandidatesRequest): HttpResponse { + val localVariableAuthNames = listOf() val localVariableBody = postTimetableLessonsGetSubstitutionCandidatesRequest @@ -241,19 +247,21 @@ open class LessonApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/lessons/getSubstitutionCandidates", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/lessons/getSubstitutionCandidates", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt index 6c67bcf..abe425a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response @@ -23,173 +30,180 @@ import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class MovedLessonApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a moved lesson - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteTimetableMovedLessonsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/timetable/movedLessons/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/timetable/movedLessons/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all moved lessons. * @return GetTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableMovedLessons(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/movedLessons", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/movedLessons", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all moved lessons for a cohort. - * @param cohortId + * @param cohortId * @return GetTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableMovedLessonsCohortByCohortId(cohortId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/movedLessons/cohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/movedLessons/cohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all relevant moved lessons for a given cohort. - * @param cohortId + * @param cohortId * @return GetTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableMovedLessonsCohortByCohortIdRelevant( - cohortId: kotlin.String, - ): HttpResponse { + open suspend fun getTimetableMovedLessonsCohortByCohortIdRelevant(cohortId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/movedLessons/cohort/{cohortId}/relevant".replace("{" + "cohortId" + "}", "$cohortId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/movedLessons/cohort/{cohortId}/relevant".replace("{" + "cohortId" + "}", "$cohortId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Export moved lessons as a CSV file over an optional date range. * @param from (optional) * @param to (optional) * @return kotlin.String */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableMovedLessonsExport( - from: kotlin.String? = null, - to: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableMovedLessonsExport(from: kotlin.String? = null, to: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -197,63 +211,63 @@ open class MovedLessonApi : ApiClient { to?.apply { localVariableQuery["to"] = listOf("$to") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/movedLessons/export", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/movedLessons/export", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get relevant moved lessons for the active timetable. * @return GetTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableMovedLessonsRelevant(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/movedLessons/relevant", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/movedLessons/relevant", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Create a moved lesson. - * @param postTimetableMovedLessonsRequest + * @param postTimetableMovedLessonsRequest * @return PostTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableMovedLessons( - postTimetableMovedLessonsRequest: PostTimetableMovedLessonsRequest, - ): HttpResponse { + open suspend fun postTimetableMovedLessons(postTimetableMovedLessonsRequest: PostTimetableMovedLessonsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableMovedLessonsRequest @@ -261,34 +275,33 @@ open class MovedLessonApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/movedLessons", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/movedLessons", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a moved lesson. - * @param id + * @param id * @param putTimetableMovedLessonsByIdRequest (optional) * @return PostTimetableMovedLessons200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putTimetableMovedLessonsById( - id: kotlin.String, - putTimetableMovedLessonsByIdRequest: PutTimetableMovedLessonsByIdRequest? = null, - ): HttpResponse { + open suspend fun putTimetableMovedLessonsById(id: kotlin.String, putTimetableMovedLessonsByIdRequest: PutTimetableMovedLessonsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putTimetableMovedLessonsByIdRequest @@ -296,19 +309,21 @@ open class MovedLessonApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/timetable/movedLessons/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/timetable/movedLessons/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt index 31a7890..80ada14 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response @@ -52,627 +59,640 @@ import hu.petrik.filcapp.api.model.PutNavigatorCorridorsByIdRequest import hu.petrik.filcapp.api.model.PutNavigatorLiftsByIdRequest import hu.petrik.filcapp.api.model.PutNavigatorStairsByIdRequest import hu.petrik.filcapp.api.model.PutNavigatorTranslationsByLangByKeyRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class NavigatorApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a campus building; its corridors, lifts and stairs cascade with it, but rooms still assigned to it refuse the delete - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorBuildingsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/buildings/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/buildings/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a classroom type; types still assigned to a classroom are refused - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorClassroomTypesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/classroom-types/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/classroom-types/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a classroom; rooms the timetable still uses are refused - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorClassroomsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/classrooms/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/classrooms/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a corridor - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorCorridorsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/corridors/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/corridors/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a lift - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorLiftsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/lifts/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/lifts/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a staircase - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNavigatorStairsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/stairs/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/stairs/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete one codename in one language - * @param lang - * @param key + * @param lang + * @param key * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun deleteNavigatorTranslationsByLangByKey( - lang: kotlin.String, - key: kotlin.String, - ): HttpResponse { + open suspend fun deleteNavigatorTranslationsByLangByKey(lang: kotlin.String, key: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/navigator/translations/{lang}/{key}".replace("{" + "lang" + "}", "$lang").replace("{" + "key" + "}", "$key"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/navigator/translations/{lang}/{key}".replace("{" + "lang" + "}", "$lang").replace("{" + "key" + "}", "$key"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the campus buildings * @return GetNavigatorBuildings200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorBuildings(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/buildings", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/buildings", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the classroom types * @return GetNavigatorClassroomTypes200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorClassroomTypes(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/classroom-types", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/classroom-types", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the classrooms, including the ones the campus has not placed yet * @return GetNavigatorClassrooms200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorClassrooms(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/classrooms", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/classrooms", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the corridors * @return GetNavigatorCorridors200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorCorridors(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/corridors", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/corridors", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Export every navigator row (buildings, classroom types, classrooms, corridors, lifts, stairs and translations) as a versioned JSON payload. * @return kotlin.String */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorExport(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/export", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/export", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * The whole campus graph in the upstream wire format, without a session. Only rows the campus has placed on the map appear. * @return GetNavigatorGraph200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorGraph(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/graph", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/graph", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the lifts * @return GetNavigatorLifts200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorLifts(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/lifts", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/lifts", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the staircases * @return GetNavigatorStairs200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorStairs(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/stairs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/stairs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List every translation row * @return GetNavigatorTranslations200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorTranslations(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/translations", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/translations", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List the languages the campus translations exist in * @return GetNavigatorTranslationsAvailable200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNavigatorTranslationsAvailable(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/translations/available", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/translations/available", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * One language as a flat `text_key -> text` bundle, without a session - * @param lang - * @return kotlin.collections.Map + * @param lang + * @return kotlin.collections.Map */ @Suppress("UNCHECKED_CAST") - open suspend fun getNavigatorTranslationsLang(lang: kotlin.String): HttpResponse> { + open suspend fun getNavigatorTranslationsLang(lang: kotlin.String): HttpResponse> { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() lang?.apply { localVariableQuery["lang"] = listOf("$lang") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/navigator/translations/lang", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/navigator/translations/lang", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap().map { value } } @Serializable(GetNavigatorTranslationsLangResponse.Companion::class) - private class GetNavigatorTranslationsLangResponse( - val value: Map, - ) { + private class GetNavigatorTranslationsLangResponse(val value: Map) { companion object : KSerializer { private val serializer: KSerializer> = serializer>() override val descriptor = serializer.descriptor - - override fun serialize( - encoder: Encoder, - value: GetNavigatorTranslationsLangResponse, - ) = serializer.serialize(encoder, value.value) - + override fun serialize(encoder: Encoder, value: GetNavigatorTranslationsLangResponse) = serializer.serialize(encoder, value.value) override fun deserialize(decoder: Decoder) = GetNavigatorTranslationsLangResponse(serializer.deserialize(decoder)) } } /** - * + * * Create a campus building - * @param postNavigatorBuildingsRequest + * @param postNavigatorBuildingsRequest * @return PostNavigatorBuildings201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorBuildings( - postNavigatorBuildingsRequest: PostNavigatorBuildingsRequest, - ): HttpResponse { + open suspend fun postNavigatorBuildings(postNavigatorBuildingsRequest: PostNavigatorBuildingsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorBuildingsRequest @@ -680,32 +700,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/buildings", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/buildings", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a classroom type - * @param postNavigatorClassroomTypesRequest + * @param postNavigatorClassroomTypesRequest * @return PostNavigatorClassroomTypes201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorClassroomTypes( - postNavigatorClassroomTypesRequest: PostNavigatorClassroomTypesRequest, - ): HttpResponse { + open suspend fun postNavigatorClassroomTypes(postNavigatorClassroomTypesRequest: PostNavigatorClassroomTypesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorClassroomTypesRequest @@ -713,32 +733,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/classroom-types", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/classroom-types", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a classroom - * @param postNavigatorClassroomsRequest + * @param postNavigatorClassroomsRequest * @return PostNavigatorClassrooms201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorClassrooms( - postNavigatorClassroomsRequest: PostNavigatorClassroomsRequest, - ): HttpResponse { + open suspend fun postNavigatorClassrooms(postNavigatorClassroomsRequest: PostNavigatorClassroomsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorClassroomsRequest @@ -746,32 +766,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/classrooms", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/classrooms", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a corridor - * @param postNavigatorCorridorsRequest + * @param postNavigatorCorridorsRequest * @return PostNavigatorCorridors201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorCorridors( - postNavigatorCorridorsRequest: PostNavigatorCorridorsRequest, - ): HttpResponse { + open suspend fun postNavigatorCorridors(postNavigatorCorridorsRequest: PostNavigatorCorridorsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorCorridorsRequest @@ -779,32 +799,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/corridors", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/corridors", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Insert or update every collection in a navigator export payload by its key, inside one transaction. Rows absent from the payload are never deleted. - * @param postNavigatorImportRequest + * @param postNavigatorImportRequest * @return PostNavigatorImport200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorImport( - postNavigatorImportRequest: PostNavigatorImportRequest, - ): HttpResponse { + open suspend fun postNavigatorImport(postNavigatorImportRequest: PostNavigatorImportRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorImportRequest @@ -812,32 +832,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/import", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/import", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a lift - * @param postNavigatorLiftsRequest + * @param postNavigatorLiftsRequest * @return GetNavigatorLifts200ResponseItemsInner */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorLifts( - postNavigatorLiftsRequest: PostNavigatorLiftsRequest, - ): HttpResponse { + open suspend fun postNavigatorLifts(postNavigatorLiftsRequest: PostNavigatorLiftsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorLiftsRequest @@ -845,32 +865,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/lifts", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/lifts", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a staircase - * @param postNavigatorStairsRequest + * @param postNavigatorStairsRequest * @return GetNavigatorStairs200ResponseItemsInner */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorStairs( - postNavigatorStairsRequest: PostNavigatorStairsRequest, - ): HttpResponse { + open suspend fun postNavigatorStairs(postNavigatorStairsRequest: PostNavigatorStairsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorStairsRequest @@ -878,32 +898,32 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/stairs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/stairs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create or replace one codename across every given language - * @param postNavigatorTranslationsRequest + * @param postNavigatorTranslationsRequest * @return PostNavigatorTranslations201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNavigatorTranslations( - postNavigatorTranslationsRequest: PostNavigatorTranslationsRequest, - ): HttpResponse { + open suspend fun postNavigatorTranslations(postNavigatorTranslationsRequest: PostNavigatorTranslationsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorTranslationsRequest @@ -911,34 +931,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/navigator/translations", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/navigator/translations", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a campus building - * @param id + * @param id * @param putNavigatorBuildingsByIdRequest (optional) * @return PostNavigatorBuildings201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorBuildingsById( - id: kotlin.String, - putNavigatorBuildingsByIdRequest: PutNavigatorBuildingsByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorBuildingsById(id: kotlin.String, putNavigatorBuildingsByIdRequest: PutNavigatorBuildingsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorBuildingsByIdRequest @@ -946,34 +965,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/buildings/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/buildings/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a classroom type - * @param id + * @param id * @param putNavigatorClassroomTypesByIdRequest (optional) * @return PostNavigatorClassroomTypes201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorClassroomTypesById( - id: kotlin.String, - putNavigatorClassroomTypesByIdRequest: PutNavigatorClassroomTypesByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorClassroomTypesById(id: kotlin.String, putNavigatorClassroomTypesByIdRequest: PutNavigatorClassroomTypesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorClassroomTypesByIdRequest @@ -981,34 +999,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/classroom-types/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/classroom-types/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a classroom - * @param id + * @param id * @param putNavigatorClassroomsByIdRequest (optional) * @return PutNavigatorClassroomsById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorClassroomsById( - id: kotlin.String, - putNavigatorClassroomsByIdRequest: PutNavigatorClassroomsByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorClassroomsById(id: kotlin.String, putNavigatorClassroomsByIdRequest: PutNavigatorClassroomsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorClassroomsByIdRequest @@ -1016,34 +1033,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/classrooms/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/classrooms/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a corridor - * @param id + * @param id * @param putNavigatorCorridorsByIdRequest (optional) * @return PostNavigatorCorridors201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorCorridorsById( - id: kotlin.String, - putNavigatorCorridorsByIdRequest: PutNavigatorCorridorsByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorCorridorsById(id: kotlin.String, putNavigatorCorridorsByIdRequest: PutNavigatorCorridorsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorCorridorsByIdRequest @@ -1051,34 +1067,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/corridors/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/corridors/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a lift - * @param id + * @param id * @param putNavigatorLiftsByIdRequest (optional) * @return GetNavigatorLifts200ResponseItemsInner */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorLiftsById( - id: kotlin.String, - putNavigatorLiftsByIdRequest: PutNavigatorLiftsByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorLiftsById(id: kotlin.String, putNavigatorLiftsByIdRequest: PutNavigatorLiftsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorLiftsByIdRequest @@ -1086,34 +1101,33 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/lifts/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/lifts/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a staircase - * @param id + * @param id * @param putNavigatorStairsByIdRequest (optional) * @return GetNavigatorStairs200ResponseItemsInner */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorStairsById( - id: kotlin.String, - putNavigatorStairsByIdRequest: PutNavigatorStairsByIdRequest? = null, - ): HttpResponse { + open suspend fun putNavigatorStairsById(id: kotlin.String, putNavigatorStairsByIdRequest: PutNavigatorStairsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorStairsByIdRequest @@ -1121,36 +1135,34 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/stairs/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/stairs/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Write the text of one codename in one language - * @param lang - * @param key - * @param putNavigatorTranslationsByLangByKeyRequest + * @param lang + * @param key + * @param putNavigatorTranslationsByLangByKeyRequest * @return PostNavigatorTranslations201ResponseItemsInner */ @Suppress("UNCHECKED_CAST") - open suspend fun putNavigatorTranslationsByLangByKey( - lang: kotlin.String, - key: kotlin.String, - putNavigatorTranslationsByLangByKeyRequest: PutNavigatorTranslationsByLangByKeyRequest, - ): HttpResponse { + open suspend fun putNavigatorTranslationsByLangByKey(lang: kotlin.String, key: kotlin.String, putNavigatorTranslationsByLangByKeyRequest: PutNavigatorTranslationsByLangByKeyRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putNavigatorTranslationsByLangByKeyRequest @@ -1158,19 +1170,21 @@ open class NavigatorApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/navigator/translations/{lang}/{key}".replace("{" + "lang" + "}", "$lang").replace("{" + "key" + "}", "$key"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/navigator/translations/{lang}/{key}".replace("{" + "lang" + "}", "$lang").replace("{" + "key" + "}", "$key"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt index 4375870..07ffda6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response @@ -26,95 +33,104 @@ import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest import hu.petrik.filcapp.api.model.PostNavigatorImportRequest import hu.petrik.filcapp.api.model.PostNewsAnnouncements201Response import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class NewsAnnouncementsApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete an announcement - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNewsAnnouncementsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete the image attached to an announcement - * @param id + * @param id * @return PatchNewsAnnouncementsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNewsAnnouncementsByIdImage(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/news/announcements/{id}/image".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/news/announcements/{id}/image".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List active announcements within date range, cohort-filtered by default; includeAll=true returns everything * @param limit (optional, default to 20) * @param offset (optional, default to 0) @@ -124,16 +140,11 @@ open class NewsAnnouncementsApi : ApiClient { * @return GetNewsAnnouncements200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getNewsAnnouncements( - limit: kotlin.Int? = 20, - offset: kotlin.Int? = 0, - includeAll: kotlin.String? = "false", - includeExpired: kotlin.String? = "false", - includeKioskOnly: kotlin.String? = "false", - ): HttpResponse { + open suspend fun getNewsAnnouncements(limit: kotlin.Int? = 20, offset: kotlin.Int? = 0, includeAll: kotlin.String? = "false", includeExpired: kotlin.String? = "false", includeKioskOnly: kotlin.String? = "false"): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -144,66 +155,65 @@ open class NewsAnnouncementsApi : ApiClient { includeKioskOnly?.apply { localVariableQuery["includeKioskOnly"] = listOf("$includeKioskOnly") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/announcements", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/announcements", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get a single announcement by ID - * @param id + * @param id * @return GetNewsAnnouncementsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNewsAnnouncementsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update an existing announcement - * @param id + * @param id * @param patchNewsAnnouncementsByIdRequest (optional) * @return PatchNewsAnnouncementsById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchNewsAnnouncementsById( - id: kotlin.String, - patchNewsAnnouncementsByIdRequest: PatchNewsAnnouncementsByIdRequest? = null, - ): HttpResponse { + open suspend fun patchNewsAnnouncementsById(id: kotlin.String, patchNewsAnnouncementsByIdRequest: PatchNewsAnnouncementsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchNewsAnnouncementsByIdRequest @@ -211,32 +221,32 @@ open class NewsAnnouncementsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/news/announcements/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new announcement - * @param postNewsAnnouncementsRequest + * @param postNewsAnnouncementsRequest * @return PostNewsAnnouncements201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNewsAnnouncements( - postNewsAnnouncementsRequest: PostNewsAnnouncementsRequest, - ): HttpResponse { + open suspend fun postNewsAnnouncements(postNewsAnnouncementsRequest: PostNewsAnnouncementsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNewsAnnouncementsRequest @@ -244,34 +254,33 @@ open class NewsAnnouncementsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/announcements", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/announcements", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Upload the image this announcement shows on the kiosk - * @param id - * @param postNavigatorImportRequest + * @param id + * @param postNavigatorImportRequest * @return PatchNewsAnnouncementsById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNewsAnnouncementsByIdImage( - id: kotlin.String, - postNavigatorImportRequest: PostNavigatorImportRequest, - ): HttpResponse { + open suspend fun postNewsAnnouncementsByIdImage(id: kotlin.String, postNavigatorImportRequest: PostNavigatorImportRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNavigatorImportRequest @@ -279,19 +288,21 @@ open class NewsAnnouncementsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/announcements/{id}/image".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/announcements/{id}/image".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt index a31d0bb..58a66a1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsBlogs200Response @@ -25,76 +32,82 @@ import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest import hu.petrik.filcapp.api.model.PostNewsBlogs201Response import hu.petrik.filcapp.api.model.PostNewsBlogsRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class NewsBlogsApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a blog post - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNewsBlogsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/news/blogs/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/news/blogs/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List published blog posts (public, no auth required) * @param limit (optional, default to 20) * @param offset (optional, default to 0) * @return GetNewsBlogs200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getNewsBlogs( - limit: kotlin.Int? = 20, - offset: kotlin.Int? = 0, - ): HttpResponse { + open suspend fun getNewsBlogs(limit: kotlin.Int? = 20, offset: kotlin.Int? = 0): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -102,69 +115,68 @@ open class NewsBlogsApi : ApiClient { offset?.apply { localVariableQuery["offset"] = listOf("$offset") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/blogs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/blogs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get a published blog post by slug (public, no auth required) - * @param slug + * @param slug * @return GetNewsBlogsBySlug200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNewsBlogsBySlug(slug: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/blogs/{slug}".replace("{" + "slug" + "}", "$slug"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/blogs/{slug}".replace("{" + "slug" + "}", "$slug"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all blog posts including drafts (requires permission) * @param limit (optional, default to 20) * @param offset (optional, default to 0) * @return GetNewsBlogs200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getNewsBlogsDrafts( - limit: kotlin.Int? = 20, - offset: kotlin.Int? = 0, - ): HttpResponse { + open suspend fun getNewsBlogsDrafts(limit: kotlin.Int? = 20, offset: kotlin.Int? = 0): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -172,66 +184,65 @@ open class NewsBlogsApi : ApiClient { offset?.apply { localVariableQuery["offset"] = listOf("$offset") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/blogs/drafts", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/blogs/drafts", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get any blog post by ID including drafts (requires permission) - * @param id + * @param id * @return GetNewsBlogsBySlug200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNewsBlogsIdById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/blogs/id/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/blogs/id/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update a blog post - * @param id + * @param id * @param patchNewsBlogsByIdRequest (optional) * @return PatchNewsBlogsById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchNewsBlogsById( - id: kotlin.String, - patchNewsBlogsByIdRequest: PatchNewsBlogsByIdRequest? = null, - ): HttpResponse { + open suspend fun patchNewsBlogsById(id: kotlin.String, patchNewsBlogsByIdRequest: PatchNewsBlogsByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchNewsBlogsByIdRequest @@ -239,30 +250,32 @@ open class NewsBlogsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/news/blogs/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/news/blogs/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new blog post (defaults to draft) - * @param postNewsBlogsRequest + * @param postNewsBlogsRequest * @return PostNewsBlogs201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNewsBlogs(postNewsBlogsRequest: PostNewsBlogsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNewsBlogsRequest @@ -270,83 +283,87 @@ open class NewsBlogsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/blogs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/blogs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Publish a blog post (draft → published) - * @param id + * @param id * @return PatchNewsBlogsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNewsBlogsByIdPublish(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/blogs/{id}/publish".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/blogs/{id}/publish".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Unpublish a blog post (published → draft) - * @param id + * @param id * @return PatchNewsBlogsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNewsBlogsByIdUnpublish(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/blogs/{id}/unpublish".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/blogs/{id}/unpublish".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt index b29df33..608cb71 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response @@ -25,63 +32,71 @@ import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response import hu.petrik.filcapp.api.model.PostNewsSystemMessagesRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class NewsSystemMessagesApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a system message - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNewsSystemMessagesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List active system messages within date range, filtered by user cohort * @param limit (optional, default to 20) * @param offset (optional, default to 0) @@ -91,16 +106,11 @@ open class NewsSystemMessagesApi : ApiClient { * @return GetNewsSystemMessages200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getNewsSystemMessages( - limit: kotlin.Int? = 20, - offset: kotlin.Int? = 0, - includeAll: kotlin.String? = "false", - includeExpired: kotlin.String? = "false", - includeKioskOnly: kotlin.String? = "false", - ): HttpResponse { + open suspend fun getNewsSystemMessages(limit: kotlin.Int? = 20, offset: kotlin.Int? = 0, includeAll: kotlin.String? = "false", includeExpired: kotlin.String? = "false", includeKioskOnly: kotlin.String? = "false"): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -111,66 +121,65 @@ open class NewsSystemMessagesApi : ApiClient { includeKioskOnly?.apply { localVariableQuery["includeKioskOnly"] = listOf("$includeKioskOnly") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/system-messages", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/system-messages", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get a single system message by ID - * @param id + * @param id * @return GetNewsSystemMessagesById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNewsSystemMessagesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update an existing system message - * @param id + * @param id * @param patchNewsSystemMessagesByIdRequest (optional) * @return PatchNewsSystemMessagesById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchNewsSystemMessagesById( - id: kotlin.String, - patchNewsSystemMessagesByIdRequest: PatchNewsSystemMessagesByIdRequest? = null, - ): HttpResponse { + open suspend fun patchNewsSystemMessagesById(id: kotlin.String, patchNewsSystemMessagesByIdRequest: PatchNewsSystemMessagesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchNewsSystemMessagesByIdRequest @@ -178,32 +187,32 @@ open class NewsSystemMessagesApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/news/system-messages/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new system message - * @param postNewsSystemMessagesRequest + * @param postNewsSystemMessagesRequest * @return PostNewsSystemMessages201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNewsSystemMessages( - postNewsSystemMessagesRequest: PostNewsSystemMessagesRequest, - ): HttpResponse { + open suspend fun postNewsSystemMessages(postNewsSystemMessagesRequest: PostNewsSystemMessagesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNewsSystemMessagesRequest @@ -211,19 +220,21 @@ open class NewsSystemMessagesApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/news/system-messages", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/news/system-messages", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt index 57207ea..e7c83da 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetNotifications200Response import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response @@ -28,77 +35,87 @@ import hu.petrik.filcapp.api.model.PostNotificationsTestPreview200Response import hu.petrik.filcapp.api.model.PostNotificationsTestPreviewRequest import hu.petrik.filcapp.api.model.PostNotificationsTestSend200Response import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class NotificationsApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Unregister a push (FCM) token - * @param token + * @param token * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteNotificationsFcmTokensByToken(token: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/notifications/fcm-tokens/{token}".replace("{" + "token" + "}", "$token"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/notifications/fcm-tokens/{token}".replace("{" + "token" + "}", "$token"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** * enum for parameter unread */ @Serializable - enum class UnreadGetNotifications( - val value: kotlin.String, - ) { + enum class UnreadGetNotifications(val value: kotlin.String) { + @SerialName(value = "true") `true`("true"), - + @SerialName(value = "false") - `false`("false"), + `false`("false"); + + override fun toString(): kotlin.String = value } /** - * + * * List the signed-in user's notifications * @param dateFrom (optional) * @param dateTo (optional) @@ -109,17 +126,11 @@ open class NotificationsApi : ApiClient { * @return GetNotifications200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getNotifications( - dateFrom: kotlin.String? = null, - dateTo: kotlin.String? = null, - limit: kotlin.Double? = 20.toDouble(), - offset: kotlin.Double? = 0.toDouble(), - type: kotlin.String? = null, - unread: UnreadGetNotifications? = null, - ): HttpResponse { + open suspend fun getNotifications(dateFrom: kotlin.String? = null, dateTo: kotlin.String? = null, limit: kotlin.Double? = 20.toDouble(), offset: kotlin.Double? = 0.toDouble(), type: kotlin.String? = null, unread: UnreadGetNotifications? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -131,94 +142,95 @@ open class NotificationsApi : ApiClient { unread?.apply { localVariableQuery["unread"] = listOf("${ unread.value }") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/notifications", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/notifications", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Read the notification preferences of the signed-in user * @return GetNotificationsSettings200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNotificationsSettings(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/notifications/settings", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/notifications/settings", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Count the signed-in user's unread notifications * @return GetNotificationsUnreadCount200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getNotificationsUnreadCount(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/notifications/unread-count", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/notifications/unread-count", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update the notification preferences of the signed-in user - * @param patchNotificationsSettingsRequest + * @param patchNotificationsSettingsRequest * @return GetNotificationsSettings200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchNotificationsSettings( - patchNotificationsSettingsRequest: PatchNotificationsSettingsRequest, - ): HttpResponse { + open suspend fun patchNotificationsSettings(patchNotificationsSettingsRequest: PatchNotificationsSettingsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchNotificationsSettingsRequest @@ -226,64 +238,65 @@ open class NotificationsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/notifications/settings", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/notifications/settings", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Mark one notification as read - * @param id + * @param id * @return PostNotificationsByIdRead200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNotificationsByIdRead(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/{id}/read".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/{id}/read".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Register a push (FCM) token for the signed-in user - * @param postNotificationsFcmTokensRequest + * @param postNotificationsFcmTokensRequest * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNotificationsFcmTokens( - postNotificationsFcmTokensRequest: PostNotificationsFcmTokensRequest, - ): HttpResponse { + open suspend fun postNotificationsFcmTokens(postNotificationsFcmTokensRequest: PostNotificationsFcmTokensRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNotificationsFcmTokensRequest @@ -291,94 +304,96 @@ open class NotificationsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/fcm-tokens", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/fcm-tokens", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Mark every notification of the signed-in user as read * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNotificationsReadAll(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/read-all", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/read-all", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Development helper: drop a test notification into the caller's own inbox (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS) * @return PostNotificationsByIdRead200Response */ @Suppress("UNCHECKED_CAST") open suspend fun postNotificationsTest(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/test", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/test", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Development helper: render a notification template without sending it (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS) - * @param postNotificationsTestPreviewRequest + * @param postNotificationsTestPreviewRequest * @return PostNotificationsTestPreview200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNotificationsTestPreview( - postNotificationsTestPreviewRequest: PostNotificationsTestPreviewRequest, - ): HttpResponse { + open suspend fun postNotificationsTestPreview(postNotificationsTestPreviewRequest: PostNotificationsTestPreviewRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNotificationsTestPreviewRequest @@ -386,32 +401,32 @@ open class NotificationsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/test/preview", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/test/preview", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Development helper: send a test message over email, in-app and/or push (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS) - * @param postNotificationsTestSendRequest + * @param postNotificationsTestSendRequest * @return PostNotificationsTestSend200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postNotificationsTestSend( - postNotificationsTestSendRequest: PostNotificationsTestSendRequest, - ): HttpResponse { + open suspend fun postNotificationsTestSend(postNotificationsTestSendRequest: PostNotificationsTestSendRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postNotificationsTestSendRequest @@ -419,19 +434,21 @@ open class NotificationsApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/notifications/test/send", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/notifications/test/send", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt index 3dcf24c..646537e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt @@ -8,69 +8,85 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class PeriodApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get all period definitions used in a given timetable, sorted by period number. * @param timetableId (optional) * @return GetTimetablePeriodsGetAll200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetablePeriodsGetAll(timetableId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() timetableId?.apply { localVariableQuery["timetableId"] = listOf("$timetableId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/periods/getAll", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/periods/getAll", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt index a89542f..cf8d1c6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt @@ -8,99 +8,116 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetPing200Response import hu.petrik.filcapp.api.model.GetPingUptime200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class PingApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Health check endpoint that returns a pong response. * @return GetPing200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getPing(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/ping", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/ping", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get the uptime. * @return GetPingUptime200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getPingUptime(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/ping/uptime", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/ping/uptime", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt index 5126268..e468176 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response import hu.petrik.filcapp.api.model.GetRoles200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response @@ -23,135 +30,143 @@ import hu.petrik.filcapp.api.model.PatchRolesByNameRequest import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostRoles201Response import hu.petrik.filcapp.api.model.PostRolesRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class RolesApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a role - * @param name + * @param name * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteRolesByName(name: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/roles/{name}".replace("{" + "name" + "}", "$name"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/roles/{name}".replace("{" + "name" + "}", "$name"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all roles with their permissions * @return GetRoles200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getRoles(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/roles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/roles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List all known permissions registered by the application * @return GetNavigatorTranslationsAvailable200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getRolesPermissions(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/roles/permissions", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/roles/permissions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update permissions for a role - * @param name - * @param patchRolesByNameRequest + * @param name + * @param patchRolesByNameRequest * @return PostRoles201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchRolesByName( - name: kotlin.String, - patchRolesByNameRequest: PatchRolesByNameRequest, - ): HttpResponse { + open suspend fun patchRolesByName(name: kotlin.String, patchRolesByNameRequest: PatchRolesByNameRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchRolesByNameRequest @@ -159,30 +174,32 @@ open class RolesApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/roles/{name}".replace("{" + "name" + "}", "$name"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/roles/{name}".replace("{" + "name" + "}", "$name"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new role - * @param postRolesRequest + * @param postRolesRequest * @return PostRoles201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postRoles(postRolesRequest: PostRolesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postRolesRequest @@ -190,19 +207,21 @@ open class RolesApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/roles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/roles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt index a3bad8b..dcbed1b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt @@ -8,67 +8,83 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class SubjectApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Get all subjects from the database. * @return GetTimetableSubjects200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableSubjects(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/subjects", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/subjects", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt index 018f614..af380a0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response @@ -26,141 +33,147 @@ import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest import hu.petrik.filcapp.api.model.PutTimetableSubstitutionsByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class SubstitutionApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a substitution - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteTimetableSubstitutionsById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/timetable/substitutions/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/timetable/substitutions/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all substitutions from the database. * @return GetTimetableSubstitutions200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableSubstitutions(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/substitutions", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/substitutions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get relevant substitutions for a given cohort from the database. - * @param cohortId + * @param cohortId * @return GetTimetableSubstitutionsCohortByCohortId200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableSubstitutionsCohortByCohortId( - cohortId: kotlin.String, - ): HttpResponse { + open suspend fun getTimetableSubstitutionsCohortByCohortId(cohortId: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/substitutions/cohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/substitutions/cohort/{cohortId}".replace("{" + "cohortId" + "}", "$cohortId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Export substitutions as a CSV file over an optional date range. * @param from (optional) * @param to (optional) * @return kotlin.String */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableSubstitutionsExport( - from: kotlin.String? = null, - to: kotlin.String? = null, - ): HttpResponse { + open suspend fun getTimetableSubstitutionsExport(from: kotlin.String? = null, to: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -168,63 +181,63 @@ open class SubstitutionApi : ApiClient { to?.apply { localVariableQuery["to"] = listOf("$to") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/substitutions/export", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/substitutions/export", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get relevant substitutions from the database. * @return GetTimetableSubstitutionsRelevant200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableSubstitutionsRelevant(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/substitutions/relevant", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/substitutions/relevant", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Create a new substitution - * @param postTimetableSubstitutionsRequest + * @param postTimetableSubstitutionsRequest * @return PostTimetableSubstitutions200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableSubstitutions( - postTimetableSubstitutionsRequest: PostTimetableSubstitutionsRequest, - ): HttpResponse { + open suspend fun postTimetableSubstitutions(postTimetableSubstitutionsRequest: PostTimetableSubstitutionsRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableSubstitutionsRequest @@ -232,32 +245,32 @@ open class SubstitutionApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/substitutions", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/substitutions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a substitution manually by specifying the teacher, lesson time, subject and cohort directly. - * @param postTimetableSubstitutionsManualRequest + * @param postTimetableSubstitutionsManualRequest * @return PostTimetableSubstitutions200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableSubstitutionsManual( - postTimetableSubstitutionsManualRequest: PostTimetableSubstitutionsManualRequest, - ): HttpResponse { + open suspend fun postTimetableSubstitutionsManual(postTimetableSubstitutionsManualRequest: PostTimetableSubstitutionsManualRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableSubstitutionsManualRequest @@ -265,34 +278,33 @@ open class SubstitutionApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/substitutions/manual", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/substitutions/manual", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a substitution - * @param id - * @param putTimetableSubstitutionsByIdRequest + * @param id + * @param putTimetableSubstitutionsByIdRequest * @return PostTimetableSubstitutions200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putTimetableSubstitutionsById( - id: kotlin.String, - putTimetableSubstitutionsByIdRequest: PutTimetableSubstitutionsByIdRequest, - ): HttpResponse { + open suspend fun putTimetableSubstitutionsById(id: kotlin.String, putTimetableSubstitutionsByIdRequest: PutTimetableSubstitutionsByIdRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putTimetableSubstitutionsByIdRequest @@ -300,19 +312,21 @@ open class SubstitutionApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/timetable/substitutions/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/timetable/substitutions/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt index 90ebd57..9cd5f32 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt @@ -8,148 +8,163 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class TeacherApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * List all teachers with their email and linked user. * @return GetTimetableTeachers200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTeachers(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/teachers", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/teachers", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all teachers from the database. * @return GetTimetableTeachersGetAll200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTeachersGetAll(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/teachers/getAll", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/teachers/getAll", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get the signed-in user's linked teacher, if any. * @return GetTimetableTeachersMe200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTeachersMe(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/teachers/me", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/teachers/me", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update a teacher email and/or linked user. - * @param id + * @param id * @param patchTimetableTeachersByIdRequest (optional) * @return PatchTimetableTeachersById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchTimetableTeachersById( - id: kotlin.String, - patchTimetableTeachersByIdRequest: PatchTimetableTeachersByIdRequest? = null, - ): HttpResponse { + open suspend fun patchTimetableTeachersById(id: kotlin.String, patchTimetableTeachersByIdRequest: PatchTimetableTeachersByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchTimetableTeachersByIdRequest @@ -157,19 +172,21 @@ open class TeacherApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/timetable/teachers/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/timetable/teachers/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt index 4abc0b8..c266722 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response @@ -26,200 +33,208 @@ import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostTimetableImportRequest import hu.petrik.filcapp.api.model.PostTimetableTimetablesCleanupOrphanedCohorts200Response + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class TimetableApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a timetable and all its related data, including orphaned cohorts. - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteTimetableTimetablesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/timetable/timetables/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/timetable/timetables/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all timetables from the database. * @return GetTimetableTimetables200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTimetables(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/timetables", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/timetables", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Preview the impact of deleting a timetable. Orphaned cohorts will be deleted along with the timetable. - * @param id + * @param id * @return GetTimetableTimetablesByIdPreviewDelete200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getTimetableTimetablesByIdPreviewDelete( - id: kotlin.String, - ): HttpResponse { + open suspend fun getTimetableTimetablesByIdPreviewDelete(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/timetables/{id}/preview-delete".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/timetables/{id}/preview-delete".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get the latest valid timetable. * @return PatchTimetableTimetablesById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTimetablesLatestValid(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/timetables/latestValid", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/timetables/latestValid", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get all the latest valid timetables. * @return GetTimetableTimetables200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getTimetableTimetablesValid(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/timetable/timetables/valid", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/timetable/timetables/valid", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update a timetable validity dates. - * @param id + * @param id * @param patchTimetableTimetablesByIdRequest (optional) * @return PatchTimetableTimetablesById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchTimetableTimetablesById( - id: kotlin.String, - patchTimetableTimetablesByIdRequest: PatchTimetableTimetablesByIdRequest? = null, - ): HttpResponse { + open suspend fun patchTimetableTimetablesById(id: kotlin.String, patchTimetableTimetablesByIdRequest: PatchTimetableTimetablesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchTimetableTimetablesByIdRequest @@ -227,32 +242,32 @@ open class TimetableApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/timetable/timetables/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/timetable/timetables/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Import a timetable from an Oman or aSc 2012 XML file. - * @param postTimetableImportRequest + * @param postTimetableImportRequest * @return PostDoorlockDevicesByIdUpdate200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableImport( - postTimetableImportRequest: PostTimetableImportRequest, - ): HttpResponse { + open suspend fun postTimetableImport(postTimetableImportRequest: PostTimetableImportRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postTimetableImportRequest @@ -260,52 +275,53 @@ open class TimetableApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/import", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/import", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Delete all cohorts that are no longer linked to any timetable (orphaned) and all teachers that are not assigned to any lesson. Users referencing those cohorts will have their cohortId nullified. Teachers still referenced by cohorts, cohort groups, or substitutions are kept. * @return PostTimetableTimetablesCleanupOrphanedCohorts200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postTimetableTimetablesCleanupOrphanedCohorts(): HttpResponse< - PostTimetableTimetablesCleanupOrphanedCohorts200Response, - > { + open suspend fun postTimetableTimetablesCleanupOrphanedCohorts(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/timetable/timetables/cleanup-orphaned-cohorts", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/timetable/timetables/cleanup-orphaned-cohorts", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt index 6b7a1f5..c589ef0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt @@ -8,43 +8,57 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.GetUsers200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchUsersById200Response import hu.petrik.filcapp.api.model.PatchUsersByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class UsersApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * List users * @param limit (optional, default to 20) * @param offset (optional, default to 0) @@ -53,15 +67,11 @@ open class UsersApi : ApiClient { * @return GetUsers200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getUsers( - limit: kotlin.Double? = 20.toDouble(), - offset: kotlin.Double? = 0.toDouble(), - role: kotlin.String? = null, - search: kotlin.String? = null, - ): HttpResponse { + open suspend fun getUsers(limit: kotlin.Double? = 20.toDouble(), offset: kotlin.Double? = 0.toDouble(), role: kotlin.String? = null, search: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -71,34 +81,32 @@ open class UsersApi : ApiClient { search?.apply { localVariableQuery["search"] = listOf("$search") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/users", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/users", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Update user - * @param id + * @param id * @param patchUsersByIdRequest (optional) * @return PatchUsersById200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun patchUsersById( - id: kotlin.String, - patchUsersByIdRequest: PatchUsersByIdRequest? = null, - ): HttpResponse { + open suspend fun patchUsersById(id: kotlin.String, patchUsersByIdRequest: PatchUsersByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = patchUsersByIdRequest @@ -106,19 +114,21 @@ open class UsersApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PATCH, - "/users/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/users/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt index bfb46c2..2effc16 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt @@ -8,14 +8,21 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.infrastructure.* import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response @@ -52,205 +59,219 @@ import hu.petrik.filcapp.api.model.PutWifiSelfPassword200Response import hu.petrik.filcapp.api.model.PutWifiSelfPasswordRequest import hu.petrik.filcapp.api.model.PutWifiSpeedProfilesByIdRequest import hu.petrik.filcapp.api.model.PutWifiUsersByIdRequest + +import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig -import io.ktor.client.engine.HttpClientEngine import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.Json open class WiFiApi : ApiClient { + constructor( baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, - jsonSerializer: Json = ApiClient.JSON_DEFAULT, + jsonSerializer: Json = ApiClient.JSON_DEFAULT ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) constructor( baseUrl: String, - httpClient: HttpClient, - ) : super(baseUrl = baseUrl, httpClient = httpClient) + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) /** - * + * * Delete a WiFi device or global MAC ban. - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteWifiDevicesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/wifi/devices/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/wifi/devices/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a WiFi NAS device. - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteWifiNasById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/wifi/nas/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/wifi/nas/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a WiFi role speed-profile mapping. - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteWifiRoleSpeedProfilesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/wifi/role-speed-profiles/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/wifi/role-speed-profiles/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a UniFi WiFi speed profile. - * @param id + * @param id * @return DeleteNavigatorBuildingsById200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteWifiSpeedProfilesById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/wifi/speed-profiles/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/wifi/speed-profiles/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Delete a WiFi user account. - * @param id + * @param id * @return DeleteAdminApiKeysByKeyId200Response */ @Suppress("UNCHECKED_CAST") open suspend fun deleteWifiUsersById(id: kotlin.String): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.DELETE, - "/wifi/users/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/wifi/users/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** * enum for parameter result */ @Serializable - enum class ResultGetWifiAuthLogs( - val value: kotlin.String, - ) { + enum class ResultGetWifiAuthLogs(val value: kotlin.String) { + @SerialName(value = "true") `true`("true"), - + @SerialName(value = "false") - `false`("false"), + `false`("false"); + + override fun toString(): kotlin.String = value } /** - * + * * List WiFi auth logs. * @param limit (optional, default to 10000) * @param offset (optional, default to 0) @@ -260,16 +281,11 @@ open class WiFiApi : ApiClient { * @return GetWifiAuthLogs200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getWifiAuthLogs( - limit: kotlin.Int? = 10000, - offset: kotlin.Int? = 0, - search: kotlin.String? = null, - failureReason: kotlin.String? = null, - result: ResultGetWifiAuthLogs? = null, - ): HttpResponse { + open suspend fun getWifiAuthLogs(limit: kotlin.Int? = 10000, offset: kotlin.Int? = 0, search: kotlin.String? = null, failureReason: kotlin.String? = null, result: ResultGetWifiAuthLogs? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -280,24 +296,24 @@ open class WiFiApi : ApiClient { result?.apply { localVariableQuery["result"] = listOf("${ result.value }") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/auth-logs", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/auth-logs", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List WiFi devices and global MAC bans. * @param limit (optional, default to 10000) * @param offset (optional, default to 0) @@ -306,15 +322,11 @@ open class WiFiApi : ApiClient { * @return GetWifiDevices200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getWifiDevices( - limit: kotlin.Int? = 10000, - offset: kotlin.Int? = 0, - search: kotlin.String? = null, - wifiUserId: kotlin.String? = null, - ): HttpResponse { + open suspend fun getWifiDevices(limit: kotlin.Int? = 10000, offset: kotlin.Int? = 0, search: kotlin.String? = null, wifiUserId: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -324,241 +336,248 @@ open class WiFiApi : ApiClient { wifiUserId?.apply { localVariableQuery["wifiUserId"] = listOf("$wifiUserId") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/devices", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/devices", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List authorized WiFi NAS devices. * @return GetWifiNas200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiNas(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/nas", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/nas", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List WiFi role speed-profile mappings. * @return GetWifiRoleSpeedProfiles200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiRoleSpeedProfiles(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/role-speed-profiles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/role-speed-profiles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get the authenticated user's WiFi account and devices. * @return GetWifiSelf200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiSelf(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/self", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/self", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Download the CA certificate for the authenticated user's WiFi network. * @return kotlin.String */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiSelfCertificate(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/self/certificate", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/self/certificate", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List UniFi WiFi speed profiles. * @return GetWifiSpeedProfiles200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiSpeedProfiles(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/speed-profiles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/speed-profiles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get WiFi account, device, active-device, and auth statistics. * @return GetWifiStatsOverview200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiStatsOverview(): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/stats/overview", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/stats/overview", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Get the WiFi module status and configured SSID. * @return GetWifiStatus200Response */ @Suppress("UNCHECKED_CAST") open suspend fun getWifiStatus(): HttpResponse { + val localVariableAuthNames = listOf() - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/status", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/status", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * List WiFi user accounts. * @param limit (optional, default to 10000) * @param offset (optional, default to 0) @@ -566,14 +585,11 @@ open class WiFiApi : ApiClient { * @return GetWifiUsers200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun getWifiUsers( - limit: kotlin.Int? = 10000, - offset: kotlin.Int? = 0, - search: kotlin.String? = null, - ): HttpResponse { + open suspend fun getWifiUsers(limit: kotlin.Int? = 10000, offset: kotlin.Int? = 0, search: kotlin.String? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") - val localVariableBody = + val localVariableBody = io.ktor.client.utils.EmptyContent val localVariableQuery = mutableMapOf>() @@ -582,30 +598,31 @@ open class WiFiApi : ApiClient { search?.apply { localVariableQuery["search"] = listOf("$search") } val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.GET, - "/wifi/users", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/wifi/users", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return request( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + /** - * + * * Create a WiFi device or global MAC ban. - * @param postWifiDevicesRequest + * @param postWifiDevicesRequest * @return PostWifiDevices201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postWifiDevices(postWifiDevicesRequest: PostWifiDevicesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiDevicesRequest @@ -613,30 +630,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/devices", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/devices", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Register a WiFi NAS device. - * @param postWifiNasRequest + * @param postWifiNasRequest * @return PostWifiNas201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postWifiNas(postWifiNasRequest: PostWifiNasRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiNasRequest @@ -644,32 +663,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/nas", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/nas", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Authorize a WiFi client for FreeRADIUS. - * @param postWifiRadiusAuthorizeRequest + * @param postWifiRadiusAuthorizeRequest * @return PostWifiRadiusAuthorize200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postWifiRadiusAuthorize( - postWifiRadiusAuthorizeRequest: PostWifiRadiusAuthorizeRequest, - ): HttpResponse { + open suspend fun postWifiRadiusAuthorize(postWifiRadiusAuthorizeRequest: PostWifiRadiusAuthorizeRequest): HttpResponse { + val localVariableAuthNames = listOf() val localVariableBody = postWifiRadiusAuthorizeRequest @@ -677,32 +696,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/radius/authorize", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = false, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/radius/authorize", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a WiFi role speed-profile mapping. - * @param postWifiRoleSpeedProfilesRequest + * @param postWifiRoleSpeedProfilesRequest * @return PostWifiRoleSpeedProfiles201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postWifiRoleSpeedProfiles( - postWifiRoleSpeedProfilesRequest: PostWifiRoleSpeedProfilesRequest, - ): HttpResponse { + open suspend fun postWifiRoleSpeedProfiles(postWifiRoleSpeedProfilesRequest: PostWifiRoleSpeedProfilesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiRoleSpeedProfilesRequest @@ -710,30 +729,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/role-speed-profiles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/role-speed-profiles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a new WiFi account for the authenticated user. - * @param postWifiSelfRequest + * @param postWifiSelfRequest * @return PostWifiSelf201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postWifiSelf(postWifiSelfRequest: PostWifiSelfRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiSelfRequest @@ -741,32 +762,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/self", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/self", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a UniFi WiFi speed profile. - * @param postWifiSpeedProfilesRequest + * @param postWifiSpeedProfilesRequest * @return PostWifiSpeedProfiles201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun postWifiSpeedProfiles( - postWifiSpeedProfilesRequest: PostWifiSpeedProfilesRequest, - ): HttpResponse { + open suspend fun postWifiSpeedProfiles(postWifiSpeedProfilesRequest: PostWifiSpeedProfilesRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiSpeedProfilesRequest @@ -774,30 +795,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/speed-profiles", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/speed-profiles", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Create a WiFi user account. - * @param postWifiUsersRequest + * @param postWifiUsersRequest * @return PostWifiUsers201Response */ @Suppress("UNCHECKED_CAST") open suspend fun postWifiUsers(postWifiUsersRequest: PostWifiUsersRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = postWifiUsersRequest @@ -805,34 +828,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.POST, - "/wifi/users", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/wifi/users", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a WiFi device or global MAC ban. - * @param id + * @param id * @param putWifiDevicesByIdRequest (optional) * @return PostWifiDevices201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiDevicesById( - id: kotlin.String, - putWifiDevicesByIdRequest: PutWifiDevicesByIdRequest? = null, - ): HttpResponse { + open suspend fun putWifiDevicesById(id: kotlin.String, putWifiDevicesByIdRequest: PutWifiDevicesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiDevicesByIdRequest @@ -840,34 +862,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/devices/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/devices/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a WiFi NAS device. - * @param id + * @param id * @param putWifiNasByIdRequest (optional) * @return PostWifiNas201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiNasById( - id: kotlin.String, - putWifiNasByIdRequest: PutWifiNasByIdRequest? = null, - ): HttpResponse { + open suspend fun putWifiNasById(id: kotlin.String, putWifiNasByIdRequest: PutWifiNasByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiNasByIdRequest @@ -875,34 +896,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/nas/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/nas/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a WiFi role speed-profile mapping. - * @param id + * @param id * @param putWifiRoleSpeedProfilesByIdRequest (optional) * @return PostWifiRoleSpeedProfiles201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiRoleSpeedProfilesById( - id: kotlin.String, - putWifiRoleSpeedProfilesByIdRequest: PutWifiRoleSpeedProfilesByIdRequest? = null, - ): HttpResponse { + open suspend fun putWifiRoleSpeedProfilesById(id: kotlin.String, putWifiRoleSpeedProfilesByIdRequest: PutWifiRoleSpeedProfilesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiRoleSpeedProfilesByIdRequest @@ -910,34 +930,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/role-speed-profiles/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/role-speed-profiles/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Rename one of the authenticated user's WiFi devices. - * @param id - * @param putWifiSelfDevicesByIdRequest + * @param id + * @param putWifiSelfDevicesByIdRequest * @return PostWifiSelf201ResponseDevicesInner */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiSelfDevicesById( - id: kotlin.String, - putWifiSelfDevicesByIdRequest: PutWifiSelfDevicesByIdRequest, - ): HttpResponse { + open suspend fun putWifiSelfDevicesById(id: kotlin.String, putWifiSelfDevicesByIdRequest: PutWifiSelfDevicesByIdRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiSelfDevicesByIdRequest @@ -945,32 +964,32 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/self/devices/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/self/devices/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Change the authenticated user's WiFi account password. - * @param putWifiSelfPasswordRequest + * @param putWifiSelfPasswordRequest * @return PutWifiSelfPassword200Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiSelfPassword( - putWifiSelfPasswordRequest: PutWifiSelfPasswordRequest, - ): HttpResponse { + open suspend fun putWifiSelfPassword(putWifiSelfPasswordRequest: PutWifiSelfPasswordRequest): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiSelfPasswordRequest @@ -978,34 +997,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/self/password", - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/self/password", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a UniFi WiFi speed profile. - * @param id + * @param id * @param putWifiSpeedProfilesByIdRequest (optional) * @return PostWifiSpeedProfiles201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiSpeedProfilesById( - id: kotlin.String, - putWifiSpeedProfilesByIdRequest: PutWifiSpeedProfilesByIdRequest? = null, - ): HttpResponse { + open suspend fun putWifiSpeedProfilesById(id: kotlin.String, putWifiSpeedProfilesByIdRequest: PutWifiSpeedProfilesByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiSpeedProfilesByIdRequest @@ -1013,34 +1031,33 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/speed-profiles/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/speed-profiles/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + /** - * + * * Update a WiFi user account. - * @param id + * @param id * @param putWifiUsersByIdRequest (optional) * @return PostWifiUsers201Response */ @Suppress("UNCHECKED_CAST") - open suspend fun putWifiUsersById( - id: kotlin.String, - putWifiUsersByIdRequest: PutWifiUsersByIdRequest? = null, - ): HttpResponse { + open suspend fun putWifiUsersById(id: kotlin.String, putWifiUsersByIdRequest: PutWifiUsersByIdRequest? = null): HttpResponse { + val localVariableAuthNames = listOf("sessionAuth") val localVariableBody = putWifiUsersByIdRequest @@ -1048,19 +1065,21 @@ open class WiFiApi : ApiClient { val localVariableQuery = mutableMapOf>() val localVariableHeaders = mutableMapOf() - val localVariableConfig = - RequestConfig( - RequestMethod.PUT, - "/wifi/users/{id}".replace("{" + "id" + "}", "$id"), - query = localVariableQuery, - headers = localVariableHeaders, - requiresAuthentication = true, - ) + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/wifi/users/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) return jsonRequest( localVariableConfig, localVariableBody, - localVariableAuthNames, + localVariableAuthNames ).wrap() } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiAbstractions.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiAbstractions.kt index ac6a966..5e5f985 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiAbstractions.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiAbstractions.kt @@ -1,30 +1,23 @@ package hu.petrik.filcapp.api.infrastructure -typealias MultiValueMap = MutableMap> +typealias MultiValueMap = MutableMap> -fun collectionDelimiter(collectionFormat: String): String = - when (collectionFormat) { - "csv" -> "," - "tsv" -> "\t" - "pipe" -> "|" - "space" -> " " - else -> "" - } +fun collectionDelimiter(collectionFormat: String): String = when(collectionFormat) { + "csv" -> "," + "tsv" -> "\t" + "pipes" -> "|" + "ssv" -> " " + else -> "" +} val defaultMultiValueConverter: (item: Any?) -> String = { item -> "$item" } -fun toMultiValue( - items: Array, - collectionFormat: String, - map: (item: T) -> String = defaultMultiValueConverter, -): List = toMultiValue(items.asIterable(), collectionFormat, map) +fun toMultiValue(items: Array, collectionFormat: String, map: (item: T) -> String = defaultMultiValueConverter): List + = toMultiValue(items.asIterable(), collectionFormat, map) -fun toMultiValue( - items: Iterable, - collectionFormat: String, - map: (item: T) -> String = defaultMultiValueConverter, -): List = - when (collectionFormat) { +fun toMultiValue(items: Iterable, collectionFormat: String, map: (item: T) -> String = defaultMultiValueConverter): List { + return when(collectionFormat) { "multi" -> items.map(map) else -> listOf(items.joinToString(separator = collectionDelimiter(collectionFormat), transform = map)) } +} diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiClient.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiClient.kt index b6fd3f6..17b80e7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiClient.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/ApiClient.kt @@ -1,7 +1,5 @@ package hu.petrik.filcapp.api.infrastructure -import hu.petrik.filcapp.api.auth.* -import hu.petrik.filcapp.config.MergenEnvironment import io.ktor.client.HttpClient import io.ktor.client.HttpClientConfig import io.ktor.client.engine.HttpClientEngine @@ -12,17 +10,20 @@ import io.ktor.client.request.forms.MultiPartFormDataContent import io.ktor.client.request.header import io.ktor.client.request.parameter import io.ktor.client.statement.HttpResponse -import io.ktor.http.* import io.ktor.http.ContentType +import io.ktor.serialization.kotlinx.json.json +import io.ktor.http.* import io.ktor.http.content.PartData import io.ktor.http.contentType -import io.ktor.serialization.kotlinx.json.json -import kotlinx.serialization.json.Json import kotlin.Unit +import kotlinx.serialization.json.Json + +import hu.petrik.filcapp.api.auth.* open class ApiClient( - private val baseUrl: String, + private val baseUrl: String ) { + private lateinit var client: HttpClient constructor( @@ -43,22 +44,23 @@ open class ApiClient( constructor( baseUrl: String, - httpClient: HttpClient, - ) : this(baseUrl = baseUrl) { + httpClient: HttpClient + ): this(baseUrl = baseUrl) { this.client = httpClient } private val authentications: kotlin.collections.Map by lazy { - mapOf("sessionAuth" to ApiKeyAuth("cookie", "filc.session_token")) + mapOf( + "sessionAuth" to ApiKeyAuth("query", "filc.session_token")) } companion object { - const val BASE_URL: String = MergenEnvironment.API_BASE_URL - val JSON_DEFAULT: Json = - Json { - ignoreUnknownKeys = true - isLenient = true - } + const val BASE_URL: String = "https://filc.petrik.hu/api" + val JSON_DEFAULT: Json = Json { + ignoreUnknownKeys = true + prettyPrint = true + isLenient = true + } protected val UNSAFE_HEADERS: List = listOf(HttpHeaders.ContentType) } @@ -68,8 +70,7 @@ open class ApiClient( * @param username Username */ fun setUsername(username: String) { - val auth = - authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? + val auth = authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? ?: throw Exception("No HTTP basic authentication configured") auth.username = username } @@ -80,8 +81,7 @@ open class ApiClient( * @param password Password */ fun setPassword(password: String) { - val auth = - authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? + val auth = authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? ?: throw Exception("No HTTP basic authentication configured") auth.password = password } @@ -92,12 +92,8 @@ open class ApiClient( * @param apiKey API key * @param paramName The name of the API key parameter, or null or set the first key. */ - fun setApiKey( - apiKey: String, - paramName: String? = null, - ) { - val auth = - authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName) } as ApiKeyAuth? + fun setApiKey(apiKey: String, paramName: String? = null) { + val auth = authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName)} as ApiKeyAuth? ?: throw Exception("No API key authentication configured") auth.apiKey = apiKey } @@ -108,12 +104,8 @@ open class ApiClient( * @param apiKeyPrefix API key prefix * @param paramName The name of the API key parameter, or null or set the first key. */ - fun setApiKeyPrefix( - apiKeyPrefix: String, - paramName: String? = null, - ) { - val auth = - authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName) } as ApiKeyAuth? + fun setApiKeyPrefix(apiKeyPrefix: String, paramName: String? = null) { + val auth = authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName) } as ApiKeyAuth? ?: throw Exception("No API key authentication configured") auth.apiKeyPrefix = apiKeyPrefix } @@ -124,8 +116,7 @@ open class ApiClient( * @param accessToken Access token */ fun setAccessToken(accessToken: String) { - val auth = - authentications?.values?.firstOrNull { it is OAuth } as OAuth? + val auth = authentications?.values?.firstOrNull { it is OAuth } as OAuth? ?: throw Exception("No OAuth2 authentication configured") auth.accessToken = accessToken } @@ -136,35 +127,22 @@ open class ApiClient( * @param bearerToken The bearer token. */ fun setBearerToken(bearerToken: String) { - val auth = - authentications?.values?.firstOrNull { it is HttpBearerAuth } as HttpBearerAuth? + val auth = authentications?.values?.firstOrNull { it is HttpBearerAuth } as HttpBearerAuth? ?: throw Exception("No Bearer authentication configured") auth.bearerToken = bearerToken } - protected suspend fun multipartFormRequest( - requestConfig: RequestConfig, - body: kotlin.collections.List?, - authNames: kotlin.collections.List, - ): HttpResponse = request(requestConfig, MultiPartFormDataContent(body ?: listOf()), authNames) - - protected suspend fun urlEncodedFormRequest( - requestConfig: RequestConfig, - body: Parameters?, - authNames: kotlin.collections.List, - ): HttpResponse = request(requestConfig, FormDataContent(body ?: Parameters.Empty), authNames) - - protected suspend fun jsonRequest( - requestConfig: RequestConfig, - body: Any? = null, - authNames: kotlin.collections.List, - ): HttpResponse = request(requestConfig, body, authNames) - - protected suspend fun request( - requestConfig: RequestConfig, - body: Any? = null, - authNames: kotlin.collections.List, - ): HttpResponse { + protected suspend fun multipartFormRequest(requestConfig: RequestConfig, body: kotlin.collections.List?, authNames: kotlin.collections.List): HttpResponse { + return request(requestConfig, MultiPartFormDataContent(body ?: listOf()), authNames) + } + + protected suspend fun urlEncodedFormRequest(requestConfig: RequestConfig, body: Parameters?, authNames: kotlin.collections.List): HttpResponse { + return request(requestConfig, FormDataContent(body ?: Parameters.Empty), authNames) + } + + protected suspend fun jsonRequest(requestConfig: RequestConfig, body: Any? = null, authNames: kotlin.collections.List): HttpResponse = request(requestConfig, body, authNames) + + protected suspend fun request(requestConfig: RequestConfig, body: Any? = null, authNames: kotlin.collections.List): HttpResponse { requestConfig.updateForAuth(authNames) val headers = requestConfig.headers @@ -180,38 +158,34 @@ open class ApiClient( } this.method = requestConfig.method.httpMethod headers.filter { header -> !UNSAFE_HEADERS.contains(header.key) }.forEach { header -> this.header(header.key, header.value) } - if (requestConfig.method in listOf(RequestMethod.PUT, RequestMethod.POST, RequestMethod.PATCH)) { - val contentType = ( - requestConfig.headers[HttpHeaders.ContentType]?.let { ContentType.parse(it) } - ?: ContentType.Application.Json - ) + if (requestConfig.method in listOf(RequestMethod.PUT, RequestMethod.POST, RequestMethod.PATCH, RequestMethod.DELETE)) { + val contentType = (requestConfig.headers[HttpHeaders.ContentType]?.let { ContentType.parse(it) } + ?: ContentType.Application.Json) this.contentType(contentType) this.setBody(body) } } } - private fun RequestConfig.updateForAuth(authNames: kotlin.collections.List) { + private fun RequestConfig.updateForAuth(authNames: kotlin.collections.List) { for (authName in authNames) { val auth = authentications?.get(authName) ?: throw Exception("Authentication undefined: $authName") auth.apply(query, headers) } } - private fun URLBuilder.appendPath(components: kotlin.collections.List): URLBuilder = - apply { - encodedPath = encodedPath.trimEnd('/') + components.joinToString("/", prefix = "/") { it.encodeURLQueryComponent() } - } + private fun URLBuilder.appendPath(components: kotlin.collections.List): URLBuilder = apply { + encodedPath = encodedPath.trimEnd('/') + components.joinToString("/", prefix = "/") { it.encodeURLQueryComponent() } + } private val RequestMethod.httpMethod: HttpMethod - get() = - when (this) { - RequestMethod.DELETE -> HttpMethod.Delete - RequestMethod.GET -> HttpMethod.Get - RequestMethod.HEAD -> HttpMethod.Head - RequestMethod.PATCH -> HttpMethod.Patch - RequestMethod.PUT -> HttpMethod.Put - RequestMethod.POST -> HttpMethod.Post - RequestMethod.OPTIONS -> HttpMethod.Options - } + get() = when (this) { + RequestMethod.DELETE -> HttpMethod.Delete + RequestMethod.GET -> HttpMethod.Get + RequestMethod.HEAD -> HttpMethod.Head + RequestMethod.PATCH -> HttpMethod.Patch + RequestMethod.PUT -> HttpMethod.Put + RequestMethod.POST -> HttpMethod.Post + RequestMethod.OPTIONS -> HttpMethod.Options + } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/Base64ByteArray.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/Base64ByteArray.kt index 7f8f43d..af72361 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/Base64ByteArray.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/Base64ByteArray.kt @@ -3,20 +3,14 @@ package hu.petrik.filcapp.api.infrastructure import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* +import kotlin.io.encoding.Base64 @Serializable(Base64ByteArray.Companion::class) -class Base64ByteArray( - val value: ByteArray, -) { +class Base64ByteArray(val value: ByteArray) { companion object : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("Base64ByteArray", PrimitiveKind.STRING) - - override fun serialize( - encoder: Encoder, - value: Base64ByteArray, - ): Unit = encoder.encodeString(value.value.encodeBase64()) - - override fun deserialize(decoder: Decoder): Base64ByteArray = Base64ByteArray(decoder.decodeString().decodeBase64Bytes()) + override fun serialize(encoder: Encoder, value: Base64ByteArray): Unit = encoder.encodeString(Base64.encode(value.value)) + override fun deserialize(decoder: Decoder): Base64ByteArray = Base64ByteArray(Base64.decode(decoder.decodeString())) } override fun equals(other: Any?): Boolean { @@ -26,7 +20,11 @@ class Base64ByteArray( return value.contentEquals(other.value) } - override fun hashCode(): Int = value.contentHashCode() + override fun hashCode(): Int { + return value.contentHashCode() + } - override fun toString(): String = "Base64ByteArray(${hex(value)})" + override fun toString(): String { + return "Base64ByteArray(${value.toHexString()})" + } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/HttpResponse.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/HttpResponse.kt index d929cdb..1e598be 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/HttpResponse.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/HttpResponse.kt @@ -5,16 +5,11 @@ import io.ktor.http.isSuccess import io.ktor.util.reflect.TypeInfo import io.ktor.util.reflect.typeInfo -open class HttpResponse( - val response: io.ktor.client.statement.HttpResponse, - val provider: BodyProvider, -) { +open class HttpResponse(val response: io.ktor.client.statement.HttpResponse, val provider: BodyProvider) { val status: Int = response.status.value val success: Boolean = response.status.isSuccess() val headers: Map> = response.headers.mapEntries() - suspend fun body(): T = provider.body(response) - suspend fun typedBody(type: TypeInfo): V = provider.typedBody(response, type) companion object { @@ -28,39 +23,29 @@ open class HttpResponse( interface BodyProvider { suspend fun body(response: io.ktor.client.statement.HttpResponse): T - - suspend fun typedBody( - response: io.ktor.client.statement.HttpResponse, - type: TypeInfo, - ): V + suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V } -class TypedBodyProvider( - private val type: TypeInfo, -) : BodyProvider { +class TypedBodyProvider(private val type: TypeInfo) : BodyProvider { @Suppress("UNCHECKED_CAST") - override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = response.call.body(type) as T + override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = + response.call.body(type) as T @Suppress("UNCHECKED_CAST") - override suspend fun typedBody( - response: io.ktor.client.statement.HttpResponse, - type: TypeInfo, - ): V = response.call.body(type) as V + override suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V = + response.call.body(type) as V } -class MappedBodyProvider( - private val provider: BodyProvider, - private val block: S.() -> T, -) : BodyProvider { - override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = block(provider.body(response)) +class MappedBodyProvider(private val provider: BodyProvider, private val block: S.() -> T) : BodyProvider { + override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = + block(provider.body(response)) - override suspend fun typedBody( - response: io.ktor.client.statement.HttpResponse, - type: TypeInfo, - ): V = provider.typedBody(response, type) + override suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V = + provider.typedBody(response, type) } inline fun io.ktor.client.statement.HttpResponse.wrap(): HttpResponse = - HttpResponse(this, TypedBodyProvider(typeInfo())) + HttpResponse(this, TypedBodyProvider(typeInfo())) -fun HttpResponse.map(block: T.() -> V): HttpResponse = HttpResponse(response, MappedBodyProvider(provider, block)) +fun HttpResponse.map(block: T.() -> V): HttpResponse = + HttpResponse(response, MappedBodyProvider(provider, block)) diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/OctetByteArray.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/OctetByteArray.kt index 53bfd6a..614675d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/OctetByteArray.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/OctetByteArray.kt @@ -5,18 +5,11 @@ import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* @Serializable(OctetByteArray.Companion::class) -class OctetByteArray( - val value: ByteArray, -) { +class OctetByteArray(val value: ByteArray) { companion object : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("OctetByteArray", PrimitiveKind.STRING) - - override fun serialize( - encoder: Encoder, - value: OctetByteArray, - ): Unit = encoder.encodeString(hex(value.value)) - - override fun deserialize(decoder: Decoder): OctetByteArray = OctetByteArray(hex(decoder.decodeString())) + override fun serialize(encoder: Encoder, value: OctetByteArray): Unit = encoder.encodeString(value.value.toHexString()) + override fun deserialize(decoder: Decoder): OctetByteArray = OctetByteArray(decoder.decodeString().hexToByteArray()) } override fun equals(other: Any?): Boolean { @@ -26,7 +19,11 @@ class OctetByteArray( return value.contentEquals(other.value) } - override fun hashCode(): Int = value.contentHashCode() + override fun hashCode(): Int { + return value.contentHashCode() + } - override fun toString(): String = "OctetByteArray(${hex(value)})" + override fun toString(): String { + return "OctetByteArray(${value.toHexString()})" + } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/PartConfig.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/PartConfig.kt index 130ebeb..124c021 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/PartConfig.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/PartConfig.kt @@ -4,8 +4,16 @@ package hu.petrik.filcapp.api.infrastructure * Defines a config object for a given part of a multi-part request. * NOTE: Headers is a Map because rfc2616 defines * multi-valued headers as csv-only. + * + * @property headers The headers for this part + * @property body The body content for this part + * @property serializer Optional custom serializer for JSON content. When provided, this will be + * used instead of the default serialization for parts with application/json + * content-type. This allows capturing type information at the call site to + * avoid issues with type erasure in kotlinx.serialization. */ data class PartConfig( val headers: MutableMap = mutableMapOf(), val body: T? = null, + val serializer: ((Any?) -> String)? = null ) diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestConfig.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestConfig.kt index 6cd6500..c5d34d0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestConfig.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestConfig.kt @@ -15,5 +15,5 @@ data class RequestConfig( val params: MutableMap = mutableMapOf(), val query: MutableMap> = mutableMapOf(), val requiresAuthentication: Boolean, - val body: T? = null, + val body: T? = null ) diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestMethod.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestMethod.kt index a9c3cd9..9cff07e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestMethod.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/infrastructure/RequestMethod.kt @@ -4,11 +4,5 @@ package hu.petrik.filcapp.api.infrastructure * Provides enumerated HTTP verbs */ enum class RequestMethod { - GET, - DELETE, - HEAD, - OPTIONS, - PATCH, - POST, - PUT, + GET, DELETE, HEAD, OPTIONS, PATCH, POST, PUT } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt index a2ac0e0..43d05f2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id */ -@Serializable -data class DeleteAdminApiKeysByKeyId200Response( - @SerialName(value = "id") @Required val id: kotlin.String?, -) +@Serializable@Serializable + +data class DeleteAdminApiKeysByKeyId200Response ( + + @SerialName(value = "id") @Required val id: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt index 388af08..5b527d3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param code * @param message * @param status */ -@Serializable -data class DeleteAdminApiKeysByKeyId400Response( +@Serializable@Serializable + +data class DeleteAdminApiKeysByKeyId400Response ( + @SerialName(value = "code") @Required val code: kotlin.String, + @SerialName(value = "message") @Required val message: kotlin.String?, - @SerialName(value = "status") @Required val status: kotlin.Int, -) + + @SerialName(value = "status") @Required val status: kotlin.Int + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt index c906e43..a62973e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id */ -@Serializable -data class DeleteNavigatorBuildingsById200Response( - @SerialName(value = "id") @Required val id: kotlin.String?, -) +@Serializable@Serializable + +data class DeleteNavigatorBuildingsById200Response ( + + @SerialName(value = "id") @Required val id: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt index 019b500..b5a2cf4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetAdminApiKeys200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetAdminApiKeys200Response( +@Serializable@Serializable + +data class GetAdminApiKeys200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt index 41c94f1..ba15701 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param enabled * @param expiresAt @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param start * @param updatedAt */ -@Serializable -data class GetAdminApiKeys200ResponseItemsInner( +@Serializable@Serializable + +data class GetAdminApiKeys200ResponseItemsInner ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "expiresAt") @Required val expiresAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastRequest") @Required val lastRequest: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "ownerEmail") @Required val ownerEmail: kotlin.String, + @SerialName(value = "ownerName") @Required val ownerName: kotlin.String, + @SerialName(value = "prefix") @Required val prefix: kotlin.String?, + @SerialName(value = "referenceId") @Required val referenceId: kotlin.String, + @SerialName(value = "requestCount") @Required val requestCount: kotlin.Double, + @SerialName(value = "start") @Required val start: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt index 135e91f..b4d7776 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetBugReport200Response( +@Serializable@Serializable + +data class GetBugReport200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt index f55d6df..dab5268 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param description * @param id @@ -34,16 +41,32 @@ import kotlinx.serialization.encoding.* * @param subject * @param updatedAt */ -@Serializable -data class GetBugReport200ResponseItemsInner( +@Serializable@Serializable + +data class GetBugReport200ResponseItemsInner ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "description") @Required val description: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "metadata") @Required val metadata: GetBugReport200ResponseItemsInnerMetadata?, + @SerialName(value = "page") @Required val page: kotlin.String?, + @SerialName(value = "reporterEmail") @Required val reporterEmail: kotlin.String?, + @SerialName(value = "reporterId") @Required val reporterId: kotlin.String?, + @SerialName(value = "status") @Required val status: kotlin.String?, + @SerialName(value = "subject") @Required val subject: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt index 625aab3..af28db5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt @@ -8,22 +8,36 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfInner import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class GetBugReport200ResponseItemsInnerMetadata +@Serializable@Serializable + +class GetBugReport200ResponseItemsInnerMetadata ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt index e1a1460..203349d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt @@ -8,21 +8,35 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * */ -@Serializable -class GetBugReport200ResponseItemsInnerMetadataAnyOfInner +@Serializable@Serializable + +class GetBugReport200ResponseItemsInnerMetadataAnyOfInner ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt index e5661c0..4039e49 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt @@ -8,21 +8,35 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * */ -@Serializable -class GetBugReport200ResponseItemsInnerMetadataAnyOfValue +@Serializable@Serializable + +class GetBugReport200ResponseItemsInnerMetadataAnyOfValue ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt index e2cd4df..6b8ef37 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetCohort200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetCohort200Response( +@Serializable@Serializable + +data class GetCohort200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt index e45aa12..9e99c21 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param classroomIds * @param id * @param name @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param teacherId * @param timetableId */ -@Serializable -data class GetCohort200ResponseItemsInner( - @SerialName(value = "classroomIds") @Required val classroomIds: kotlin.collections.List?, +@Serializable@Serializable + +data class GetCohort200ResponseItemsInner ( + + @SerialName(value = "classroomIds") @Required val classroomIds: kotlin.collections.List?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, + @SerialName(value = "teacherId") @Required val teacherId: kotlin.String?, - @SerialName(value = "timetableId") @Required val timetableId: kotlin.String?, -) + + @SerialName(value = "timetableId") @Required val timetableId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt index 1da7aea..10a9bbc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt @@ -8,24 +8,38 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStats + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param stats */ -@Serializable -data class GetDashboardStats200Response( - @SerialName(value = "stats") @Required val stats: GetDashboardStats200ResponseStats, -) +@Serializable@Serializable + +data class GetDashboardStats200Response ( + + @SerialName(value = "stats") @Required val stats: GetDashboardStats200ResponseStats + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt index cb32a35..dcccd27 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStatsChartDataInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param chartData * @param chartTotalMovedLessons * @param chartTotalSubstitutions @@ -32,14 +39,28 @@ import kotlinx.serialization.encoding.* * @param totalSubstitutions * @param totalUsers */ -@Serializable -data class GetDashboardStats200ResponseStats( +@Serializable@Serializable + +data class GetDashboardStats200ResponseStats ( + @SerialName(value = "chartData") @Required val chartData: kotlin.collections.List, + @SerialName(value = "chartTotalMovedLessons") @Required val chartTotalMovedLessons: kotlin.Int?, + @SerialName(value = "chartTotalSubstitutions") @Required val chartTotalSubstitutions: kotlin.Int?, + @SerialName(value = "totalCohorts") @Required val totalCohorts: kotlin.Int?, + @SerialName(value = "totalMovedLessons") @Required val totalMovedLessons: kotlin.Int?, + @SerialName(value = "totalRoles") @Required val totalRoles: kotlin.Int?, + @SerialName(value = "totalSubstitutions") @Required val totalSubstitutions: kotlin.Int?, - @SerialName(value = "totalUsers") @Required val totalUsers: kotlin.Int?, -) + + @SerialName(value = "totalUsers") @Required val totalUsers: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt index eaf52f1..d852b11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param date * @param movedLessons * @param substitutions */ -@Serializable -data class GetDashboardStats200ResponseStatsChartDataInner( +@Serializable@Serializable + +data class GetDashboardStats200ResponseStatsChartDataInner ( + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "movedLessons") @Required val movedLessons: kotlin.Int, - @SerialName(value = "substitutions") @Required val substitutions: kotlin.Int?, -) + + @SerialName(value = "substitutions") @Required val substitutions: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt index 09c21f9..818205a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetDoorlockCards200Response( +@Serializable@Serializable + +data class GetDoorlockCards200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt index fab8666..cee6605 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorizedDevices * @param cardData * @param createdAt @@ -35,17 +42,32 @@ import kotlinx.serialization.encoding.* * @param userId * @param owner */ -@Serializable -data class GetDoorlockCards200ResponseItemsInner( - @SerialName(value = "authorizedDevices") @Required val authorizedDevices: - kotlin.collections.List, +@Serializable@Serializable + +data class GetDoorlockCards200ResponseItemsInner ( + + @SerialName(value = "authorizedDevices") @Required val authorizedDevices: kotlin.collections.List, + @SerialName(value = "cardData") @Required val cardData: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "frozen") @Required val frozen: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "owner") val owner: GetDoorlockCards200ResponseItemsInnerOwner? = null, -) + + @SerialName(value = "owner") val owner: GetDoorlockCards200ResponseItemsInnerOwner? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt index 736c9ce..0e304aa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name */ -@Serializable -data class GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner( +@Serializable@Serializable + +data class GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner ( + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt index d96c8fa..fdeae58 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param id * @param name * @param nickname */ -@Serializable -data class GetDoorlockCards200ResponseItemsInnerOwner( +@Serializable@Serializable + +data class GetDoorlockCards200ResponseItemsInnerOwner ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "nickname") @Required val nickname: kotlin.String?, -) + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt index 1f71969..ac6365b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetDoorlockCardsUsers200Response( +@Serializable@Serializable + +data class GetDoorlockCardsUsers200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt index 014efe0..53d4036 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param id * @param name * @param nickname */ -@Serializable -data class GetDoorlockCardsUsers200ResponseItemsInner( +@Serializable@Serializable + +data class GetDoorlockCardsUsers200ResponseItemsInner ( + @SerialName(value = "email") @Required val email: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "nickname") @Required val nickname: kotlin.String?, -) + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt index efe0d73..4da713f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockDevices200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetDoorlockDevices200Response( +@Serializable@Serializable + +data class GetDoorlockDevices200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt index 2181aa4..1ff3d00 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param apiToken * @param createdAt * @param id @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable -data class GetDoorlockDevices200ResponseItemsInner( +@Serializable@Serializable + +data class GetDoorlockDevices200ResponseItemsInner ( + @SerialName(value = "apiToken") @Required val apiToken: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastResetReason") @Required val lastResetReason: kotlin.String?, + @SerialName(value = "location") @Required val location: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt index 49d8906..f25bc56 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt @@ -8,24 +8,38 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param stats */ -@Serializable -data class GetDoorlockDevicesByIdStats200Response( - @SerialName(value = "stats") @Required val stats: kotlin.collections.List, -) +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200Response ( + + @SerialName(value = "stats") @Required val stats: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt index b630910..38235d3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt @@ -8,28 +8,44 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param deviceMeta * @param id * @param timestamp */ -@Serializable -data class GetDoorlockDevicesByIdStats200ResponseStatsInner( +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200ResponseStatsInner ( + @SerialName(value = "deviceMeta") @Required val deviceMeta: GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta, + @SerialName(value = "id") @Required val id: kotlin.Int?, - @SerialName(value = "timestamp") @Required val timestamp: kotlin.String?, -) + + @SerialName(value = "timestamp") @Required val timestamp: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt index 68f368b..6603df1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt @@ -8,33 +8,51 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param debug * @param fwVersion * @param ramFree * @param storage * @param uptime */ -@Serializable -data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta( +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta ( + @SerialName(value = "debug") @Required val debug: GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug, + @SerialName(value = "fwVersion") @Required val fwVersion: kotlin.String?, + @SerialName(value = "ramFree") @Required val ramFree: kotlin.Double?, + @SerialName(value = "storage") @Required val storage: GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage, - @SerialName(value = "uptime") @Required val uptime: kotlin.Double?, -) + + @SerialName(value = "uptime") @Required val uptime: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt index 62c07b8..cb32a31 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt @@ -8,51 +8,55 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param deviceState * @param errors * @param lastResetReason */ -@Serializable -data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug( - @SerialName(value = "deviceState") @Required val deviceState: - GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.DeviceState, +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug ( + + @SerialName(value = "deviceState") @Required val deviceState: GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.DeviceState, + @SerialName(value = "errors") @Required val errors: GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors, - @SerialName(value = "lastResetReason") @Required val lastResetReason: kotlin.String?, + + @SerialName(value = "lastResetReason") @Required val lastResetReason: kotlin.String? + ) { + /** - * - * * Values: booting,error,idle,updating */ @Serializable - enum class DeviceState( - val value: kotlin.String, - ) { - @SerialName(value = "booting") - booting("booting"), - - @SerialName(value = "error") - error("error"), - - @SerialName(value = "idle") - idle("idle"), - - @SerialName(value = "updating") - updating("updating"), + enum class DeviceState(val value: kotlin.String) { + @SerialName(value = "booting") booting("booting"), + @SerialName(value = "error") error("error"), + @SerialName(value = "idle") idle("idle"), + @SerialName(value = "updating") updating("updating"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt index bc68d2e..97b1647 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param db * @param nfc * @param ota * @param sd * @param wifi */ -@Serializable -data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors( +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors ( + @SerialName(value = "db") @Required val db: kotlin.Boolean, + @SerialName(value = "nfc") @Required val nfc: kotlin.Boolean, + @SerialName(value = "ota") @Required val ota: kotlin.Boolean, + @SerialName(value = "sd") @Required val sd: kotlin.Boolean, - @SerialName(value = "wifi") @Required val wifi: kotlin.Boolean, -) + + @SerialName(value = "wifi") @Required val wifi: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt index c4b8067..aebe767 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param total * @param used */ -@Serializable -data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage( +@Serializable@Serializable + +data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage ( + @SerialName(value = "total") @Required val total: kotlin.Double?, - @SerialName(value = "used") @Required val used: kotlin.Double?, -) + + @SerialName(value = "used") @Required val used: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt index 6de4d2b..eb36268 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetDoorlockLogs200Response( +@Serializable@Serializable + +data class GetDoorlockLogs200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt index bb4c661..b4d2cce 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buttonPressed * @param cardData * @param cardId @@ -36,17 +43,34 @@ import kotlinx.serialization.encoding.* * @param device * @param owner */ -@Serializable -data class GetDoorlockLogs200ResponseItemsInner( +@Serializable@Serializable + +data class GetDoorlockLogs200ResponseItemsInner ( + @SerialName(value = "buttonPressed") @Required val buttonPressed: kotlin.Boolean, + @SerialName(value = "cardData") @Required val cardData: kotlin.String?, + @SerialName(value = "cardId") @Required val cardId: kotlin.String?, + @SerialName(value = "deviceId") @Required val deviceId: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.Int?, + @SerialName(value = "result") @Required val result: kotlin.Boolean, + @SerialName(value = "timestamp") @Required val timestamp: kotlin.String?, + @SerialName(value = "userId") @Required val userId: kotlin.String?, + @SerialName(value = "card") val card: GetDoorlockLogs200ResponseItemsInnerCard? = null, + @SerialName(value = "device") val device: GetDoorlockLogs200ResponseItemsInnerCard? = null, - @SerialName(value = "owner") val owner: PostDoorlockCards201ResponseOwner? = null, -) + + @SerialName(value = "owner") val owner: PostDoorlockCards201ResponseOwner? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt index 199d8de..b3e12cb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name */ -@Serializable -data class GetDoorlockLogs200ResponseItemsInnerCard( +@Serializable@Serializable + +data class GetDoorlockLogs200ResponseItemsInnerCard ( + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt index bf28656..fa4a6e1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt @@ -8,24 +8,38 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStats + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param stats */ -@Serializable -data class GetDoorlockStatsOverview200Response( - @SerialName(value = "stats") @Required val stats: GetDoorlockStatsOverview200ResponseStats, -) +@Serializable@Serializable + +data class GetDoorlockStatsOverview200Response ( + + @SerialName(value = "stats") @Required val stats: GetDoorlockStatsOverview200ResponseStats + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt index 8675325..9488a7a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt @@ -8,34 +8,51 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsTopUsersInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param doorOpenSeries * @param topUsers * @param totalCards * @param totalDevices * @param totalSuccessfulOpens */ -@Serializable -data class GetDoorlockStatsOverview200ResponseStats( - @SerialName(value = "doorOpenSeries") @Required val doorOpenSeries: - kotlin.collections.List, +@Serializable@Serializable + +data class GetDoorlockStatsOverview200ResponseStats ( + + @SerialName(value = "doorOpenSeries") @Required val doorOpenSeries: kotlin.collections.List, + @SerialName(value = "topUsers") @Required val topUsers: kotlin.collections.List, + @SerialName(value = "totalCards") @Required val totalCards: kotlin.Int?, + @SerialName(value = "totalDevices") @Required val totalDevices: kotlin.Int?, - @SerialName(value = "totalSuccessfulOpens") @Required val totalSuccessfulOpens: kotlin.Int?, -) + + @SerialName(value = "totalSuccessfulOpens") @Required val totalSuccessfulOpens: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt index 51b07c2..ec752b4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param count * @param date */ -@Serializable -data class GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner( +@Serializable@Serializable + +data class GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner ( + @SerialName(value = "count") @Required val count: kotlin.Int?, - @SerialName(value = "date") @Required val date: kotlin.String?, -) + + @SerialName(value = "date") @Required val date: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt index d383290..aec2a7f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param count * @param id * @param name * @param nickname */ -@Serializable -data class GetDoorlockStatsOverview200ResponseStatsTopUsersInner( +@Serializable@Serializable + +data class GetDoorlockStatsOverview200ResponseStatsTopUsersInner ( + @SerialName(value = "count") @Required val count: kotlin.Int?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "nickname") @Required val nickname: kotlin.String?, -) + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt index 210b607..5f66fdd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt @@ -8,26 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param database * @param status */ -@Serializable -data class GetHealth200Response( - @SerialName(value = "database") @Required val database: JsonElement?, - @SerialName(value = "status") @Required val status: JsonElement?, -) +@Serializable@Serializable + +data class GetHealth200Response ( + + @SerialName(value = "database") @Required val database: kotlin.Any?, + + @SerialName(value = "status") @Required val status: kotlin.Any? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt index 6ddcce2..efd2f3d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetKiosk200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetKiosk200Response( +@Serializable@Serializable + +data class GetKiosk200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt index 1eaf202..2734474 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param appVersion * @param config * @param createdAt @@ -35,17 +42,34 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable -data class GetKiosk200ResponseItemsInner( +@Serializable@Serializable + +data class GetKiosk200ResponseItemsInner ( + @SerialName(value = "appVersion") @Required val appVersion: kotlin.String?, + @SerialName(value = "config") @Required val config: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "kind") @Required val kind: kotlin.String?, + @SerialName(value = "lastSeenAt") @Required val lastSeenAt: kotlin.String?, + @SerialName(value = "lastSeenIp") @Required val lastSeenIp: kotlin.String?, + @SerialName(value = "machineId") @Required val machineId: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt index 9c84a1c..f5a9b30 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetKioskNews200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetKioskNews200Response( +@Serializable@Serializable + +data class GetKioskNews200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt index 6ccbd0e..e30b2ad 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param body * @param highlighted * @param id @@ -31,14 +38,28 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validUntil */ -@Serializable -data class GetKioskNews200ResponseItemsInner( +@Serializable@Serializable + +data class GetKioskNews200ResponseItemsInner ( + @SerialName(value = "body") @Required val body: kotlin.String?, + @SerialName(value = "highlighted") @Required val highlighted: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "imageVersion") @Required val imageVersion: kotlin.String?, - @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, + + @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, - @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, -) + + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt index 44f323d..aee63c4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetKioskPetrikNews200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetKioskPetrikNews200Response( +@Serializable@Serializable + +data class GetKioskPetrikNews200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt index bcce40d..703ce04 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param body * @param imageUrl * @param publishedAt * @param title * @param url */ -@Serializable -data class GetKioskPetrikNews200ResponseItemsInner( +@Serializable@Serializable + +data class GetKioskPetrikNews200ResponseItemsInner ( + @SerialName(value = "body") @Required val body: kotlin.String?, + @SerialName(value = "imageUrl") @Required val imageUrl: kotlin.String?, + @SerialName(value = "publishedAt") @Required val publishedAt: kotlin.String?, + @SerialName(value = "title") @Required val title: kotlin.String?, - @SerialName(value = "url") @Required val url: kotlin.String?, -) + + @SerialName(value = "url") @Required val url: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt index 97667bb..9f93f0b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param icon * @param precipMm * @param tempC * @param windKph */ -@Serializable -data class GetKioskWeather200Response( +@Serializable@Serializable + +data class GetKioskWeather200Response ( + @SerialName(value = "icon") @Required val icon: kotlin.String?, + @SerialName(value = "precipMm") @Required val precipMm: kotlin.Double?, + @SerialName(value = "tempC") @Required val tempC: kotlin.Double?, - @SerialName(value = "windKph") @Required val windKph: kotlin.Double?, -) + + @SerialName(value = "windKph") @Required val windKph: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt index edc54cf..99b3189 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorBuildings200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorBuildings200Response( +@Serializable@Serializable + +data class GetNavigatorBuildings200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt index 05099b7..cb20bb6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param description * @param id * @param mapped @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorBuildings200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorBuildings200ResponseItemsInner ( + @SerialName(value = "description") @Required val description: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "mapped") @Required val mapped: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt index db26730..2c76558 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorClassroomTypes200Response( +@Serializable@Serializable + +data class GetNavigatorClassroomTypes200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt index e660996..516926f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param colorhex * @param createdAt * @param id * @param name * @param updatedAt */ -@Serializable -data class GetNavigatorClassroomTypes200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorClassroomTypes200ResponseItemsInner ( + @SerialName(value = "colorhex") @Required val colorhex: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt index 73a1c7d..e1d05b9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorClassrooms200Response( +@Serializable@Serializable + +data class GetNavigatorClassrooms200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt index 89b9c5a..9c1f313 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param capacity * @param description @@ -38,21 +45,42 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorClassrooms200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorClassrooms200ResponseItemsInner ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "capacity") @Required val capacity: kotlin.Int?, + @SerialName(value = "description") @Required val description: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "mapped") @Required val mapped: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double?, + @SerialName(value = "short") @Required val short: kotlin.String?, + @SerialName(value = "size_x") @Required val sizeX: kotlin.Double?, + @SerialName(value = "size_y") @Required val sizeY: kotlin.Double?, + @SerialName(value = "size_z") @Required val sizeZ: kotlin.Double?, + @SerialName(value = "storey") @Required val storey: kotlin.Int?, + @SerialName(value = "type_id") @Required val typeId: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt index deb3592..777def5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorCorridors200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorCorridors200Response( +@Serializable@Serializable + +data class GetNavigatorCorridors200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt index 20e0317..1259834 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param barrierFree * @param buildingId * @param createdAt @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable -data class GetNavigatorCorridors200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorCorridors200ResponseItemsInner ( + @SerialName(value = "barrier_free") @Required val barrierFree: kotlin.Boolean, + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "is_outdoor") @Required val isOutdoor: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "storey") @Required val storey: kotlin.Int?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "width") @Required val width: kotlin.Double?, + @SerialName(value = "x1") @Required val x1: kotlin.Double?, + @SerialName(value = "x2") @Required val x2: kotlin.Double?, + @SerialName(value = "y1") @Required val y1: kotlin.Double?, - @SerialName(value = "y2") @Required val y2: kotlin.Double?, -) + + @SerialName(value = "y2") @Required val y2: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt index d9dacf8..aabd525 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -21,13 +29,12 @@ import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildings * @param classroomTypes * @param classrooms @@ -35,12 +42,24 @@ import kotlinx.serialization.encoding.* * @param lifts * @param stairs */ -@Serializable -data class GetNavigatorGraph200Response( +@Serializable@Serializable + +data class GetNavigatorGraph200Response ( + @SerialName(value = "buildings") @Required val buildings: kotlin.collections.List, + @SerialName(value = "classroom_types") @Required val classroomTypes: kotlin.collections.List, + @SerialName(value = "classrooms") @Required val classrooms: kotlin.collections.List, + @SerialName(value = "corridors") @Required val corridors: kotlin.collections.List, + @SerialName(value = "lifts") @Required val lifts: kotlin.collections.List, - @SerialName(value = "stairs") @Required val stairs: kotlin.collections.List, -) + + @SerialName(value = "stairs") @Required val stairs: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt index 850643f..a0b6e07 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param createdAt * @param id @@ -32,15 +39,30 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorGraph200ResponseLiftsInner( +@Serializable@Serializable + +data class GetNavigatorGraph200ResponseLiftsInner ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int?, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt index cd77fe2..c64662e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param createdAt * @param id @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorGraph200ResponseStairsInner( +@Serializable@Serializable + +data class GetNavigatorGraph200ResponseStairsInner ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int?, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt index 211487b..e27d3f1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorLifts200Response( +@Serializable@Serializable + +data class GetNavigatorLifts200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt index 32991b9..4cda0ce 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param createdAt * @param id @@ -32,15 +39,30 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorLifts200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorLifts200ResponseItemsInner ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "x") @Required val x: kotlin.Double, - @SerialName(value = "y") @Required val y: kotlin.Double, -) + + @SerialName(value = "y") @Required val y: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt index 5852270..6dfca43 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorStairs200Response( +@Serializable@Serializable + +data class GetNavigatorStairs200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt index f0bb98f..75cca69 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param createdAt * @param id @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class GetNavigatorStairs200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorStairs200ResponseItemsInner ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "x") @Required val x: kotlin.Double, - @SerialName(value = "y") @Required val y: kotlin.Double, -) + + @SerialName(value = "y") @Required val y: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt index 40c09d6..6d53732 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNavigatorTranslations200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorTranslations200Response( +@Serializable@Serializable + +data class GetNavigatorTranslations200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt index b50fa94..1c767e1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param langKey * @param text * @param textKey */ -@Serializable -data class GetNavigatorTranslations200ResponseItemsInner( +@Serializable@Serializable + +data class GetNavigatorTranslations200ResponseItemsInner ( + @SerialName(value = "lang_key") @Required val langKey: kotlin.String?, + @SerialName(value = "text") @Required val text: kotlin.String?, - @SerialName(value = "text_key") @Required val textKey: kotlin.String?, -) + + @SerialName(value = "text_key") @Required val textKey: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt index 5e14d73..746fc77 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNavigatorTranslationsAvailable200Response( +@Serializable@Serializable + +data class GetNavigatorTranslationsAvailable200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt index e1be6df..5b93ab4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNewsAnnouncements200Response( +@Serializable@Serializable + +data class GetNewsAnnouncements200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt index 8fd1d4b..c81a56d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInnerAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -42,23 +49,46 @@ import kotlinx.serialization.encoding.* * @param kioskIds * @param author */ -@Serializable -data class GetNewsAnnouncements200ResponseItemsInner( +@Serializable@Serializable + +data class GetNewsAnnouncements200ResponseItemsInner ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "highlighted") @Required val highlighted: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "imageByteSize") @Required val imageByteSize: kotlin.Double?, + @SerialName(value = "imageContentType") @Required val imageContentType: kotlin.String?, + @SerialName(value = "imageKey") @Required val imageKey: kotlin.String?, + @SerialName(value = "imageUpdatedAt") @Required val imageUpdatedAt: kotlin.String?, + @SerialName(value = "kioskOnly") @Required val kioskOnly: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, + @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, - @SerialName(value = "author") val author: GetNewsAnnouncements200ResponseItemsInnerAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncements200ResponseItemsInnerAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt index df63314..bc93fe5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param image * @param name */ -@Serializable -data class GetNewsAnnouncements200ResponseItemsInnerAuthor( +@Serializable@Serializable + +data class GetNewsAnnouncements200ResponseItemsInnerAuthor ( + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "image") @Required val image: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt index 1193e3d..f3a7031 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -42,23 +49,46 @@ import kotlinx.serialization.encoding.* * @param kioskIds * @param author */ -@Serializable -data class GetNewsAnnouncementsById200Response( +@Serializable@Serializable + +data class GetNewsAnnouncementsById200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "highlighted") @Required val highlighted: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "imageByteSize") @Required val imageByteSize: kotlin.Double?, + @SerialName(value = "imageContentType") @Required val imageContentType: kotlin.String?, + @SerialName(value = "imageKey") @Required val imageKey: kotlin.String?, + @SerialName(value = "imageUpdatedAt") @Required val imageUpdatedAt: kotlin.String?, + @SerialName(value = "kioskOnly") @Required val kioskOnly: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, + @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, - @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt index 794ce32..1cf6908 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param image * @param name */ -@Serializable -data class GetNewsAnnouncementsById200ResponseAuthor( +@Serializable@Serializable + +data class GetNewsAnnouncementsById200ResponseAuthor ( + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "image") @Required val image: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt index 7619d75..56867a1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsBlogs200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNewsBlogs200Response( +@Serializable@Serializable + +data class GetNewsBlogs200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt index 1be231f..ef1ac50 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -35,16 +42,32 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param author */ -@Serializable -data class GetNewsBlogs200ResponseItemsInner( +@Serializable@Serializable + +data class GetNewsBlogs200ResponseItemsInner ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "publishedAt") @Required val publishedAt: kotlin.String?, + @SerialName(value = "slug") @Required val slug: kotlin.String?, + @SerialName(value = "status") @Required val status: kotlin.String?, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, - @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt index 140500c..8ef7672 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -35,16 +42,32 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param author */ -@Serializable -data class GetNewsBlogsBySlug200Response( +@Serializable@Serializable + +data class GetNewsBlogsBySlug200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "publishedAt") @Required val publishedAt: kotlin.String?, + @SerialName(value = "slug") @Required val slug: kotlin.String, + @SerialName(value = "status") @Required val status: kotlin.String, + @SerialName(value = "title") @Required val title: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, - @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt index 8406519..3f14091 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsSystemMessages200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNewsSystemMessages200Response( +@Serializable@Serializable + +data class GetNewsSystemMessages200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt index e740a21..9ed5e81 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -35,16 +42,32 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param author */ -@Serializable -data class GetNewsSystemMessages200ResponseItemsInner( +@Serializable@Serializable + +data class GetNewsSystemMessages200ResponseItemsInner ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, - @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt index 1b4eea8..a5aa91c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -35,16 +42,32 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param author */ -@Serializable -data class GetNewsSystemMessagesById200Response( +@Serializable@Serializable + +data class GetNewsSystemMessagesById200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "title") @Required val title: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, - @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null, -) + + @SerialName(value = "author") val author: GetNewsAnnouncementsById200ResponseAuthor? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt index 0b5c69e..5fa2f70 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetNotifications200Response( +@Serializable@Serializable + +data class GetNotifications200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt index 98a2614..8d2bc90 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param createdAt * @param id @@ -31,14 +38,28 @@ import kotlinx.serialization.encoding.* * @param type * @param userId */ -@Serializable -data class GetNotifications200ResponseItemsInner( +@Serializable@Serializable + +data class GetNotifications200ResponseItemsInner ( + @SerialName(value = "content") @Required val content: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + + @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "read") @Required val read: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "type") @Required val type: kotlin.String?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt index 9b19573..b371f22 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetNotificationsSettings200ResponseNotificationPreferences + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param id * @param language @@ -34,17 +41,32 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param userId */ -@Serializable -data class GetNotificationsSettings200Response( +@Serializable@Serializable + +data class GetNotificationsSettings200Response ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "language") @Required val language: kotlin.String?, - @SerialName(value = "notificationPreferences") @Required val notificationPreferences: - GetNotificationsSettings200ResponseNotificationPreferences, + + @SerialName(value = "notificationPreferences") @Required val notificationPreferences: GetNotificationsSettings200ResponseNotificationPreferences, + @SerialName(value = "theme") @Required val theme: kotlin.String?, - @SerialName(value = "timetableClassColors") @Required val timetableClassColors: kotlin.collections.Map, + + @SerialName(value = "timetableClassColors") @Required val timetableClassColors: kotlin.collections.Map, + @SerialName(value = "timetableGroupDisplay") @Required val timetableGroupDisplay: kotlin.String?, + @SerialName(value = "timetableView") @Required val timetableView: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt index 5a3e90f..4b22494 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param announcement * @param blogPost * @param channelsEnabled @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param substitution * @param systemMessage */ -@Serializable -data class GetNotificationsSettings200ResponseNotificationPreferences( +@Serializable@Serializable + +data class GetNotificationsSettings200ResponseNotificationPreferences ( + @SerialName(value = "announcement") @Required val announcement: kotlin.Boolean, + @SerialName(value = "blogPost") @Required val blogPost: kotlin.Boolean, + @SerialName(value = "channelsEnabled") @Required val channelsEnabled: kotlin.Boolean, + @SerialName(value = "doorlockCardUsed") @Required val doorlockCardUsed: kotlin.Boolean, + @SerialName(value = "movedLesson") @Required val movedLesson: kotlin.Boolean, + @SerialName(value = "substitution") @Required val substitution: kotlin.Boolean, - @SerialName(value = "systemMessage") @Required val systemMessage: kotlin.Boolean, -) + + @SerialName(value = "systemMessage") @Required val systemMessage: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt index 5451859..08879ee 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param count */ -@Serializable -data class GetNotificationsUnreadCount200Response( - @SerialName(value = "count") @Required val count: kotlin.Double?, -) +@Serializable@Serializable + +data class GetNotificationsUnreadCount200Response ( + + @SerialName(value = "count") @Required val count: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt index bbbba24..2d086b3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param message */ -@Serializable -data class GetPing200Response( - @SerialName(value = "message") @Required val message: kotlin.String?, -) +@Serializable@Serializable + +data class GetPing200Response ( + + @SerialName(value = "message") @Required val message: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt index 5e9e0b3..3783bae 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param pretty * @param uptimeMs */ -@Serializable -data class GetPingUptime200Response( +@Serializable@Serializable + +data class GetPingUptime200Response ( + @SerialName(value = "pretty") @Required val pretty: kotlin.String?, - @SerialName(value = "uptime_ms") @Required val uptimeMs: kotlin.Double?, -) + + @SerialName(value = "uptime_ms") @Required val uptimeMs: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt index b2471b9..c4a56bf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetRoles200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetRoles200Response( +@Serializable@Serializable + +data class GetRoles200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt index ccb8303..def6cd5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param can * @param name */ -@Serializable -data class GetRoles200ResponseItemsInner( +@Serializable@Serializable + +data class GetRoles200ResponseItemsInner ( + @SerialName(value = "can") @Required val can: kotlin.collections.List, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt index d13db9e..e63e6d9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt @@ -8,27 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableGroupsGetForCohortByCohortId200Response( - @SerialName(value = "items") @Required val items: - kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) +@Serializable@Serializable + +data class GetTimetableGroupsGetForCohortByCohortId200Response ( + + @SerialName(value = "items") @Required val items: kotlin.collections.List, + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt index a7e601d..0f5e949 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param divisionLabel * @param divisionTag * @param entireClass @@ -31,14 +38,28 @@ import kotlinx.serialization.encoding.* * @param studentCount * @param teacherId */ -@Serializable -data class GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner ( + @SerialName(value = "divisionLabel") @Required val divisionLabel: kotlin.String?, + @SerialName(value = "divisionTag") @Required val divisionTag: kotlin.String?, + @SerialName(value = "entireClass") @Required val entireClass: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "selected") @Required val selected: kotlin.Boolean, + @SerialName(value = "studentCount") @Required val studentCount: kotlin.Double?, - @SerialName(value = "teacherId") @Required val teacherId: kotlin.String?, -) + + @SerialName(value = "teacherId") @Required val teacherId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt index 4e9dbf9..5a88dcb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt @@ -8,27 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200Response( - @SerialName(value = "items") @Required val items: - kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200Response ( + + @SerialName(value = "items") @Required val items: kotlin.collections.List, + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt index e6725d0..4fc2872 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -22,13 +30,12 @@ import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200R import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param classrooms * @param cohorts * @param groups @@ -43,24 +50,38 @@ import kotlinx.serialization.encoding.* * @param weeksDefinitionId * @param day */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner( - @SerialName(value = "classrooms") @Required val classrooms: - kotlin.collections.List, - @SerialName(value = "cohorts") @Required val cohorts: - kotlin.collections.List, - @SerialName(value = "groups") @Required val groups: - kotlin.collections.List, +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner ( + + @SerialName(value = "classrooms") @Required val classrooms: kotlin.collections.List, + + @SerialName(value = "cohorts") @Required val cohorts: kotlin.collections.List, + + @SerialName(value = "groups") @Required val groups: kotlin.collections.List, + @SerialName(value = "groupsIds") @Required val groupsIds: kotlin.collections.List, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "period") @Required val period: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod?, + @SerialName(value = "periodsPerWeek") @Required val periodsPerWeek: kotlin.Double?, + @SerialName(value = "subject") @Required val subject: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject?, - @SerialName(value = "teachers") @Required val teachers: - kotlin.collections.List, + + @SerialName(value = "teachers") @Required val teachers: kotlin.collections.List, + @SerialName(value = "termDefinitionId") @Required val termDefinitionId: kotlin.String?, - @SerialName(value = "weekDefinition") @Required val weekDefinition: - GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition?, + + @SerialName(value = "weekDefinition") @Required val weekDefinition: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition?, + @SerialName(value = "weeksDefinitionId") @Required val weeksDefinitionId: kotlin.String?, - @SerialName(value = "day") val day: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay? = null, -) + + @SerialName(value = "day") val day: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt index 953c504..87bb259 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name * @param short */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner ( + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "short") @Required val short: kotlin.String?, -) + + @SerialName(value = "short") @Required val short: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt index 9e185b7..a8e7785 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name * @param short */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner ( + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "short") @Required val short: kotlin.String, -) + + @SerialName(value = "short") @Required val short: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt index 9d2bb05..231f0b2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param days * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "days") @Required val days: kotlin.collections.List?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt index 1ab53c9..e577bfd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param divisionTag * @param entireClass * @param id * @param name */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner ( + @SerialName(value = "divisionTag") @Required val divisionTag: kotlin.String?, + @SerialName(value = "entireClass") @Required val entireClass: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt index aa2c18c..0430fc4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param endTime * @param id * @param period * @param startTime */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod ( + @SerialName(value = "endTime") @Required val endTime: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "period") @Required val period: kotlin.Double, - @SerialName(value = "startTime") @Required val startTime: kotlin.String, -) + + @SerialName(value = "startTime") @Required val startTime: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt index f58e1a4..15cf1fc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name * @param short */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject ( + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "short") @Required val short: kotlin.String, -) + + @SerialName(value = "short") @Required val short: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt index fefd55b..93c18de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name * @param short * @param weeks */ -@Serializable -data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition( +@Serializable@Serializable + +data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition ( + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, - @SerialName(value = "weeks") @Required val weeks: kotlin.collections.List, -) + + @SerialName(value = "weeks") @Required val weeks: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt index c4f5716..d64cdda 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -21,13 +29,12 @@ import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200R import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param classrooms * @param cohorts * @param groups @@ -43,24 +50,40 @@ import kotlinx.serialization.encoding.* * @param substitutionCohortName * @param day */ -@Serializable -data class GetTimetableLessonsGetForIdByLessonId200Response( - @SerialName(value = "classrooms") @Required val classrooms: - kotlin.collections.List, - @SerialName(value = "cohorts") @Required val cohorts: - kotlin.collections.List, - @SerialName(value = "groups") @Required val groups: - kotlin.collections.List, +@Serializable@Serializable + +data class GetTimetableLessonsGetForIdByLessonId200Response ( + + @SerialName(value = "classrooms") @Required val classrooms: kotlin.collections.List, + + @SerialName(value = "cohorts") @Required val cohorts: kotlin.collections.List, + + @SerialName(value = "groups") @Required val groups: kotlin.collections.List, + @SerialName(value = "groupsIds") @Required val groupsIds: kotlin.collections.List, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "period") @Required val period: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod?, + @SerialName(value = "periodsPerWeek") @Required val periodsPerWeek: kotlin.Double?, + @SerialName(value = "subject") @Required val subject: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject?, - @SerialName(value = "teachers") @Required val teachers: - kotlin.collections.List, + + @SerialName(value = "teachers") @Required val teachers: kotlin.collections.List, + @SerialName(value = "termDefinitionId") @Required val termDefinitionId: kotlin.String?, + @SerialName(value = "weekDefinition") @Required val weekDefinition: GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition?, + @SerialName(value = "weeksDefinitionId") @Required val weeksDefinitionId: kotlin.String?, + @SerialName(value = "substitutionCohortName") @Required val substitutionCohortName: kotlin.String?, - @SerialName(value = "day") val day: GetTimetableLessonsGetForIdByLessonId200ResponseDay? = null, -) + + @SerialName(value = "day") val day: GetTimetableLessonsGetForIdByLessonId200ResponseDay? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt index 9640ef6..9acf699 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param days * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable -data class GetTimetableLessonsGetForIdByLessonId200ResponseDay( +@Serializable@Serializable + +data class GetTimetableLessonsGetForIdByLessonId200ResponseDay ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "days") @Required val days: kotlin.collections.List?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "short") @Required val short: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt index 0459691..b9976b8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param divisionTag * @param entireClass * @param id * @param name */ -@Serializable -data class GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner( +@Serializable@Serializable + +data class GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner ( + @SerialName(value = "divisionTag") @Required val divisionTag: kotlin.String?, + @SerialName(value = "entireClass") @Required val entireClass: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt index f33fae3..f69c592 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name * @param short * @param weeks */ -@Serializable -data class GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition( +@Serializable@Serializable + +data class GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition ( + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "short") @Required val short: kotlin.String, - @SerialName(value = "weeks") @Required val weeks: kotlin.collections.List, -) + + @SerialName(value = "weeks") @Required val weeks: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt index 1e062a1..98e5385 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableMovedLessons200Response( +@Serializable@Serializable + +data class GetTimetableMovedLessons200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt index 923d83a..ad76f0f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -20,25 +28,34 @@ import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param classroom * @param dayDefinition * @param lessons * @param movedLesson * @param period */ -@Serializable -data class GetTimetableMovedLessons200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableMovedLessons200ResponseItemsInner ( + @SerialName(value = "classroom") @Required val classroom: PostNavigatorClassrooms201Response?, + @SerialName(value = "dayDefinition") @Required val dayDefinition: GetTimetableLessonsGetForIdByLessonId200ResponseDay?, - @SerialName(value = "lessons") @Required val lessons: - kotlin.collections.List, + + @SerialName(value = "lessons") @Required val lessons: kotlin.collections.List, + @SerialName(value = "movedLesson") @Required val movedLesson: GetTimetableMovedLessons200ResponseItemsInnerMovedLesson, - @SerialName(value = "period") @Required val period: GetTimetableMovedLessons200ResponseItemsInnerPeriod?, -) + + @SerialName(value = "period") @Required val period: GetTimetableMovedLessons200ResponseItemsInnerPeriod? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt index 502e090..ac6a62b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param date * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable -data class GetTimetableMovedLessons200ResponseItemsInnerMovedLesson( +@Serializable@Serializable + +data class GetTimetableMovedLessons200ResponseItemsInnerMovedLesson ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "room") @Required val room: kotlin.String?, + @SerialName(value = "startingDay") @Required val startingDay: kotlin.String?, - @SerialName(value = "startingPeriod") @Required val startingPeriod: kotlin.String?, -) + + @SerialName(value = "startingPeriod") @Required val startingPeriod: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt index 5eb8a9a..80c7f74 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param endTime * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param startTime * @param updatedAt */ -@Serializable -data class GetTimetableMovedLessons200ResponseItemsInnerPeriod( +@Serializable@Serializable + +data class GetTimetableMovedLessons200ResponseItemsInnerPeriod ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "endTime") @Required val endTime: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "period") @Required val period: kotlin.Int?, + @SerialName(value = "startTime") @Required val startTime: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt index 43b1d16..3785591 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetablePeriodsGetAll200Response( +@Serializable@Serializable + +data class GetTimetablePeriodsGetAll200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt index e6c7004..55f4b12 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param endTime * @param id * @param period * @param startTime */ -@Serializable -data class GetTimetablePeriodsGetAll200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetablePeriodsGetAll200ResponseItemsInner ( + @SerialName(value = "endTime") @Required val endTime: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "period") @Required val period: kotlin.Double?, - @SerialName(value = "startTime") @Required val startTime: kotlin.String?, -) + + @SerialName(value = "startTime") @Required val startTime: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt index a9f6396..0ad4aa9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubjects200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableSubjects200Response( +@Serializable@Serializable + +data class GetTimetableSubjects200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt index 1145bd4..15b8eee 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param id * @param name * @param short * @param updatedAt */ -@Serializable -data class GetTimetableSubjects200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableSubjects200ResponseItemsInner ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt index 06c79bf..e57abe9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableSubstitutions200Response( +@Serializable@Serializable + +data class GetTimetableSubstitutions200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt index 7170bc5..12e613f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -18,21 +26,28 @@ package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param lessons * @param substitution * @param teacher */ -@Serializable -data class GetTimetableSubstitutions200ResponseItemsInner( - @SerialName(value = "lessons") @Required val lessons: - kotlin.collections.List, +@Serializable@Serializable + +data class GetTimetableSubstitutions200ResponseItemsInner ( + + @SerialName(value = "lessons") @Required val lessons: kotlin.collections.List, + @SerialName(value = "substitution") @Required val substitution: GetTimetableSubstitutions200ResponseItemsInnerSubstitution, - @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutions200ResponseItemsInnerTeacher?, -) + + @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutions200ResponseItemsInnerTeacher? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt index 3e61fc6..0b4fa68 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param date * @param id * @param substituter */ -@Serializable -data class GetTimetableSubstitutions200ResponseItemsInnerSubstitution( +@Serializable@Serializable + +data class GetTimetableSubstitutions200ResponseItemsInnerSubstitution ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "substituter") @Required val substituter: kotlin.String?, -) + + @SerialName(value = "substituter") @Required val substituter: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt index 008e5af..5eaff01 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param firstName * @param gender @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param short * @param userId */ -@Serializable -data class GetTimetableSubstitutions200ResponseItemsInnerTeacher( +@Serializable@Serializable + +data class GetTimetableSubstitutions200ResponseItemsInnerTeacher ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "firstName") @Required val firstName: kotlin.String?, + @SerialName(value = "gender") @Required val gender: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastName") @Required val lastName: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt index 3ad0200..cf1ec84 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt @@ -8,27 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortId * @param substitutions */ -@Serializable -data class GetTimetableSubstitutionsCohortByCohortId200Response( +@Serializable@Serializable + +data class GetTimetableSubstitutionsCohortByCohortId200Response ( + @SerialName(value = "cohortId") @Required val cohortId: kotlin.String?, - @SerialName(value = "substitutions") @Required val substitutions: - kotlin.collections.List, -) + + @SerialName(value = "substitutions") @Required val substitutions: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt index bd989d5..bce1621 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableSubstitutionsRelevant200Response( +@Serializable@Serializable + +data class GetTimetableSubstitutionsRelevant200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt index 42963c8..a97d1de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt @@ -8,29 +8,45 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param lessons * @param substitution * @param teacher */ -@Serializable -data class GetTimetableSubstitutionsRelevant200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableSubstitutionsRelevant200ResponseItemsInner ( + @SerialName(value = "lessons") @Required val lessons: kotlin.collections.List, + @SerialName(value = "substitution") @Required val substitution: PostTimetableSubstitutions200Response, - @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher?, -) + + @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt index fa86604..e207dad 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param firstName * @param gender @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param short * @param userId */ -@Serializable -data class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher( +@Serializable@Serializable + +data class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "firstName") @Required val firstName: kotlin.String, + @SerialName(value = "gender") @Required val gender: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastName") @Required val lastName: kotlin.String, + @SerialName(value = "short") @Required val short: kotlin.String, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt index c9c2a2b..909973d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableTeachers200Response( +@Serializable@Serializable + +data class GetTimetableTeachers200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt index 368c8da..c654dc0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInnerUser + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param firstName * @param id @@ -31,13 +38,26 @@ import kotlinx.serialization.encoding.* * @param user * @param userId */ -@Serializable -data class GetTimetableTeachers200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableTeachers200ResponseItemsInner ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "firstName") @Required val firstName: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastName") @Required val lastName: kotlin.String?, + @SerialName(value = "short") @Required val short: kotlin.String?, + @SerialName(value = "user") @Required val user: GetTimetableTeachers200ResponseItemsInnerUser?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt index eb1fa37..3404c55 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param id * @param name */ -@Serializable -data class GetTimetableTeachers200ResponseItemsInnerUser( +@Serializable@Serializable + +data class GetTimetableTeachers200ResponseItemsInnerUser ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt index 0a6eac4..2e2386d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableTeachersGetAll200Response( +@Serializable@Serializable + +data class GetTimetableTeachersGetAll200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt index d1093aa..57d8f93 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param firstName * @param id * @param lastName * @param short */ -@Serializable -data class GetTimetableTeachersGetAll200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableTeachersGetAll200ResponseItemsInner ( + @SerialName(value = "firstName") @Required val firstName: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastName") @Required val lastName: kotlin.String?, - @SerialName(value = "short") @Required val short: kotlin.String?, -) + + @SerialName(value = "short") @Required val short: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt index d190fc2..e163624 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param firstName * @param id * @param lastName * @param short */ -@Serializable -data class GetTimetableTeachersMe200Response( +@Serializable@Serializable + +data class GetTimetableTeachersMe200Response ( + @SerialName(value = "firstName") @Required val firstName: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastName") @Required val lastName: kotlin.String, - @SerialName(value = "short") @Required val short: kotlin.String, -) + + @SerialName(value = "short") @Required val short: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt index 0decbe6..74a9388 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableTimetables200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetTimetableTimetables200Response( +@Serializable@Serializable + +data class GetTimetableTimetables200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt index 5cd964d..4681a15 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param id * @param name @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable -data class GetTimetableTimetables200ResponseItemsInner( +@Serializable@Serializable + +data class GetTimetableTimetables200ResponseItemsInner ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, - @SerialName(value = "validTo") @Required val validTo: kotlin.String?, -) + + @SerialName(value = "validTo") @Required val validTo: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt index d4ad0d9..d312a40 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -18,23 +26,31 @@ package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseTotals + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohorts * @param isCurrentTimetable * @param targetTimetable * @param totals */ -@Serializable -data class GetTimetableTimetablesByIdPreviewDelete200Response( - @SerialName(value = "cohorts") @Required val cohorts: - kotlin.collections.List, +@Serializable@Serializable + +data class GetTimetableTimetablesByIdPreviewDelete200Response ( + + @SerialName(value = "cohorts") @Required val cohorts: kotlin.collections.List, + @SerialName(value = "isCurrentTimetable") @Required val isCurrentTimetable: kotlin.Boolean, + @SerialName(value = "targetTimetable") @Required val targetTimetable: GetDoorlockLogs200ResponseItemsInnerCard?, - @SerialName(value = "totals") @Required val totals: GetTimetableTimetablesByIdPreviewDelete200ResponseTotals, -) + + @SerialName(value = "totals") @Required val totals: GetTimetableTimetablesByIdPreviewDelete200ResponseTotals + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt index e9295af..9e7a42b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param becomesOrphaned * @param id * @param name */ -@Serializable -data class GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner( +@Serializable@Serializable + +data class GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner ( + @SerialName(value = "becomesOrphaned") @Required val becomesOrphaned: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt index cf4ed15..e2dcb79 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param danglingUsersCleaned * @param lessonsDeleted * @param movedLessonsDeleted @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param substitutionsDeleted * @param survivingCohorts */ -@Serializable -data class GetTimetableTimetablesByIdPreviewDelete200ResponseTotals( +@Serializable@Serializable + +data class GetTimetableTimetablesByIdPreviewDelete200ResponseTotals ( + @SerialName(value = "danglingUsersCleaned") @Required val danglingUsersCleaned: kotlin.Double?, + @SerialName(value = "lessonsDeleted") @Required val lessonsDeleted: kotlin.Double?, + @SerialName(value = "movedLessonsDeleted") @Required val movedLessonsDeleted: kotlin.Double?, + @SerialName(value = "orphanedCohorts") @Required val orphanedCohorts: kotlin.Double?, + @SerialName(value = "substitutionsDeleted") @Required val substitutionsDeleted: kotlin.Double?, - @SerialName(value = "survivingCohorts") @Required val survivingCohorts: kotlin.Double?, -) + + @SerialName(value = "survivingCohorts") @Required val survivingCohorts: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt index 8697051..590b37b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetUsers200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetUsers200Response( +@Serializable@Serializable + +data class GetUsers200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt index dcfbe76..b4c30ed 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortId * @param createdAt * @param email @@ -35,18 +42,36 @@ import kotlinx.serialization.encoding.* * @param displayName * @param permissions */ -@Serializable -data class GetUsers200ResponseItemsInner( +@Serializable@Serializable + +data class GetUsers200ResponseItemsInner ( + @SerialName(value = "cohortId") @Required val cohortId: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "emailVerified") @Required val emailVerified: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "image") @Required val image: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, + @SerialName(value = "roles") @Required val roles: kotlin.collections.List, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "displayName") @Required val displayName: kotlin.String?, - @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List, -) + + @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt index cd0af22..9878f16 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiAuthLogs200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiAuthLogs200Response( +@Serializable@Serializable + +data class GetWifiAuthLogs200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt index 3903ebd..90d7c82 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param deviceNickname * @param deviceReportedHostname * @param failureReason @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param username * @param wifiUserId */ -@Serializable -data class GetWifiAuthLogs200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiAuthLogs200ResponseItemsInner ( + @SerialName(value = "deviceNickname") @Required val deviceNickname: kotlin.String?, + @SerialName(value = "deviceReportedHostname") @Required val deviceReportedHostname: kotlin.String?, + @SerialName(value = "failureReason") @Required val failureReason: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.Double?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String?, + @SerialName(value = "nasComment") @Required val nasComment: kotlin.String?, + @SerialName(value = "nasIpAddress") @Required val nasIpAddress: kotlin.String?, + @SerialName(value = "nasMacAddress") @Required val nasMacAddress: kotlin.String?, + @SerialName(value = "result") @Required val result: kotlin.Boolean, + @SerialName(value = "timestamp") @Required val timestamp: kotlin.String?, + @SerialName(value = "userComment") @Required val userComment: kotlin.String?, + @SerialName(value = "username") @Required val username: kotlin.String?, - @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String?, -) + + @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt index a456275..0f79bf8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiDevices200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiDevices200Response( +@Serializable@Serializable + +data class GetWifiDevices200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt index e128305..b056a11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param adminNotes * @param banned * @param createdAt @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param wifiUserId */ -@Serializable -data class GetWifiDevices200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiDevices200ResponseItemsInner ( + @SerialName(value = "adminNotes") @Required val adminNotes: kotlin.String?, + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, + @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, - @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String?, -) + + @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt index 018edf4..9b3933c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiNas200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiNas200Response( +@Serializable@Serializable + +data class GetWifiNas200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt index 4aa2a7a..a01da1c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param createdAt * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param macAddress * @param updatedAt */ -@Serializable -data class GetWifiNas200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiNas200ResponseItemsInner ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "ipAddress") @Required val ipAddress: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt index 5ce62f9..3fd9f00 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiRoleSpeedProfiles200Response( +@Serializable@Serializable + +data class GetWifiRoleSpeedProfiles200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt index 2af9685..4b69d50 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param priority * @param roleName * @param speedProfileId */ -@Serializable -data class GetWifiRoleSpeedProfiles200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiRoleSpeedProfiles200ResponseItemsInner ( + @SerialName(value = "priority") @Required val priority: kotlin.Int?, + @SerialName(value = "roleName") @Required val roleName: kotlin.String?, - @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String?, -) + + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt index 71fea35..9c30a4f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt @@ -8,31 +8,48 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseDevicesInner import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param banned * @param devices * @param speedLimit * @param username */ -@Serializable -data class GetWifiSelf200Response( +@Serializable@Serializable + +data class GetWifiSelf200Response ( + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "devices") @Required val devices: kotlin.collections.List, + @SerialName(value = "speedLimit") @Required val speedLimit: GetWifiSelf200ResponseSpeedLimit, - @SerialName(value = "username") @Required val username: kotlin.String?, -) + + @SerialName(value = "username") @Required val username: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt index 4087ab9..627d132 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param banned * @param id * @param lastActiveAt @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param nickname * @param reportedHostname */ -@Serializable -data class GetWifiSelf200ResponseDevicesInner( +@Serializable@Serializable + +data class GetWifiSelf200ResponseDevicesInner ( + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String?, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, - @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String?, -) + + @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt index 6385ce7..445b507 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt @@ -8,50 +8,59 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param downloadSpeedMbps * @param roleName * @param source * @param speedProfileId * @param uploadSpeedMbps */ -@Serializable -data class GetWifiSelf200ResponseSpeedLimit( +@Serializable@Serializable + +data class GetWifiSelf200ResponseSpeedLimit ( + @SerialName(value = "downloadSpeedMbps") @Required val downloadSpeedMbps: kotlin.Int?, + @SerialName(value = "roleName") @Required val roleName: kotlin.String?, + @SerialName(value = "source") @Required val source: GetWifiSelf200ResponseSpeedLimit.Source, + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String?, - @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int?, + + @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int? + ) { + /** - * - * * Values: `override`,role,wlan_default */ @Serializable - enum class Source( - val value: kotlin.String, - ) { - @SerialName(value = "override") - `override`("override"), - - @SerialName(value = "role") - role("role"), - - @SerialName(value = "wlan_default") - wlan_default("wlan_default"), + enum class Source(val value: kotlin.String) { + @SerialName(value = "override") `override`("override"), + @SerialName(value = "role") role("role"), + @SerialName(value = "wlan_default") wlan_default("wlan_default"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt index 6c68803..f6e3729 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiSpeedProfiles200Response( +@Serializable@Serializable + +data class GetWifiSpeedProfiles200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt index d8de420..b9cd02f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param downloadSpeedMbps * @param id * @param isWlanDefault * @param name * @param uploadSpeedMbps */ -@Serializable -data class GetWifiSpeedProfiles200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiSpeedProfiles200ResponseItemsInner ( + @SerialName(value = "downloadSpeedMbps") @Required val downloadSpeedMbps: kotlin.Int?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "isWlanDefault") @Required val isWlanDefault: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int?, -) + + @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt index 111e0eb..7b9af7c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt @@ -8,24 +8,38 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStats + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param stats */ -@Serializable -data class GetWifiStatsOverview200Response( - @SerialName(value = "stats") @Required val stats: GetWifiStatsOverview200ResponseStats, -) +@Serializable@Serializable + +data class GetWifiStatsOverview200Response ( + + @SerialName(value = "stats") @Required val stats: GetWifiStatsOverview200ResponseStats + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt index 1a380f0..8100592 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt @@ -8,31 +8,47 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStatsAuthSeriesInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param activeDevices * @param authSeries * @param totalDevices * @param totalUsers */ -@Serializable -data class GetWifiStatsOverview200ResponseStats( +@Serializable@Serializable + +data class GetWifiStatsOverview200ResponseStats ( + @SerialName(value = "activeDevices") @Required val activeDevices: kotlin.Int?, - @SerialName(value = "authSeries") @Required val authSeries: - kotlin.collections.List, + + @SerialName(value = "authSeries") @Required val authSeries: kotlin.collections.List, + @SerialName(value = "totalDevices") @Required val totalDevices: kotlin.Int?, - @SerialName(value = "totalUsers") @Required val totalUsers: kotlin.Int?, -) + + @SerialName(value = "totalUsers") @Required val totalUsers: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt index b235b5c..e18f831 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param accepted * @param date * @param rejected */ -@Serializable -data class GetWifiStatsOverview200ResponseStatsAuthSeriesInner( +@Serializable@Serializable + +data class GetWifiStatsOverview200ResponseStatsAuthSeriesInner ( + @SerialName(value = "accepted") @Required val accepted: kotlin.Int?, + @SerialName(value = "date") @Required val date: kotlin.String?, - @SerialName(value = "rejected") @Required val rejected: kotlin.Int?, -) + + @SerialName(value = "rejected") @Required val rejected: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt index b112a4e..8d230ca 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param enabled * @param ssid */ -@Serializable -data class GetWifiStatus200Response( +@Serializable@Serializable + +data class GetWifiStatus200Response ( + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, - @SerialName(value = "ssid") @Required val ssid: kotlin.String?, -) + + @SerialName(value = "ssid") @Required val ssid: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt index 7e838f3..143fa30 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiUsers200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class GetWifiUsers200Response( +@Serializable@Serializable + +data class GetWifiUsers200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt index 575b9b4..1e15752 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param allowedMacAddresses * @param banned * @param comment @@ -35,18 +42,36 @@ import kotlinx.serialization.encoding.* * @param userId * @param username */ -@Serializable -data class GetWifiUsers200ResponseItemsInner( +@Serializable@Serializable + +data class GetWifiUsers200ResponseItemsInner ( + @SerialName(value = "allowedMacAddresses") @Required val allowedMacAddresses: kotlin.collections.List?, + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "createdBy") @Required val createdBy: kotlin.String?, + @SerialName(value = "creatorName") @Required val creatorName: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "username") @Required val username: kotlin.String?, -) + + @SerialName(value = "username") @Required val username: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt index fa88a81..dab84d1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param enabled * @param expiresAt @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param start * @param updatedAt */ -@Serializable -data class PatchAdminApiKeysByKeyId200Response( +@Serializable@Serializable + +data class PatchAdminApiKeysByKeyId200Response ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "expiresAt") @Required val expiresAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "lastRequest") @Required val lastRequest: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "ownerEmail") @Required val ownerEmail: kotlin.String?, + @SerialName(value = "ownerName") @Required val ownerName: kotlin.String?, + @SerialName(value = "prefix") @Required val prefix: kotlin.String?, + @SerialName(value = "referenceId") @Required val referenceId: kotlin.String?, + @SerialName(value = "requestCount") @Required val requestCount: kotlin.Double, + @SerialName(value = "start") @Required val start: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt index 81267d4..00313bc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param code * @param message * @param status */ -@Serializable -data class PatchAdminApiKeysByKeyId400Response( +@Serializable@Serializable + +data class PatchAdminApiKeysByKeyId400Response ( + @SerialName(value = "code") @Required val code: kotlin.String, + @SerialName(value = "message") @Required val message: kotlin.String, - @SerialName(value = "status") @Required val status: kotlin.Int, -) + + @SerialName(value = "status") @Required val status: kotlin.Int + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt index 744bc29..e127243 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param enabled */ -@Serializable -data class PatchAdminApiKeysByKeyIdRequest( - @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, -) +@Serializable@Serializable + +data class PatchAdminApiKeysByKeyIdRequest ( + + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt index 55e27dd..30bb729 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param description * @param id @@ -34,16 +41,32 @@ import kotlinx.serialization.encoding.* * @param subject * @param updatedAt */ -@Serializable -data class PatchBugReportByIdStatus200Response( +@Serializable@Serializable + +data class PatchBugReportByIdStatus200Response ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "description") @Required val description: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "metadata") @Required val metadata: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "page") @Required val page: kotlin.String?, + @SerialName(value = "reporterEmail") @Required val reporterEmail: kotlin.String?, + @SerialName(value = "reporterId") @Required val reporterId: kotlin.String?, + @SerialName(value = "status") @Required val status: kotlin.String, + @SerialName(value = "subject") @Required val subject: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt index 3412855..b8961da 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt @@ -8,21 +8,35 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class PatchBugReportByIdStatus200ResponseMetadata +@Serializable@Serializable + +class PatchBugReportByIdStatus200ResponseMetadata ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt index 8f77eb3..4b47b36 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt @@ -8,45 +8,48 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param status */ -@Serializable -data class PatchBugReportByIdStatusRequest( - @SerialName(value = "status") @Required val status: PatchBugReportByIdStatusRequest.Status, +@Serializable@Serializable + +data class PatchBugReportByIdStatusRequest ( + + @SerialName(value = "status") @Required val status: PatchBugReportByIdStatusRequest.Status + ) { + /** - * - * * Values: `open`,in_progress,resolved,closed */ @Serializable - enum class Status( - val value: kotlin.String, - ) { - @SerialName(value = "open") - `open`("open"), - - @SerialName(value = "in_progress") - in_progress("in_progress"), - - @SerialName(value = "resolved") - resolved("resolved"), - - @SerialName(value = "closed") - closed("closed"), + enum class Status(val value: kotlin.String) { + @SerialName(value = "open") `open`("open"), + @SerialName(value = "in_progress") in_progress("in_progress"), + @SerialName(value = "resolved") resolved("resolved"), + @SerialName(value = "closed") closed("closed"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt index eaa4e58..bba1a6b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -40,22 +47,44 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param kioskIds */ -@Serializable -data class PatchNewsAnnouncementsById200Response( +@Serializable@Serializable + +data class PatchNewsAnnouncementsById200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "highlighted") @Required val highlighted: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "imageByteSize") @Required val imageByteSize: kotlin.Double?, + @SerialName(value = "imageContentType") @Required val imageContentType: kotlin.String?, + @SerialName(value = "imageKey") @Required val imageKey: kotlin.String?, + @SerialName(value = "imageUpdatedAt") @Required val imageUpdatedAt: kotlin.String?, + @SerialName(value = "kioskOnly") @Required val kioskOnly: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, - @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, -) + + @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt index fa502ae..32d9b63 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortIds * @param content * @param highlighted @@ -32,14 +39,28 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validUntil */ -@Serializable -data class PatchNewsAnnouncementsByIdRequest( +@Serializable@Serializable + +data class PatchNewsAnnouncementsByIdRequest ( + @SerialName(value = "cohortIds") val cohortIds: kotlin.collections.List? = null, + @SerialName(value = "content") val content: kotlin.collections.List? = null, + @SerialName(value = "highlighted") val highlighted: kotlin.Boolean? = null, + @SerialName(value = "kioskIds") val kioskIds: kotlin.collections.List? = null, + @SerialName(value = "kioskOnly") val kioskOnly: kotlin.Boolean? = null, + @SerialName(value = "title") val title: kotlin.String? = null, + @SerialName(value = "validFrom") val validFrom: kotlin.String? = null, - @SerialName(value = "validUntil") val validUntil: kotlin.String? = null, -) + + @SerialName(value = "validUntil") val validUntil: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt index d2d3311..84198d0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskRequestConfig + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param type */ -@Serializable -data class PatchNewsAnnouncementsByIdRequestContentInner( +@Serializable@Serializable + +data class PatchNewsAnnouncementsByIdRequestContentInner ( + @SerialName(value = "content") @Required val content: PostKioskRequestConfig?, - @SerialName(value = "type") @Required val type: kotlin.String, -) + + @SerialName(value = "type") @Required val type: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt index a4e2bf8..4b5a9c8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -33,15 +40,30 @@ import kotlinx.serialization.encoding.* * @param title * @param updatedAt */ -@Serializable -data class PatchNewsBlogsById200Response( +@Serializable@Serializable + +data class PatchNewsBlogsById200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "publishedAt") @Required val publishedAt: kotlin.String?, + @SerialName(value = "slug") @Required val slug: kotlin.String, + @SerialName(value = "status") @Required val status: kotlin.String, + @SerialName(value = "title") @Required val title: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt index bdd802e..1ea9f96 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt @@ -8,28 +8,44 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param slug * @param title */ -@Serializable -data class PatchNewsBlogsByIdRequest( +@Serializable@Serializable + +data class PatchNewsBlogsByIdRequest ( + @SerialName(value = "content") val content: kotlin.collections.List? = null, + @SerialName(value = "slug") val slug: kotlin.String? = null, - @SerialName(value = "title") val title: kotlin.String? = null, -) + + @SerialName(value = "title") val title: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt index d4ccdf2..80a5f36 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -33,15 +40,30 @@ import kotlinx.serialization.encoding.* * @param validUntil * @param cohortIds */ -@Serializable -data class PatchNewsSystemMessagesById200Response( +@Serializable@Serializable + +data class PatchNewsSystemMessagesById200Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "title") @Required val title: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String, - @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, -) + + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt index 4c8c384..8d19b63 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt @@ -8,32 +8,50 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortIds * @param content * @param title * @param validFrom * @param validUntil */ -@Serializable -data class PatchNewsSystemMessagesByIdRequest( +@Serializable@Serializable + +data class PatchNewsSystemMessagesByIdRequest ( + @SerialName(value = "cohortIds") val cohortIds: kotlin.collections.List? = null, + @SerialName(value = "content") val content: kotlin.collections.List? = null, + @SerialName(value = "title") val title: kotlin.String? = null, + @SerialName(value = "validFrom") val validFrom: kotlin.String? = null, - @SerialName(value = "validUntil") val validUntil: kotlin.String? = null, -) + + @SerialName(value = "validUntil") val validUntil: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt index f2ce5c4..f91ef6d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequestNotificationPreferences + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param language * @param notificationPreferences * @param theme @@ -30,30 +37,33 @@ import kotlinx.serialization.encoding.* * @param timetableGroupDisplay * @param timetableView */ -@Serializable -data class PatchNotificationsSettingsRequest( +@Serializable@Serializable + +data class PatchNotificationsSettingsRequest ( + @SerialName(value = "language") val language: kotlin.String? = null, - @SerialName( - value = "notificationPreferences", - ) val notificationPreferences: PatchNotificationsSettingsRequestNotificationPreferences? = null, + + @SerialName(value = "notificationPreferences") val notificationPreferences: PatchNotificationsSettingsRequestNotificationPreferences? = null, + @SerialName(value = "theme") val theme: kotlin.String? = null, + @SerialName(value = "timetableClassColors") val timetableClassColors: kotlin.collections.Map? = null, + @SerialName(value = "timetableGroupDisplay") val timetableGroupDisplay: PatchNotificationsSettingsRequest.TimetableGroupDisplay? = null, - @SerialName(value = "timetableView") val timetableView: kotlin.String? = null, + + @SerialName(value = "timetableView") val timetableView: kotlin.String? = null + ) { + /** - * - * * Values: highlight,hide */ @Serializable - enum class TimetableGroupDisplay( - val value: kotlin.String, - ) { - @SerialName(value = "highlight") - highlight("highlight"), - - @SerialName(value = "hide") - hide("hide"), + enum class TimetableGroupDisplay(val value: kotlin.String) { + @SerialName(value = "highlight") highlight("highlight"), + @SerialName(value = "hide") hide("hide"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt index 6374531..b1a9ced 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param announcement * @param blogPost * @param channelsEnabled @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param substitution * @param systemMessage */ -@Serializable -data class PatchNotificationsSettingsRequestNotificationPreferences( +@Serializable@Serializable + +data class PatchNotificationsSettingsRequestNotificationPreferences ( + @SerialName(value = "announcement") val announcement: kotlin.Boolean? = null, + @SerialName(value = "blogPost") val blogPost: kotlin.Boolean? = null, + @SerialName(value = "channelsEnabled") val channelsEnabled: kotlin.Boolean? = null, + @SerialName(value = "doorlockCardUsed") val doorlockCardUsed: kotlin.Boolean? = null, + @SerialName(value = "movedLesson") val movedLesson: kotlin.Boolean? = null, + @SerialName(value = "substitution") val substitution: kotlin.Boolean? = null, - @SerialName(value = "systemMessage") val systemMessage: kotlin.Boolean? = null, -) + + @SerialName(value = "systemMessage") val systemMessage: kotlin.Boolean? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt index c209aa2..b1741b0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param permissions */ -@Serializable -data class PatchRolesByNameRequest( - @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List, -) +@Serializable@Serializable + +data class PatchRolesByNameRequest ( + + @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt index 4c79b58..fe7b0ef 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200ResponseUser + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param firstName * @param id @@ -31,13 +38,26 @@ import kotlinx.serialization.encoding.* * @param user * @param userId */ -@Serializable -data class PatchTimetableTeachersById200Response( +@Serializable@Serializable + +data class PatchTimetableTeachersById200Response ( + @SerialName(value = "email") @Required val email: kotlin.String?, + @SerialName(value = "firstName") @Required val firstName: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastName") @Required val lastName: kotlin.String, + @SerialName(value = "short") @Required val short: kotlin.String, + @SerialName(value = "user") @Required val user: PatchTimetableTeachersById200ResponseUser?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt index 40f8506..0d62302 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param id * @param name */ -@Serializable -data class PatchTimetableTeachersById200ResponseUser( +@Serializable@Serializable + +data class PatchTimetableTeachersById200ResponseUser ( + @SerialName(value = "email") @Required val email: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt index 30db2a0..642262b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param userId */ -@Serializable -data class PatchTimetableTeachersByIdRequest( +@Serializable@Serializable + +data class PatchTimetableTeachersByIdRequest ( + @SerialName(value = "email") val email: kotlin.String? = null, - @SerialName(value = "userId") val userId: kotlin.String? = null, -) + + @SerialName(value = "userId") val userId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt index c92dd81..fe25773 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param id * @param name @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable -data class PatchTimetableTimetablesById200Response( +@Serializable@Serializable + +data class PatchTimetableTimetablesById200Response ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, - @SerialName(value = "validTo") @Required val validTo: kotlin.String?, -) + + @SerialName(value = "validTo") @Required val validTo: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt index ced4205..3ee1c50 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param name * @param validFrom * @param validTo */ -@Serializable -data class PatchTimetableTimetablesByIdRequest( +@Serializable@Serializable + +data class PatchTimetableTimetablesByIdRequest ( + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "validFrom") val validFrom: kotlin.String? = null, - @SerialName(value = "validTo") val validTo: kotlin.String? = null, -) + + @SerialName(value = "validTo") val validTo: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt index 79ad537..4a72ccf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortId * @param createdAt * @param email @@ -35,18 +42,36 @@ import kotlinx.serialization.encoding.* * @param displayName * @param permissions */ -@Serializable -data class PatchUsersById200Response( +@Serializable@Serializable + +data class PatchUsersById200Response ( + @SerialName(value = "cohortId") @Required val cohortId: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "email") @Required val email: kotlin.String, + @SerialName(value = "emailVerified") @Required val emailVerified: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "image") @Required val image: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, + @SerialName(value = "roles") @Required val roles: kotlin.collections.List, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "displayName") @Required val displayName: kotlin.String, - @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List, -) + + @SerialName(value = "permissions") @Required val permissions: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt index fe72916..ebccb25 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortId * @param nickname * @param roles */ -@Serializable -data class PatchUsersByIdRequest( +@Serializable@Serializable + +data class PatchUsersByIdRequest ( + @SerialName(value = "cohortId") val cohortId: kotlin.String? = null, + @SerialName(value = "nickname") val nickname: kotlin.String? = null, - @SerialName(value = "roles") val roles: kotlin.collections.List? = null, -) + + @SerialName(value = "roles") val roles: kotlin.collections.List? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt index 93b5db6..fc7d4a6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id */ -@Serializable -data class PostBugReport201Response( - @SerialName(value = "id") @Required val id: kotlin.String, -) +@Serializable@Serializable + +data class PostBugReport201Response ( + + @SerialName(value = "id") @Required val id: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt index afded31..fdbe88a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt @@ -8,30 +8,47 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValue + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param description * @param subject * @param metadata * @param page */ -@Serializable -data class PostBugReportRequest( +@Serializable@Serializable + +data class PostBugReportRequest ( + @SerialName(value = "description") @Required val description: kotlin.String, + @SerialName(value = "subject") @Required val subject: kotlin.String, - @SerialName(value = "metadata") val metadata: kotlin.collections.Map? = null, - @SerialName(value = "page") val page: kotlin.String? = null, -) + + @SerialName(value = "metadata") val metadata: kotlin.collections.Map? = null, + + @SerialName(value = "page") val page: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt index 0ec6d8d..5fdfc02 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt @@ -8,22 +8,36 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfInner import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class PostBugReportRequestMetadataValue +@Serializable@Serializable + +class PostBugReportRequestMetadataValue ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt index 0d0a563..62b3fc1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt @@ -8,20 +8,34 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class PostBugReportRequestMetadataValueAnyOfInner +@Serializable@Serializable + +class PostBugReportRequestMetadataValueAnyOfInner ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt index 1880187..a089c69 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt @@ -8,20 +8,34 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class PostBugReportRequestMetadataValueAnyOfValue +@Serializable@Serializable + +class PostBugReportRequestMetadataValueAnyOfValue ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt index 6721912..05a23b4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt @@ -8,22 +8,29 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseAuthorizedDevicesInner import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorizedDevices * @param cardData * @param createdAt @@ -35,17 +42,32 @@ import kotlinx.serialization.encoding.* * @param userId * @param owner */ -@Serializable -data class PostDoorlockCards201Response( - @SerialName(value = "authorizedDevices") @Required val authorizedDevices: - kotlin.collections.List, +@Serializable@Serializable + +data class PostDoorlockCards201Response ( + + @SerialName(value = "authorizedDevices") @Required val authorizedDevices: kotlin.collections.List, + @SerialName(value = "cardData") @Required val cardData: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "frozen") @Required val frozen: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "owner") val owner: PostDoorlockCards201ResponseOwner? = null, -) + + @SerialName(value = "owner") val owner: PostDoorlockCards201ResponseOwner? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt index 8293bc5..8626b31 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param name */ -@Serializable -data class PostDoorlockCards201ResponseAuthorizedDevicesInner( +@Serializable@Serializable + +data class PostDoorlockCards201ResponseAuthorizedDevicesInner ( + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt index 58fa792..ebf4ee2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param id * @param name * @param nickname */ -@Serializable -data class PostDoorlockCards201ResponseOwner( +@Serializable@Serializable + +data class PostDoorlockCards201ResponseOwner ( + @SerialName(value = "email") @Required val email: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "nickname") @Required val nickname: kotlin.String?, -) + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt index 9375555..4c96a73 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param name * @param cardData * @param userId @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param enabled * @param frozen */ -@Serializable -data class PostDoorlockCardsRequest( +@Serializable@Serializable + +data class PostDoorlockCardsRequest ( + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "cardData") @Required val cardData: kotlin.String?, + @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "authorizedDeviceIds") val authorizedDeviceIds: kotlin.collections.List? = arrayListOf(), + + @SerialName(value = "authorizedDeviceIds") val authorizedDeviceIds: kotlin.collections.List? = arrayListOf(), + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = true, - @SerialName(value = "frozen") val frozen: kotlin.Boolean? = false, -) + + @SerialName(value = "frozen") val frozen: kotlin.Boolean? = false + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt index 07f3f91..9801dbe 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param apiToken * @param createdAt * @param id @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable -data class PostDoorlockDevices201Response( +@Serializable@Serializable + +data class PostDoorlockDevices201Response ( + @SerialName(value = "apiToken") @Required val apiToken: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastResetReason") @Required val lastResetReason: kotlin.String?, + @SerialName(value = "location") @Required val location: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt index 7a1b2b9..b1bea11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt @@ -8,24 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param ok */ -@Serializable -data class PostDoorlockDevicesByIdUpdate200Response( - @SerialName(value = "ok") @Required val ok: JsonElement?, -) +@Serializable@Serializable + +data class PostDoorlockDevicesByIdUpdate200Response ( + + @SerialName(value = "ok") @Required val ok: kotlin.Any? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt index d28771f..6511365 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param url */ -@Serializable -data class PostDoorlockDevicesByIdUpdateRequest( - @SerialName(value = "url") @Required val url: kotlin.String, -) +@Serializable@Serializable + +data class PostDoorlockDevicesByIdUpdateRequest ( + + @SerialName(value = "url") @Required val url: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt index 43acda1..4ae5e9b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param apiToken * @param name * @param lastResetReason * @param location */ -@Serializable -data class PostDoorlockDevicesRequest( +@Serializable@Serializable + +data class PostDoorlockDevicesRequest ( + @SerialName(value = "apiToken") @Required val apiToken: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "lastResetReason") val lastResetReason: kotlin.String? = null, - @SerialName(value = "location") val location: kotlin.String? = null, -) + + @SerialName(value = "location") val location: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt index c9a35b1..5e51cde 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param count */ -@Serializable -data class PostDoorlockDevicesUpdate200Response( - @SerialName(value = "count") @Required val count: kotlin.Int?, -) +@Serializable@Serializable + +data class PostDoorlockDevicesUpdate200Response ( + + @SerialName(value = "count") @Required val count: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt index 0442c08..93ee4b1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buttonPressed * @param cardData * @param cardId @@ -31,14 +38,28 @@ import kotlinx.serialization.encoding.* * @param timestamp * @param userId */ -@Serializable -data class PostDoorlockSelfCardsByIdActivate200Response( +@Serializable@Serializable + +data class PostDoorlockSelfCardsByIdActivate200Response ( + @SerialName(value = "buttonPressed") @Required val buttonPressed: kotlin.Boolean, + @SerialName(value = "cardData") @Required val cardData: kotlin.String?, + @SerialName(value = "cardId") @Required val cardId: kotlin.String?, + @SerialName(value = "deviceId") @Required val deviceId: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.Int?, + @SerialName(value = "result") @Required val result: kotlin.Boolean, + @SerialName(value = "timestamp") @Required val timestamp: kotlin.String?, - @SerialName(value = "userId") @Required val userId: kotlin.String?, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt index e9559f4..33530f8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param deviceId */ -@Serializable -data class PostDoorlockSelfCardsByIdActivateRequest( - @SerialName(value = "deviceId") val deviceId: kotlin.String? = null, -) +@Serializable@Serializable + +data class PostDoorlockSelfCardsByIdActivateRequest ( + + @SerialName(value = "deviceId") val deviceId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt index 4ef9b56..1555b96 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param appVersion * @param config * @param createdAt @@ -35,17 +42,34 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable -data class PostKiosk201Response( +@Serializable@Serializable + +data class PostKiosk201Response ( + @SerialName(value = "appVersion") @Required val appVersion: kotlin.String?, + @SerialName(value = "config") @Required val config: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "kind") @Required val kind: kotlin.String, + @SerialName(value = "lastSeenAt") @Required val lastSeenAt: kotlin.String?, + @SerialName(value = "lastSeenIp") @Required val lastSeenIp: kotlin.String?, + @SerialName(value = "machineId") @Required val machineId: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt index a008905..5e79161 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskDepartures200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class PostKioskDepartures200Response( - @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) +@Serializable@Serializable + +data class PostKioskDepartures200Response ( + + @SerialName(value = "items") @Required val items: kotlin.collections.List, + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt index 986f655..00a63c9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param label * @param predictedDepartureTime * @param routeShortDesc */ -@Serializable -data class PostKioskDepartures200ResponseItemsInner( +@Serializable@Serializable + +data class PostKioskDepartures200ResponseItemsInner ( + @SerialName(value = "label") @Required val label: kotlin.String?, + @SerialName(value = "predictedDepartureTime") @Required val predictedDepartureTime: kotlin.Double?, - @SerialName(value = "routeShortDesc") @Required val routeShortDesc: kotlin.String?, -) + + @SerialName(value = "routeShortDesc") @Required val routeShortDesc: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt index 0e88707..f131b9f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt @@ -8,24 +8,38 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param groups */ -@Serializable -data class PostKioskDeparturesRequest( - @SerialName(value = "groups") @Required val groups: kotlin.collections.List, -) +@Serializable@Serializable + +data class PostKioskDeparturesRequest ( + + @SerialName(value = "groups") @Required val groups: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt index e4abf4b..e445a11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInnerStopsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param label * @param stops */ -@Serializable -data class PostKioskDeparturesRequestGroupsInner( +@Serializable@Serializable + +data class PostKioskDeparturesRequestGroupsInner ( + @SerialName(value = "label") @Required val label: kotlin.String?, - @SerialName(value = "stops") @Required val stops: kotlin.collections.List, -) + + @SerialName(value = "stops") @Required val stops: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt index c5dd0ef..2db6796 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param stopId * @param routeFilter */ -@Serializable -data class PostKioskDeparturesRequestGroupsInnerStopsInner( +@Serializable@Serializable + +data class PostKioskDeparturesRequestGroupsInnerStopsInner ( + @SerialName(value = "stopId") @Required val stopId: kotlin.String?, - @SerialName(value = "routeFilter") val routeFilter: kotlin.String? = null, -) + + @SerialName(value = "routeFilter") val routeFilter: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt index 56daa71..167c6b7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -19,21 +27,28 @@ import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1 import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2 import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param registered * @param enabled * @param kiosk */ -@Serializable -data class PostKioskHeartbeat200Response( - @SerialName(value = "registered") @Required val registered: JsonElement?, - @SerialName(value = "enabled") @Required val enabled: JsonElement?, - @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk, -) +@Serializable@Serializable + +data class PostKioskHeartbeat200Response ( + + @SerialName(value = "registered") @Required val registered: kotlin.Any?, + + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + + @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt index 0c2bdb2..d4ecb38 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt @@ -8,24 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param registered */ -@Serializable -data class PostKioskHeartbeat200ResponseAnyOf( - @SerialName(value = "registered") @Required val registered: JsonElement?, -) +@Serializable@Serializable + +data class PostKioskHeartbeat200ResponseAnyOf ( + + @SerialName(value = "registered") @Required val registered: kotlin.Any? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt index 6d86e06..11cdc70 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt @@ -8,29 +8,44 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1Kiosk + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param enabled * @param kiosk * @param registered */ -@Serializable -data class PostKioskHeartbeat200ResponseAnyOf1( - @SerialName(value = "enabled") @Required val enabled: JsonElement?, +@Serializable@Serializable + +data class PostKioskHeartbeat200ResponseAnyOf1 ( + + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf1Kiosk, - @SerialName(value = "registered") @Required val registered: JsonElement?, -) + + @SerialName(value = "registered") @Required val registered: kotlin.Any? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt index a6cbb34..5ab01fa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt @@ -8,43 +8,52 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param kind * @param name */ -@Serializable -data class PostKioskHeartbeat200ResponseAnyOf1Kiosk( +@Serializable@Serializable + +data class PostKioskHeartbeat200ResponseAnyOf1Kiosk ( + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "kind") @Required val kind: PostKioskHeartbeat200ResponseAnyOf1Kiosk.Kind, - @SerialName(value = "name") @Required val name: kotlin.String?, + + @SerialName(value = "name") @Required val name: kotlin.String? + ) { + /** - * - * * Values: tv,navigator */ @Serializable - enum class Kind( - val value: kotlin.String, - ) { - @SerialName(value = "tv") - tv("tv"), - - @SerialName(value = "navigator") - navigator("navigator"), + enum class Kind(val value: kotlin.String) { + @SerialName(value = "tv") tv("tv"), + @SerialName(value = "navigator") navigator("navigator"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt index 3684de6..c94ae4a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt @@ -8,29 +8,44 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* -import kotlinx.serialization.json.JsonElement /** - * - * * @param enabled * @param kiosk * @param registered */ -@Serializable -data class PostKioskHeartbeat200ResponseAnyOf2( - @SerialName(value = "enabled") @Required val enabled: JsonElement?, +@Serializable@Serializable + +data class PostKioskHeartbeat200ResponseAnyOf2 ( + + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk, - @SerialName(value = "registered") @Required val registered: JsonElement?, -) + + @SerialName(value = "registered") @Required val registered: kotlin.Any? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt index 55fa53f..6aa7156 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt @@ -8,46 +8,56 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param id * @param kind * @param name * @param config */ -@Serializable -data class PostKioskHeartbeat200ResponseAnyOf2Kiosk( +@Serializable@Serializable + +data class PostKioskHeartbeat200ResponseAnyOf2Kiosk ( + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "kind") @Required val kind: PostKioskHeartbeat200ResponseAnyOf2Kiosk.Kind, + @SerialName(value = "name") @Required val name: kotlin.String?, - @SerialName(value = "config") @Required val config: PatchBugReportByIdStatus200ResponseMetadata?, + + @SerialName(value = "config") @Required val config: PatchBugReportByIdStatus200ResponseMetadata? + ) { + /** - * - * * Values: tv,navigator */ @Serializable - enum class Kind( - val value: kotlin.String, - ) { - @SerialName(value = "tv") - tv("tv"), - - @SerialName(value = "navigator") - navigator("navigator"), + enum class Kind(val value: kotlin.String) { + @SerialName(value = "tv") tv("tv"), + @SerialName(value = "navigator") navigator("navigator"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt index 1de0632..79c351d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param appVersion * @param machineId */ -@Serializable -data class PostKioskHeartbeatRequest( +@Serializable@Serializable + +data class PostKioskHeartbeatRequest ( + @SerialName(value = "appVersion") @Required val appVersion: kotlin.String, - @SerialName(value = "machineId") @Required val machineId: kotlin.String, -) + + @SerialName(value = "machineId") @Required val machineId: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt index 1673501..3b41a87 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt @@ -8,48 +8,59 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskRequestConfig + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param kind * @param machineId * @param name * @param config * @param enabled */ -@Serializable -data class PostKioskRequest( +@Serializable@Serializable + +data class PostKioskRequest ( + @SerialName(value = "kind") @Required val kind: PostKioskRequest.Kind, + @SerialName(value = "machineId") @Required val machineId: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "config") val config: PostKioskRequestConfig? = null, - @SerialName(value = "enabled") val enabled: kotlin.Boolean? = null, + + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = null + ) { + /** - * - * * Values: tv,navigator */ @Serializable - enum class Kind( - val value: kotlin.String, - ) { - @SerialName(value = "tv") - tv("tv"), - - @SerialName(value = "navigator") - navigator("navigator"), + enum class Kind(val value: kotlin.String) { + @SerialName(value = "tv") tv("tv"), + @SerialName(value = "navigator") navigator("navigator"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt index b9fb5d4..a175a94 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt @@ -8,21 +8,35 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * */ -@Serializable -class PostKioskRequestConfig +@Serializable@Serializable + +class PostKioskRequestConfig ( + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt index 78d605b..1c2388d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param description * @param id * @param mapped @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PostNavigatorBuildings201Response( +@Serializable@Serializable + +data class PostNavigatorBuildings201Response ( + @SerialName(value = "description") @Required val description: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "mapped") @Required val mapped: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "x") @Required val x: kotlin.Double, - @SerialName(value = "y") @Required val y: kotlin.Double, -) + + @SerialName(value = "y") @Required val y: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt index 5db920a..3e59e37 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param description * @param name * @param x * @param y */ -@Serializable -data class PostNavigatorBuildingsRequest( +@Serializable@Serializable + +data class PostNavigatorBuildingsRequest ( + @SerialName(value = "description") @Required val description: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt index 8173082..ea2a1dc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param colorhex * @param createdAt * @param id * @param name * @param updatedAt */ -@Serializable -data class PostNavigatorClassroomTypes201Response( +@Serializable@Serializable + +data class PostNavigatorClassroomTypes201Response ( + @SerialName(value = "colorhex") @Required val colorhex: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt index 61c9029..ca2f5b3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param colorhex * @param name */ -@Serializable -data class PostNavigatorClassroomTypesRequest( +@Serializable@Serializable + +data class PostNavigatorClassroomTypesRequest ( + @SerialName(value = "colorhex") @Required val colorhex: kotlin.String, - @SerialName(value = "name") @Required val name: kotlin.String?, -) + + @SerialName(value = "name") @Required val name: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt index 6bdb58c..4b92184 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param capacity * @param description @@ -38,21 +45,42 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PostNavigatorClassrooms201Response( +@Serializable@Serializable + +data class PostNavigatorClassrooms201Response ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String, + @SerialName(value = "capacity") @Required val capacity: kotlin.Int?, + @SerialName(value = "description") @Required val description: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "mapped") @Required val mapped: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double, + @SerialName(value = "short") @Required val short: kotlin.String, + @SerialName(value = "size_x") @Required val sizeX: kotlin.Double, + @SerialName(value = "size_y") @Required val sizeY: kotlin.Double, + @SerialName(value = "size_z") @Required val sizeZ: kotlin.Double, + @SerialName(value = "storey") @Required val storey: kotlin.Int, + @SerialName(value = "type_id") @Required val typeId: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double, - @SerialName(value = "y") @Required val y: kotlin.Double, -) + + @SerialName(value = "y") @Required val y: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt index 2c92881..c9b7aef 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param capacity * @param description @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PostNavigatorClassroomsRequest( +@Serializable@Serializable + +data class PostNavigatorClassroomsRequest ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "capacity") @Required val capacity: kotlin.Int?, + @SerialName(value = "description") @Required val description: kotlin.String?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double?, + @SerialName(value = "short") @Required val short: kotlin.String?, + @SerialName(value = "size_x") @Required val sizeX: kotlin.Double?, + @SerialName(value = "size_y") @Required val sizeY: kotlin.Double?, + @SerialName(value = "size_z") @Required val sizeZ: kotlin.Double?, + @SerialName(value = "storey") @Required val storey: kotlin.Int?, + @SerialName(value = "type_id") @Required val typeId: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt index c4418e1..f299c84 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param barrierFree * @param buildingId * @param createdAt @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable -data class PostNavigatorCorridors201Response( +@Serializable@Serializable + +data class PostNavigatorCorridors201Response ( + @SerialName(value = "barrier_free") @Required val barrierFree: kotlin.Boolean, + @SerialName(value = "building_id") @Required val buildingId: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "is_outdoor") @Required val isOutdoor: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "storey") @Required val storey: kotlin.Int, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "width") @Required val width: kotlin.Double, + @SerialName(value = "x1") @Required val x1: kotlin.Double, + @SerialName(value = "x2") @Required val x2: kotlin.Double, + @SerialName(value = "y1") @Required val y1: kotlin.Double, - @SerialName(value = "y2") @Required val y2: kotlin.Double, -) + + @SerialName(value = "y2") @Required val y2: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt index 085f6af..df9eb89 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param barrierFree * @param buildingId * @param isOutdoor @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable -data class PostNavigatorCorridorsRequest( +@Serializable@Serializable + +data class PostNavigatorCorridorsRequest ( + @SerialName(value = "barrier_free") @Required val barrierFree: kotlin.Boolean, + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "is_outdoor") @Required val isOutdoor: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "storey") @Required val storey: kotlin.Int?, + @SerialName(value = "width") @Required val width: kotlin.Double?, + @SerialName(value = "x1") @Required val x1: kotlin.Double?, + @SerialName(value = "x2") @Required val x2: kotlin.Double?, + @SerialName(value = "y1") @Required val y1: kotlin.Double?, - @SerialName(value = "y2") @Required val y2: kotlin.Double?, -) + + @SerialName(value = "y2") @Required val y2: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt index 936d0db..865e788 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildings * @param classrooms * @param classroomTypes @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param stairs * @param translations */ -@Serializable -data class PostNavigatorImport200Response( +@Serializable@Serializable + +data class PostNavigatorImport200Response ( + @SerialName(value = "buildings") @Required val buildings: kotlin.Int?, + @SerialName(value = "classrooms") @Required val classrooms: kotlin.Int?, + @SerialName(value = "classroomTypes") @Required val classroomTypes: kotlin.Int?, + @SerialName(value = "corridors") @Required val corridors: kotlin.Int?, + @SerialName(value = "lifts") @Required val lifts: kotlin.Int?, + @SerialName(value = "stairs") @Required val stairs: kotlin.Int?, - @SerialName(value = "translations") @Required val translations: kotlin.Int?, -) + + @SerialName(value = "translations") @Required val translations: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt index 86f6c27..95fcd64 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param file */ -@Serializable -data class PostNavigatorImportRequest( - @SerialName(value = "file") @Required val file: kotlin.String, -) +@Serializable@Serializable + +data class PostNavigatorImportRequest ( + + @SerialName(value = "file") @Required val file: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt index e333b5f..7f8bded 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param maxStorey * @param minStorey @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PostNavigatorLiftsRequest( +@Serializable@Serializable + +data class PostNavigatorLiftsRequest ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int?, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt index 754011e..726577a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param maxStorey * @param minStorey @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PostNavigatorStairsRequest( +@Serializable@Serializable + +data class PostNavigatorStairsRequest ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String?, + @SerialName(value = "max_storey") @Required val maxStorey: kotlin.Int?, + @SerialName(value = "min_storey") @Required val minStorey: kotlin.Int?, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double?, + @SerialName(value = "x") @Required val x: kotlin.Double?, - @SerialName(value = "y") @Required val y: kotlin.Double?, -) + + @SerialName(value = "y") @Required val y: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt index 454c8b1..517d27c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class PostNavigatorTranslations201Response( +@Serializable@Serializable + +data class PostNavigatorTranslations201Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double, -) + + @SerialName(value = "total") @Required val total: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt index 3cfde68..22cb9a1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param langKey * @param text * @param textKey */ -@Serializable -data class PostNavigatorTranslations201ResponseItemsInner( +@Serializable@Serializable + +data class PostNavigatorTranslations201ResponseItemsInner ( + @SerialName(value = "lang_key") @Required val langKey: kotlin.String, + @SerialName(value = "text") @Required val text: kotlin.String, - @SerialName(value = "text_key") @Required val textKey: kotlin.String, -) + + @SerialName(value = "text_key") @Required val textKey: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt index 8a67d42..166f907 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param textKey * @param translations */ -@Serializable -data class PostNavigatorTranslationsRequest( +@Serializable@Serializable + +data class PostNavigatorTranslationsRequest ( + @SerialName(value = "text_key") @Required val textKey: kotlin.String?, - @SerialName(value = "translations") @Required val translations: kotlin.collections.Map, -) + + @SerialName(value = "translations") @Required val translations: kotlin.collections.Map + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt index 925b135..65e3f8c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -40,22 +47,44 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param kioskIds */ -@Serializable -data class PostNewsAnnouncements201Response( +@Serializable@Serializable + +data class PostNewsAnnouncements201Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "highlighted") @Required val highlighted: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "imageByteSize") @Required val imageByteSize: kotlin.Double?, + @SerialName(value = "imageContentType") @Required val imageContentType: kotlin.String?, + @SerialName(value = "imageKey") @Required val imageKey: kotlin.String?, + @SerialName(value = "imageUpdatedAt") @Required val imageUpdatedAt: kotlin.String?, + @SerialName(value = "kioskOnly") @Required val kioskOnly: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, - @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List, -) + + @SerialName(value = "kioskIds") @Required val kioskIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt index 5219eb7..448e8bf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param validFrom * @param validUntil @@ -32,14 +39,28 @@ import kotlinx.serialization.encoding.* * @param kioskOnly * @param title */ -@Serializable -data class PostNewsAnnouncementsRequest( +@Serializable@Serializable + +data class PostNewsAnnouncementsRequest ( + @SerialName(value = "content") @Required val content: kotlin.collections.List, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, + @SerialName(value = "cohortIds") val cohortIds: kotlin.collections.List? = null, + @SerialName(value = "highlighted") val highlighted: kotlin.Boolean? = null, + @SerialName(value = "kioskIds") val kioskIds: kotlin.collections.List? = null, + @SerialName(value = "kioskOnly") val kioskOnly: kotlin.Boolean? = null, - @SerialName(value = "title") val title: kotlin.String? = null, -) + + @SerialName(value = "title") val title: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt index cd18e90..e962c27 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskRequestConfig + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param type */ -@Serializable -data class PostNewsAnnouncementsRequestContentInner( +@Serializable@Serializable + +data class PostNewsAnnouncementsRequestContentInner ( + @SerialName(value = "content") @Required val content: PostKioskRequestConfig?, - @SerialName(value = "type") @Required val type: kotlin.String?, -) + + @SerialName(value = "type") @Required val type: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt index 94fe5fe..9a0f66a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -33,15 +40,30 @@ import kotlinx.serialization.encoding.* * @param title * @param updatedAt */ -@Serializable -data class PostNewsBlogs201Response( +@Serializable@Serializable + +data class PostNewsBlogs201Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "publishedAt") @Required val publishedAt: kotlin.String?, + @SerialName(value = "slug") @Required val slug: kotlin.String?, + @SerialName(value = "status") @Required val status: kotlin.String?, + @SerialName(value = "title") @Required val title: kotlin.String?, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt index bfc7d9c..fc6174f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt @@ -8,46 +8,56 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param title * @param slug * @param status */ -@Serializable -data class PostNewsBlogsRequest( +@Serializable@Serializable + +data class PostNewsBlogsRequest ( + @SerialName(value = "content") @Required val content: kotlin.collections.List, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "slug") val slug: kotlin.String? = null, - @SerialName(value = "status") val status: PostNewsBlogsRequest.Status? = Status.draft, + + @SerialName(value = "status") val status: PostNewsBlogsRequest.Status? = Status.draft + ) { + /** - * - * * Values: draft,published */ @Serializable - enum class Status( - val value: kotlin.String, - ) { - @SerialName(value = "draft") - draft("draft"), - - @SerialName(value = "published") - published("published"), + enum class Status(val value: kotlin.String) { + @SerialName(value = "draft") draft("draft"), + @SerialName(value = "published") published("published"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt index b6e3831..fd8256c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param authorId * @param content * @param createdAt @@ -33,15 +40,30 @@ import kotlinx.serialization.encoding.* * @param validUntil * @param cohortIds */ -@Serializable -data class PostNewsSystemMessages201Response( +@Serializable@Serializable + +data class PostNewsSystemMessages201Response ( + @SerialName(value = "authorId") @Required val authorId: kotlin.String?, + @SerialName(value = "content") @Required val content: PatchBugReportByIdStatus200ResponseMetadata?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, - @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List, -) + + @SerialName(value = "cohortIds") @Required val cohortIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt index 1c7e2c4..e7e5b51 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt @@ -8,32 +8,50 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param title * @param validFrom * @param validUntil * @param cohortIds */ -@Serializable -data class PostNewsSystemMessagesRequest( +@Serializable@Serializable + +data class PostNewsSystemMessagesRequest ( + @SerialName(value = "content") @Required val content: kotlin.collections.List, + @SerialName(value = "title") @Required val title: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String?, + @SerialName(value = "validUntil") @Required val validUntil: kotlin.String?, - @SerialName(value = "cohortIds") val cohortIds: kotlin.collections.List? = null, -) + + @SerialName(value = "cohortIds") val cohortIds: kotlin.collections.List? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt index c03e303..790a62c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param content * @param createdAt * @param id @@ -31,14 +38,28 @@ import kotlinx.serialization.encoding.* * @param type * @param userId */ -@Serializable -data class PostNotificationsByIdRead200Response( +@Serializable@Serializable + +data class PostNotificationsByIdRead200Response ( + @SerialName(value = "content") @Required val content: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + + @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "read") @Required val read: kotlin.Boolean, + @SerialName(value = "title") @Required val title: kotlin.String, + @SerialName(value = "type") @Required val type: kotlin.String, - @SerialName(value = "userId") @Required val userId: kotlin.String, -) + + @SerialName(value = "userId") @Required val userId: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt index f01070e..2611406 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param token * @param deviceInfo */ -@Serializable -data class PostNotificationsFcmTokensRequest( +@Serializable@Serializable + +data class PostNotificationsFcmTokensRequest ( + @SerialName(value = "token") @Required val token: kotlin.String?, - @SerialName(value = "deviceInfo") val deviceInfo: kotlin.String? = null, -) + + @SerialName(value = "deviceInfo") val deviceInfo: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt index ac47972..316223b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param html */ -@Serializable -data class PostNotificationsTestPreview200Response( - @SerialName(value = "html") @Required val html: kotlin.String?, -) +@Serializable@Serializable + +data class PostNotificationsTestPreview200Response ( + + @SerialName(value = "html") @Required val html: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt index bb21c40..d3326c3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt @@ -8,82 +8,71 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param type * @param content * @param language * @param subject */ -@Serializable -data class PostNotificationsTestPreviewRequest( +@Serializable@Serializable + +data class PostNotificationsTestPreviewRequest ( + @SerialName(value = "type") @Required val type: PostNotificationsTestPreviewRequest.Type, + @SerialName(value = "content") val content: kotlin.String? = null, + @SerialName(value = "language") val language: PostNotificationsTestPreviewRequest.Language? = null, - @SerialName(value = "subject") val subject: kotlin.String? = null, + + @SerialName(value = "subject") val subject: kotlin.String? = null + ) { + /** - * - * * Values: substitution,substitution_teacher,moved_lesson,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test */ @Serializable - enum class Type( - val value: kotlin.String, - ) { - @SerialName(value = "substitution") - substitution("substitution"), - - @SerialName(value = "substitution_teacher") - substitution_teacher("substitution_teacher"), - - @SerialName(value = "moved_lesson") - moved_lesson("moved_lesson"), - - @SerialName(value = "announcement") - announcement("announcement"), - - @SerialName(value = "system_message") - system_message("system_message"), - - @SerialName(value = "blog_post") - blog_post("blog_post"), - - @SerialName(value = "doorlock_card_used") - doorlock_card_used("doorlock_card_used"), - - @SerialName(value = "cohort_reselection_required") - cohort_reselection_required("cohort_reselection_required"), - - @SerialName(value = "test") - test("test"), + enum class Type(val value: kotlin.String) { + @SerialName(value = "substitution") substitution("substitution"), + @SerialName(value = "substitution_teacher") substitution_teacher("substitution_teacher"), + @SerialName(value = "moved_lesson") moved_lesson("moved_lesson"), + @SerialName(value = "announcement") announcement("announcement"), + @SerialName(value = "system_message") system_message("system_message"), + @SerialName(value = "blog_post") blog_post("blog_post"), + @SerialName(value = "doorlock_card_used") doorlock_card_used("doorlock_card_used"), + @SerialName(value = "cohort_reselection_required") cohort_reselection_required("cohort_reselection_required"), + @SerialName(value = "test") test("test"); + override fun toString(): kotlin.String = value } - /** - * - * * Values: en,hu */ @Serializable - enum class Language( - val value: kotlin.String, - ) { - @SerialName(value = "en") - en("en"), - - @SerialName(value = "hu") - hu("hu"), + enum class Language(val value: kotlin.String) { + @SerialName(value = "en") en("en"), + @SerialName(value = "hu") hu("hu"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt index 630e8e7..a0c257b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param inApp * @param push */ -@Serializable -data class PostNotificationsTestSend200Response( +@Serializable@Serializable + +data class PostNotificationsTestSend200Response ( + @SerialName(value = "email") @Required val email: kotlin.Boolean, + @SerialName(value = "inApp") @Required val inApp: kotlin.Boolean, - @SerialName(value = "push") @Required val push: kotlin.Boolean, -) + + @SerialName(value = "push") @Required val push: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt index cb796b9..279fc79 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt @@ -8,21 +8,28 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param channels * @param type * @param content @@ -30,65 +37,49 @@ import kotlinx.serialization.encoding.* * @param language * @param subject */ -@Serializable -data class PostNotificationsTestSendRequest( +@Serializable@Serializable + +data class PostNotificationsTestSendRequest ( + @SerialName(value = "channels") @Required val channels: PostNotificationsTestSendRequestChannels, + @SerialName(value = "type") @Required val type: PostNotificationsTestSendRequest.Type, + @SerialName(value = "content") val content: kotlin.String? = null, + @SerialName(value = "email") val email: kotlin.String? = null, + @SerialName(value = "language") val language: PostNotificationsTestSendRequest.Language? = null, - @SerialName(value = "subject") val subject: kotlin.String? = null, + + @SerialName(value = "subject") val subject: kotlin.String? = null + ) { + /** - * - * * Values: substitution,substitution_teacher,moved_lesson,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test */ @Serializable - enum class Type( - val value: kotlin.String, - ) { - @SerialName(value = "substitution") - substitution("substitution"), - - @SerialName(value = "substitution_teacher") - substitution_teacher("substitution_teacher"), - - @SerialName(value = "moved_lesson") - moved_lesson("moved_lesson"), - - @SerialName(value = "announcement") - announcement("announcement"), - - @SerialName(value = "system_message") - system_message("system_message"), - - @SerialName(value = "blog_post") - blog_post("blog_post"), - - @SerialName(value = "doorlock_card_used") - doorlock_card_used("doorlock_card_used"), - - @SerialName(value = "cohort_reselection_required") - cohort_reselection_required("cohort_reselection_required"), - - @SerialName(value = "test") - test("test"), + enum class Type(val value: kotlin.String) { + @SerialName(value = "substitution") substitution("substitution"), + @SerialName(value = "substitution_teacher") substitution_teacher("substitution_teacher"), + @SerialName(value = "moved_lesson") moved_lesson("moved_lesson"), + @SerialName(value = "announcement") announcement("announcement"), + @SerialName(value = "system_message") system_message("system_message"), + @SerialName(value = "blog_post") blog_post("blog_post"), + @SerialName(value = "doorlock_card_used") doorlock_card_used("doorlock_card_used"), + @SerialName(value = "cohort_reselection_required") cohort_reselection_required("cohort_reselection_required"), + @SerialName(value = "test") test("test"); + override fun toString(): kotlin.String = value } - /** - * - * * Values: en,hu */ @Serializable - enum class Language( - val value: kotlin.String, - ) { - @SerialName(value = "en") - en("en"), - - @SerialName(value = "hu") - hu("hu"), + enum class Language(val value: kotlin.String) { + @SerialName(value = "en") en("en"), + @SerialName(value = "hu") hu("hu"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt index 7c10863..6c74050 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param email * @param inApp * @param push */ -@Serializable -data class PostNotificationsTestSendRequestChannels( +@Serializable@Serializable + +data class PostNotificationsTestSendRequestChannels ( + @SerialName(value = "email") val email: kotlin.Boolean? = false, + @SerialName(value = "inApp") val inApp: kotlin.Boolean? = false, - @SerialName(value = "push") val push: kotlin.Boolean? = false, -) + + @SerialName(value = "push") val push: kotlin.Boolean? = false + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt index f16e106..97e804d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param can * @param name */ -@Serializable -data class PostRoles201Response( +@Serializable@Serializable + +data class PostRoles201Response ( + @SerialName(value = "can") @Required val can: kotlin.collections.List, - @SerialName(value = "name") @Required val name: kotlin.String, -) + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt index ba43063..a8b6f1e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param name * @param permissions */ -@Serializable -data class PostRolesRequest( +@Serializable@Serializable + +data class PostRolesRequest ( + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "permissions") val permissions: kotlin.collections.List? = arrayListOf(), -) + + @SerialName(value = "permissions") val permissions: kotlin.collections.List? = arrayListOf() + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt index f75602c..101fc1b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param divisionTag * @param selectedGroupId */ -@Serializable -data class PostTimetableGroupsSelect200Response( +@Serializable@Serializable + +data class PostTimetableGroupsSelect200Response ( + @SerialName(value = "divisionTag") @Required val divisionTag: kotlin.String?, - @SerialName(value = "selectedGroupId") @Required val selectedGroupId: kotlin.String?, -) + + @SerialName(value = "selectedGroupId") @Required val selectedGroupId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt index 1df4f10..0ecd8ff 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param groupId */ -@Serializable -data class PostTimetableGroupsSelectRequest( - @SerialName(value = "groupId") @Required val groupId: kotlin.String?, -) +@Serializable@Serializable + +data class PostTimetableGroupsSelectRequest ( + + @SerialName(value = "groupId") @Required val groupId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt index 21a63ba..8750593 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param file * @param name * @param validFrom * @param validTo */ -@Serializable -data class PostTimetableImportRequest( +@Serializable@Serializable + +data class PostTimetableImportRequest ( + @SerialName(value = "file") @Required val file: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "validFrom") @Required val validFrom: kotlin.String, - @SerialName(value = "validTo") val validTo: kotlin.String? = null, -) + + @SerialName(value = "validTo") val validTo: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt index 747a3f7..3cfb556 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt @@ -8,26 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param items * @param total */ -@Serializable -data class PostTimetableLessonsGetForTeachers200Response( +@Serializable@Serializable + +data class PostTimetableLessonsGetForTeachers200Response ( + @SerialName(value = "items") @Required val items: kotlin.collections.List, - @SerialName(value = "total") @Required val total: kotlin.Double?, -) + + @SerialName(value = "total") @Required val total: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt index 7e9ee6f..69f34d0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt @@ -8,27 +8,41 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param lessons * @param teacherId */ -@Serializable -data class PostTimetableLessonsGetForTeachers200ResponseItemsInner( - @SerialName(value = "lessons") @Required val lessons: - kotlin.collections.List, - @SerialName(value = "teacherId") @Required val teacherId: kotlin.String?, -) +@Serializable@Serializable + +data class PostTimetableLessonsGetForTeachers200ResponseItemsInner ( + + @SerialName(value = "lessons") @Required val lessons: kotlin.collections.List, + + @SerialName(value = "teacherId") @Required val teacherId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt index 02b6973..1698352 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt @@ -8,9 +8,17 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model @@ -21,13 +29,12 @@ import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200R import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param classrooms * @param cohorts * @param groups @@ -42,23 +49,38 @@ import kotlinx.serialization.encoding.* * @param weeksDefinitionId * @param day */ -@Serializable -data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner( - @SerialName(value = "classrooms") @Required val classrooms: - kotlin.collections.List, - @SerialName(value = "cohorts") @Required val cohorts: - kotlin.collections.List, - @SerialName(value = "groups") @Required val groups: - kotlin.collections.List, +@Serializable@Serializable + +data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner ( + + @SerialName(value = "classrooms") @Required val classrooms: kotlin.collections.List, + + @SerialName(value = "cohorts") @Required val cohorts: kotlin.collections.List, + + @SerialName(value = "groups") @Required val groups: kotlin.collections.List, + @SerialName(value = "groupsIds") @Required val groupsIds: kotlin.collections.List, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "period") @Required val period: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod?, + @SerialName(value = "periodsPerWeek") @Required val periodsPerWeek: kotlin.Double, + @SerialName(value = "subject") @Required val subject: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject?, - @SerialName(value = "teachers") @Required val teachers: - kotlin.collections.List, + + @SerialName(value = "teachers") @Required val teachers: kotlin.collections.List, + @SerialName(value = "termDefinitionId") @Required val termDefinitionId: kotlin.String?, + @SerialName(value = "weekDefinition") @Required val weekDefinition: GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition?, + @SerialName(value = "weeksDefinitionId") @Required val weeksDefinitionId: kotlin.String, - @SerialName(value = "day") val day: PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay? = null, -) + + @SerialName(value = "day") val day: PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt index b51941d..1e4cb46 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param createdAt * @param days * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable -data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay( +@Serializable@Serializable + +data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay ( + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "days") @Required val days: kotlin.collections.List?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "short") @Required val short: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt index c441796..76495af 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param teacherIds */ -@Serializable -data class PostTimetableLessonsGetForTeachersRequest( - @SerialName(value = "teacherIds") @Required val teacherIds: kotlin.collections.List, -) +@Serializable@Serializable + +data class PostTimetableLessonsGetForTeachersRequest ( + + @SerialName(value = "teacherIds") @Required val teacherIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt index b5648bb..9113410 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt @@ -8,32 +8,45 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param availableLessons * @param parallelLessons * @param substituteCandidates */ -@Serializable -data class PostTimetableLessonsGetSubstitutionCandidates200Response( - @SerialName(value = "availableLessons") @Required val availableLessons: - kotlin.collections.List, - @SerialName(value = "parallelLessons") @Required val parallelLessons: - kotlin.collections.List, - @SerialName(value = "substituteCandidates") @Required val substituteCandidates: - kotlin.collections.List, -) +@Serializable@Serializable + +data class PostTimetableLessonsGetSubstitutionCandidates200Response ( + + @SerialName(value = "availableLessons") @Required val availableLessons: kotlin.collections.List, + + @SerialName(value = "parallelLessons") @Required val parallelLessons: kotlin.collections.List, + + @SerialName(value = "substituteCandidates") @Required val substituteCandidates: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt index 1a8563b..0a62dc4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt @@ -8,28 +8,44 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param hasH1 * @param hasH2 * @param teacher */ -@Serializable -data class PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner( +@Serializable@Serializable + +data class PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner ( + @SerialName(value = "hasH1") @Required val hasH1: kotlin.Boolean, + @SerialName(value = "hasH2") @Required val hasH2: kotlin.Boolean, - @SerialName(value = "teacher") @Required val teacher: GetTimetableTeachersMe200Response?, -) + + @SerialName(value = "teacher") @Required val teacher: GetTimetableTeachersMe200Response? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt index 33fff1e..b9226a6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param date * @param missingTeacherId * @param teacherIds * @param selectedLessonIds */ -@Serializable -data class PostTimetableLessonsGetSubstitutionCandidatesRequest( +@Serializable@Serializable + +data class PostTimetableLessonsGetSubstitutionCandidatesRequest ( + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "missingTeacherId") @Required val missingTeacherId: kotlin.String?, + @SerialName(value = "teacherIds") @Required val teacherIds: kotlin.collections.List, - @SerialName(value = "selectedLessonIds") val selectedLessonIds: kotlin.collections.List? = null, -) + + @SerialName(value = "selectedLessonIds") val selectedLessonIds: kotlin.collections.List? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt index 98e6b60..c56bdea 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param date * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable -data class PostTimetableMovedLessons200Response( +@Serializable@Serializable + +data class PostTimetableMovedLessons200Response ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "date") @Required val date: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "room") @Required val room: kotlin.String?, + @SerialName(value = "startingDay") @Required val startingDay: kotlin.String?, - @SerialName(value = "startingPeriod") @Required val startingPeriod: kotlin.String?, -) + + @SerialName(value = "startingPeriod") @Required val startingPeriod: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt index 1791e17..0b19ea2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param date * @param lessonIds * @param comment @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable -data class PostTimetableMovedLessonsRequest( +@Serializable@Serializable + +data class PostTimetableMovedLessonsRequest ( + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "lessonIds") @Required val lessonIds: kotlin.collections.List, + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "room") val room: kotlin.String? = null, + @SerialName(value = "startingDay") val startingDay: kotlin.String? = null, - @SerialName(value = "startingPeriod") val startingPeriod: kotlin.String? = null, -) + + @SerialName(value = "startingPeriod") val startingPeriod: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt index 4dd3059..643d9fe 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param date * @param id * @param substituter */ -@Serializable -data class PostTimetableSubstitutions200Response( +@Serializable@Serializable + +data class PostTimetableSubstitutions200Response ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "date") @Required val date: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "substituter") @Required val substituter: kotlin.String?, -) + + @SerialName(value = "substituter") @Required val substituter: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt index f053b36..54c8688 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cohortId * @param date * @param periodId @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param teacherId * @param comment */ -@Serializable -data class PostTimetableSubstitutionsManualRequest( +@Serializable@Serializable + +data class PostTimetableSubstitutionsManualRequest ( + @SerialName(value = "cohortId") @Required val cohortId: kotlin.String?, + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "periodId") @Required val periodId: kotlin.String?, + @SerialName(value = "subjectId") @Required val subjectId: kotlin.String?, + @SerialName(value = "substituter") @Required val substituter: kotlin.String?, + @SerialName(value = "teacherId") @Required val teacherId: kotlin.String?, - @SerialName(value = "comment") val comment: kotlin.String? = null, -) + + @SerialName(value = "comment") val comment: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt index 79294c1..731dd32 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param date * @param lessonIds * @param comment * @param substituter */ -@Serializable -data class PostTimetableSubstitutionsRequest( +@Serializable@Serializable + +data class PostTimetableSubstitutionsRequest ( + @SerialName(value = "date") @Required val date: kotlin.String?, + @SerialName(value = "lessonIds") @Required val lessonIds: kotlin.collections.List, + @SerialName(value = "comment") val comment: kotlin.String? = null, - @SerialName(value = "substituter") val substituter: kotlin.String? = null, -) + + @SerialName(value = "substituter") val substituter: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt index 57673c8..f2c6ca3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param affectedUserCount * @param deletedCohortIds * @param deletedTeacherIds */ -@Serializable -data class PostTimetableTimetablesCleanupOrphanedCohorts200Response( +@Serializable@Serializable + +data class PostTimetableTimetablesCleanupOrphanedCohorts200Response ( + @SerialName(value = "affectedUserCount") @Required val affectedUserCount: kotlin.Double?, + @SerialName(value = "deletedCohortIds") @Required val deletedCohortIds: kotlin.collections.List, - @SerialName(value = "deletedTeacherIds") @Required val deletedTeacherIds: kotlin.collections.List, -) + + @SerialName(value = "deletedTeacherIds") @Required val deletedTeacherIds: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt index 2502137..5538463 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param adminNotes * @param banned * @param createdAt @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param wifiUserId */ -@Serializable -data class PostWifiDevices201Response( +@Serializable@Serializable + +data class PostWifiDevices201Response ( + @SerialName(value = "adminNotes") @Required val adminNotes: kotlin.String?, + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, + @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, - @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String?, -) + + @SerialName(value = "wifiUserId") @Required val wifiUserId: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt index 10809e5..529bf4f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param macAddress * @param adminNotes * @param banned * @param nickname * @param wifiUserId */ -@Serializable -data class PostWifiDevicesRequest( +@Serializable@Serializable + +data class PostWifiDevicesRequest ( + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, + @SerialName(value = "adminNotes") val adminNotes: kotlin.String? = null, + @SerialName(value = "banned") val banned: kotlin.Boolean? = null, + @SerialName(value = "nickname") val nickname: kotlin.String? = null, - @SerialName(value = "wifiUserId") val wifiUserId: kotlin.String? = null, -) + + @SerialName(value = "wifiUserId") val wifiUserId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt index 83be6e1..c4d5d3d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param createdAt * @param id @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param macAddress * @param updatedAt */ -@Serializable -data class PostWifiNas201Response( +@Serializable@Serializable + +data class PostWifiNas201Response ( + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "ipAddress") @Required val ipAddress: kotlin.String, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, - @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, -) + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt index bcaec7e..9c475af 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param ipAddress * @param macAddress * @param comment */ -@Serializable -data class PostWifiNasRequest( +@Serializable@Serializable + +data class PostWifiNasRequest ( + @SerialName(value = "ipAddress") @Required val ipAddress: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, - @SerialName(value = "comment") val comment: kotlin.String? = null, -) + + @SerialName(value = "comment") val comment: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt index bc3ad4a..3d0d95e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param cleartextPassword * @param controlCleartextPassword * @param sessionTimeout */ -@Serializable -data class PostWifiRadiusAuthorize200Response( +@Serializable@Serializable + +data class PostWifiRadiusAuthorize200Response ( + @SerialName(value = "Cleartext-Password") @Required val cleartextPassword: kotlin.String?, + @SerialName(value = "control:Cleartext-Password") @Required val controlCleartextPassword: kotlin.String?, - @SerialName(value = "Session-Timeout") @Required val sessionTimeout: kotlin.Int?, -) + + @SerialName(value = "Session-Timeout") @Required val sessionTimeout: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt index 1b8f32f..e38d592 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param source * @param username * @param destination @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param password * @param sharedSecret */ -@Serializable -data class PostWifiRadiusAuthorizeRequest( +@Serializable@Serializable + +data class PostWifiRadiusAuthorizeRequest ( + @SerialName(value = "source") @Required val source: kotlin.String?, + @SerialName(value = "username") @Required val username: kotlin.String?, + @SerialName(value = "destination") val destination: kotlin.String? = null, + @SerialName(value = "IP") val IP: kotlin.String? = null, + @SerialName(value = "NAS") val NAS: kotlin.String? = null, + @SerialName(value = "password") val password: kotlin.String? = null, - @SerialName(value = "sharedSecret") val sharedSecret: kotlin.String? = null, -) + + @SerialName(value = "sharedSecret") val sharedSecret: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt index 293a80a..ab3b2f2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param priority * @param roleName * @param speedProfileId */ -@Serializable -data class PostWifiRoleSpeedProfiles201Response( +@Serializable@Serializable + +data class PostWifiRoleSpeedProfiles201Response ( + @SerialName(value = "priority") @Required val priority: kotlin.Int, + @SerialName(value = "roleName") @Required val roleName: kotlin.String, - @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String, -) + + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt index 51f10f7..8ad2f5b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param roleName * @param speedProfileId * @param priority */ -@Serializable -data class PostWifiRoleSpeedProfilesRequest( +@Serializable@Serializable + +data class PostWifiRoleSpeedProfilesRequest ( + @SerialName(value = "roleName") @Required val roleName: kotlin.String?, + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String?, - @SerialName(value = "priority") val priority: kotlin.Int? = 0, -) + + @SerialName(value = "priority") val priority: kotlin.Int? = 0 + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt index b01b2f3..771dccc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt @@ -8,31 +8,48 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param banned * @param devices * @param speedLimit * @param username */ -@Serializable -data class PostWifiSelf201Response( +@Serializable@Serializable + +data class PostWifiSelf201Response ( + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "devices") @Required val devices: kotlin.collections.List, + @SerialName(value = "speedLimit") @Required val speedLimit: GetWifiSelf200ResponseSpeedLimit, - @SerialName(value = "username") @Required val username: kotlin.String, -) + + @SerialName(value = "username") @Required val username: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt index bad5c68..c128b78 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param banned * @param id * @param lastActiveAt @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param nickname * @param reportedHostname */ -@Serializable -data class PostWifiSelf201ResponseDevicesInner( +@Serializable@Serializable + +data class PostWifiSelf201ResponseDevicesInner ( + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "macAddress") @Required val macAddress: kotlin.String, + @SerialName(value = "nickname") @Required val nickname: kotlin.String?, - @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String?, -) + + @SerialName(value = "reportedHostname") @Required val reportedHostname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt index 3287042..8677219 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param password */ -@Serializable -data class PostWifiSelfRequest( - @SerialName(value = "password") @Required val password: kotlin.String?, -) +@Serializable@Serializable + +data class PostWifiSelfRequest ( + + @SerialName(value = "password") @Required val password: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt index 6c8fa71..ff7ecf5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param downloadSpeedMbps * @param id * @param isWlanDefault * @param name * @param uploadSpeedMbps */ -@Serializable -data class PostWifiSpeedProfiles201Response( +@Serializable@Serializable + +data class PostWifiSpeedProfiles201Response ( + @SerialName(value = "downloadSpeedMbps") @Required val downloadSpeedMbps: kotlin.Int?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "isWlanDefault") @Required val isWlanDefault: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String, - @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int?, -) + + @SerialName(value = "uploadSpeedMbps") @Required val uploadSpeedMbps: kotlin.Int? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt index 64f6d84..78f34ae 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param name * @param downloadSpeedMbps * @param uploadSpeedMbps */ -@Serializable -data class PostWifiSpeedProfilesRequest( +@Serializable@Serializable + +data class PostWifiSpeedProfilesRequest ( + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "downloadSpeedMbps") val downloadSpeedMbps: kotlin.Int? = -1, - @SerialName(value = "uploadSpeedMbps") val uploadSpeedMbps: kotlin.Int? = -1, -) + + @SerialName(value = "uploadSpeedMbps") val uploadSpeedMbps: kotlin.Int? = -1 + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt index 768cfd8..a752d54 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param allowedMacAddresses * @param banned * @param comment @@ -35,18 +42,36 @@ import kotlinx.serialization.encoding.* * @param userId * @param username */ -@Serializable -data class PostWifiUsers201Response( +@Serializable@Serializable + +data class PostWifiUsers201Response ( + @SerialName(value = "allowedMacAddresses") @Required val allowedMacAddresses: kotlin.collections.List?, + @SerialName(value = "banned") @Required val banned: kotlin.Boolean, + @SerialName(value = "comment") @Required val comment: kotlin.String?, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "createdBy") @Required val createdBy: kotlin.String?, + @SerialName(value = "creatorName") @Required val creatorName: kotlin.String?, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "lastActiveAt") @Required val lastActiveAt: kotlin.String?, + @SerialName(value = "speedProfileId") @Required val speedProfileId: kotlin.String?, + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String, + @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "username") @Required val username: kotlin.String, -) + + @SerialName(value = "username") @Required val username: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt index 2fe989f..c84beaa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param password * @param username * @param allowedMacAddresses @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param speedProfileId * @param userId */ -@Serializable -data class PostWifiUsersRequest( +@Serializable@Serializable + +data class PostWifiUsersRequest ( + @SerialName(value = "password") @Required val password: kotlin.String?, + @SerialName(value = "username") @Required val username: kotlin.String?, + @SerialName(value = "allowedMacAddresses") val allowedMacAddresses: kotlin.collections.List? = null, + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "speedProfileId") val speedProfileId: kotlin.String? = null, - @SerialName(value = "userId") val userId: kotlin.String? = null, -) + + @SerialName(value = "userId") val userId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt index bb4aa6e..af02e22 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param name * @param userId * @param authorizedDeviceIds * @param enabled * @param frozen */ -@Serializable -data class PutDoorlockCardsByIdRequest( +@Serializable@Serializable + +data class PutDoorlockCardsByIdRequest ( + @SerialName(value = "name") @Required val name: kotlin.String?, + @SerialName(value = "userId") @Required val userId: kotlin.String?, + @SerialName(value = "authorizedDeviceIds") val authorizedDeviceIds: kotlin.collections.List? = null, + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = true, - @SerialName(value = "frozen") val frozen: kotlin.Boolean? = false, -) + + @SerialName(value = "frozen") val frozen: kotlin.Boolean? = false + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt index 0eea39e..9455a4b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param apiToken * @param name * @param lastResetReason * @param location */ -@Serializable -data class PutDoorlockDevicesByIdRequest( +@Serializable@Serializable + +data class PutDoorlockDevicesByIdRequest ( + @SerialName(value = "apiToken") @Required val apiToken: kotlin.String, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "lastResetReason") val lastResetReason: kotlin.String? = null, - @SerialName(value = "location") val location: kotlin.String? = null, -) + + @SerialName(value = "location") val location: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt index 88ac129..02a2cc6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param frozen */ -@Serializable -data class PutDoorlockSelfCardsByIdFrozenRequest( - @SerialName(value = "frozen") @Required val frozen: kotlin.Boolean, -) +@Serializable@Serializable + +data class PutDoorlockSelfCardsByIdFrozenRequest ( + + @SerialName(value = "frozen") @Required val frozen: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt index 25794a8..60aec39 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt @@ -8,46 +8,56 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.PostKioskRequestConfig + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param config * @param enabled * @param kind * @param name */ -@Serializable -data class PutKioskByIdRequest( +@Serializable@Serializable + +data class PutKioskByIdRequest ( + @SerialName(value = "config") val config: PostKioskRequestConfig? = null, + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = null, + @SerialName(value = "kind") val kind: PutKioskByIdRequest.Kind? = null, - @SerialName(value = "name") val name: kotlin.String? = null, + + @SerialName(value = "name") val name: kotlin.String? = null + ) { + /** - * - * * Values: tv,navigator */ @Serializable - enum class Kind( - val value: kotlin.String, - ) { - @SerialName(value = "tv") - tv("tv"), - - @SerialName(value = "navigator") - navigator("navigator"), + enum class Kind(val value: kotlin.String) { + @SerialName(value = "tv") tv("tv"), + @SerialName(value = "navigator") navigator("navigator"); + override fun toString(): kotlin.String = value } + } + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt index afdcf10..71400c6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param description * @param name * @param x * @param y */ -@Serializable -data class PutNavigatorBuildingsByIdRequest( +@Serializable@Serializable + +data class PutNavigatorBuildingsByIdRequest ( + @SerialName(value = "description") val description: kotlin.String? = null, + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "x") val x: kotlin.Double? = null, - @SerialName(value = "y") val y: kotlin.Double? = null, -) + + @SerialName(value = "y") val y: kotlin.Double? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt index 06d67ab..e6d30f5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt @@ -8,25 +8,40 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param colorhex * @param name */ -@Serializable -data class PutNavigatorClassroomTypesByIdRequest( +@Serializable@Serializable + +data class PutNavigatorClassroomTypesByIdRequest ( + @SerialName(value = "colorhex") val colorhex: kotlin.String? = null, - @SerialName(value = "name") val name: kotlin.String? = null, -) + + @SerialName(value = "name") val name: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt index 2aee7b5..004f6e8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param capacity * @param description @@ -38,21 +45,42 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PutNavigatorClassroomsById200Response( +@Serializable@Serializable + +data class PutNavigatorClassroomsById200Response ( + @SerialName(value = "building_id") @Required val buildingId: kotlin.String, + @SerialName(value = "capacity") @Required val capacity: kotlin.Int?, + @SerialName(value = "description") @Required val description: kotlin.String, + @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "mapped") @Required val mapped: kotlin.Boolean, + @SerialName(value = "name") @Required val name: kotlin.String, + @SerialName(value = "rotation") @Required val rotation: kotlin.Double, + @SerialName(value = "short") @Required val short: kotlin.String, + @SerialName(value = "size_x") @Required val sizeX: kotlin.Double, + @SerialName(value = "size_y") @Required val sizeY: kotlin.Double, + @SerialName(value = "size_z") @Required val sizeZ: kotlin.Double, + @SerialName(value = "storey") @Required val storey: kotlin.Int, + @SerialName(value = "type_id") @Required val typeId: kotlin.String?, + @SerialName(value = "x") @Required val x: kotlin.Double, - @SerialName(value = "y") @Required val y: kotlin.Double, -) + + @SerialName(value = "y") @Required val y: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt index d78e4e9..741a479 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param capacity * @param description @@ -36,19 +43,38 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PutNavigatorClassroomsByIdRequest( +@Serializable@Serializable + +data class PutNavigatorClassroomsByIdRequest ( + @SerialName(value = "building_id") val buildingId: kotlin.String? = null, + @SerialName(value = "capacity") val capacity: kotlin.Int? = null, + @SerialName(value = "description") val description: kotlin.String? = null, + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "rotation") val rotation: kotlin.Double? = null, + @SerialName(value = "short") val short: kotlin.String? = null, + @SerialName(value = "size_x") val sizeX: kotlin.Double? = null, + @SerialName(value = "size_y") val sizeY: kotlin.Double? = null, + @SerialName(value = "size_z") val sizeZ: kotlin.Double? = null, + @SerialName(value = "storey") val storey: kotlin.Int? = null, + @SerialName(value = "type_id") val typeId: kotlin.String? = null, + @SerialName(value = "x") val x: kotlin.Double? = null, - @SerialName(value = "y") val y: kotlin.Double? = null, -) + + @SerialName(value = "y") val y: kotlin.Double? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt index e660914..a480434 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param barrierFree * @param buildingId * @param isOutdoor @@ -33,16 +40,32 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable -data class PutNavigatorCorridorsByIdRequest( +@Serializable@Serializable + +data class PutNavigatorCorridorsByIdRequest ( + @SerialName(value = "barrier_free") val barrierFree: kotlin.Boolean? = null, + @SerialName(value = "building_id") val buildingId: kotlin.String? = null, + @SerialName(value = "is_outdoor") val isOutdoor: kotlin.Boolean? = null, + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "storey") val storey: kotlin.Int? = null, + @SerialName(value = "width") val width: kotlin.Double? = null, + @SerialName(value = "x1") val x1: kotlin.Double? = null, + @SerialName(value = "x2") val x2: kotlin.Double? = null, + @SerialName(value = "y1") val y1: kotlin.Double? = null, - @SerialName(value = "y2") val y2: kotlin.Double? = null, -) + + @SerialName(value = "y2") val y2: kotlin.Double? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt index b137739..84103da 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param maxStorey * @param minStorey @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PutNavigatorLiftsByIdRequest( +@Serializable@Serializable + +data class PutNavigatorLiftsByIdRequest ( + @SerialName(value = "building_id") val buildingId: kotlin.String? = null, + @SerialName(value = "max_storey") val maxStorey: kotlin.Int? = null, + @SerialName(value = "min_storey") val minStorey: kotlin.Int? = null, + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "x") val x: kotlin.Double? = null, - @SerialName(value = "y") val y: kotlin.Double? = null, -) + + @SerialName(value = "y") val y: kotlin.Double? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt index 2b17cd2..36ad528 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param buildingId * @param maxStorey * @param minStorey @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable -data class PutNavigatorStairsByIdRequest( +@Serializable@Serializable + +data class PutNavigatorStairsByIdRequest ( + @SerialName(value = "building_id") val buildingId: kotlin.String? = null, + @SerialName(value = "max_storey") val maxStorey: kotlin.Int? = null, + @SerialName(value = "min_storey") val minStorey: kotlin.Int? = null, + @SerialName(value = "name") val name: kotlin.String? = null, + @SerialName(value = "rotation") val rotation: kotlin.Double? = null, + @SerialName(value = "x") val x: kotlin.Double? = null, - @SerialName(value = "y") val y: kotlin.Double? = null, -) + + @SerialName(value = "y") val y: kotlin.Double? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt index 3ae990d..4b35c2c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param text */ -@Serializable -data class PutNavigatorTranslationsByLangByKeyRequest( - @SerialName(value = "text") @Required val text: kotlin.String?, -) +@Serializable@Serializable + +data class PutNavigatorTranslationsByLangByKeyRequest ( + + @SerialName(value = "text") @Required val text: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt index 0699cea..ae01f47 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param date * @param lessonIds @@ -29,12 +36,24 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable -data class PutTimetableMovedLessonsByIdRequest( +@Serializable@Serializable + +data class PutTimetableMovedLessonsByIdRequest ( + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "date") val date: kotlin.String? = null, + @SerialName(value = "lessonIds") val lessonIds: kotlin.collections.List? = null, + @SerialName(value = "room") val room: kotlin.String? = null, + @SerialName(value = "startingDay") val startingDay: kotlin.String? = null, - @SerialName(value = "startingPeriod") val startingPeriod: kotlin.String? = null, -) + + @SerialName(value = "startingPeriod") val startingPeriod: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt index 8aeb3d9..2d9eb47 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt @@ -8,29 +8,46 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param lessonIds * @param comment * @param date * @param substituter */ -@Serializable -data class PutTimetableSubstitutionsByIdRequest( +@Serializable@Serializable + +data class PutTimetableSubstitutionsByIdRequest ( + @SerialName(value = "lessonIds") @Required val lessonIds: kotlin.collections.List?, + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "date") val date: kotlin.String? = null, - @SerialName(value = "substituter") val substituter: kotlin.String? = null, -) + + @SerialName(value = "substituter") val substituter: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt index 8dede6c..b2492ee 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt @@ -8,31 +8,49 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param adminNotes * @param banned * @param macAddress * @param nickname * @param wifiUserId */ -@Serializable -data class PutWifiDevicesByIdRequest( +@Serializable@Serializable + +data class PutWifiDevicesByIdRequest ( + @SerialName(value = "adminNotes") val adminNotes: kotlin.String? = null, + @SerialName(value = "banned") val banned: kotlin.Boolean? = null, + @SerialName(value = "macAddress") val macAddress: kotlin.String? = null, + @SerialName(value = "nickname") val nickname: kotlin.String? = null, - @SerialName(value = "wifiUserId") val wifiUserId: kotlin.String? = null, -) + + @SerialName(value = "wifiUserId") val wifiUserId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt index ea812b1..5f08b20 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param comment * @param ipAddress * @param macAddress */ -@Serializable -data class PutWifiNasByIdRequest( +@Serializable@Serializable + +data class PutWifiNasByIdRequest ( + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "ipAddress") val ipAddress: kotlin.String? = null, - @SerialName(value = "macAddress") val macAddress: kotlin.String? = null, -) + + @SerialName(value = "macAddress") val macAddress: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt index af99e70..bc80344 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param priority * @param roleName * @param speedProfileId */ -@Serializable -data class PutWifiRoleSpeedProfilesByIdRequest( +@Serializable@Serializable + +data class PutWifiRoleSpeedProfilesByIdRequest ( + @SerialName(value = "priority") val priority: kotlin.Int? = 0, + @SerialName(value = "roleName") val roleName: kotlin.String? = null, - @SerialName(value = "speedProfileId") val speedProfileId: kotlin.String? = null, -) + + @SerialName(value = "speedProfileId") val speedProfileId: kotlin.String? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt index 45ebeb7..610356a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param nickname */ -@Serializable -data class PutWifiSelfDevicesByIdRequest( - @SerialName(value = "nickname") @Required val nickname: kotlin.String?, -) +@Serializable@Serializable + +data class PutWifiSelfDevicesByIdRequest ( + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt index ff22c65..0711277 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param success */ -@Serializable -data class PutWifiSelfPassword200Response( - @SerialName(value = "success") @Required val success: kotlin.Boolean, -) +@Serializable@Serializable + +data class PutWifiSelfPassword200Response ( + + @SerialName(value = "success") @Required val success: kotlin.Boolean + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt index 89f3ce7..f6acd80 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt @@ -8,23 +8,37 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param newPassword */ -@Serializable -data class PutWifiSelfPasswordRequest( - @SerialName(value = "newPassword") @Required val newPassword: kotlin.String, -) +@Serializable@Serializable + +data class PutWifiSelfPasswordRequest ( + + @SerialName(value = "newPassword") @Required val newPassword: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt index 6dcf3f5..6959f16 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt @@ -8,27 +8,43 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param downloadSpeedMbps * @param name * @param uploadSpeedMbps */ -@Serializable -data class PutWifiSpeedProfilesByIdRequest( +@Serializable@Serializable + +data class PutWifiSpeedProfilesByIdRequest ( + @SerialName(value = "downloadSpeedMbps") val downloadSpeedMbps: kotlin.Int? = -1, + @SerialName(value = "name") val name: kotlin.String? = null, - @SerialName(value = "uploadSpeedMbps") val uploadSpeedMbps: kotlin.Int? = -1, -) + + @SerialName(value = "uploadSpeedMbps") val uploadSpeedMbps: kotlin.Int? = -1 + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt index 5083011..45778bf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt @@ -8,20 +8,27 @@ @file:Suppress( "ArrayInDataClass", + "DuplicatedCode", "EnumEntryName", "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", "UnusedImport", + "UnnecessaryVariable", + "unused" ) package hu.petrik.filcapp.api.model + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** - * - * * @param allowedMacAddresses * @param comment * @param password @@ -30,13 +37,26 @@ import kotlinx.serialization.encoding.* * @param username * @param banned */ -@Serializable -data class PutWifiUsersByIdRequest( +@Serializable@Serializable + +data class PutWifiUsersByIdRequest ( + @SerialName(value = "allowedMacAddresses") val allowedMacAddresses: kotlin.collections.List? = null, + @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "password") val password: kotlin.String? = null, + @SerialName(value = "speedProfileId") val speedProfileId: kotlin.String? = null, + @SerialName(value = "userId") val userId: kotlin.String? = null, + @SerialName(value = "username") val username: kotlin.String? = null, - @SerialName(value = "banned") val banned: kotlin.Boolean? = null, -) + + @SerialName(value = "banned") val banned: kotlin.Boolean? = null + +) { + + +} + diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt new file mode 100644 index 0000000..859d162 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.APIKeysApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest + +class APIKeysApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of APIKeysApi + //val apiInstance = APIKeysApi() + + // to test deleteAdminApiKeysByKeyId + should("test deleteAdminApiKeysByKeyId") { + // uncomment below to test deleteAdminApiKeysByKeyId + //val keyId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteAdminApiKeysByKeyId(keyId) + //result shouldBe ("TODO") + } + + // to test getAdminApiKeys + should("test getAdminApiKeys") { + // uncomment below to test getAdminApiKeys + //val limit : kotlin.Double = 8.14 // kotlin.Double | + //val offset : kotlin.Double = 8.14 // kotlin.Double | + //val ownerId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val search : kotlin.String = search_example // kotlin.String | + //val result : GetAdminApiKeys200Response = apiInstance.getAdminApiKeys(limit, offset, ownerId, search) + //result shouldBe ("TODO") + } + + // to test patchAdminApiKeysByKeyId + should("test patchAdminApiKeysByKeyId") { + // uncomment below to test patchAdminApiKeysByKeyId + //val keyId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchAdminApiKeysByKeyIdRequest : PatchAdminApiKeysByKeyIdRequest = // PatchAdminApiKeysByKeyIdRequest | + //val result : PatchAdminApiKeysByKeyId200Response = apiInstance.patchAdminApiKeysByKeyId(keyId, patchAdminApiKeysByKeyIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt new file mode 100644 index 0000000..7c22057 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.BugReportsApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetBugReport200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest +import hu.petrik.filcapp.api.model.PostBugReport201Response +import hu.petrik.filcapp.api.model.PostBugReportRequest + +class BugReportsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of BugReportsApi + //val apiInstance = BugReportsApi() + + // to test deleteBugReportById + should("test deleteBugReportById") { + // uncomment below to test deleteBugReportById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteBugReportById(id) + //result shouldBe ("TODO") + } + + // to test getBugReport + should("test getBugReport") { + // uncomment below to test getBugReport + //val dateFrom : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val dateTo : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val limit : kotlin.Int = 56 // kotlin.Int | + //val page : kotlin.Int = 56 // kotlin.Int | + //val search : kotlin.String = search_example // kotlin.String | + //val status : kotlin.String = status_example // kotlin.String | + //val result : GetBugReport200Response = apiInstance.getBugReport(dateFrom, dateTo, limit, page, search, status) + //result shouldBe ("TODO") + } + + // to test patchBugReportByIdStatus + should("test patchBugReportByIdStatus") { + // uncomment below to test patchBugReportByIdStatus + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchBugReportByIdStatusRequest : PatchBugReportByIdStatusRequest = // PatchBugReportByIdStatusRequest | + //val result : PatchBugReportByIdStatus200Response = apiInstance.patchBugReportByIdStatus(id, patchBugReportByIdStatusRequest) + //result shouldBe ("TODO") + } + + // to test postBugReport + should("test postBugReport") { + // uncomment below to test postBugReport + //val postBugReportRequest : PostBugReportRequest = // PostBugReportRequest | + //val result : PostBugReport201Response = apiInstance.postBugReport(postBugReportRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt new file mode 100644 index 0000000..9bfd90e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.ClassroomApi +import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class ClassroomApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassroomApi + //val apiInstance = ClassroomApi() + + // to test getTimetableClassroomsGetAll + should("test getTimetableClassroomsGetAll") { + // uncomment below to test getTimetableClassroomsGetAll + //val result : GetNavigatorClassrooms200Response = apiInstance.getTimetableClassroomsGetAll() + //result shouldBe ("TODO") + } + + // to test getTimetableClassroomsGetAvailable + should("test getTimetableClassroomsGetAvailable") { + // uncomment below to test getTimetableClassroomsGetAvailable + //val date : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val startingDay : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val startingPeriod : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetNavigatorClassrooms200Response = apiInstance.getTimetableClassroomsGetAvailable(date, startingDay, startingPeriod, timetableId) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt new file mode 100644 index 0000000..f754b57 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.CohortApi +import hu.petrik.filcapp.api.model.GetCohort200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class CohortApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of CohortApi + //val apiInstance = CohortApi() + + // to test getCohort + should("test getCohort") { + // uncomment below to test getCohort + //val result : GetCohort200Response = apiInstance.getCohort() + //result shouldBe ("TODO") + } + + // to test getTimetableCohortsGetAllForTimetableByTimetableId + should("test getTimetableCohortsGetAllForTimetableByTimetableId") { + // uncomment below to test getTimetableCohortsGetAllForTimetableByTimetableId + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetCohort200Response = apiInstance.getTimetableCohortsGetAllForTimetableByTimetableId(timetableId) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt new file mode 100644 index 0000000..40f96d0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.DashboardApi +import hu.petrik.filcapp.api.model.GetDashboardStats200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class DashboardApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of DashboardApi + //val apiInstance = DashboardApi() + + // to test getDashboardStats + should("test getDashboardStats") { + // uncomment below to test getDashboardStats + //val days : kotlin.Int = 56 // kotlin.Int | + //val result : GetDashboardStats200Response = apiInstance.getDashboardStats(days) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt new file mode 100644 index 0000000..64885dd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt @@ -0,0 +1,215 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.DoorlockApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetDoorlockCards200Response +import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200Response +import hu.petrik.filcapp.api.model.GetDoorlockDevices200Response +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200Response +import hu.petrik.filcapp.api.model.GetDoorlockLogs200Response +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostDoorlockCards201Response +import hu.petrik.filcapp.api.model.PostDoorlockCardsRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevices201Response +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdateRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevicesRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevicesUpdate200Response +import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivate200Response +import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivateRequest +import hu.petrik.filcapp.api.model.PutDoorlockCardsByIdRequest +import hu.petrik.filcapp.api.model.PutDoorlockDevicesByIdRequest +import hu.petrik.filcapp.api.model.PutDoorlockSelfCardsByIdFrozenRequest + +class DoorlockApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of DoorlockApi + //val apiInstance = DoorlockApi() + + // to test deleteDoorlockCardsById + should("test deleteDoorlockCardsById") { + // uncomment below to test deleteDoorlockCardsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteDoorlockCardsById(id) + //result shouldBe ("TODO") + } + + // to test deleteDoorlockDevicesById + should("test deleteDoorlockDevicesById") { + // uncomment below to test deleteDoorlockDevicesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteDoorlockDevicesById(id) + //result shouldBe ("TODO") + } + + // to test getDoorlockCards + should("test getDoorlockCards") { + // uncomment below to test getDoorlockCards + //val result : GetDoorlockCards200Response = apiInstance.getDoorlockCards() + //result shouldBe ("TODO") + } + + // to test getDoorlockCardsUsers + should("test getDoorlockCardsUsers") { + // uncomment below to test getDoorlockCardsUsers + //val result : GetDoorlockCardsUsers200Response = apiInstance.getDoorlockCardsUsers() + //result shouldBe ("TODO") + } + + // to test getDoorlockDevices + should("test getDoorlockDevices") { + // uncomment below to test getDoorlockDevices + //val result : GetDoorlockDevices200Response = apiInstance.getDoorlockDevices() + //result shouldBe ("TODO") + } + + // to test getDoorlockDevicesByIdStats + should("test getDoorlockDevicesByIdStats") { + // uncomment below to test getDoorlockDevicesByIdStats + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetDoorlockDevicesByIdStats200Response = apiInstance.getDoorlockDevicesByIdStats(id) + //result shouldBe ("TODO") + } + + // to test getDoorlockLogs + should("test getDoorlockLogs") { + // uncomment below to test getDoorlockLogs + //val cardId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val deviceId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val from : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val granted : kotlin.String = granted_example // kotlin.String | + //val limit : kotlin.Int = 56 // kotlin.Int | + //val search : kotlin.String = search_example // kotlin.String | + //val to : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val userId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetDoorlockLogs200Response = apiInstance.getDoorlockLogs(cardId, deviceId, from, granted, limit, search, to, userId) + //result shouldBe ("TODO") + } + + // to test getDoorlockLogsExport + should("test getDoorlockLogsExport") { + // uncomment below to test getDoorlockLogsExport + //val cardId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val deviceId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val from : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val granted : kotlin.String = granted_example // kotlin.String | + //val search : kotlin.String = search_example // kotlin.String | + //val to : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | + //val userId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : kotlin.String = apiInstance.getDoorlockLogsExport(cardId, deviceId, from, granted, search, to, userId) + //result shouldBe ("TODO") + } + + // to test getDoorlockSelfCards + should("test getDoorlockSelfCards") { + // uncomment below to test getDoorlockSelfCards + //val result : GetDoorlockCards200Response = apiInstance.getDoorlockSelfCards() + //result shouldBe ("TODO") + } + + // to test getDoorlockStatsOverview + should("test getDoorlockStatsOverview") { + // uncomment below to test getDoorlockStatsOverview + //val result : GetDoorlockStatsOverview200Response = apiInstance.getDoorlockStatsOverview() + //result shouldBe ("TODO") + } + + // to test postDoorlockCards + should("test postDoorlockCards") { + // uncomment below to test postDoorlockCards + //val postDoorlockCardsRequest : PostDoorlockCardsRequest = // PostDoorlockCardsRequest | + //val result : PostDoorlockCards201Response = apiInstance.postDoorlockCards(postDoorlockCardsRequest) + //result shouldBe ("TODO") + } + + // to test postDoorlockDevices + should("test postDoorlockDevices") { + // uncomment below to test postDoorlockDevices + //val postDoorlockDevicesRequest : PostDoorlockDevicesRequest = // PostDoorlockDevicesRequest | + //val result : PostDoorlockDevices201Response = apiInstance.postDoorlockDevices(postDoorlockDevicesRequest) + //result shouldBe ("TODO") + } + + // to test postDoorlockDevicesByIdUpdate + should("test postDoorlockDevicesByIdUpdate") { + // uncomment below to test postDoorlockDevicesByIdUpdate + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val postDoorlockDevicesByIdUpdateRequest : PostDoorlockDevicesByIdUpdateRequest = // PostDoorlockDevicesByIdUpdateRequest | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postDoorlockDevicesByIdUpdate(id, postDoorlockDevicesByIdUpdateRequest) + //result shouldBe ("TODO") + } + + // to test postDoorlockDevicesUpdate + should("test postDoorlockDevicesUpdate") { + // uncomment below to test postDoorlockDevicesUpdate + //val postDoorlockDevicesByIdUpdateRequest : PostDoorlockDevicesByIdUpdateRequest = // PostDoorlockDevicesByIdUpdateRequest | + //val result : PostDoorlockDevicesUpdate200Response = apiInstance.postDoorlockDevicesUpdate(postDoorlockDevicesByIdUpdateRequest) + //result shouldBe ("TODO") + } + + // to test postDoorlockSelfCardsByIdActivate + should("test postDoorlockSelfCardsByIdActivate") { + // uncomment below to test postDoorlockSelfCardsByIdActivate + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val postDoorlockSelfCardsByIdActivateRequest : PostDoorlockSelfCardsByIdActivateRequest = // PostDoorlockSelfCardsByIdActivateRequest | + //val result : PostDoorlockSelfCardsByIdActivate200Response = apiInstance.postDoorlockSelfCardsByIdActivate(id, postDoorlockSelfCardsByIdActivateRequest) + //result shouldBe ("TODO") + } + + // to test putDoorlockCardsById + should("test putDoorlockCardsById") { + // uncomment below to test putDoorlockCardsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putDoorlockCardsByIdRequest : PutDoorlockCardsByIdRequest = // PutDoorlockCardsByIdRequest | + //val result : PostDoorlockCards201Response = apiInstance.putDoorlockCardsById(id, putDoorlockCardsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putDoorlockDevicesById + should("test putDoorlockDevicesById") { + // uncomment below to test putDoorlockDevicesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putDoorlockDevicesByIdRequest : PutDoorlockDevicesByIdRequest = // PutDoorlockDevicesByIdRequest | + //val result : PostDoorlockDevices201Response = apiInstance.putDoorlockDevicesById(id, putDoorlockDevicesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putDoorlockSelfCardsByIdFrozen + should("test putDoorlockSelfCardsByIdFrozen") { + // uncomment below to test putDoorlockSelfCardsByIdFrozen + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putDoorlockSelfCardsByIdFrozenRequest : PutDoorlockSelfCardsByIdFrozenRequest = // PutDoorlockSelfCardsByIdFrozenRequest | + //val result : PostDoorlockCards201Response = apiInstance.putDoorlockSelfCardsByIdFrozen(id, putDoorlockSelfCardsByIdFrozenRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt new file mode 100644 index 0000000..c844007 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.GroupApi +import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response +import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest + +class GroupApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of GroupApi + //val apiInstance = GroupApi() + + // to test getTimetableGroupsGetForCohortByCohortId + should("test getTimetableGroupsGetForCohortByCohortId") { + // uncomment below to test getTimetableGroupsGetForCohortByCohortId + //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableGroupsGetForCohortByCohortId200Response = apiInstance.getTimetableGroupsGetForCohortByCohortId(cohortId) + //result shouldBe ("TODO") + } + + // to test postTimetableGroupsSelect + should("test postTimetableGroupsSelect") { + // uncomment below to test postTimetableGroupsSelect + //val postTimetableGroupsSelectRequest : PostTimetableGroupsSelectRequest = // PostTimetableGroupsSelectRequest | + //val result : PostTimetableGroupsSelect200Response = apiInstance.postTimetableGroupsSelect(postTimetableGroupsSelectRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt new file mode 100644 index 0000000..666365c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt @@ -0,0 +1,46 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.HealthApi +import hu.petrik.filcapp.api.model.GetHealth200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class HealthApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of HealthApi + //val apiInstance = HealthApi() + + // to test getHealth + should("test getHealth") { + // uncomment below to test getHealth + //val result : GetHealth200Response = apiInstance.getHealth() + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt new file mode 100644 index 0000000..665b732 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.ImportApi +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response +import hu.petrik.filcapp.api.model.PostTimetableImportRequest + +class ImportApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImportApi + //val apiInstance = ImportApi() + + // to test postTimetableImport + should("test postTimetableImport") { + // uncomment below to test postTimetableImport + //val postTimetableImportRequest : PostTimetableImportRequest = // PostTimetableImportRequest | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postTimetableImport(postTimetableImportRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt new file mode 100644 index 0000000..19a4155 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt @@ -0,0 +1,129 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.KioskApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetKiosk200Response +import hu.petrik.filcapp.api.model.GetKioskNews200Response +import hu.petrik.filcapp.api.model.GetKioskPetrikNews200Response +import hu.petrik.filcapp.api.model.GetKioskWeather200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostKiosk201Response +import hu.petrik.filcapp.api.model.PostKioskDepartures200Response +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequest +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200Response +import hu.petrik.filcapp.api.model.PostKioskHeartbeatRequest +import hu.petrik.filcapp.api.model.PostKioskRequest +import hu.petrik.filcapp.api.model.PutKioskByIdRequest + +class KioskApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of KioskApi + //val apiInstance = KioskApi() + + // to test deleteKioskById + should("test deleteKioskById") { + // uncomment below to test deleteKioskById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteKioskById(id) + //result shouldBe ("TODO") + } + + // to test getKiosk + should("test getKiosk") { + // uncomment below to test getKiosk + //val result : GetKiosk200Response = apiInstance.getKiosk() + //result shouldBe ("TODO") + } + + // to test getKioskNews + should("test getKioskNews") { + // uncomment below to test getKioskNews + //val result : GetKioskNews200Response = apiInstance.getKioskNews() + //result shouldBe ("TODO") + } + + // to test getKioskNewsByIdImage + should("test getKioskNewsByIdImage") { + // uncomment below to test getKioskNewsByIdImage + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : kotlin.String = apiInstance.getKioskNewsByIdImage(id) + //result shouldBe ("TODO") + } + + // to test getKioskPetrikNews + should("test getKioskPetrikNews") { + // uncomment below to test getKioskPetrikNews + //val machine : kotlin.String = machine_example // kotlin.String | + //val result : GetKioskPetrikNews200Response = apiInstance.getKioskPetrikNews(machine) + //result shouldBe ("TODO") + } + + // to test getKioskWeather + should("test getKioskWeather") { + // uncomment below to test getKioskWeather + //val result : GetKioskWeather200Response = apiInstance.getKioskWeather() + //result shouldBe ("TODO") + } + + // to test postKiosk + should("test postKiosk") { + // uncomment below to test postKiosk + //val postKioskRequest : PostKioskRequest = // PostKioskRequest | + //val result : PostKiosk201Response = apiInstance.postKiosk(postKioskRequest) + //result shouldBe ("TODO") + } + + // to test postKioskDepartures + should("test postKioskDepartures") { + // uncomment below to test postKioskDepartures + //val postKioskDeparturesRequest : PostKioskDeparturesRequest = // PostKioskDeparturesRequest | + //val result : PostKioskDepartures200Response = apiInstance.postKioskDepartures(postKioskDeparturesRequest) + //result shouldBe ("TODO") + } + + // to test postKioskHeartbeat + should("test postKioskHeartbeat") { + // uncomment below to test postKioskHeartbeat + //val postKioskHeartbeatRequest : PostKioskHeartbeatRequest = // PostKioskHeartbeatRequest | + //val result : PostKioskHeartbeat200Response = apiInstance.postKioskHeartbeat(postKioskHeartbeatRequest) + //result shouldBe ("TODO") + } + + // to test putKioskById + should("test putKioskById") { + // uncomment below to test putKioskById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putKioskByIdRequest : PutKioskByIdRequest = // PutKioskByIdRequest | + //val result : PostKiosk201Response = apiInstance.putKioskById(id, putKioskByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt new file mode 100644 index 0000000..8be2fb3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt @@ -0,0 +1,95 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.LessonApi +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidatesRequest + +class LessonApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of LessonApi + //val apiInstance = LessonApi() + + // to test getTimetableLessonsGetForCohortByCohortId + should("test getTimetableLessonsGetForCohortByCohortId") { + // uncomment below to test getTimetableLessonsGetForCohortByCohortId + //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForCohortByCohortId(cohortId, timetableId) + //result shouldBe ("TODO") + } + + // to test getTimetableLessonsGetForIdByLessonId + should("test getTimetableLessonsGetForIdByLessonId") { + // uncomment below to test getTimetableLessonsGetForIdByLessonId + //val lessonId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableLessonsGetForIdByLessonId200Response = apiInstance.getTimetableLessonsGetForIdByLessonId(lessonId) + //result shouldBe ("TODO") + } + + // to test getTimetableLessonsGetForRoomByClassroomId + should("test getTimetableLessonsGetForRoomByClassroomId") { + // uncomment below to test getTimetableLessonsGetForRoomByClassroomId + //val classroomId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForRoomByClassroomId(classroomId, timetableId) + //result shouldBe ("TODO") + } + + // to test getTimetableLessonsGetForTeacherByTeacherId + should("test getTimetableLessonsGetForTeacherByTeacherId") { + // uncomment below to test getTimetableLessonsGetForTeacherByTeacherId + //val teacherId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForTeacherByTeacherId(teacherId, timetableId) + //result shouldBe ("TODO") + } + + // to test postTimetableLessonsGetForTeachers + should("test postTimetableLessonsGetForTeachers") { + // uncomment below to test postTimetableLessonsGetForTeachers + //val postTimetableLessonsGetForTeachersRequest : PostTimetableLessonsGetForTeachersRequest = // PostTimetableLessonsGetForTeachersRequest | + //val result : PostTimetableLessonsGetForTeachers200Response = apiInstance.postTimetableLessonsGetForTeachers(postTimetableLessonsGetForTeachersRequest) + //result shouldBe ("TODO") + } + + // to test postTimetableLessonsGetSubstitutionCandidates + should("test postTimetableLessonsGetSubstitutionCandidates") { + // uncomment below to test postTimetableLessonsGetSubstitutionCandidates + //val postTimetableLessonsGetSubstitutionCandidatesRequest : PostTimetableLessonsGetSubstitutionCandidatesRequest = // PostTimetableLessonsGetSubstitutionCandidatesRequest | + //val result : PostTimetableLessonsGetSubstitutionCandidates200Response = apiInstance.postTimetableLessonsGetSubstitutionCandidates(postTimetableLessonsGetSubstitutionCandidatesRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt new file mode 100644 index 0000000..7402105 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.MovedLessonApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response +import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest +import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest + +class MovedLessonApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of MovedLessonApi + //val apiInstance = MovedLessonApi() + + // to test deleteTimetableMovedLessonsById + should("test deleteTimetableMovedLessonsById") { + // uncomment below to test deleteTimetableMovedLessonsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableMovedLessonsById(id) + //result shouldBe ("TODO") + } + + // to test getTimetableMovedLessons + should("test getTimetableMovedLessons") { + // uncomment below to test getTimetableMovedLessons + //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessons() + //result shouldBe ("TODO") + } + + // to test getTimetableMovedLessonsCohortByCohortId + should("test getTimetableMovedLessonsCohortByCohortId") { + // uncomment below to test getTimetableMovedLessonsCohortByCohortId + //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsCohortByCohortId(cohortId) + //result shouldBe ("TODO") + } + + // to test getTimetableMovedLessonsCohortByCohortIdRelevant + should("test getTimetableMovedLessonsCohortByCohortIdRelevant") { + // uncomment below to test getTimetableMovedLessonsCohortByCohortIdRelevant + //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsCohortByCohortIdRelevant(cohortId) + //result shouldBe ("TODO") + } + + // to test getTimetableMovedLessonsExport + should("test getTimetableMovedLessonsExport") { + // uncomment below to test getTimetableMovedLessonsExport + //val from : kotlin.String = 2013-10-20 // kotlin.String | + //val to : kotlin.String = 2013-10-20 // kotlin.String | + //val result : kotlin.String = apiInstance.getTimetableMovedLessonsExport(from, to) + //result shouldBe ("TODO") + } + + // to test getTimetableMovedLessonsRelevant + should("test getTimetableMovedLessonsRelevant") { + // uncomment below to test getTimetableMovedLessonsRelevant + //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsRelevant() + //result shouldBe ("TODO") + } + + // to test postTimetableMovedLessons + should("test postTimetableMovedLessons") { + // uncomment below to test postTimetableMovedLessons + //val postTimetableMovedLessonsRequest : PostTimetableMovedLessonsRequest = // PostTimetableMovedLessonsRequest | + //val result : PostTimetableMovedLessons200Response = apiInstance.postTimetableMovedLessons(postTimetableMovedLessonsRequest) + //result shouldBe ("TODO") + } + + // to test putTimetableMovedLessonsById + should("test putTimetableMovedLessonsById") { + // uncomment below to test putTimetableMovedLessonsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putTimetableMovedLessonsByIdRequest : PutTimetableMovedLessonsByIdRequest = // PutTimetableMovedLessonsByIdRequest | + //val result : PostTimetableMovedLessons200Response = apiInstance.putTimetableMovedLessonsById(id, putTimetableMovedLessonsByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt new file mode 100644 index 0000000..4d0a537 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt @@ -0,0 +1,336 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.NavigatorApi +import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response +import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response +import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response +import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response +import hu.petrik.filcapp.api.model.GetNavigatorCorridors200Response +import hu.petrik.filcapp.api.model.GetNavigatorGraph200Response +import hu.petrik.filcapp.api.model.GetNavigatorLifts200Response +import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetNavigatorStairs200Response +import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetNavigatorTranslations200Response +import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response +import hu.petrik.filcapp.api.model.PostNavigatorBuildingsRequest +import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response +import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypesRequest +import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response +import hu.petrik.filcapp.api.model.PostNavigatorClassroomsRequest +import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response +import hu.petrik.filcapp.api.model.PostNavigatorCorridorsRequest +import hu.petrik.filcapp.api.model.PostNavigatorImport200Response +import hu.petrik.filcapp.api.model.PostNavigatorImportRequest +import hu.petrik.filcapp.api.model.PostNavigatorLiftsRequest +import hu.petrik.filcapp.api.model.PostNavigatorStairsRequest +import hu.petrik.filcapp.api.model.PostNavigatorTranslations201Response +import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner +import hu.petrik.filcapp.api.model.PostNavigatorTranslationsRequest +import hu.petrik.filcapp.api.model.PutNavigatorBuildingsByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorClassroomTypesByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response +import hu.petrik.filcapp.api.model.PutNavigatorClassroomsByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorCorridorsByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorLiftsByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorStairsByIdRequest +import hu.petrik.filcapp.api.model.PutNavigatorTranslationsByLangByKeyRequest + +class NavigatorApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of NavigatorApi + //val apiInstance = NavigatorApi() + + // to test deleteNavigatorBuildingsById + should("test deleteNavigatorBuildingsById") { + // uncomment below to test deleteNavigatorBuildingsById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorBuildingsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorClassroomTypesById + should("test deleteNavigatorClassroomTypesById") { + // uncomment below to test deleteNavigatorClassroomTypesById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorClassroomTypesById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorClassroomsById + should("test deleteNavigatorClassroomsById") { + // uncomment below to test deleteNavigatorClassroomsById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorClassroomsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorCorridorsById + should("test deleteNavigatorCorridorsById") { + // uncomment below to test deleteNavigatorCorridorsById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorCorridorsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorLiftsById + should("test deleteNavigatorLiftsById") { + // uncomment below to test deleteNavigatorLiftsById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorLiftsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorStairsById + should("test deleteNavigatorStairsById") { + // uncomment below to test deleteNavigatorStairsById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorStairsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNavigatorTranslationsByLangByKey + should("test deleteNavigatorTranslationsByLangByKey") { + // uncomment below to test deleteNavigatorTranslationsByLangByKey + //val lang : kotlin.String = lang_example // kotlin.String | + //val key : kotlin.String = key_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorTranslationsByLangByKey(lang, key) + //result shouldBe ("TODO") + } + + // to test getNavigatorBuildings + should("test getNavigatorBuildings") { + // uncomment below to test getNavigatorBuildings + //val result : GetNavigatorBuildings200Response = apiInstance.getNavigatorBuildings() + //result shouldBe ("TODO") + } + + // to test getNavigatorClassroomTypes + should("test getNavigatorClassroomTypes") { + // uncomment below to test getNavigatorClassroomTypes + //val result : GetNavigatorClassroomTypes200Response = apiInstance.getNavigatorClassroomTypes() + //result shouldBe ("TODO") + } + + // to test getNavigatorClassrooms + should("test getNavigatorClassrooms") { + // uncomment below to test getNavigatorClassrooms + //val result : GetNavigatorClassrooms200Response = apiInstance.getNavigatorClassrooms() + //result shouldBe ("TODO") + } + + // to test getNavigatorCorridors + should("test getNavigatorCorridors") { + // uncomment below to test getNavigatorCorridors + //val result : GetNavigatorCorridors200Response = apiInstance.getNavigatorCorridors() + //result shouldBe ("TODO") + } + + // to test getNavigatorExport + should("test getNavigatorExport") { + // uncomment below to test getNavigatorExport + //val result : kotlin.String = apiInstance.getNavigatorExport() + //result shouldBe ("TODO") + } + + // to test getNavigatorGraph + should("test getNavigatorGraph") { + // uncomment below to test getNavigatorGraph + //val result : GetNavigatorGraph200Response = apiInstance.getNavigatorGraph() + //result shouldBe ("TODO") + } + + // to test getNavigatorLifts + should("test getNavigatorLifts") { + // uncomment below to test getNavigatorLifts + //val result : GetNavigatorLifts200Response = apiInstance.getNavigatorLifts() + //result shouldBe ("TODO") + } + + // to test getNavigatorStairs + should("test getNavigatorStairs") { + // uncomment below to test getNavigatorStairs + //val result : GetNavigatorStairs200Response = apiInstance.getNavigatorStairs() + //result shouldBe ("TODO") + } + + // to test getNavigatorTranslations + should("test getNavigatorTranslations") { + // uncomment below to test getNavigatorTranslations + //val result : GetNavigatorTranslations200Response = apiInstance.getNavigatorTranslations() + //result shouldBe ("TODO") + } + + // to test getNavigatorTranslationsAvailable + should("test getNavigatorTranslationsAvailable") { + // uncomment below to test getNavigatorTranslationsAvailable + //val result : GetNavigatorTranslationsAvailable200Response = apiInstance.getNavigatorTranslationsAvailable() + //result shouldBe ("TODO") + } + + // to test getNavigatorTranslationsLang + should("test getNavigatorTranslationsLang") { + // uncomment below to test getNavigatorTranslationsLang + //val lang : kotlin.String = lang_example // kotlin.String | + //val result : kotlin.collections.Map = apiInstance.getNavigatorTranslationsLang(lang) + //result shouldBe ("TODO") + } + + // to test postNavigatorBuildings + should("test postNavigatorBuildings") { + // uncomment below to test postNavigatorBuildings + //val postNavigatorBuildingsRequest : PostNavigatorBuildingsRequest = // PostNavigatorBuildingsRequest | + //val result : PostNavigatorBuildings201Response = apiInstance.postNavigatorBuildings(postNavigatorBuildingsRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorClassroomTypes + should("test postNavigatorClassroomTypes") { + // uncomment below to test postNavigatorClassroomTypes + //val postNavigatorClassroomTypesRequest : PostNavigatorClassroomTypesRequest = // PostNavigatorClassroomTypesRequest | + //val result : PostNavigatorClassroomTypes201Response = apiInstance.postNavigatorClassroomTypes(postNavigatorClassroomTypesRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorClassrooms + should("test postNavigatorClassrooms") { + // uncomment below to test postNavigatorClassrooms + //val postNavigatorClassroomsRequest : PostNavigatorClassroomsRequest = // PostNavigatorClassroomsRequest | + //val result : PostNavigatorClassrooms201Response = apiInstance.postNavigatorClassrooms(postNavigatorClassroomsRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorCorridors + should("test postNavigatorCorridors") { + // uncomment below to test postNavigatorCorridors + //val postNavigatorCorridorsRequest : PostNavigatorCorridorsRequest = // PostNavigatorCorridorsRequest | + //val result : PostNavigatorCorridors201Response = apiInstance.postNavigatorCorridors(postNavigatorCorridorsRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorImport + should("test postNavigatorImport") { + // uncomment below to test postNavigatorImport + //val postNavigatorImportRequest : PostNavigatorImportRequest = // PostNavigatorImportRequest | + //val result : PostNavigatorImport200Response = apiInstance.postNavigatorImport(postNavigatorImportRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorLifts + should("test postNavigatorLifts") { + // uncomment below to test postNavigatorLifts + //val postNavigatorLiftsRequest : PostNavigatorLiftsRequest = // PostNavigatorLiftsRequest | + //val result : GetNavigatorLifts200ResponseItemsInner = apiInstance.postNavigatorLifts(postNavigatorLiftsRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorStairs + should("test postNavigatorStairs") { + // uncomment below to test postNavigatorStairs + //val postNavigatorStairsRequest : PostNavigatorStairsRequest = // PostNavigatorStairsRequest | + //val result : GetNavigatorStairs200ResponseItemsInner = apiInstance.postNavigatorStairs(postNavigatorStairsRequest) + //result shouldBe ("TODO") + } + + // to test postNavigatorTranslations + should("test postNavigatorTranslations") { + // uncomment below to test postNavigatorTranslations + //val postNavigatorTranslationsRequest : PostNavigatorTranslationsRequest = // PostNavigatorTranslationsRequest | + //val result : PostNavigatorTranslations201Response = apiInstance.postNavigatorTranslations(postNavigatorTranslationsRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorBuildingsById + should("test putNavigatorBuildingsById") { + // uncomment below to test putNavigatorBuildingsById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorBuildingsByIdRequest : PutNavigatorBuildingsByIdRequest = // PutNavigatorBuildingsByIdRequest | + //val result : PostNavigatorBuildings201Response = apiInstance.putNavigatorBuildingsById(id, putNavigatorBuildingsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorClassroomTypesById + should("test putNavigatorClassroomTypesById") { + // uncomment below to test putNavigatorClassroomTypesById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorClassroomTypesByIdRequest : PutNavigatorClassroomTypesByIdRequest = // PutNavigatorClassroomTypesByIdRequest | + //val result : PostNavigatorClassroomTypes201Response = apiInstance.putNavigatorClassroomTypesById(id, putNavigatorClassroomTypesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorClassroomsById + should("test putNavigatorClassroomsById") { + // uncomment below to test putNavigatorClassroomsById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorClassroomsByIdRequest : PutNavigatorClassroomsByIdRequest = // PutNavigatorClassroomsByIdRequest | + //val result : PutNavigatorClassroomsById200Response = apiInstance.putNavigatorClassroomsById(id, putNavigatorClassroomsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorCorridorsById + should("test putNavigatorCorridorsById") { + // uncomment below to test putNavigatorCorridorsById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorCorridorsByIdRequest : PutNavigatorCorridorsByIdRequest = // PutNavigatorCorridorsByIdRequest | + //val result : PostNavigatorCorridors201Response = apiInstance.putNavigatorCorridorsById(id, putNavigatorCorridorsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorLiftsById + should("test putNavigatorLiftsById") { + // uncomment below to test putNavigatorLiftsById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorLiftsByIdRequest : PutNavigatorLiftsByIdRequest = // PutNavigatorLiftsByIdRequest | + //val result : GetNavigatorLifts200ResponseItemsInner = apiInstance.putNavigatorLiftsById(id, putNavigatorLiftsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorStairsById + should("test putNavigatorStairsById") { + // uncomment below to test putNavigatorStairsById + //val id : kotlin.String = id_example // kotlin.String | + //val putNavigatorStairsByIdRequest : PutNavigatorStairsByIdRequest = // PutNavigatorStairsByIdRequest | + //val result : GetNavigatorStairs200ResponseItemsInner = apiInstance.putNavigatorStairsById(id, putNavigatorStairsByIdRequest) + //result shouldBe ("TODO") + } + + // to test putNavigatorTranslationsByLangByKey + should("test putNavigatorTranslationsByLangByKey") { + // uncomment below to test putNavigatorTranslationsByLangByKey + //val lang : kotlin.String = lang_example // kotlin.String | + //val key : kotlin.String = key_example // kotlin.String | + //val putNavigatorTranslationsByLangByKeyRequest : PutNavigatorTranslationsByLangByKeyRequest = // PutNavigatorTranslationsByLangByKeyRequest | + //val result : PostNavigatorTranslations201ResponseItemsInner = apiInstance.putNavigatorTranslationsByLangByKey(lang, key, putNavigatorTranslationsByLangByKeyRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt new file mode 100644 index 0000000..bbe4d3b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.NewsAnnouncementsApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsById200Response +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest +import hu.petrik.filcapp.api.model.PostNavigatorImportRequest +import hu.petrik.filcapp.api.model.PostNewsAnnouncements201Response +import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequest + +class NewsAnnouncementsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of NewsAnnouncementsApi + //val apiInstance = NewsAnnouncementsApi() + + // to test deleteNewsAnnouncementsById + should("test deleteNewsAnnouncementsById") { + // uncomment below to test deleteNewsAnnouncementsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsAnnouncementsById(id) + //result shouldBe ("TODO") + } + + // to test deleteNewsAnnouncementsByIdImage + should("test deleteNewsAnnouncementsByIdImage") { + // uncomment below to test deleteNewsAnnouncementsByIdImage + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : PatchNewsAnnouncementsById200Response = apiInstance.deleteNewsAnnouncementsByIdImage(id) + //result shouldBe ("TODO") + } + + // to test getNewsAnnouncements + should("test getNewsAnnouncements") { + // uncomment below to test getNewsAnnouncements + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val includeAll : kotlin.String = includeAll_example // kotlin.String | + //val includeExpired : kotlin.String = includeExpired_example // kotlin.String | + //val includeKioskOnly : kotlin.String = includeKioskOnly_example // kotlin.String | + //val result : GetNewsAnnouncements200Response = apiInstance.getNewsAnnouncements(limit, offset, includeAll, includeExpired, includeKioskOnly) + //result shouldBe ("TODO") + } + + // to test getNewsAnnouncementsById + should("test getNewsAnnouncementsById") { + // uncomment below to test getNewsAnnouncementsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetNewsAnnouncementsById200Response = apiInstance.getNewsAnnouncementsById(id) + //result shouldBe ("TODO") + } + + // to test patchNewsAnnouncementsById + should("test patchNewsAnnouncementsById") { + // uncomment below to test patchNewsAnnouncementsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchNewsAnnouncementsByIdRequest : PatchNewsAnnouncementsByIdRequest = // PatchNewsAnnouncementsByIdRequest | + //val result : PatchNewsAnnouncementsById200Response = apiInstance.patchNewsAnnouncementsById(id, patchNewsAnnouncementsByIdRequest) + //result shouldBe ("TODO") + } + + // to test postNewsAnnouncements + should("test postNewsAnnouncements") { + // uncomment below to test postNewsAnnouncements + //val postNewsAnnouncementsRequest : PostNewsAnnouncementsRequest = // PostNewsAnnouncementsRequest | + //val result : PostNewsAnnouncements201Response = apiInstance.postNewsAnnouncements(postNewsAnnouncementsRequest) + //result shouldBe ("TODO") + } + + // to test postNewsAnnouncementsByIdImage + should("test postNewsAnnouncementsByIdImage") { + // uncomment below to test postNewsAnnouncementsByIdImage + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val postNavigatorImportRequest : PostNavigatorImportRequest = // PostNavigatorImportRequest | + //val result : PatchNewsAnnouncementsById200Response = apiInstance.postNewsAnnouncementsByIdImage(id, postNavigatorImportRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt new file mode 100644 index 0000000..dba40d7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt @@ -0,0 +1,121 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.NewsBlogsApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetNewsBlogs200Response +import hu.petrik.filcapp.api.model.GetNewsBlogsBySlug200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response +import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest +import hu.petrik.filcapp.api.model.PostNewsBlogs201Response +import hu.petrik.filcapp.api.model.PostNewsBlogsRequest + +class NewsBlogsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of NewsBlogsApi + //val apiInstance = NewsBlogsApi() + + // to test deleteNewsBlogsById + should("test deleteNewsBlogsById") { + // uncomment below to test deleteNewsBlogsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsBlogsById(id) + //result shouldBe ("TODO") + } + + // to test getNewsBlogs + should("test getNewsBlogs") { + // uncomment below to test getNewsBlogs + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val result : GetNewsBlogs200Response = apiInstance.getNewsBlogs(limit, offset) + //result shouldBe ("TODO") + } + + // to test getNewsBlogsBySlug + should("test getNewsBlogsBySlug") { + // uncomment below to test getNewsBlogsBySlug + //val slug : kotlin.String = slug_example // kotlin.String | + //val result : GetNewsBlogsBySlug200Response = apiInstance.getNewsBlogsBySlug(slug) + //result shouldBe ("TODO") + } + + // to test getNewsBlogsDrafts + should("test getNewsBlogsDrafts") { + // uncomment below to test getNewsBlogsDrafts + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val result : GetNewsBlogs200Response = apiInstance.getNewsBlogsDrafts(limit, offset) + //result shouldBe ("TODO") + } + + // to test getNewsBlogsIdById + should("test getNewsBlogsIdById") { + // uncomment below to test getNewsBlogsIdById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetNewsBlogsBySlug200Response = apiInstance.getNewsBlogsIdById(id) + //result shouldBe ("TODO") + } + + // to test patchNewsBlogsById + should("test patchNewsBlogsById") { + // uncomment below to test patchNewsBlogsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchNewsBlogsByIdRequest : PatchNewsBlogsByIdRequest = // PatchNewsBlogsByIdRequest | + //val result : PatchNewsBlogsById200Response = apiInstance.patchNewsBlogsById(id, patchNewsBlogsByIdRequest) + //result shouldBe ("TODO") + } + + // to test postNewsBlogs + should("test postNewsBlogs") { + // uncomment below to test postNewsBlogs + //val postNewsBlogsRequest : PostNewsBlogsRequest = // PostNewsBlogsRequest | + //val result : PostNewsBlogs201Response = apiInstance.postNewsBlogs(postNewsBlogsRequest) + //result shouldBe ("TODO") + } + + // to test postNewsBlogsByIdPublish + should("test postNewsBlogsByIdPublish") { + // uncomment below to test postNewsBlogsByIdPublish + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : PatchNewsBlogsById200Response = apiInstance.postNewsBlogsByIdPublish(id) + //result shouldBe ("TODO") + } + + // to test postNewsBlogsByIdUnpublish + should("test postNewsBlogsByIdUnpublish") { + // uncomment below to test postNewsBlogsByIdUnpublish + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : PatchNewsBlogsById200Response = apiInstance.postNewsBlogsByIdUnpublish(id) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt new file mode 100644 index 0000000..ffd413e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt @@ -0,0 +1,91 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.NewsSystemMessagesApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response +import hu.petrik.filcapp.api.model.GetNewsSystemMessagesById200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response +import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest +import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response +import hu.petrik.filcapp.api.model.PostNewsSystemMessagesRequest + +class NewsSystemMessagesApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of NewsSystemMessagesApi + //val apiInstance = NewsSystemMessagesApi() + + // to test deleteNewsSystemMessagesById + should("test deleteNewsSystemMessagesById") { + // uncomment below to test deleteNewsSystemMessagesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsSystemMessagesById(id) + //result shouldBe ("TODO") + } + + // to test getNewsSystemMessages + should("test getNewsSystemMessages") { + // uncomment below to test getNewsSystemMessages + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val includeAll : kotlin.String = includeAll_example // kotlin.String | + //val includeExpired : kotlin.String = includeExpired_example // kotlin.String | + //val includeKioskOnly : kotlin.String = includeKioskOnly_example // kotlin.String | + //val result : GetNewsSystemMessages200Response = apiInstance.getNewsSystemMessages(limit, offset, includeAll, includeExpired, includeKioskOnly) + //result shouldBe ("TODO") + } + + // to test getNewsSystemMessagesById + should("test getNewsSystemMessagesById") { + // uncomment below to test getNewsSystemMessagesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetNewsSystemMessagesById200Response = apiInstance.getNewsSystemMessagesById(id) + //result shouldBe ("TODO") + } + + // to test patchNewsSystemMessagesById + should("test patchNewsSystemMessagesById") { + // uncomment below to test patchNewsSystemMessagesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchNewsSystemMessagesByIdRequest : PatchNewsSystemMessagesByIdRequest = // PatchNewsSystemMessagesByIdRequest | + //val result : PatchNewsSystemMessagesById200Response = apiInstance.patchNewsSystemMessagesById(id, patchNewsSystemMessagesByIdRequest) + //result shouldBe ("TODO") + } + + // to test postNewsSystemMessages + should("test postNewsSystemMessages") { + // uncomment below to test postNewsSystemMessages + //val postNewsSystemMessagesRequest : PostNewsSystemMessagesRequest = // PostNewsSystemMessagesRequest | + //val result : PostNewsSystemMessages201Response = apiInstance.postNewsSystemMessages(postNewsSystemMessagesRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt new file mode 100644 index 0000000..e0f5780 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt @@ -0,0 +1,138 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.NotificationsApi +import hu.petrik.filcapp.api.model.GetNotifications200Response +import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response +import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200Response +import hu.petrik.filcapp.api.model.PostNotificationsFcmTokensRequest +import hu.petrik.filcapp.api.model.PostNotificationsTestPreview200Response +import hu.petrik.filcapp.api.model.PostNotificationsTestPreviewRequest +import hu.petrik.filcapp.api.model.PostNotificationsTestSend200Response +import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequest + +class NotificationsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of NotificationsApi + //val apiInstance = NotificationsApi() + + // to test deleteNotificationsFcmTokensByToken + should("test deleteNotificationsFcmTokensByToken") { + // uncomment below to test deleteNotificationsFcmTokensByToken + //val token : kotlin.String = token_example // kotlin.String | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.deleteNotificationsFcmTokensByToken(token) + //result shouldBe ("TODO") + } + + // to test getNotifications + should("test getNotifications") { + // uncomment below to test getNotifications + //val dateFrom : kotlin.String = dateFrom_example // kotlin.String | + //val dateTo : kotlin.String = dateTo_example // kotlin.String | + //val limit : kotlin.Double = 8.14 // kotlin.Double | + //val offset : kotlin.Double = 8.14 // kotlin.Double | + //val type : kotlin.String = type_example // kotlin.String | + //val unread : kotlin.String = unread_example // kotlin.String | + //val result : GetNotifications200Response = apiInstance.getNotifications(dateFrom, dateTo, limit, offset, type, unread) + //result shouldBe ("TODO") + } + + // to test getNotificationsSettings + should("test getNotificationsSettings") { + // uncomment below to test getNotificationsSettings + //val result : GetNotificationsSettings200Response = apiInstance.getNotificationsSettings() + //result shouldBe ("TODO") + } + + // to test getNotificationsUnreadCount + should("test getNotificationsUnreadCount") { + // uncomment below to test getNotificationsUnreadCount + //val result : GetNotificationsUnreadCount200Response = apiInstance.getNotificationsUnreadCount() + //result shouldBe ("TODO") + } + + // to test patchNotificationsSettings + should("test patchNotificationsSettings") { + // uncomment below to test patchNotificationsSettings + //val patchNotificationsSettingsRequest : PatchNotificationsSettingsRequest = // PatchNotificationsSettingsRequest | + //val result : GetNotificationsSettings200Response = apiInstance.patchNotificationsSettings(patchNotificationsSettingsRequest) + //result shouldBe ("TODO") + } + + // to test postNotificationsByIdRead + should("test postNotificationsByIdRead") { + // uncomment below to test postNotificationsByIdRead + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : PostNotificationsByIdRead200Response = apiInstance.postNotificationsByIdRead(id) + //result shouldBe ("TODO") + } + + // to test postNotificationsFcmTokens + should("test postNotificationsFcmTokens") { + // uncomment below to test postNotificationsFcmTokens + //val postNotificationsFcmTokensRequest : PostNotificationsFcmTokensRequest = // PostNotificationsFcmTokensRequest | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postNotificationsFcmTokens(postNotificationsFcmTokensRequest) + //result shouldBe ("TODO") + } + + // to test postNotificationsReadAll + should("test postNotificationsReadAll") { + // uncomment below to test postNotificationsReadAll + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postNotificationsReadAll() + //result shouldBe ("TODO") + } + + // to test postNotificationsTest + should("test postNotificationsTest") { + // uncomment below to test postNotificationsTest + //val result : PostNotificationsByIdRead200Response = apiInstance.postNotificationsTest() + //result shouldBe ("TODO") + } + + // to test postNotificationsTestPreview + should("test postNotificationsTestPreview") { + // uncomment below to test postNotificationsTestPreview + //val postNotificationsTestPreviewRequest : PostNotificationsTestPreviewRequest = // PostNotificationsTestPreviewRequest | + //val result : PostNotificationsTestPreview200Response = apiInstance.postNotificationsTestPreview(postNotificationsTestPreviewRequest) + //result shouldBe ("TODO") + } + + // to test postNotificationsTestSend + should("test postNotificationsTestSend") { + // uncomment below to test postNotificationsTestSend + //val postNotificationsTestSendRequest : PostNotificationsTestSendRequest = // PostNotificationsTestSendRequest | + //val result : PostNotificationsTestSend200Response = apiInstance.postNotificationsTestSend(postNotificationsTestSendRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt new file mode 100644 index 0000000..d0eeca0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.PeriodApi +import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class PeriodApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of PeriodApi + //val apiInstance = PeriodApi() + + // to test getTimetablePeriodsGetAll + should("test getTimetablePeriodsGetAll") { + // uncomment below to test getTimetablePeriodsGetAll + //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetablePeriodsGetAll200Response = apiInstance.getTimetablePeriodsGetAll(timetableId) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt new file mode 100644 index 0000000..fe3d708 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.PingApi +import hu.petrik.filcapp.api.model.GetPing200Response +import hu.petrik.filcapp.api.model.GetPingUptime200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class PingApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of PingApi + //val apiInstance = PingApi() + + // to test getPing + should("test getPing") { + // uncomment below to test getPing + //val result : GetPing200Response = apiInstance.getPing() + //result shouldBe ("TODO") + } + + // to test getPingUptime + should("test getPingUptime") { + // uncomment below to test getPingUptime + //val result : GetPingUptime200Response = apiInstance.getPingUptime() + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt new file mode 100644 index 0000000..7cef289 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.RolesApi +import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response +import hu.petrik.filcapp.api.model.GetRoles200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchRolesByNameRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response +import hu.petrik.filcapp.api.model.PostRoles201Response +import hu.petrik.filcapp.api.model.PostRolesRequest + +class RolesApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of RolesApi + //val apiInstance = RolesApi() + + // to test deleteRolesByName + should("test deleteRolesByName") { + // uncomment below to test deleteRolesByName + //val name : kotlin.String = name_example // kotlin.String | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.deleteRolesByName(name) + //result shouldBe ("TODO") + } + + // to test getRoles + should("test getRoles") { + // uncomment below to test getRoles + //val result : GetRoles200Response = apiInstance.getRoles() + //result shouldBe ("TODO") + } + + // to test getRolesPermissions + should("test getRolesPermissions") { + // uncomment below to test getRolesPermissions + //val result : GetNavigatorTranslationsAvailable200Response = apiInstance.getRolesPermissions() + //result shouldBe ("TODO") + } + + // to test patchRolesByName + should("test patchRolesByName") { + // uncomment below to test patchRolesByName + //val name : kotlin.String = name_example // kotlin.String | + //val patchRolesByNameRequest : PatchRolesByNameRequest = // PatchRolesByNameRequest | + //val result : PostRoles201Response = apiInstance.patchRolesByName(name, patchRolesByNameRequest) + //result shouldBe ("TODO") + } + + // to test postRoles + should("test postRoles") { + // uncomment below to test postRoles + //val postRolesRequest : PostRolesRequest = // PostRolesRequest | + //val result : PostRoles201Response = apiInstance.postRoles(postRolesRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt new file mode 100644 index 0000000..e654cd3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt @@ -0,0 +1,46 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.SubjectApi +import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class SubjectApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of SubjectApi + //val apiInstance = SubjectApi() + + // to test getTimetableSubjects + should("test getTimetableSubjects") { + // uncomment below to test getTimetableSubjects + //val result : GetTimetableSubjects200Response = apiInstance.getTimetableSubjects() + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt new file mode 100644 index 0000000..02344a9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt @@ -0,0 +1,111 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.SubstitutionApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsCohortByCohortId200Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response +import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest +import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest +import hu.petrik.filcapp.api.model.PutTimetableSubstitutionsByIdRequest + +class SubstitutionApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of SubstitutionApi + //val apiInstance = SubstitutionApi() + + // to test deleteTimetableSubstitutionsById + should("test deleteTimetableSubstitutionsById") { + // uncomment below to test deleteTimetableSubstitutionsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableSubstitutionsById(id) + //result shouldBe ("TODO") + } + + // to test getTimetableSubstitutions + should("test getTimetableSubstitutions") { + // uncomment below to test getTimetableSubstitutions + //val result : GetTimetableSubstitutions200Response = apiInstance.getTimetableSubstitutions() + //result shouldBe ("TODO") + } + + // to test getTimetableSubstitutionsCohortByCohortId + should("test getTimetableSubstitutionsCohortByCohortId") { + // uncomment below to test getTimetableSubstitutionsCohortByCohortId + //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableSubstitutionsCohortByCohortId200Response = apiInstance.getTimetableSubstitutionsCohortByCohortId(cohortId) + //result shouldBe ("TODO") + } + + // to test getTimetableSubstitutionsExport + should("test getTimetableSubstitutionsExport") { + // uncomment below to test getTimetableSubstitutionsExport + //val from : kotlin.String = 2013-10-20 // kotlin.String | + //val to : kotlin.String = 2013-10-20 // kotlin.String | + //val result : kotlin.String = apiInstance.getTimetableSubstitutionsExport(from, to) + //result shouldBe ("TODO") + } + + // to test getTimetableSubstitutionsRelevant + should("test getTimetableSubstitutionsRelevant") { + // uncomment below to test getTimetableSubstitutionsRelevant + //val result : GetTimetableSubstitutionsRelevant200Response = apiInstance.getTimetableSubstitutionsRelevant() + //result shouldBe ("TODO") + } + + // to test postTimetableSubstitutions + should("test postTimetableSubstitutions") { + // uncomment below to test postTimetableSubstitutions + //val postTimetableSubstitutionsRequest : PostTimetableSubstitutionsRequest = // PostTimetableSubstitutionsRequest | + //val result : PostTimetableSubstitutions200Response = apiInstance.postTimetableSubstitutions(postTimetableSubstitutionsRequest) + //result shouldBe ("TODO") + } + + // to test postTimetableSubstitutionsManual + should("test postTimetableSubstitutionsManual") { + // uncomment below to test postTimetableSubstitutionsManual + //val postTimetableSubstitutionsManualRequest : PostTimetableSubstitutionsManualRequest = // PostTimetableSubstitutionsManualRequest | + //val result : PostTimetableSubstitutions200Response = apiInstance.postTimetableSubstitutionsManual(postTimetableSubstitutionsManualRequest) + //result shouldBe ("TODO") + } + + // to test putTimetableSubstitutionsById + should("test putTimetableSubstitutionsById") { + // uncomment below to test putTimetableSubstitutionsById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putTimetableSubstitutionsByIdRequest : PutTimetableSubstitutionsByIdRequest = // PutTimetableSubstitutionsByIdRequest | + //val result : PostTimetableSubstitutions200Response = apiInstance.putTimetableSubstitutionsById(id, putTimetableSubstitutionsByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt new file mode 100644 index 0000000..75632b8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.TeacherApi +import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response +import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response +import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response +import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest + +class TeacherApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of TeacherApi + //val apiInstance = TeacherApi() + + // to test getTimetableTeachers + should("test getTimetableTeachers") { + // uncomment below to test getTimetableTeachers + //val result : GetTimetableTeachers200Response = apiInstance.getTimetableTeachers() + //result shouldBe ("TODO") + } + + // to test getTimetableTeachersGetAll + should("test getTimetableTeachersGetAll") { + // uncomment below to test getTimetableTeachersGetAll + //val result : GetTimetableTeachersGetAll200Response = apiInstance.getTimetableTeachersGetAll() + //result shouldBe ("TODO") + } + + // to test getTimetableTeachersMe + should("test getTimetableTeachersMe") { + // uncomment below to test getTimetableTeachersMe + //val result : GetTimetableTeachersMe200Response = apiInstance.getTimetableTeachersMe() + //result shouldBe ("TODO") + } + + // to test patchTimetableTeachersById + should("test patchTimetableTeachersById") { + // uncomment below to test patchTimetableTeachersById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchTimetableTeachersByIdRequest : PatchTimetableTeachersByIdRequest = // PatchTimetableTeachersByIdRequest | + //val result : PatchTimetableTeachersById200Response = apiInstance.patchTimetableTeachersById(id, patchTimetableTeachersByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt new file mode 100644 index 0000000..8b70d11 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.TimetableApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchTimetableTimetablesById200Response +import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response +import hu.petrik.filcapp.api.model.PostTimetableImportRequest +import hu.petrik.filcapp.api.model.PostTimetableTimetablesCleanupOrphanedCohorts200Response + +class TimetableApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of TimetableApi + //val apiInstance = TimetableApi() + + // to test deleteTimetableTimetablesById + should("test deleteTimetableTimetablesById") { + // uncomment below to test deleteTimetableTimetablesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableTimetablesById(id) + //result shouldBe ("TODO") + } + + // to test getTimetableTimetables + should("test getTimetableTimetables") { + // uncomment below to test getTimetableTimetables + //val result : GetTimetableTimetables200Response = apiInstance.getTimetableTimetables() + //result shouldBe ("TODO") + } + + // to test getTimetableTimetablesByIdPreviewDelete + should("test getTimetableTimetablesByIdPreviewDelete") { + // uncomment below to test getTimetableTimetablesByIdPreviewDelete + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetTimetableTimetablesByIdPreviewDelete200Response = apiInstance.getTimetableTimetablesByIdPreviewDelete(id) + //result shouldBe ("TODO") + } + + // to test getTimetableTimetablesLatestValid + should("test getTimetableTimetablesLatestValid") { + // uncomment below to test getTimetableTimetablesLatestValid + //val result : PatchTimetableTimetablesById200Response = apiInstance.getTimetableTimetablesLatestValid() + //result shouldBe ("TODO") + } + + // to test getTimetableTimetablesValid + should("test getTimetableTimetablesValid") { + // uncomment below to test getTimetableTimetablesValid + //val result : GetTimetableTimetables200Response = apiInstance.getTimetableTimetablesValid() + //result shouldBe ("TODO") + } + + // to test patchTimetableTimetablesById + should("test patchTimetableTimetablesById") { + // uncomment below to test patchTimetableTimetablesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchTimetableTimetablesByIdRequest : PatchTimetableTimetablesByIdRequest = // PatchTimetableTimetablesByIdRequest | + //val result : PatchTimetableTimetablesById200Response = apiInstance.patchTimetableTimetablesById(id, patchTimetableTimetablesByIdRequest) + //result shouldBe ("TODO") + } + + // to test postTimetableImport + should("test postTimetableImport") { + // uncomment below to test postTimetableImport + //val postTimetableImportRequest : PostTimetableImportRequest = // PostTimetableImportRequest | + //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postTimetableImport(postTimetableImportRequest) + //result shouldBe ("TODO") + } + + // to test postTimetableTimetablesCleanupOrphanedCohorts + should("test postTimetableTimetablesCleanupOrphanedCohorts") { + // uncomment below to test postTimetableTimetablesCleanupOrphanedCohorts + //val result : PostTimetableTimetablesCleanupOrphanedCohorts200Response = apiInstance.postTimetableTimetablesCleanupOrphanedCohorts() + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt new file mode 100644 index 0000000..09d5c30 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.UsersApi +import hu.petrik.filcapp.api.model.GetUsers200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PatchUsersById200Response +import hu.petrik.filcapp.api.model.PatchUsersByIdRequest + +class UsersApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of UsersApi + //val apiInstance = UsersApi() + + // to test getUsers + should("test getUsers") { + // uncomment below to test getUsers + //val limit : kotlin.Double = 8.14 // kotlin.Double | + //val offset : kotlin.Double = 8.14 // kotlin.Double | + //val role : kotlin.String = role_example // kotlin.String | + //val search : kotlin.String = search_example // kotlin.String | + //val result : GetUsers200Response = apiInstance.getUsers(limit, offset, role, search) + //result shouldBe ("TODO") + } + + // to test patchUsersById + should("test patchUsersById") { + // uncomment below to test patchUsersById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val patchUsersByIdRequest : PatchUsersByIdRequest = // PatchUsersByIdRequest | + //val result : PatchUsersById200Response = apiInstance.patchUsersById(id, patchUsersByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt new file mode 100644 index 0000000..4c552eb --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt @@ -0,0 +1,313 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.client.WiFiApi +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response +import hu.petrik.filcapp.api.model.GetWifiAuthLogs200Response +import hu.petrik.filcapp.api.model.GetWifiDevices200Response +import hu.petrik.filcapp.api.model.GetWifiNas200Response +import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200Response +import hu.petrik.filcapp.api.model.GetWifiSelf200Response +import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200Response +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200Response +import hu.petrik.filcapp.api.model.GetWifiStatus200Response +import hu.petrik.filcapp.api.model.GetWifiUsers200Response +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.PostWifiDevices201Response +import hu.petrik.filcapp.api.model.PostWifiDevicesRequest +import hu.petrik.filcapp.api.model.PostWifiNas201Response +import hu.petrik.filcapp.api.model.PostWifiNasRequest +import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorize200Response +import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorizeRequest +import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfiles201Response +import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfilesRequest +import hu.petrik.filcapp.api.model.PostWifiSelf201Response +import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner +import hu.petrik.filcapp.api.model.PostWifiSelfRequest +import hu.petrik.filcapp.api.model.PostWifiSpeedProfiles201Response +import hu.petrik.filcapp.api.model.PostWifiSpeedProfilesRequest +import hu.petrik.filcapp.api.model.PostWifiUsers201Response +import hu.petrik.filcapp.api.model.PostWifiUsersRequest +import hu.petrik.filcapp.api.model.PutWifiDevicesByIdRequest +import hu.petrik.filcapp.api.model.PutWifiNasByIdRequest +import hu.petrik.filcapp.api.model.PutWifiRoleSpeedProfilesByIdRequest +import hu.petrik.filcapp.api.model.PutWifiSelfDevicesByIdRequest +import hu.petrik.filcapp.api.model.PutWifiSelfPassword200Response +import hu.petrik.filcapp.api.model.PutWifiSelfPasswordRequest +import hu.petrik.filcapp.api.model.PutWifiSpeedProfilesByIdRequest +import hu.petrik.filcapp.api.model.PutWifiUsersByIdRequest + +class WiFiApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of WiFiApi + //val apiInstance = WiFiApi() + + // to test deleteWifiDevicesById + should("test deleteWifiDevicesById") { + // uncomment below to test deleteWifiDevicesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiDevicesById(id) + //result shouldBe ("TODO") + } + + // to test deleteWifiNasById + should("test deleteWifiNasById") { + // uncomment below to test deleteWifiNasById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiNasById(id) + //result shouldBe ("TODO") + } + + // to test deleteWifiRoleSpeedProfilesById + should("test deleteWifiRoleSpeedProfilesById") { + // uncomment below to test deleteWifiRoleSpeedProfilesById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteWifiRoleSpeedProfilesById(id) + //result shouldBe ("TODO") + } + + // to test deleteWifiSpeedProfilesById + should("test deleteWifiSpeedProfilesById") { + // uncomment below to test deleteWifiSpeedProfilesById + //val id : kotlin.String = id_example // kotlin.String | + //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteWifiSpeedProfilesById(id) + //result shouldBe ("TODO") + } + + // to test deleteWifiUsersById + should("test deleteWifiUsersById") { + // uncomment below to test deleteWifiUsersById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiUsersById(id) + //result shouldBe ("TODO") + } + + // to test getWifiAuthLogs + should("test getWifiAuthLogs") { + // uncomment below to test getWifiAuthLogs + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val search : kotlin.String = search_example // kotlin.String | + //val failureReason : kotlin.String = failureReason_example // kotlin.String | + //val result : kotlin.String = result_example // kotlin.String | + //val result : GetWifiAuthLogs200Response = apiInstance.getWifiAuthLogs(limit, offset, search, failureReason, result) + //result shouldBe ("TODO") + } + + // to test getWifiDevices + should("test getWifiDevices") { + // uncomment below to test getWifiDevices + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val search : kotlin.String = search_example // kotlin.String | + //val wifiUserId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val result : GetWifiDevices200Response = apiInstance.getWifiDevices(limit, offset, search, wifiUserId) + //result shouldBe ("TODO") + } + + // to test getWifiNas + should("test getWifiNas") { + // uncomment below to test getWifiNas + //val result : GetWifiNas200Response = apiInstance.getWifiNas() + //result shouldBe ("TODO") + } + + // to test getWifiRoleSpeedProfiles + should("test getWifiRoleSpeedProfiles") { + // uncomment below to test getWifiRoleSpeedProfiles + //val result : GetWifiRoleSpeedProfiles200Response = apiInstance.getWifiRoleSpeedProfiles() + //result shouldBe ("TODO") + } + + // to test getWifiSelf + should("test getWifiSelf") { + // uncomment below to test getWifiSelf + //val result : GetWifiSelf200Response = apiInstance.getWifiSelf() + //result shouldBe ("TODO") + } + + // to test getWifiSelfCertificate + should("test getWifiSelfCertificate") { + // uncomment below to test getWifiSelfCertificate + //val result : kotlin.String = apiInstance.getWifiSelfCertificate() + //result shouldBe ("TODO") + } + + // to test getWifiSpeedProfiles + should("test getWifiSpeedProfiles") { + // uncomment below to test getWifiSpeedProfiles + //val result : GetWifiSpeedProfiles200Response = apiInstance.getWifiSpeedProfiles() + //result shouldBe ("TODO") + } + + // to test getWifiStatsOverview + should("test getWifiStatsOverview") { + // uncomment below to test getWifiStatsOverview + //val result : GetWifiStatsOverview200Response = apiInstance.getWifiStatsOverview() + //result shouldBe ("TODO") + } + + // to test getWifiStatus + should("test getWifiStatus") { + // uncomment below to test getWifiStatus + //val result : GetWifiStatus200Response = apiInstance.getWifiStatus() + //result shouldBe ("TODO") + } + + // to test getWifiUsers + should("test getWifiUsers") { + // uncomment below to test getWifiUsers + //val limit : kotlin.Int = 56 // kotlin.Int | + //val offset : kotlin.Int = 56 // kotlin.Int | + //val search : kotlin.String = search_example // kotlin.String | + //val result : GetWifiUsers200Response = apiInstance.getWifiUsers(limit, offset, search) + //result shouldBe ("TODO") + } + + // to test postWifiDevices + should("test postWifiDevices") { + // uncomment below to test postWifiDevices + //val postWifiDevicesRequest : PostWifiDevicesRequest = // PostWifiDevicesRequest | + //val result : PostWifiDevices201Response = apiInstance.postWifiDevices(postWifiDevicesRequest) + //result shouldBe ("TODO") + } + + // to test postWifiNas + should("test postWifiNas") { + // uncomment below to test postWifiNas + //val postWifiNasRequest : PostWifiNasRequest = // PostWifiNasRequest | + //val result : PostWifiNas201Response = apiInstance.postWifiNas(postWifiNasRequest) + //result shouldBe ("TODO") + } + + // to test postWifiRadiusAuthorize + should("test postWifiRadiusAuthorize") { + // uncomment below to test postWifiRadiusAuthorize + //val postWifiRadiusAuthorizeRequest : PostWifiRadiusAuthorizeRequest = // PostWifiRadiusAuthorizeRequest | + //val result : PostWifiRadiusAuthorize200Response = apiInstance.postWifiRadiusAuthorize(postWifiRadiusAuthorizeRequest) + //result shouldBe ("TODO") + } + + // to test postWifiRoleSpeedProfiles + should("test postWifiRoleSpeedProfiles") { + // uncomment below to test postWifiRoleSpeedProfiles + //val postWifiRoleSpeedProfilesRequest : PostWifiRoleSpeedProfilesRequest = // PostWifiRoleSpeedProfilesRequest | + //val result : PostWifiRoleSpeedProfiles201Response = apiInstance.postWifiRoleSpeedProfiles(postWifiRoleSpeedProfilesRequest) + //result shouldBe ("TODO") + } + + // to test postWifiSelf + should("test postWifiSelf") { + // uncomment below to test postWifiSelf + //val postWifiSelfRequest : PostWifiSelfRequest = // PostWifiSelfRequest | + //val result : PostWifiSelf201Response = apiInstance.postWifiSelf(postWifiSelfRequest) + //result shouldBe ("TODO") + } + + // to test postWifiSpeedProfiles + should("test postWifiSpeedProfiles") { + // uncomment below to test postWifiSpeedProfiles + //val postWifiSpeedProfilesRequest : PostWifiSpeedProfilesRequest = // PostWifiSpeedProfilesRequest | + //val result : PostWifiSpeedProfiles201Response = apiInstance.postWifiSpeedProfiles(postWifiSpeedProfilesRequest) + //result shouldBe ("TODO") + } + + // to test postWifiUsers + should("test postWifiUsers") { + // uncomment below to test postWifiUsers + //val postWifiUsersRequest : PostWifiUsersRequest = // PostWifiUsersRequest | + //val result : PostWifiUsers201Response = apiInstance.postWifiUsers(postWifiUsersRequest) + //result shouldBe ("TODO") + } + + // to test putWifiDevicesById + should("test putWifiDevicesById") { + // uncomment below to test putWifiDevicesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putWifiDevicesByIdRequest : PutWifiDevicesByIdRequest = // PutWifiDevicesByIdRequest | + //val result : PostWifiDevices201Response = apiInstance.putWifiDevicesById(id, putWifiDevicesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putWifiNasById + should("test putWifiNasById") { + // uncomment below to test putWifiNasById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putWifiNasByIdRequest : PutWifiNasByIdRequest = // PutWifiNasByIdRequest | + //val result : PostWifiNas201Response = apiInstance.putWifiNasById(id, putWifiNasByIdRequest) + //result shouldBe ("TODO") + } + + // to test putWifiRoleSpeedProfilesById + should("test putWifiRoleSpeedProfilesById") { + // uncomment below to test putWifiRoleSpeedProfilesById + //val id : kotlin.String = id_example // kotlin.String | + //val putWifiRoleSpeedProfilesByIdRequest : PutWifiRoleSpeedProfilesByIdRequest = // PutWifiRoleSpeedProfilesByIdRequest | + //val result : PostWifiRoleSpeedProfiles201Response = apiInstance.putWifiRoleSpeedProfilesById(id, putWifiRoleSpeedProfilesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putWifiSelfDevicesById + should("test putWifiSelfDevicesById") { + // uncomment below to test putWifiSelfDevicesById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putWifiSelfDevicesByIdRequest : PutWifiSelfDevicesByIdRequest = // PutWifiSelfDevicesByIdRequest | + //val result : PostWifiSelf201ResponseDevicesInner = apiInstance.putWifiSelfDevicesById(id, putWifiSelfDevicesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putWifiSelfPassword + should("test putWifiSelfPassword") { + // uncomment below to test putWifiSelfPassword + //val putWifiSelfPasswordRequest : PutWifiSelfPasswordRequest = // PutWifiSelfPasswordRequest | + //val result : PutWifiSelfPassword200Response = apiInstance.putWifiSelfPassword(putWifiSelfPasswordRequest) + //result shouldBe ("TODO") + } + + // to test putWifiSpeedProfilesById + should("test putWifiSpeedProfilesById") { + // uncomment below to test putWifiSpeedProfilesById + //val id : kotlin.String = id_example // kotlin.String | + //val putWifiSpeedProfilesByIdRequest : PutWifiSpeedProfilesByIdRequest = // PutWifiSpeedProfilesByIdRequest | + //val result : PostWifiSpeedProfiles201Response = apiInstance.putWifiSpeedProfilesById(id, putWifiSpeedProfilesByIdRequest) + //result shouldBe ("TODO") + } + + // to test putWifiUsersById + should("test putWifiUsersById") { + // uncomment below to test putWifiUsersById + //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | + //val putWifiUsersByIdRequest : PutWifiUsersByIdRequest = // PutWifiUsersByIdRequest | + //val result : PostWifiUsers201Response = apiInstance.putWifiUsersById(id, putWifiUsersByIdRequest) + //result shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt new file mode 100644 index 0000000..bede2e4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response + +class DeleteAdminApiKeysByKeyId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of DeleteAdminApiKeysByKeyId200Response + //val modelInstance = DeleteAdminApiKeysByKeyId200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt new file mode 100644 index 0000000..2eb7bfb --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response + +class DeleteAdminApiKeysByKeyId400ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of DeleteAdminApiKeysByKeyId400Response + //val modelInstance = DeleteAdminApiKeysByKeyId400Response() + + // to test the property `code` + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt new file mode 100644 index 0000000..f86d90d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response + +class DeleteNavigatorBuildingsById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of DeleteNavigatorBuildingsById200Response + //val modelInstance = DeleteNavigatorBuildingsById200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..267dcba --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetAdminApiKeys200ResponseItemsInner + +class GetAdminApiKeys200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAdminApiKeys200ResponseItemsInner + //val modelInstance = GetAdminApiKeys200ResponseItemsInner() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastRequest` + should("test lastRequest") { + // uncomment below to test the property + //modelInstance.lastRequest shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `ownerEmail` + should("test ownerEmail") { + // uncomment below to test the property + //modelInstance.ownerEmail shouldBe ("TODO") + } + + // to test the property `ownerName` + should("test ownerName") { + // uncomment below to test the property + //modelInstance.ownerName shouldBe ("TODO") + } + + // to test the property `prefix` + should("test prefix") { + // uncomment below to test the property + //modelInstance.prefix shouldBe ("TODO") + } + + // to test the property `referenceId` + should("test referenceId") { + // uncomment below to test the property + //modelInstance.referenceId shouldBe ("TODO") + } + + // to test the property `requestCount` + should("test requestCount") { + // uncomment below to test the property + //modelInstance.requestCount shouldBe ("TODO") + } + + // to test the property `start` + should("test start") { + // uncomment below to test the property + //modelInstance.start shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt new file mode 100644 index 0000000..9c54e15 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response +import hu.petrik.filcapp.api.model.GetAdminApiKeys200ResponseItemsInner + +class GetAdminApiKeys200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAdminApiKeys200Response + //val modelInstance = GetAdminApiKeys200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt new file mode 100644 index 0000000..e4c0190 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfInner +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + +class GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadataAnyOfInner + //val modelInstance = GetBugReport200ResponseItemsInnerMetadataAnyOfInner() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt new file mode 100644 index 0000000..a2b75ae --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + +class GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadataAnyOfValue + //val modelInstance = GetBugReport200ResponseItemsInnerMetadataAnyOfValue() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt new file mode 100644 index 0000000..a8d8c8f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadata +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfInner +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue + +class GetBugReport200ResponseItemsInnerMetadataTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadata + //val modelInstance = GetBugReport200ResponseItemsInnerMetadata() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..5fbea87 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt @@ -0,0 +1,98 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadata + +class GetBugReport200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetBugReport200ResponseItemsInner + //val modelInstance = GetBugReport200ResponseItemsInner() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `page` + should("test page") { + // uncomment below to test the property + //modelInstance.page shouldBe ("TODO") + } + + // to test the property `reporterEmail` + should("test reporterEmail") { + // uncomment below to test the property + //modelInstance.reporterEmail shouldBe ("TODO") + } + + // to test the property `reporterId` + should("test reporterId") { + // uncomment below to test the property + //modelInstance.reporterId shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt new file mode 100644 index 0000000..2e677d7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetBugReport200Response +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInner + +class GetBugReport200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetBugReport200Response + //val modelInstance = GetBugReport200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..6925ad0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetCohort200ResponseItemsInner + +class GetCohort200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetCohort200ResponseItemsInner + //val modelInstance = GetCohort200ResponseItemsInner() + + // to test the property `classroomIds` + should("test classroomIds") { + // uncomment below to test the property + //modelInstance.classroomIds shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `teacherId` + should("test teacherId") { + // uncomment below to test the property + //modelInstance.teacherId shouldBe ("TODO") + } + + // to test the property `timetableId` + should("test timetableId") { + // uncomment below to test the property + //modelInstance.timetableId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt new file mode 100644 index 0000000..4557cd7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetCohort200Response +import hu.petrik.filcapp.api.model.GetCohort200ResponseItemsInner + +class GetCohort200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetCohort200Response + //val modelInstance = GetCohort200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt new file mode 100644 index 0000000..ce37870 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStatsChartDataInner + +class GetDashboardStats200ResponseStatsChartDataInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDashboardStats200ResponseStatsChartDataInner + //val modelInstance = GetDashboardStats200ResponseStatsChartDataInner() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `movedLessons` + should("test movedLessons") { + // uncomment below to test the property + //modelInstance.movedLessons shouldBe ("TODO") + } + + // to test the property `substitutions` + should("test substitutions") { + // uncomment below to test the property + //modelInstance.substitutions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt new file mode 100644 index 0000000..a52ebd2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt @@ -0,0 +1,86 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStats +import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStatsChartDataInner + +class GetDashboardStats200ResponseStatsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDashboardStats200ResponseStats + //val modelInstance = GetDashboardStats200ResponseStats() + + // to test the property `chartData` + should("test chartData") { + // uncomment below to test the property + //modelInstance.chartData shouldBe ("TODO") + } + + // to test the property `chartTotalMovedLessons` + should("test chartTotalMovedLessons") { + // uncomment below to test the property + //modelInstance.chartTotalMovedLessons shouldBe ("TODO") + } + + // to test the property `chartTotalSubstitutions` + should("test chartTotalSubstitutions") { + // uncomment below to test the property + //modelInstance.chartTotalSubstitutions shouldBe ("TODO") + } + + // to test the property `totalCohorts` + should("test totalCohorts") { + // uncomment below to test the property + //modelInstance.totalCohorts shouldBe ("TODO") + } + + // to test the property `totalMovedLessons` + should("test totalMovedLessons") { + // uncomment below to test the property + //modelInstance.totalMovedLessons shouldBe ("TODO") + } + + // to test the property `totalRoles` + should("test totalRoles") { + // uncomment below to test the property + //modelInstance.totalRoles shouldBe ("TODO") + } + + // to test the property `totalSubstitutions` + should("test totalSubstitutions") { + // uncomment below to test the property + //modelInstance.totalSubstitutions shouldBe ("TODO") + } + + // to test the property `totalUsers` + should("test totalUsers") { + // uncomment below to test the property + //modelInstance.totalUsers shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt new file mode 100644 index 0000000..9c41338 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDashboardStats200Response +import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStats + +class GetDashboardStats200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDashboardStats200Response + //val modelInstance = GetDashboardStats200Response() + + // to test the property `stats` + should("test stats") { + // uncomment below to test the property + //modelInstance.stats shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt new file mode 100644 index 0000000..1ed307d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner + +class GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner + //val modelInstance = GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt new file mode 100644 index 0000000..e307711 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner + +class GetDoorlockCards200ResponseItemsInnerOwnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInnerOwner + //val modelInstance = GetDoorlockCards200ResponseItemsInnerOwner() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..2da644b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner + +class GetDoorlockCards200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInner + //val modelInstance = GetDoorlockCards200ResponseItemsInner() + + // to test the property `authorizedDevices` + should("test authorizedDevices") { + // uncomment below to test the property + //modelInstance.authorizedDevices shouldBe ("TODO") + } + + // to test the property `cardData` + should("test cardData") { + // uncomment below to test the property + //modelInstance.cardData shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `frozen` + should("test frozen") { + // uncomment below to test the property + //modelInstance.frozen shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `owner` + should("test owner") { + // uncomment below to test the property + //modelInstance.owner shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt new file mode 100644 index 0000000..4fdcccd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCards200Response +import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInner + +class GetDoorlockCards200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCards200Response + //val modelInstance = GetDoorlockCards200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..7b2b48a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200ResponseItemsInner + +class GetDoorlockCardsUsers200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCardsUsers200ResponseItemsInner + //val modelInstance = GetDoorlockCardsUsers200ResponseItemsInner() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt new file mode 100644 index 0000000..23c4e70 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200Response +import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200ResponseItemsInner + +class GetDoorlockCardsUsers200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockCardsUsers200Response + //val modelInstance = GetDoorlockCardsUsers200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..371382f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevices200ResponseItemsInner + +class GetDoorlockDevices200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevices200ResponseItemsInner + //val modelInstance = GetDoorlockDevices200ResponseItemsInner() + + // to test the property `apiToken` + should("test apiToken") { + // uncomment below to test the property + //modelInstance.apiToken shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastResetReason` + should("test lastResetReason") { + // uncomment below to test the property + //modelInstance.lastResetReason shouldBe ("TODO") + } + + // to test the property `location` + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt new file mode 100644 index 0000000..d8f7255 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevices200Response +import hu.petrik.filcapp.api.model.GetDoorlockDevices200ResponseItemsInner + +class GetDoorlockDevices200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevices200Response + //val modelInstance = GetDoorlockDevices200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt new file mode 100644 index 0000000..a6212ec --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors + +class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors + //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors() + + // to test the property `db` + should("test db") { + // uncomment below to test the property + //modelInstance.db shouldBe ("TODO") + } + + // to test the property `nfc` + should("test nfc") { + // uncomment below to test the property + //modelInstance.nfc shouldBe ("TODO") + } + + // to test the property `ota` + should("test ota") { + // uncomment below to test the property + //modelInstance.ota shouldBe ("TODO") + } + + // to test the property `sd` + should("test sd") { + // uncomment below to test the property + //modelInstance.sd shouldBe ("TODO") + } + + // to test the property `wifi` + should("test wifi") { + // uncomment below to test the property + //modelInstance.wifi shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt new file mode 100644 index 0000000..5c2d963 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors + +class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug + //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug() + + // to test the property `deviceState` + should("test deviceState") { + // uncomment below to test the property + //modelInstance.deviceState shouldBe ("TODO") + } + + // to test the property `errors` + should("test errors") { + // uncomment below to test the property + //modelInstance.errors shouldBe ("TODO") + } + + // to test the property `lastResetReason` + should("test lastResetReason") { + // uncomment below to test the property + //modelInstance.lastResetReason shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt new file mode 100644 index 0000000..6f9e5c0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage + +class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage + //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage() + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + // to test the property `used` + should("test used") { + // uncomment below to test the property + //modelInstance.used shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt new file mode 100644 index 0000000..7d347fe --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage + +class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta + //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta() + + // to test the property `debug` + should("test debug") { + // uncomment below to test the property + //modelInstance.debug shouldBe ("TODO") + } + + // to test the property `fwVersion` + should("test fwVersion") { + // uncomment below to test the property + //modelInstance.fwVersion shouldBe ("TODO") + } + + // to test the property `ramFree` + should("test ramFree") { + // uncomment below to test the property + //modelInstance.ramFree shouldBe ("TODO") + } + + // to test the property `storage` + should("test storage") { + // uncomment below to test the property + //modelInstance.storage shouldBe ("TODO") + } + + // to test the property `uptime` + should("test uptime") { + // uncomment below to test the property + //modelInstance.uptime shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt new file mode 100644 index 0000000..007ed10 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInner +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta + +class GetDoorlockDevicesByIdStats200ResponseStatsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInner + //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInner() + + // to test the property `deviceMeta` + should("test deviceMeta") { + // uncomment below to test the property + //modelInstance.deviceMeta shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `timestamp` + should("test timestamp") { + // uncomment below to test the property + //modelInstance.timestamp shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt new file mode 100644 index 0000000..06483f5 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200Response +import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInner + +class GetDoorlockDevicesByIdStats200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockDevicesByIdStats200Response + //val modelInstance = GetDoorlockDevicesByIdStats200Response() + + // to test the property `stats` + should("test stats") { + // uncomment below to test the property + //modelInstance.stats shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt new file mode 100644 index 0000000..f2da161 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard + +class GetDoorlockLogs200ResponseItemsInnerCardTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockLogs200ResponseItemsInnerCard + //val modelInstance = GetDoorlockLogs200ResponseItemsInnerCard() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..a5c4d8e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt @@ -0,0 +1,105 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard +import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner + +class GetDoorlockLogs200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockLogs200ResponseItemsInner + //val modelInstance = GetDoorlockLogs200ResponseItemsInner() + + // to test the property `buttonPressed` + should("test buttonPressed") { + // uncomment below to test the property + //modelInstance.buttonPressed shouldBe ("TODO") + } + + // to test the property `cardData` + should("test cardData") { + // uncomment below to test the property + //modelInstance.cardData shouldBe ("TODO") + } + + // to test the property `cardId` + should("test cardId") { + // uncomment below to test the property + //modelInstance.cardId shouldBe ("TODO") + } + + // to test the property `deviceId` + should("test deviceId") { + // uncomment below to test the property + //modelInstance.deviceId shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `result` + should("test result") { + // uncomment below to test the property + //modelInstance.result shouldBe ("TODO") + } + + // to test the property `timestamp` + should("test timestamp") { + // uncomment below to test the property + //modelInstance.timestamp shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `card` + should("test card") { + // uncomment below to test the property + //modelInstance.card shouldBe ("TODO") + } + + // to test the property `device` + should("test device") { + // uncomment below to test the property + //modelInstance.device shouldBe ("TODO") + } + + // to test the property `owner` + should("test owner") { + // uncomment below to test the property + //modelInstance.owner shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt new file mode 100644 index 0000000..1a30cb7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockLogs200Response +import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInner + +class GetDoorlockLogs200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockLogs200Response + //val modelInstance = GetDoorlockLogs200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt new file mode 100644 index 0000000..d3602c2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner + +class GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner + //val modelInstance = GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner() + + // to test the property `count` + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt new file mode 100644 index 0000000..f7986fa --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStats +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsTopUsersInner + +class GetDoorlockStatsOverview200ResponseStatsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStats + //val modelInstance = GetDoorlockStatsOverview200ResponseStats() + + // to test the property `doorOpenSeries` + should("test doorOpenSeries") { + // uncomment below to test the property + //modelInstance.doorOpenSeries shouldBe ("TODO") + } + + // to test the property `topUsers` + should("test topUsers") { + // uncomment below to test the property + //modelInstance.topUsers shouldBe ("TODO") + } + + // to test the property `totalCards` + should("test totalCards") { + // uncomment below to test the property + //modelInstance.totalCards shouldBe ("TODO") + } + + // to test the property `totalDevices` + should("test totalDevices") { + // uncomment below to test the property + //modelInstance.totalDevices shouldBe ("TODO") + } + + // to test the property `totalSuccessfulOpens` + should("test totalSuccessfulOpens") { + // uncomment below to test the property + //modelInstance.totalSuccessfulOpens shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt new file mode 100644 index 0000000..46f177f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsTopUsersInner + +class GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStatsTopUsersInner + //val modelInstance = GetDoorlockStatsOverview200ResponseStatsTopUsersInner() + + // to test the property `count` + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt new file mode 100644 index 0000000..0c47675 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200Response +import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStats + +class GetDoorlockStatsOverview200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDoorlockStatsOverview200Response + //val modelInstance = GetDoorlockStatsOverview200Response() + + // to test the property `stats` + should("test stats") { + // uncomment below to test the property + //modelInstance.stats shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt new file mode 100644 index 0000000..3474b21 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetHealth200Response + +class GetHealth200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetHealth200Response + //val modelInstance = GetHealth200Response() + + // to test the property `database` + should("test database") { + // uncomment below to test the property + //modelInstance.database shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..38b09a0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKiosk200ResponseItemsInner +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetKiosk200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKiosk200ResponseItemsInner + //val modelInstance = GetKiosk200ResponseItemsInner() + + // to test the property `appVersion` + should("test appVersion") { + // uncomment below to test the property + //modelInstance.appVersion shouldBe ("TODO") + } + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `lastSeenAt` + should("test lastSeenAt") { + // uncomment below to test the property + //modelInstance.lastSeenAt shouldBe ("TODO") + } + + // to test the property `lastSeenIp` + should("test lastSeenIp") { + // uncomment below to test the property + //modelInstance.lastSeenIp shouldBe ("TODO") + } + + // to test the property `machineId` + should("test machineId") { + // uncomment below to test the property + //modelInstance.machineId shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt new file mode 100644 index 0000000..e0bfa4d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKiosk200Response +import hu.petrik.filcapp.api.model.GetKiosk200ResponseItemsInner + +class GetKiosk200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKiosk200Response + //val modelInstance = GetKiosk200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..785e4ad --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKioskNews200ResponseItemsInner + +class GetKioskNews200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKioskNews200ResponseItemsInner + //val modelInstance = GetKioskNews200ResponseItemsInner() + + // to test the property `body` + should("test body") { + // uncomment below to test the property + //modelInstance.body shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `imageVersion` + should("test imageVersion") { + // uncomment below to test the property + //modelInstance.imageVersion shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt new file mode 100644 index 0000000..fe0f248 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKioskNews200Response +import hu.petrik.filcapp.api.model.GetKioskNews200ResponseItemsInner + +class GetKioskNews200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKioskNews200Response + //val modelInstance = GetKioskNews200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..0c4a3a6 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKioskPetrikNews200ResponseItemsInner + +class GetKioskPetrikNews200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKioskPetrikNews200ResponseItemsInner + //val modelInstance = GetKioskPetrikNews200ResponseItemsInner() + + // to test the property `body` + should("test body") { + // uncomment below to test the property + //modelInstance.body shouldBe ("TODO") + } + + // to test the property `imageUrl` + should("test imageUrl") { + // uncomment below to test the property + //modelInstance.imageUrl shouldBe ("TODO") + } + + // to test the property `publishedAt` + should("test publishedAt") { + // uncomment below to test the property + //modelInstance.publishedAt shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `url` + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt new file mode 100644 index 0000000..a16e266 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKioskPetrikNews200Response +import hu.petrik.filcapp.api.model.GetKioskPetrikNews200ResponseItemsInner + +class GetKioskPetrikNews200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKioskPetrikNews200Response + //val modelInstance = GetKioskPetrikNews200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt new file mode 100644 index 0000000..881c514 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetKioskWeather200Response + +class GetKioskWeather200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetKioskWeather200Response + //val modelInstance = GetKioskWeather200Response() + + // to test the property `icon` + should("test icon") { + // uncomment below to test the property + //modelInstance.icon shouldBe ("TODO") + } + + // to test the property `precipMm` + should("test precipMm") { + // uncomment below to test the property + //modelInstance.precipMm shouldBe ("TODO") + } + + // to test the property `tempC` + should("test tempC") { + // uncomment below to test the property + //modelInstance.tempC shouldBe ("TODO") + } + + // to test the property `windKph` + should("test windKph") { + // uncomment below to test the property + //modelInstance.windKph shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..83271be --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorBuildings200ResponseItemsInner + +class GetNavigatorBuildings200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorBuildings200ResponseItemsInner + //val modelInstance = GetNavigatorBuildings200ResponseItemsInner() + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `mapped` + should("test mapped") { + // uncomment below to test the property + //modelInstance.mapped shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt new file mode 100644 index 0000000..8a69b27 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response +import hu.petrik.filcapp.api.model.GetNavigatorBuildings200ResponseItemsInner + +class GetNavigatorBuildings200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorBuildings200Response + //val modelInstance = GetNavigatorBuildings200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..c80049f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200ResponseItemsInner + +class GetNavigatorClassroomTypes200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorClassroomTypes200ResponseItemsInner + //val modelInstance = GetNavigatorClassroomTypes200ResponseItemsInner() + + // to test the property `colorhex` + should("test colorhex") { + // uncomment below to test the property + //modelInstance.colorhex shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt new file mode 100644 index 0000000..6e21a10 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response +import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200ResponseItemsInner + +class GetNavigatorClassroomTypes200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorClassroomTypes200Response + //val modelInstance = GetNavigatorClassroomTypes200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..86cdd30 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt @@ -0,0 +1,127 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200ResponseItemsInner + +class GetNavigatorClassrooms200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorClassrooms200ResponseItemsInner + //val modelInstance = GetNavigatorClassrooms200ResponseItemsInner() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `capacity` + should("test capacity") { + // uncomment below to test the property + //modelInstance.capacity shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `mapped` + should("test mapped") { + // uncomment below to test the property + //modelInstance.mapped shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `sizeX` + should("test sizeX") { + // uncomment below to test the property + //modelInstance.sizeX shouldBe ("TODO") + } + + // to test the property `sizeY` + should("test sizeY") { + // uncomment below to test the property + //modelInstance.sizeY shouldBe ("TODO") + } + + // to test the property `sizeZ` + should("test sizeZ") { + // uncomment below to test the property + //modelInstance.sizeZ shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `typeId` + should("test typeId") { + // uncomment below to test the property + //modelInstance.typeId shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt new file mode 100644 index 0000000..bfea035 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response +import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200ResponseItemsInner + +class GetNavigatorClassrooms200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorClassrooms200Response + //val modelInstance = GetNavigatorClassrooms200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..f0eb151 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorCorridors200ResponseItemsInner + +class GetNavigatorCorridors200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorCorridors200ResponseItemsInner + //val modelInstance = GetNavigatorCorridors200ResponseItemsInner() + + // to test the property `barrierFree` + should("test barrierFree") { + // uncomment below to test the property + //modelInstance.barrierFree shouldBe ("TODO") + } + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `isOutdoor` + should("test isOutdoor") { + // uncomment below to test the property + //modelInstance.isOutdoor shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `width` + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + // to test the property `x1` + should("test x1") { + // uncomment below to test the property + //modelInstance.x1 shouldBe ("TODO") + } + + // to test the property `x2` + should("test x2") { + // uncomment below to test the property + //modelInstance.x2 shouldBe ("TODO") + } + + // to test the property `y1` + should("test y1") { + // uncomment below to test the property + //modelInstance.y1 shouldBe ("TODO") + } + + // to test the property `y2` + should("test y2") { + // uncomment below to test the property + //modelInstance.y2 shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt new file mode 100644 index 0000000..61e1a64 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorCorridors200Response +import hu.petrik.filcapp.api.model.GetNavigatorCorridors200ResponseItemsInner + +class GetNavigatorCorridors200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorCorridors200Response + //val modelInstance = GetNavigatorCorridors200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt new file mode 100644 index 0000000..30e4216 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt @@ -0,0 +1,91 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseLiftsInner + +class GetNavigatorGraph200ResponseLiftsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorGraph200ResponseLiftsInner + //val modelInstance = GetNavigatorGraph200ResponseLiftsInner() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt new file mode 100644 index 0000000..65da3fa --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseStairsInner + +class GetNavigatorGraph200ResponseStairsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorGraph200ResponseStairsInner + //val modelInstance = GetNavigatorGraph200ResponseStairsInner() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt new file mode 100644 index 0000000..ce62666 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorGraph200Response +import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseLiftsInner +import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseStairsInner +import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response +import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response +import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response +import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response + +class GetNavigatorGraph200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorGraph200Response + //val modelInstance = GetNavigatorGraph200Response() + + // to test the property `buildings` + should("test buildings") { + // uncomment below to test the property + //modelInstance.buildings shouldBe ("TODO") + } + + // to test the property `classroomTypes` + should("test classroomTypes") { + // uncomment below to test the property + //modelInstance.classroomTypes shouldBe ("TODO") + } + + // to test the property `classrooms` + should("test classrooms") { + // uncomment below to test the property + //modelInstance.classrooms shouldBe ("TODO") + } + + // to test the property `corridors` + should("test corridors") { + // uncomment below to test the property + //modelInstance.corridors shouldBe ("TODO") + } + + // to test the property `lifts` + should("test lifts") { + // uncomment below to test the property + //modelInstance.lifts shouldBe ("TODO") + } + + // to test the property `stairs` + should("test stairs") { + // uncomment below to test the property + //modelInstance.stairs shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..fe7a69c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt @@ -0,0 +1,91 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner + +class GetNavigatorLifts200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorLifts200ResponseItemsInner + //val modelInstance = GetNavigatorLifts200ResponseItemsInner() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt new file mode 100644 index 0000000..6cad36a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorLifts200Response +import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner + +class GetNavigatorLifts200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorLifts200Response + //val modelInstance = GetNavigatorLifts200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..f45dd6e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner + +class GetNavigatorStairs200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorStairs200ResponseItemsInner + //val modelInstance = GetNavigatorStairs200ResponseItemsInner() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt new file mode 100644 index 0000000..b5873c7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorStairs200Response +import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner + +class GetNavigatorStairs200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorStairs200Response + //val modelInstance = GetNavigatorStairs200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..14faf47 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorTranslations200ResponseItemsInner + +class GetNavigatorTranslations200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorTranslations200ResponseItemsInner + //val modelInstance = GetNavigatorTranslations200ResponseItemsInner() + + // to test the property `langKey` + should("test langKey") { + // uncomment below to test the property + //modelInstance.langKey shouldBe ("TODO") + } + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + // to test the property `textKey` + should("test textKey") { + // uncomment below to test the property + //modelInstance.textKey shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt new file mode 100644 index 0000000..904edd2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorTranslations200Response +import hu.petrik.filcapp.api.model.GetNavigatorTranslations200ResponseItemsInner + +class GetNavigatorTranslations200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorTranslations200Response + //val modelInstance = GetNavigatorTranslations200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt new file mode 100644 index 0000000..19f69cc --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response + +class GetNavigatorTranslationsAvailable200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNavigatorTranslationsAvailable200Response + //val modelInstance = GetNavigatorTranslationsAvailable200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt new file mode 100644 index 0000000..4ecde53 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInnerAuthor + +class GetNewsAnnouncements200ResponseItemsInnerAuthorTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsAnnouncements200ResponseItemsInnerAuthor + //val modelInstance = GetNewsAnnouncements200ResponseItemsInnerAuthor() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..4584ec4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt @@ -0,0 +1,141 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInnerAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsAnnouncements200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsAnnouncements200ResponseItemsInner + //val modelInstance = GetNewsAnnouncements200ResponseItemsInner() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `imageByteSize` + should("test imageByteSize") { + // uncomment below to test the property + //modelInstance.imageByteSize shouldBe ("TODO") + } + + // to test the property `imageContentType` + should("test imageContentType") { + // uncomment below to test the property + //modelInstance.imageContentType shouldBe ("TODO") + } + + // to test the property `imageKey` + should("test imageKey") { + // uncomment below to test the property + //modelInstance.imageKey shouldBe ("TODO") + } + + // to test the property `imageUpdatedAt` + should("test imageUpdatedAt") { + // uncomment below to test the property + //modelInstance.imageUpdatedAt shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt new file mode 100644 index 0000000..c993eb4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInner + +class GetNewsAnnouncements200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsAnnouncements200Response + //val modelInstance = GetNewsAnnouncements200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt new file mode 100644 index 0000000..763e2c3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor + +class GetNewsAnnouncementsById200ResponseAuthorTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsAnnouncementsById200ResponseAuthor + //val modelInstance = GetNewsAnnouncementsById200ResponseAuthor() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt new file mode 100644 index 0000000..7e0833e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt @@ -0,0 +1,141 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsAnnouncementsById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsAnnouncementsById200Response + //val modelInstance = GetNewsAnnouncementsById200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `imageByteSize` + should("test imageByteSize") { + // uncomment below to test the property + //modelInstance.imageByteSize shouldBe ("TODO") + } + + // to test the property `imageContentType` + should("test imageContentType") { + // uncomment below to test the property + //modelInstance.imageContentType shouldBe ("TODO") + } + + // to test the property `imageKey` + should("test imageKey") { + // uncomment below to test the property + //modelInstance.imageKey shouldBe ("TODO") + } + + // to test the property `imageUpdatedAt` + should("test imageUpdatedAt") { + // uncomment below to test the property + //modelInstance.imageUpdatedAt shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..4c40b65 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsBlogs200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsBlogs200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsBlogs200ResponseItemsInner + //val modelInstance = GetNewsBlogs200ResponseItemsInner() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `publishedAt` + should("test publishedAt") { + // uncomment below to test the property + //modelInstance.publishedAt shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt new file mode 100644 index 0000000..56c36c9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsBlogs200Response +import hu.petrik.filcapp.api.model.GetNewsBlogs200ResponseItemsInner + +class GetNewsBlogs200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsBlogs200Response + //val modelInstance = GetNewsBlogs200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt new file mode 100644 index 0000000..dba453f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsBlogsBySlug200Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsBlogsBySlug200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsBlogsBySlug200Response + //val modelInstance = GetNewsBlogsBySlug200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `publishedAt` + should("test publishedAt") { + // uncomment below to test the property + //modelInstance.publishedAt shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..d56f73e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsSystemMessages200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsSystemMessages200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsSystemMessages200ResponseItemsInner + //val modelInstance = GetNewsSystemMessages200ResponseItemsInner() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt new file mode 100644 index 0000000..0bf30a8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response +import hu.petrik.filcapp.api.model.GetNewsSystemMessages200ResponseItemsInner + +class GetNewsSystemMessages200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsSystemMessages200Response + //val modelInstance = GetNewsSystemMessages200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt new file mode 100644 index 0000000..9509625 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNewsSystemMessagesById200Response +import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class GetNewsSystemMessagesById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNewsSystemMessagesById200Response + //val modelInstance = GetNewsSystemMessagesById200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `author` + should("test author") { + // uncomment below to test the property + //modelInstance.author shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..4db28d2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInner + +class GetNotifications200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNotifications200ResponseItemsInner + //val modelInstance = GetNotifications200ResponseItemsInner() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `read` + should("test read") { + // uncomment below to test the property + //modelInstance.read shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt new file mode 100644 index 0000000..59bf0f1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNotifications200Response +import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInner + +class GetNotifications200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNotifications200Response + //val modelInstance = GetNotifications200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt new file mode 100644 index 0000000..4b4d549 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNotificationsSettings200ResponseNotificationPreferences + +class GetNotificationsSettings200ResponseNotificationPreferencesTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNotificationsSettings200ResponseNotificationPreferences + //val modelInstance = GetNotificationsSettings200ResponseNotificationPreferences() + + // to test the property `announcement` + should("test announcement") { + // uncomment below to test the property + //modelInstance.announcement shouldBe ("TODO") + } + + // to test the property `blogPost` + should("test blogPost") { + // uncomment below to test the property + //modelInstance.blogPost shouldBe ("TODO") + } + + // to test the property `channelsEnabled` + should("test channelsEnabled") { + // uncomment below to test the property + //modelInstance.channelsEnabled shouldBe ("TODO") + } + + // to test the property `doorlockCardUsed` + should("test doorlockCardUsed") { + // uncomment below to test the property + //modelInstance.doorlockCardUsed shouldBe ("TODO") + } + + // to test the property `movedLesson` + should("test movedLesson") { + // uncomment below to test the property + //modelInstance.movedLesson shouldBe ("TODO") + } + + // to test the property `substitution` + should("test substitution") { + // uncomment below to test the property + //modelInstance.substitution shouldBe ("TODO") + } + + // to test the property `systemMessage` + should("test systemMessage") { + // uncomment below to test the property + //modelInstance.systemMessage shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt new file mode 100644 index 0000000..7c45702 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt @@ -0,0 +1,98 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response +import hu.petrik.filcapp.api.model.GetNotificationsSettings200ResponseNotificationPreferences + +class GetNotificationsSettings200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNotificationsSettings200Response + //val modelInstance = GetNotificationsSettings200Response() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `language` + should("test language") { + // uncomment below to test the property + //modelInstance.language shouldBe ("TODO") + } + + // to test the property `notificationPreferences` + should("test notificationPreferences") { + // uncomment below to test the property + //modelInstance.notificationPreferences shouldBe ("TODO") + } + + // to test the property `theme` + should("test theme") { + // uncomment below to test the property + //modelInstance.theme shouldBe ("TODO") + } + + // to test the property `timetableClassColors` + should("test timetableClassColors") { + // uncomment below to test the property + //modelInstance.timetableClassColors shouldBe ("TODO") + } + + // to test the property `timetableGroupDisplay` + should("test timetableGroupDisplay") { + // uncomment below to test the property + //modelInstance.timetableGroupDisplay shouldBe ("TODO") + } + + // to test the property `timetableView` + should("test timetableView") { + // uncomment below to test the property + //modelInstance.timetableView shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt new file mode 100644 index 0000000..43d6cc2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response + +class GetNotificationsUnreadCount200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetNotificationsUnreadCount200Response + //val modelInstance = GetNotificationsUnreadCount200Response() + + // to test the property `count` + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt new file mode 100644 index 0000000..8f1c6db --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetPing200Response + +class GetPing200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetPing200Response + //val modelInstance = GetPing200Response() + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt new file mode 100644 index 0000000..b0fe075 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetPingUptime200Response + +class GetPingUptime200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetPingUptime200Response + //val modelInstance = GetPingUptime200Response() + + // to test the property `pretty` + should("test pretty") { + // uncomment below to test the property + //modelInstance.pretty shouldBe ("TODO") + } + + // to test the property `uptimeMs` + should("test uptimeMs") { + // uncomment below to test the property + //modelInstance.uptimeMs shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..be44efd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetRoles200ResponseItemsInner + +class GetRoles200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRoles200ResponseItemsInner + //val modelInstance = GetRoles200ResponseItemsInner() + + // to test the property `can` + should("test can") { + // uncomment below to test the property + //modelInstance.can shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt new file mode 100644 index 0000000..4290268 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetRoles200Response +import hu.petrik.filcapp.api.model.GetRoles200ResponseItemsInner + +class GetRoles200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRoles200Response + //val modelInstance = GetRoles200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..77edcbb --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner + +class GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner + //val modelInstance = GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner() + + // to test the property `divisionLabel` + should("test divisionLabel") { + // uncomment below to test the property + //modelInstance.divisionLabel shouldBe ("TODO") + } + + // to test the property `divisionTag` + should("test divisionTag") { + // uncomment below to test the property + //modelInstance.divisionTag shouldBe ("TODO") + } + + // to test the property `entireClass` + should("test entireClass") { + // uncomment below to test the property + //modelInstance.entireClass shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `selected` + should("test selected") { + // uncomment below to test the property + //modelInstance.selected shouldBe ("TODO") + } + + // to test the property `studentCount` + should("test studentCount") { + // uncomment below to test the property + //modelInstance.studentCount shouldBe ("TODO") + } + + // to test the property `teacherId` + should("test teacherId") { + // uncomment below to test the property + //modelInstance.teacherId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt new file mode 100644 index 0000000..1aa854b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response +import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner + +class GetTimetableGroupsGetForCohortByCohortId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableGroupsGetForCohortByCohortId200Response + //val modelInstance = GetTimetableGroupsGetForCohortByCohortId200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt new file mode 100644 index 0000000..777d72f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt new file mode 100644 index 0000000..d20cbb9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt new file mode 100644 index 0000000..dfc596f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `days` + should("test days") { + // uncomment below to test the property + //modelInstance.days shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt new file mode 100644 index 0000000..4caa5af --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner() + + // to test the property `divisionTag` + should("test divisionTag") { + // uncomment below to test the property + //modelInstance.divisionTag shouldBe ("TODO") + } + + // to test the property `entireClass` + should("test entireClass") { + // uncomment below to test the property + //modelInstance.entireClass shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt new file mode 100644 index 0000000..cca9c44 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod() + + // to test the property `endTime` + should("test endTime") { + // uncomment below to test the property + //modelInstance.endTime shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `startTime` + should("test startTime") { + // uncomment below to test the property + //modelInstance.startTime shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt new file mode 100644 index 0000000..0aa621b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..39f07e3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt @@ -0,0 +1,122 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner() + + // to test the property `classrooms` + should("test classrooms") { + // uncomment below to test the property + //modelInstance.classrooms shouldBe ("TODO") + } + + // to test the property `cohorts` + should("test cohorts") { + // uncomment below to test the property + //modelInstance.cohorts shouldBe ("TODO") + } + + // to test the property `groups` + should("test groups") { + // uncomment below to test the property + //modelInstance.groups shouldBe ("TODO") + } + + // to test the property `groupsIds` + should("test groupsIds") { + // uncomment below to test the property + //modelInstance.groupsIds shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `periodsPerWeek` + should("test periodsPerWeek") { + // uncomment below to test the property + //modelInstance.periodsPerWeek shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `teachers` + should("test teachers") { + // uncomment below to test the property + //modelInstance.teachers shouldBe ("TODO") + } + + // to test the property `termDefinitionId` + should("test termDefinitionId") { + // uncomment below to test the property + //modelInstance.termDefinitionId shouldBe ("TODO") + } + + // to test the property `weekDefinition` + should("test weekDefinition") { + // uncomment below to test the property + //modelInstance.weekDefinition shouldBe ("TODO") + } + + // to test the property `weeksDefinitionId` + should("test weeksDefinitionId") { + // uncomment below to test the property + //modelInstance.weeksDefinitionId shouldBe ("TODO") + } + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt new file mode 100644 index 0000000..0af1ec2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition + +class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `weeks` + should("test weeks") { + // uncomment below to test the property + //modelInstance.weeks shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt new file mode 100644 index 0000000..e95a3fc --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner + +class GetTimetableLessonsGetForCohortByCohortId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200Response + //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt new file mode 100644 index 0000000..f47dce8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay + +class GetTimetableLessonsGetForIdByLessonId200ResponseDayTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseDay + //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseDay() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `days` + should("test days") { + // uncomment below to test the property + //modelInstance.days shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt new file mode 100644 index 0000000..cf06663 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner + +class GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner + //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner() + + // to test the property `divisionTag` + should("test divisionTag") { + // uncomment below to test the property + //modelInstance.divisionTag shouldBe ("TODO") + } + + // to test the property `entireClass` + should("test entireClass") { + // uncomment below to test the property + //modelInstance.entireClass shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt new file mode 100644 index 0000000..3eed9f8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt @@ -0,0 +1,127 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition + +class GetTimetableLessonsGetForIdByLessonId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200Response + //val modelInstance = GetTimetableLessonsGetForIdByLessonId200Response() + + // to test the property `classrooms` + should("test classrooms") { + // uncomment below to test the property + //modelInstance.classrooms shouldBe ("TODO") + } + + // to test the property `cohorts` + should("test cohorts") { + // uncomment below to test the property + //modelInstance.cohorts shouldBe ("TODO") + } + + // to test the property `groups` + should("test groups") { + // uncomment below to test the property + //modelInstance.groups shouldBe ("TODO") + } + + // to test the property `groupsIds` + should("test groupsIds") { + // uncomment below to test the property + //modelInstance.groupsIds shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `periodsPerWeek` + should("test periodsPerWeek") { + // uncomment below to test the property + //modelInstance.periodsPerWeek shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `teachers` + should("test teachers") { + // uncomment below to test the property + //modelInstance.teachers shouldBe ("TODO") + } + + // to test the property `termDefinitionId` + should("test termDefinitionId") { + // uncomment below to test the property + //modelInstance.termDefinitionId shouldBe ("TODO") + } + + // to test the property `weekDefinition` + should("test weekDefinition") { + // uncomment below to test the property + //modelInstance.weekDefinition shouldBe ("TODO") + } + + // to test the property `weeksDefinitionId` + should("test weeksDefinitionId") { + // uncomment below to test the property + //modelInstance.weeksDefinitionId shouldBe ("TODO") + } + + // to test the property `substitutionCohortName` + should("test substitutionCohortName") { + // uncomment below to test the property + //modelInstance.substitutionCohortName shouldBe ("TODO") + } + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt new file mode 100644 index 0000000..40d0d07 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition + +class GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition + //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `weeks` + should("test weeks") { + // uncomment below to test the property + //modelInstance.weeks shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt new file mode 100644 index 0000000..9a4fb6c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerMovedLesson + +class GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInnerMovedLesson + //val modelInstance = GetTimetableMovedLessons200ResponseItemsInnerMovedLesson() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `room` + should("test room") { + // uncomment below to test the property + //modelInstance.room shouldBe ("TODO") + } + + // to test the property `startingDay` + should("test startingDay") { + // uncomment below to test the property + //modelInstance.startingDay shouldBe ("TODO") + } + + // to test the property `startingPeriod` + should("test startingPeriod") { + // uncomment below to test the property + //modelInstance.startingPeriod shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt new file mode 100644 index 0000000..e4d6045 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod + +class GetTimetableMovedLessons200ResponseItemsInnerPeriodTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInnerPeriod + //val modelInstance = GetTimetableMovedLessons200ResponseItemsInnerPeriod() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `endTime` + should("test endTime") { + // uncomment below to test the property + //modelInstance.endTime shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `startTime` + should("test startTime") { + // uncomment below to test the property + //modelInstance.startTime shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..18c673a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt @@ -0,0 +1,72 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerMovedLesson +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod +import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + +class GetTimetableMovedLessons200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInner + //val modelInstance = GetTimetableMovedLessons200ResponseItemsInner() + + // to test the property `classroom` + should("test classroom") { + // uncomment below to test the property + //modelInstance.classroom shouldBe ("TODO") + } + + // to test the property `dayDefinition` + should("test dayDefinition") { + // uncomment below to test the property + //modelInstance.dayDefinition shouldBe ("TODO") + } + + // to test the property `lessons` + should("test lessons") { + // uncomment below to test the property + //modelInstance.lessons shouldBe ("TODO") + } + + // to test the property `movedLesson` + should("test movedLesson") { + // uncomment below to test the property + //modelInstance.movedLesson shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt new file mode 100644 index 0000000..f76ee3e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner + +class GetTimetableMovedLessons200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableMovedLessons200Response + //val modelInstance = GetTimetableMovedLessons200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..e68daa3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200ResponseItemsInner + +class GetTimetablePeriodsGetAll200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetablePeriodsGetAll200ResponseItemsInner + //val modelInstance = GetTimetablePeriodsGetAll200ResponseItemsInner() + + // to test the property `endTime` + should("test endTime") { + // uncomment below to test the property + //modelInstance.endTime shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `startTime` + should("test startTime") { + // uncomment below to test the property + //modelInstance.startTime shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt new file mode 100644 index 0000000..473f38a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response +import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200ResponseItemsInner + +class GetTimetablePeriodsGetAll200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetablePeriodsGetAll200Response + //val modelInstance = GetTimetablePeriodsGetAll200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..d08f91e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubjects200ResponseItemsInner + +class GetTimetableSubjects200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubjects200ResponseItemsInner + //val modelInstance = GetTimetableSubjects200ResponseItemsInner() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt new file mode 100644 index 0000000..7933a7a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response +import hu.petrik.filcapp.api.model.GetTimetableSubjects200ResponseItemsInner + +class GetTimetableSubjects200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubjects200Response + //val modelInstance = GetTimetableSubjects200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt new file mode 100644 index 0000000..57f717c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution + +class GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInnerSubstitution + //val modelInstance = GetTimetableSubstitutions200ResponseItemsInnerSubstitution() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `substituter` + should("test substituter") { + // uncomment below to test the property + //modelInstance.substituter shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt new file mode 100644 index 0000000..9be4a93 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher + +class GetTimetableSubstitutions200ResponseItemsInnerTeacherTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInnerTeacher + //val modelInstance = GetTimetableSubstitutions200ResponseItemsInnerTeacher() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `gender` + should("test gender") { + // uncomment below to test the property + //modelInstance.gender shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..b220d5e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt @@ -0,0 +1,58 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + +class GetTimetableSubstitutions200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInner + //val modelInstance = GetTimetableSubstitutions200ResponseItemsInner() + + // to test the property `lessons` + should("test lessons") { + // uncomment below to test the property + //modelInstance.lessons shouldBe ("TODO") + } + + // to test the property `substitution` + should("test substitution") { + // uncomment below to test the property + //modelInstance.substitution shouldBe ("TODO") + } + + // to test the property `teacher` + should("test teacher") { + // uncomment below to test the property + //modelInstance.teacher shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt new file mode 100644 index 0000000..9eed9df --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInner + +class GetTimetableSubstitutions200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutions200Response + //val modelInstance = GetTimetableSubstitutions200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt new file mode 100644 index 0000000..1d51c68 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsCohortByCohortId200Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner + +class GetTimetableSubstitutionsCohortByCohortId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutionsCohortByCohortId200Response + //val modelInstance = GetTimetableSubstitutionsCohortByCohortId200Response() + + // to test the property `cohortId` + should("test cohortId") { + // uncomment below to test the property + //modelInstance.cohortId shouldBe ("TODO") + } + + // to test the property `substitutions` + should("test substitutions") { + // uncomment below to test the property + //modelInstance.substitutions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt new file mode 100644 index 0000000..367b413 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher + +class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher + //val modelInstance = GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `gender` + should("test gender") { + // uncomment below to test the property + //modelInstance.gender shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..61e920d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher +import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response + +class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200ResponseItemsInner + //val modelInstance = GetTimetableSubstitutionsRelevant200ResponseItemsInner() + + // to test the property `lessons` + should("test lessons") { + // uncomment below to test the property + //modelInstance.lessons shouldBe ("TODO") + } + + // to test the property `substitution` + should("test substitution") { + // uncomment below to test the property + //modelInstance.substitution shouldBe ("TODO") + } + + // to test the property `teacher` + should("test teacher") { + // uncomment below to test the property + //modelInstance.teacher shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt new file mode 100644 index 0000000..aa8ed85 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200Response +import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner + +class GetTimetableSubstitutionsRelevant200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200Response + //val modelInstance = GetTimetableSubstitutionsRelevant200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..560492c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt @@ -0,0 +1,80 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInner +import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInnerUser + +class GetTimetableTeachers200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachers200ResponseItemsInner + //val modelInstance = GetTimetableTeachers200ResponseItemsInner() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `user` + should("test user") { + // uncomment below to test the property + //modelInstance.user shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt new file mode 100644 index 0000000..309da98 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInnerUser + +class GetTimetableTeachers200ResponseItemsInnerUserTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachers200ResponseItemsInnerUser + //val modelInstance = GetTimetableTeachers200ResponseItemsInnerUser() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt new file mode 100644 index 0000000..8c1553b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response +import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInner + +class GetTimetableTeachers200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachers200Response + //val modelInstance = GetTimetableTeachers200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..9250700 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200ResponseItemsInner + +class GetTimetableTeachersGetAll200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachersGetAll200ResponseItemsInner + //val modelInstance = GetTimetableTeachersGetAll200ResponseItemsInner() + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt new file mode 100644 index 0000000..80449e5 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response +import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200ResponseItemsInner + +class GetTimetableTeachersGetAll200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachersGetAll200Response + //val modelInstance = GetTimetableTeachersGetAll200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt new file mode 100644 index 0000000..40b8096 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response + +class GetTimetableTeachersMe200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTeachersMe200Response + //val modelInstance = GetTimetableTeachersMe200Response() + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..61a17f5 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTimetables200ResponseItemsInner + +class GetTimetableTimetables200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTimetables200ResponseItemsInner + //val modelInstance = GetTimetableTimetables200ResponseItemsInner() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validTo` + should("test validTo") { + // uncomment below to test the property + //modelInstance.validTo shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt new file mode 100644 index 0000000..fbfed13 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response +import hu.petrik.filcapp.api.model.GetTimetableTimetables200ResponseItemsInner + +class GetTimetableTimetables200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTimetables200Response + //val modelInstance = GetTimetableTimetables200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt new file mode 100644 index 0000000..378b914 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner + +class GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner + //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner() + + // to test the property `becomesOrphaned` + should("test becomesOrphaned") { + // uncomment below to test the property + //modelInstance.becomesOrphaned shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt new file mode 100644 index 0000000..126a35b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200Response +import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseTotals + +class GetTimetableTimetablesByIdPreviewDelete200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200Response + //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200Response() + + // to test the property `cohorts` + should("test cohorts") { + // uncomment below to test the property + //modelInstance.cohorts shouldBe ("TODO") + } + + // to test the property `isCurrentTimetable` + should("test isCurrentTimetable") { + // uncomment below to test the property + //modelInstance.isCurrentTimetable shouldBe ("TODO") + } + + // to test the property `targetTimetable` + should("test targetTimetable") { + // uncomment below to test the property + //modelInstance.targetTimetable shouldBe ("TODO") + } + + // to test the property `totals` + should("test totals") { + // uncomment below to test the property + //modelInstance.totals shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt new file mode 100644 index 0000000..9994425 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseTotals + +class GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200ResponseTotals + //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200ResponseTotals() + + // to test the property `danglingUsersCleaned` + should("test danglingUsersCleaned") { + // uncomment below to test the property + //modelInstance.danglingUsersCleaned shouldBe ("TODO") + } + + // to test the property `lessonsDeleted` + should("test lessonsDeleted") { + // uncomment below to test the property + //modelInstance.lessonsDeleted shouldBe ("TODO") + } + + // to test the property `movedLessonsDeleted` + should("test movedLessonsDeleted") { + // uncomment below to test the property + //modelInstance.movedLessonsDeleted shouldBe ("TODO") + } + + // to test the property `orphanedCohorts` + should("test orphanedCohorts") { + // uncomment below to test the property + //modelInstance.orphanedCohorts shouldBe ("TODO") + } + + // to test the property `substitutionsDeleted` + should("test substitutionsDeleted") { + // uncomment below to test the property + //modelInstance.substitutionsDeleted shouldBe ("TODO") + } + + // to test the property `survivingCohorts` + should("test survivingCohorts") { + // uncomment below to test the property + //modelInstance.survivingCohorts shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..a391946 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetUsers200ResponseItemsInner + +class GetUsers200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetUsers200ResponseItemsInner + //val modelInstance = GetUsers200ResponseItemsInner() + + // to test the property `cohortId` + should("test cohortId") { + // uncomment below to test the property + //modelInstance.cohortId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `emailVerified` + should("test emailVerified") { + // uncomment below to test the property + //modelInstance.emailVerified shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `roles` + should("test roles") { + // uncomment below to test the property + //modelInstance.roles shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `displayName` + should("test displayName") { + // uncomment below to test the property + //modelInstance.displayName shouldBe ("TODO") + } + + // to test the property `permissions` + should("test permissions") { + // uncomment below to test the property + //modelInstance.permissions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt new file mode 100644 index 0000000..da1c23e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetUsers200Response +import hu.petrik.filcapp.api.model.GetUsers200ResponseItemsInner + +class GetUsers200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetUsers200Response + //val modelInstance = GetUsers200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..94337a8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiAuthLogs200ResponseItemsInner + +class GetWifiAuthLogs200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiAuthLogs200ResponseItemsInner + //val modelInstance = GetWifiAuthLogs200ResponseItemsInner() + + // to test the property `deviceNickname` + should("test deviceNickname") { + // uncomment below to test the property + //modelInstance.deviceNickname shouldBe ("TODO") + } + + // to test the property `deviceReportedHostname` + should("test deviceReportedHostname") { + // uncomment below to test the property + //modelInstance.deviceReportedHostname shouldBe ("TODO") + } + + // to test the property `failureReason` + should("test failureReason") { + // uncomment below to test the property + //modelInstance.failureReason shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nasComment` + should("test nasComment") { + // uncomment below to test the property + //modelInstance.nasComment shouldBe ("TODO") + } + + // to test the property `nasIpAddress` + should("test nasIpAddress") { + // uncomment below to test the property + //modelInstance.nasIpAddress shouldBe ("TODO") + } + + // to test the property `nasMacAddress` + should("test nasMacAddress") { + // uncomment below to test the property + //modelInstance.nasMacAddress shouldBe ("TODO") + } + + // to test the property `result` + should("test result") { + // uncomment below to test the property + //modelInstance.result shouldBe ("TODO") + } + + // to test the property `timestamp` + should("test timestamp") { + // uncomment below to test the property + //modelInstance.timestamp shouldBe ("TODO") + } + + // to test the property `userComment` + should("test userComment") { + // uncomment below to test the property + //modelInstance.userComment shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `wifiUserId` + should("test wifiUserId") { + // uncomment below to test the property + //modelInstance.wifiUserId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt new file mode 100644 index 0000000..b80d5dd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiAuthLogs200Response +import hu.petrik.filcapp.api.model.GetWifiAuthLogs200ResponseItemsInner + +class GetWifiAuthLogs200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiAuthLogs200Response + //val modelInstance = GetWifiAuthLogs200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..7f9e5e8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiDevices200ResponseItemsInner + +class GetWifiDevices200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiDevices200ResponseItemsInner + //val modelInstance = GetWifiDevices200ResponseItemsInner() + + // to test the property `adminNotes` + should("test adminNotes") { + // uncomment below to test the property + //modelInstance.adminNotes shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `reportedHostname` + should("test reportedHostname") { + // uncomment below to test the property + //modelInstance.reportedHostname shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `wifiUserId` + should("test wifiUserId") { + // uncomment below to test the property + //modelInstance.wifiUserId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt new file mode 100644 index 0000000..19164a1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiDevices200Response +import hu.petrik.filcapp.api.model.GetWifiDevices200ResponseItemsInner + +class GetWifiDevices200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiDevices200Response + //val modelInstance = GetWifiDevices200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..aed56df --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiNas200ResponseItemsInner + +class GetWifiNas200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiNas200ResponseItemsInner + //val modelInstance = GetWifiNas200ResponseItemsInner() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `ipAddress` + should("test ipAddress") { + // uncomment below to test the property + //modelInstance.ipAddress shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt new file mode 100644 index 0000000..bc6fa4c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiNas200Response +import hu.petrik.filcapp.api.model.GetWifiNas200ResponseItemsInner + +class GetWifiNas200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiNas200Response + //val modelInstance = GetWifiNas200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..0874c58 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200ResponseItemsInner + +class GetWifiRoleSpeedProfiles200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiRoleSpeedProfiles200ResponseItemsInner + //val modelInstance = GetWifiRoleSpeedProfiles200ResponseItemsInner() + + // to test the property `priority` + should("test priority") { + // uncomment below to test the property + //modelInstance.priority shouldBe ("TODO") + } + + // to test the property `roleName` + should("test roleName") { + // uncomment below to test the property + //modelInstance.roleName shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt new file mode 100644 index 0000000..028b0b2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200Response +import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200ResponseItemsInner + +class GetWifiRoleSpeedProfiles200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiRoleSpeedProfiles200Response + //val modelInstance = GetWifiRoleSpeedProfiles200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt new file mode 100644 index 0000000..9b750d1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseDevicesInner + +class GetWifiSelf200ResponseDevicesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiSelf200ResponseDevicesInner + //val modelInstance = GetWifiSelf200ResponseDevicesInner() + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `reportedHostname` + should("test reportedHostname") { + // uncomment below to test the property + //modelInstance.reportedHostname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt new file mode 100644 index 0000000..c1c1e61 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit + +class GetWifiSelf200ResponseSpeedLimitTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiSelf200ResponseSpeedLimit + //val modelInstance = GetWifiSelf200ResponseSpeedLimit() + + // to test the property `downloadSpeedMbps` + should("test downloadSpeedMbps") { + // uncomment below to test the property + //modelInstance.downloadSpeedMbps shouldBe ("TODO") + } + + // to test the property `roleName` + should("test roleName") { + // uncomment below to test the property + //modelInstance.roleName shouldBe ("TODO") + } + + // to test the property `source` + should("test source") { + // uncomment below to test the property + //modelInstance.source shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `uploadSpeedMbps` + should("test uploadSpeedMbps") { + // uncomment below to test the property + //modelInstance.uploadSpeedMbps shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt new file mode 100644 index 0000000..fce6c0e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiSelf200Response +import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseDevicesInner +import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit + +class GetWifiSelf200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiSelf200Response + //val modelInstance = GetWifiSelf200Response() + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `devices` + should("test devices") { + // uncomment below to test the property + //modelInstance.devices shouldBe ("TODO") + } + + // to test the property `speedLimit` + should("test speedLimit") { + // uncomment below to test the property + //modelInstance.speedLimit shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..de9dcf6 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200ResponseItemsInner + +class GetWifiSpeedProfiles200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiSpeedProfiles200ResponseItemsInner + //val modelInstance = GetWifiSpeedProfiles200ResponseItemsInner() + + // to test the property `downloadSpeedMbps` + should("test downloadSpeedMbps") { + // uncomment below to test the property + //modelInstance.downloadSpeedMbps shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `isWlanDefault` + should("test isWlanDefault") { + // uncomment below to test the property + //modelInstance.isWlanDefault shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `uploadSpeedMbps` + should("test uploadSpeedMbps") { + // uncomment below to test the property + //modelInstance.uploadSpeedMbps shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt new file mode 100644 index 0000000..edca484 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200Response +import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200ResponseItemsInner + +class GetWifiSpeedProfiles200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiSpeedProfiles200Response + //val modelInstance = GetWifiSpeedProfiles200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt new file mode 100644 index 0000000..28b99da --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStatsAuthSeriesInner + +class GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiStatsOverview200ResponseStatsAuthSeriesInner + //val modelInstance = GetWifiStatsOverview200ResponseStatsAuthSeriesInner() + + // to test the property `accepted` + should("test accepted") { + // uncomment below to test the property + //modelInstance.accepted shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `rejected` + should("test rejected") { + // uncomment below to test the property + //modelInstance.rejected shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt new file mode 100644 index 0000000..f00b980 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStats +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStatsAuthSeriesInner + +class GetWifiStatsOverview200ResponseStatsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiStatsOverview200ResponseStats + //val modelInstance = GetWifiStatsOverview200ResponseStats() + + // to test the property `activeDevices` + should("test activeDevices") { + // uncomment below to test the property + //modelInstance.activeDevices shouldBe ("TODO") + } + + // to test the property `authSeries` + should("test authSeries") { + // uncomment below to test the property + //modelInstance.authSeries shouldBe ("TODO") + } + + // to test the property `totalDevices` + should("test totalDevices") { + // uncomment below to test the property + //modelInstance.totalDevices shouldBe ("TODO") + } + + // to test the property `totalUsers` + should("test totalUsers") { + // uncomment below to test the property + //modelInstance.totalUsers shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt new file mode 100644 index 0000000..6ab57d4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200Response +import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStats + +class GetWifiStatsOverview200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiStatsOverview200Response + //val modelInstance = GetWifiStatsOverview200Response() + + // to test the property `stats` + should("test stats") { + // uncomment below to test the property + //modelInstance.stats shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt new file mode 100644 index 0000000..6a131cd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiStatus200Response + +class GetWifiStatus200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiStatus200Response + //val modelInstance = GetWifiStatus200Response() + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `ssid` + should("test ssid") { + // uncomment below to test the property + //modelInstance.ssid shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..47623f2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiUsers200ResponseItemsInner + +class GetWifiUsers200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiUsers200ResponseItemsInner + //val modelInstance = GetWifiUsers200ResponseItemsInner() + + // to test the property `allowedMacAddresses` + should("test allowedMacAddresses") { + // uncomment below to test the property + //modelInstance.allowedMacAddresses shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `createdBy` + should("test createdBy") { + // uncomment below to test the property + //modelInstance.createdBy shouldBe ("TODO") + } + + // to test the property `creatorName` + should("test creatorName") { + // uncomment below to test the property + //modelInstance.creatorName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt new file mode 100644 index 0000000..db3b1b8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.GetWifiUsers200Response +import hu.petrik.filcapp.api.model.GetWifiUsers200ResponseItemsInner + +class GetWifiUsers200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWifiUsers200Response + //val modelInstance = GetWifiUsers200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt new file mode 100644 index 0000000..3da6488 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response + +class PatchAdminApiKeysByKeyId200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchAdminApiKeysByKeyId200Response + //val modelInstance = PatchAdminApiKeysByKeyId200Response() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastRequest` + should("test lastRequest") { + // uncomment below to test the property + //modelInstance.lastRequest shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `ownerEmail` + should("test ownerEmail") { + // uncomment below to test the property + //modelInstance.ownerEmail shouldBe ("TODO") + } + + // to test the property `ownerName` + should("test ownerName") { + // uncomment below to test the property + //modelInstance.ownerName shouldBe ("TODO") + } + + // to test the property `prefix` + should("test prefix") { + // uncomment below to test the property + //modelInstance.prefix shouldBe ("TODO") + } + + // to test the property `referenceId` + should("test referenceId") { + // uncomment below to test the property + //modelInstance.referenceId shouldBe ("TODO") + } + + // to test the property `requestCount` + should("test requestCount") { + // uncomment below to test the property + //modelInstance.requestCount shouldBe ("TODO") + } + + // to test the property `start` + should("test start") { + // uncomment below to test the property + //modelInstance.start shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt new file mode 100644 index 0000000..dcbc66c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response + +class PatchAdminApiKeysByKeyId400ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchAdminApiKeysByKeyId400Response + //val modelInstance = PatchAdminApiKeysByKeyId400Response() + + // to test the property `code` + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt new file mode 100644 index 0000000..3070bd6 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest + +class PatchAdminApiKeysByKeyIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchAdminApiKeysByKeyIdRequest + //val modelInstance = PatchAdminApiKeysByKeyIdRequest() + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt new file mode 100644 index 0000000..482dfa3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata +import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue + +class PatchBugReportByIdStatus200ResponseMetadataTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchBugReportByIdStatus200ResponseMetadata + //val modelInstance = PatchBugReportByIdStatus200ResponseMetadata() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt new file mode 100644 index 0000000..15c3fd1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt @@ -0,0 +1,98 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PatchBugReportByIdStatus200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchBugReportByIdStatus200Response + //val modelInstance = PatchBugReportByIdStatus200Response() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `page` + should("test page") { + // uncomment below to test the property + //modelInstance.page shouldBe ("TODO") + } + + // to test the property `reporterEmail` + should("test reporterEmail") { + // uncomment below to test the property + //modelInstance.reporterEmail shouldBe ("TODO") + } + + // to test the property `reporterId` + should("test reporterId") { + // uncomment below to test the property + //modelInstance.reporterId shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt new file mode 100644 index 0000000..6732a22 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest + +class PatchBugReportByIdStatusRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchBugReportByIdStatusRequest + //val modelInstance = PatchBugReportByIdStatusRequest() + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt new file mode 100644 index 0000000..e402482 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt @@ -0,0 +1,134 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsById200Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PatchNewsAnnouncementsById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsAnnouncementsById200Response + //val modelInstance = PatchNewsAnnouncementsById200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `imageByteSize` + should("test imageByteSize") { + // uncomment below to test the property + //modelInstance.imageByteSize shouldBe ("TODO") + } + + // to test the property `imageContentType` + should("test imageContentType") { + // uncomment below to test the property + //modelInstance.imageContentType shouldBe ("TODO") + } + + // to test the property `imageKey` + should("test imageKey") { + // uncomment below to test the property + //modelInstance.imageKey shouldBe ("TODO") + } + + // to test the property `imageUpdatedAt` + should("test imageUpdatedAt") { + // uncomment below to test the property + //modelInstance.imageUpdatedAt shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt new file mode 100644 index 0000000..7974e63 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner +import hu.petrik.filcapp.api.model.PostKioskRequestConfig + +class PatchNewsAnnouncementsByIdRequestContentInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsAnnouncementsByIdRequestContentInner + //val modelInstance = PatchNewsAnnouncementsByIdRequestContentInner() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt new file mode 100644 index 0000000..ca19ab6 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt @@ -0,0 +1,86 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + +class PatchNewsAnnouncementsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsAnnouncementsByIdRequest + //val modelInstance = PatchNewsAnnouncementsByIdRequest() + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt new file mode 100644 index 0000000..b02b400 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt @@ -0,0 +1,92 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PatchNewsBlogsById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsBlogsById200Response + //val modelInstance = PatchNewsBlogsById200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `publishedAt` + should("test publishedAt") { + // uncomment below to test the property + //modelInstance.publishedAt shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt new file mode 100644 index 0000000..5a15ac2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + +class PatchNewsBlogsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsBlogsByIdRequest + //val modelInstance = PatchNewsBlogsByIdRequest() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt new file mode 100644 index 0000000..e94644a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt @@ -0,0 +1,92 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PatchNewsSystemMessagesById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsSystemMessagesById200Response + //val modelInstance = PatchNewsSystemMessagesById200Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt new file mode 100644 index 0000000..a61f57b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt @@ -0,0 +1,68 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + +class PatchNewsSystemMessagesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNewsSystemMessagesByIdRequest + //val modelInstance = PatchNewsSystemMessagesByIdRequest() + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt new file mode 100644 index 0000000..ba92b58 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequestNotificationPreferences + +class PatchNotificationsSettingsRequestNotificationPreferencesTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNotificationsSettingsRequestNotificationPreferences + //val modelInstance = PatchNotificationsSettingsRequestNotificationPreferences() + + // to test the property `announcement` + should("test announcement") { + // uncomment below to test the property + //modelInstance.announcement shouldBe ("TODO") + } + + // to test the property `blogPost` + should("test blogPost") { + // uncomment below to test the property + //modelInstance.blogPost shouldBe ("TODO") + } + + // to test the property `channelsEnabled` + should("test channelsEnabled") { + // uncomment below to test the property + //modelInstance.channelsEnabled shouldBe ("TODO") + } + + // to test the property `doorlockCardUsed` + should("test doorlockCardUsed") { + // uncomment below to test the property + //modelInstance.doorlockCardUsed shouldBe ("TODO") + } + + // to test the property `movedLesson` + should("test movedLesson") { + // uncomment below to test the property + //modelInstance.movedLesson shouldBe ("TODO") + } + + // to test the property `substitution` + should("test substitution") { + // uncomment below to test the property + //modelInstance.substitution shouldBe ("TODO") + } + + // to test the property `systemMessage` + should("test systemMessage") { + // uncomment below to test the property + //modelInstance.systemMessage shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt new file mode 100644 index 0000000..651de4c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt @@ -0,0 +1,74 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequest +import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequestNotificationPreferences + +class PatchNotificationsSettingsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchNotificationsSettingsRequest + //val modelInstance = PatchNotificationsSettingsRequest() + + // to test the property `language` + should("test language") { + // uncomment below to test the property + //modelInstance.language shouldBe ("TODO") + } + + // to test the property `notificationPreferences` + should("test notificationPreferences") { + // uncomment below to test the property + //modelInstance.notificationPreferences shouldBe ("TODO") + } + + // to test the property `theme` + should("test theme") { + // uncomment below to test the property + //modelInstance.theme shouldBe ("TODO") + } + + // to test the property `timetableClassColors` + should("test timetableClassColors") { + // uncomment below to test the property + //modelInstance.timetableClassColors shouldBe ("TODO") + } + + // to test the property `timetableGroupDisplay` + should("test timetableGroupDisplay") { + // uncomment below to test the property + //modelInstance.timetableGroupDisplay shouldBe ("TODO") + } + + // to test the property `timetableView` + should("test timetableView") { + // uncomment below to test the property + //modelInstance.timetableView shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt new file mode 100644 index 0000000..0d94150 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchRolesByNameRequest + +class PatchRolesByNameRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchRolesByNameRequest + //val modelInstance = PatchRolesByNameRequest() + + // to test the property `permissions` + should("test permissions") { + // uncomment below to test the property + //modelInstance.permissions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt new file mode 100644 index 0000000..2edde83 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt @@ -0,0 +1,80 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response +import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200ResponseUser + +class PatchTimetableTeachersById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchTimetableTeachersById200Response + //val modelInstance = PatchTimetableTeachersById200Response() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `user` + should("test user") { + // uncomment below to test the property + //modelInstance.user shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt new file mode 100644 index 0000000..fb6011c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200ResponseUser + +class PatchTimetableTeachersById200ResponseUserTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchTimetableTeachersById200ResponseUser + //val modelInstance = PatchTimetableTeachersById200ResponseUser() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt new file mode 100644 index 0000000..1c402e0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest + +class PatchTimetableTeachersByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchTimetableTeachersByIdRequest + //val modelInstance = PatchTimetableTeachersByIdRequest() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt new file mode 100644 index 0000000..6a28ece --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchTimetableTimetablesById200Response + +class PatchTimetableTimetablesById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchTimetableTimetablesById200Response + //val modelInstance = PatchTimetableTimetablesById200Response() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validTo` + should("test validTo") { + // uncomment below to test the property + //modelInstance.validTo shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt new file mode 100644 index 0000000..d419690 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest + +class PatchTimetableTimetablesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchTimetableTimetablesByIdRequest + //val modelInstance = PatchTimetableTimetablesByIdRequest() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validTo` + should("test validTo") { + // uncomment below to test the property + //modelInstance.validTo shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt new file mode 100644 index 0000000..c1fef3d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchUsersById200Response + +class PatchUsersById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchUsersById200Response + //val modelInstance = PatchUsersById200Response() + + // to test the property `cohortId` + should("test cohortId") { + // uncomment below to test the property + //modelInstance.cohortId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `emailVerified` + should("test emailVerified") { + // uncomment below to test the property + //modelInstance.emailVerified shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `roles` + should("test roles") { + // uncomment below to test the property + //modelInstance.roles shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `displayName` + should("test displayName") { + // uncomment below to test the property + //modelInstance.displayName shouldBe ("TODO") + } + + // to test the property `permissions` + should("test permissions") { + // uncomment below to test the property + //modelInstance.permissions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt new file mode 100644 index 0000000..9bf19db --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PatchUsersByIdRequest + +class PatchUsersByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchUsersByIdRequest + //val modelInstance = PatchUsersByIdRequest() + + // to test the property `cohortId` + should("test cohortId") { + // uncomment below to test the property + //modelInstance.cohortId shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `roles` + should("test roles") { + // uncomment below to test the property + //modelInstance.roles shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt new file mode 100644 index 0000000..96e9090 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostBugReport201Response + +class PostBugReport201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostBugReport201Response + //val modelInstance = PostBugReport201Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt new file mode 100644 index 0000000..b26afed --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt @@ -0,0 +1,37 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfInner + +class PostBugReportRequestMetadataValueAnyOfInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostBugReportRequestMetadataValueAnyOfInner + //val modelInstance = PostBugReportRequestMetadataValueAnyOfInner() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt new file mode 100644 index 0000000..102bd7a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt @@ -0,0 +1,37 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue + +class PostBugReportRequestMetadataValueAnyOfValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostBugReportRequestMetadataValueAnyOfValue + //val modelInstance = PostBugReportRequestMetadataValueAnyOfValue() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt new file mode 100644 index 0000000..e1637fc --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValue +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfInner +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue + +class PostBugReportRequestMetadataValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostBugReportRequestMetadataValue + //val modelInstance = PostBugReportRequestMetadataValue() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt new file mode 100644 index 0000000..47bbbc4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostBugReportRequest +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValue + +class PostBugReportRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostBugReportRequest + //val modelInstance = PostBugReportRequest() + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `page` + should("test page") { + // uncomment below to test the property + //modelInstance.page shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt new file mode 100644 index 0000000..51a2974 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseAuthorizedDevicesInner + +class PostDoorlockCards201ResponseAuthorizedDevicesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockCards201ResponseAuthorizedDevicesInner + //val modelInstance = PostDoorlockCards201ResponseAuthorizedDevicesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt new file mode 100644 index 0000000..81c85a8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner + +class PostDoorlockCards201ResponseOwnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockCards201ResponseOwner + //val modelInstance = PostDoorlockCards201ResponseOwner() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt new file mode 100644 index 0000000..6a5878c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt @@ -0,0 +1,99 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockCards201Response +import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseAuthorizedDevicesInner +import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner + +class PostDoorlockCards201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockCards201Response + //val modelInstance = PostDoorlockCards201Response() + + // to test the property `authorizedDevices` + should("test authorizedDevices") { + // uncomment below to test the property + //modelInstance.authorizedDevices shouldBe ("TODO") + } + + // to test the property `cardData` + should("test cardData") { + // uncomment below to test the property + //modelInstance.cardData shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `frozen` + should("test frozen") { + // uncomment below to test the property + //modelInstance.frozen shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `owner` + should("test owner") { + // uncomment below to test the property + //modelInstance.owner shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt new file mode 100644 index 0000000..6a6526c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockCardsRequest + +class PostDoorlockCardsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockCardsRequest + //val modelInstance = PostDoorlockCardsRequest() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `cardData` + should("test cardData") { + // uncomment below to test the property + //modelInstance.cardData shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `authorizedDeviceIds` + should("test authorizedDeviceIds") { + // uncomment below to test the property + //modelInstance.authorizedDeviceIds shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `frozen` + should("test frozen") { + // uncomment below to test the property + //modelInstance.frozen shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt new file mode 100644 index 0000000..9f9b44c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockDevices201Response + +class PostDoorlockDevices201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockDevices201Response + //val modelInstance = PostDoorlockDevices201Response() + + // to test the property `apiToken` + should("test apiToken") { + // uncomment below to test the property + //modelInstance.apiToken shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastResetReason` + should("test lastResetReason") { + // uncomment below to test the property + //modelInstance.lastResetReason shouldBe ("TODO") + } + + // to test the property `location` + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt new file mode 100644 index 0000000..4c28485 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response + +class PostDoorlockDevicesByIdUpdate200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockDevicesByIdUpdate200Response + //val modelInstance = PostDoorlockDevicesByIdUpdate200Response() + + // to test the property `ok` + should("test ok") { + // uncomment below to test the property + //modelInstance.ok shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt new file mode 100644 index 0000000..fdedd2e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdateRequest + +class PostDoorlockDevicesByIdUpdateRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockDevicesByIdUpdateRequest + //val modelInstance = PostDoorlockDevicesByIdUpdateRequest() + + // to test the property `url` + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt new file mode 100644 index 0000000..58ea150 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockDevicesRequest + +class PostDoorlockDevicesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockDevicesRequest + //val modelInstance = PostDoorlockDevicesRequest() + + // to test the property `apiToken` + should("test apiToken") { + // uncomment below to test the property + //modelInstance.apiToken shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `lastResetReason` + should("test lastResetReason") { + // uncomment below to test the property + //modelInstance.lastResetReason shouldBe ("TODO") + } + + // to test the property `location` + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt new file mode 100644 index 0000000..79f88d8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockDevicesUpdate200Response + +class PostDoorlockDevicesUpdate200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockDevicesUpdate200Response + //val modelInstance = PostDoorlockDevicesUpdate200Response() + + // to test the property `count` + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt new file mode 100644 index 0000000..fd73a11 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivate200Response + +class PostDoorlockSelfCardsByIdActivate200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockSelfCardsByIdActivate200Response + //val modelInstance = PostDoorlockSelfCardsByIdActivate200Response() + + // to test the property `buttonPressed` + should("test buttonPressed") { + // uncomment below to test the property + //modelInstance.buttonPressed shouldBe ("TODO") + } + + // to test the property `cardData` + should("test cardData") { + // uncomment below to test the property + //modelInstance.cardData shouldBe ("TODO") + } + + // to test the property `cardId` + should("test cardId") { + // uncomment below to test the property + //modelInstance.cardId shouldBe ("TODO") + } + + // to test the property `deviceId` + should("test deviceId") { + // uncomment below to test the property + //modelInstance.deviceId shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `result` + should("test result") { + // uncomment below to test the property + //modelInstance.result shouldBe ("TODO") + } + + // to test the property `timestamp` + should("test timestamp") { + // uncomment below to test the property + //modelInstance.timestamp shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt new file mode 100644 index 0000000..ad4db8b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivateRequest + +class PostDoorlockSelfCardsByIdActivateRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostDoorlockSelfCardsByIdActivateRequest + //val modelInstance = PostDoorlockSelfCardsByIdActivateRequest() + + // to test the property `deviceId` + should("test deviceId") { + // uncomment below to test the property + //modelInstance.deviceId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt new file mode 100644 index 0000000..e0a4f67 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKiosk201Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PostKiosk201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKiosk201Response + //val modelInstance = PostKiosk201Response() + + // to test the property `appVersion` + should("test appVersion") { + // uncomment below to test the property + //modelInstance.appVersion shouldBe ("TODO") + } + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `lastSeenAt` + should("test lastSeenAt") { + // uncomment below to test the property + //modelInstance.lastSeenAt shouldBe ("TODO") + } + + // to test the property `lastSeenIp` + should("test lastSeenIp") { + // uncomment below to test the property + //modelInstance.lastSeenIp shouldBe ("TODO") + } + + // to test the property `machineId` + should("test machineId") { + // uncomment below to test the property + //modelInstance.machineId shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..63fcc70 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskDepartures200ResponseItemsInner + +class PostKioskDepartures200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskDepartures200ResponseItemsInner + //val modelInstance = PostKioskDepartures200ResponseItemsInner() + + // to test the property `label` + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `predictedDepartureTime` + should("test predictedDepartureTime") { + // uncomment below to test the property + //modelInstance.predictedDepartureTime shouldBe ("TODO") + } + + // to test the property `routeShortDesc` + should("test routeShortDesc") { + // uncomment below to test the property + //modelInstance.routeShortDesc shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt new file mode 100644 index 0000000..2af3e98 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskDepartures200Response +import hu.petrik.filcapp.api.model.PostKioskDepartures200ResponseItemsInner + +class PostKioskDepartures200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskDepartures200Response + //val modelInstance = PostKioskDepartures200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt new file mode 100644 index 0000000..f51d706 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInnerStopsInner + +class PostKioskDeparturesRequestGroupsInnerStopsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskDeparturesRequestGroupsInnerStopsInner + //val modelInstance = PostKioskDeparturesRequestGroupsInnerStopsInner() + + // to test the property `stopId` + should("test stopId") { + // uncomment below to test the property + //modelInstance.stopId shouldBe ("TODO") + } + + // to test the property `routeFilter` + should("test routeFilter") { + // uncomment below to test the property + //modelInstance.routeFilter shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt new file mode 100644 index 0000000..99ba50c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInner +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInnerStopsInner + +class PostKioskDeparturesRequestGroupsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskDeparturesRequestGroupsInner + //val modelInstance = PostKioskDeparturesRequestGroupsInner() + + // to test the property `label` + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `stops` + should("test stops") { + // uncomment below to test the property + //modelInstance.stops shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt new file mode 100644 index 0000000..dabae2e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequest +import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInner + +class PostKioskDeparturesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskDeparturesRequest + //val modelInstance = PostKioskDeparturesRequest() + + // to test the property `groups` + should("test groups") { + // uncomment below to test the property + //modelInstance.groups shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt new file mode 100644 index 0000000..2c28473 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1Kiosk + +class PostKioskHeartbeat200ResponseAnyOf1KioskTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf1Kiosk + //val modelInstance = PostKioskHeartbeat200ResponseAnyOf1Kiosk() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt new file mode 100644 index 0000000..894502a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1 +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1Kiosk + +class PostKioskHeartbeat200ResponseAnyOf1Test : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf1 + //val modelInstance = PostKioskHeartbeat200ResponseAnyOf1() + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `kiosk` + should("test kiosk") { + // uncomment below to test the property + //modelInstance.kiosk shouldBe ("TODO") + } + + // to test the property `registered` + should("test registered") { + // uncomment below to test the property + //modelInstance.registered shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt new file mode 100644 index 0000000..ab5d46c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PostKioskHeartbeat200ResponseAnyOf2KioskTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf2Kiosk + //val modelInstance = PostKioskHeartbeat200ResponseAnyOf2Kiosk() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt new file mode 100644 index 0000000..be74765 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2 +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk + +class PostKioskHeartbeat200ResponseAnyOf2Test : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf2 + //val modelInstance = PostKioskHeartbeat200ResponseAnyOf2() + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `kiosk` + should("test kiosk") { + // uncomment below to test the property + //modelInstance.kiosk shouldBe ("TODO") + } + + // to test the property `registered` + should("test registered") { + // uncomment below to test the property + //modelInstance.registered shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt new file mode 100644 index 0000000..d9847d3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf + +class PostKioskHeartbeat200ResponseAnyOfTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf + //val modelInstance = PostKioskHeartbeat200ResponseAnyOf() + + // to test the property `registered` + should("test registered") { + // uncomment below to test the property + //modelInstance.registered shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt new file mode 100644 index 0000000..3bef97b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200Response +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1 +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2 +import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk + +class PostKioskHeartbeat200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeat200Response + //val modelInstance = PostKioskHeartbeat200Response() + + // to test the property `registered` + should("test registered") { + // uncomment below to test the property + //modelInstance.registered shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `kiosk` + should("test kiosk") { + // uncomment below to test the property + //modelInstance.kiosk shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt new file mode 100644 index 0000000..8a4fec1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskHeartbeatRequest + +class PostKioskHeartbeatRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskHeartbeatRequest + //val modelInstance = PostKioskHeartbeatRequest() + + // to test the property `appVersion` + should("test appVersion") { + // uncomment below to test the property + //modelInstance.appVersion shouldBe ("TODO") + } + + // to test the property `machineId` + should("test machineId") { + // uncomment below to test the property + //modelInstance.machineId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt new file mode 100644 index 0000000..670f7c2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskRequestConfig +import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue + +class PostKioskRequestConfigTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskRequestConfig + //val modelInstance = PostKioskRequestConfig() + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt new file mode 100644 index 0000000..3b083d7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt @@ -0,0 +1,68 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostKioskRequest +import hu.petrik.filcapp.api.model.PostKioskRequestConfig + +class PostKioskRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostKioskRequest + //val modelInstance = PostKioskRequest() + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `machineId` + should("test machineId") { + // uncomment below to test the property + //modelInstance.machineId shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt new file mode 100644 index 0000000..d6ee3a9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response + +class PostNavigatorBuildings201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorBuildings201Response + //val modelInstance = PostNavigatorBuildings201Response() + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `mapped` + should("test mapped") { + // uncomment below to test the property + //modelInstance.mapped shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt new file mode 100644 index 0000000..7f6a197 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorBuildingsRequest + +class PostNavigatorBuildingsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorBuildingsRequest + //val modelInstance = PostNavigatorBuildingsRequest() + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt new file mode 100644 index 0000000..ca6c40d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response + +class PostNavigatorClassroomTypes201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorClassroomTypes201Response + //val modelInstance = PostNavigatorClassroomTypes201Response() + + // to test the property `colorhex` + should("test colorhex") { + // uncomment below to test the property + //modelInstance.colorhex shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt new file mode 100644 index 0000000..3f21f84 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypesRequest + +class PostNavigatorClassroomTypesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorClassroomTypesRequest + //val modelInstance = PostNavigatorClassroomTypesRequest() + + // to test the property `colorhex` + should("test colorhex") { + // uncomment below to test the property + //modelInstance.colorhex shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt new file mode 100644 index 0000000..6ee6f25 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt @@ -0,0 +1,127 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response + +class PostNavigatorClassrooms201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorClassrooms201Response + //val modelInstance = PostNavigatorClassrooms201Response() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `capacity` + should("test capacity") { + // uncomment below to test the property + //modelInstance.capacity shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `mapped` + should("test mapped") { + // uncomment below to test the property + //modelInstance.mapped shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `sizeX` + should("test sizeX") { + // uncomment below to test the property + //modelInstance.sizeX shouldBe ("TODO") + } + + // to test the property `sizeY` + should("test sizeY") { + // uncomment below to test the property + //modelInstance.sizeY shouldBe ("TODO") + } + + // to test the property `sizeZ` + should("test sizeZ") { + // uncomment below to test the property + //modelInstance.sizeZ shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `typeId` + should("test typeId") { + // uncomment below to test the property + //modelInstance.typeId shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt new file mode 100644 index 0000000..209ba0a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorClassroomsRequest + +class PostNavigatorClassroomsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorClassroomsRequest + //val modelInstance = PostNavigatorClassroomsRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `capacity` + should("test capacity") { + // uncomment below to test the property + //modelInstance.capacity shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `sizeX` + should("test sizeX") { + // uncomment below to test the property + //modelInstance.sizeX shouldBe ("TODO") + } + + // to test the property `sizeY` + should("test sizeY") { + // uncomment below to test the property + //modelInstance.sizeY shouldBe ("TODO") + } + + // to test the property `sizeZ` + should("test sizeZ") { + // uncomment below to test the property + //modelInstance.sizeZ shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `typeId` + should("test typeId") { + // uncomment below to test the property + //modelInstance.typeId shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt new file mode 100644 index 0000000..71e173a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response + +class PostNavigatorCorridors201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorCorridors201Response + //val modelInstance = PostNavigatorCorridors201Response() + + // to test the property `barrierFree` + should("test barrierFree") { + // uncomment below to test the property + //modelInstance.barrierFree shouldBe ("TODO") + } + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `isOutdoor` + should("test isOutdoor") { + // uncomment below to test the property + //modelInstance.isOutdoor shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `width` + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + // to test the property `x1` + should("test x1") { + // uncomment below to test the property + //modelInstance.x1 shouldBe ("TODO") + } + + // to test the property `x2` + should("test x2") { + // uncomment below to test the property + //modelInstance.x2 shouldBe ("TODO") + } + + // to test the property `y1` + should("test y1") { + // uncomment below to test the property + //modelInstance.y1 shouldBe ("TODO") + } + + // to test the property `y2` + should("test y2") { + // uncomment below to test the property + //modelInstance.y2 shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt new file mode 100644 index 0000000..f9f7386 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorCorridorsRequest + +class PostNavigatorCorridorsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorCorridorsRequest + //val modelInstance = PostNavigatorCorridorsRequest() + + // to test the property `barrierFree` + should("test barrierFree") { + // uncomment below to test the property + //modelInstance.barrierFree shouldBe ("TODO") + } + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `isOutdoor` + should("test isOutdoor") { + // uncomment below to test the property + //modelInstance.isOutdoor shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `width` + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + // to test the property `x1` + should("test x1") { + // uncomment below to test the property + //modelInstance.x1 shouldBe ("TODO") + } + + // to test the property `x2` + should("test x2") { + // uncomment below to test the property + //modelInstance.x2 shouldBe ("TODO") + } + + // to test the property `y1` + should("test y1") { + // uncomment below to test the property + //modelInstance.y1 shouldBe ("TODO") + } + + // to test the property `y2` + should("test y2") { + // uncomment below to test the property + //modelInstance.y2 shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt new file mode 100644 index 0000000..696daed --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorImport200Response + +class PostNavigatorImport200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorImport200Response + //val modelInstance = PostNavigatorImport200Response() + + // to test the property `buildings` + should("test buildings") { + // uncomment below to test the property + //modelInstance.buildings shouldBe ("TODO") + } + + // to test the property `classrooms` + should("test classrooms") { + // uncomment below to test the property + //modelInstance.classrooms shouldBe ("TODO") + } + + // to test the property `classroomTypes` + should("test classroomTypes") { + // uncomment below to test the property + //modelInstance.classroomTypes shouldBe ("TODO") + } + + // to test the property `corridors` + should("test corridors") { + // uncomment below to test the property + //modelInstance.corridors shouldBe ("TODO") + } + + // to test the property `lifts` + should("test lifts") { + // uncomment below to test the property + //modelInstance.lifts shouldBe ("TODO") + } + + // to test the property `stairs` + should("test stairs") { + // uncomment below to test the property + //modelInstance.stairs shouldBe ("TODO") + } + + // to test the property `translations` + should("test translations") { + // uncomment below to test the property + //modelInstance.translations shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt new file mode 100644 index 0000000..2eea691 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorImportRequest + +class PostNavigatorImportRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorImportRequest + //val modelInstance = PostNavigatorImportRequest() + + // to test the property `file` + should("test file") { + // uncomment below to test the property + //modelInstance.file shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt new file mode 100644 index 0000000..e851613 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorLiftsRequest + +class PostNavigatorLiftsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorLiftsRequest + //val modelInstance = PostNavigatorLiftsRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt new file mode 100644 index 0000000..45952ab --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorStairsRequest + +class PostNavigatorStairsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorStairsRequest + //val modelInstance = PostNavigatorStairsRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt new file mode 100644 index 0000000..06ac63f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner + +class PostNavigatorTranslations201ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorTranslations201ResponseItemsInner + //val modelInstance = PostNavigatorTranslations201ResponseItemsInner() + + // to test the property `langKey` + should("test langKey") { + // uncomment below to test the property + //modelInstance.langKey shouldBe ("TODO") + } + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + // to test the property `textKey` + should("test textKey") { + // uncomment below to test the property + //modelInstance.textKey shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt new file mode 100644 index 0000000..585c361 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorTranslations201Response +import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner + +class PostNavigatorTranslations201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorTranslations201Response + //val modelInstance = PostNavigatorTranslations201Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt new file mode 100644 index 0000000..5dcb134 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNavigatorTranslationsRequest + +class PostNavigatorTranslationsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNavigatorTranslationsRequest + //val modelInstance = PostNavigatorTranslationsRequest() + + // to test the property `textKey` + should("test textKey") { + // uncomment below to test the property + //modelInstance.textKey shouldBe ("TODO") + } + + // to test the property `translations` + should("test translations") { + // uncomment below to test the property + //modelInstance.translations shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt new file mode 100644 index 0000000..0275bb2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt @@ -0,0 +1,134 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsAnnouncements201Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PostNewsAnnouncements201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsAnnouncements201Response + //val modelInstance = PostNewsAnnouncements201Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `imageByteSize` + should("test imageByteSize") { + // uncomment below to test the property + //modelInstance.imageByteSize shouldBe ("TODO") + } + + // to test the property `imageContentType` + should("test imageContentType") { + // uncomment below to test the property + //modelInstance.imageContentType shouldBe ("TODO") + } + + // to test the property `imageKey` + should("test imageKey") { + // uncomment below to test the property + //modelInstance.imageKey shouldBe ("TODO") + } + + // to test the property `imageUpdatedAt` + should("test imageUpdatedAt") { + // uncomment below to test the property + //modelInstance.imageUpdatedAt shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt new file mode 100644 index 0000000..a3cad00 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequestContentInner +import hu.petrik.filcapp.api.model.PostKioskRequestConfig + +class PostNewsAnnouncementsRequestContentInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsAnnouncementsRequestContentInner + //val modelInstance = PostNewsAnnouncementsRequestContentInner() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt new file mode 100644 index 0000000..ba96eec --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt @@ -0,0 +1,86 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequest +import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequestContentInner + +class PostNewsAnnouncementsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsAnnouncementsRequest + //val modelInstance = PostNewsAnnouncementsRequest() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + // to test the property `highlighted` + should("test highlighted") { + // uncomment below to test the property + //modelInstance.highlighted shouldBe ("TODO") + } + + // to test the property `kioskIds` + should("test kioskIds") { + // uncomment below to test the property + //modelInstance.kioskIds shouldBe ("TODO") + } + + // to test the property `kioskOnly` + should("test kioskOnly") { + // uncomment below to test the property + //modelInstance.kioskOnly shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt new file mode 100644 index 0000000..b2841ac --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt @@ -0,0 +1,92 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsBlogs201Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PostNewsBlogs201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsBlogs201Response + //val modelInstance = PostNewsBlogs201Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `publishedAt` + should("test publishedAt") { + // uncomment below to test the property + //modelInstance.publishedAt shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt new file mode 100644 index 0000000..12eb4e9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsBlogsRequest +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + +class PostNewsBlogsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsBlogsRequest + //val modelInstance = PostNewsBlogsRequest() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `slug` + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt new file mode 100644 index 0000000..bfebfa4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt @@ -0,0 +1,92 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response +import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata + +class PostNewsSystemMessages201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsSystemMessages201Response + //val modelInstance = PostNewsSystemMessages201Response() + + // to test the property `authorId` + should("test authorId") { + // uncomment below to test the property + //modelInstance.authorId shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt new file mode 100644 index 0000000..ed08a16 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt @@ -0,0 +1,68 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNewsSystemMessagesRequest +import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner + +class PostNewsSystemMessagesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNewsSystemMessagesRequest + //val modelInstance = PostNewsSystemMessagesRequest() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validUntil` + should("test validUntil") { + // uncomment below to test the property + //modelInstance.validUntil shouldBe ("TODO") + } + + // to test the property `cohortIds` + should("test cohortIds") { + // uncomment below to test the property + //modelInstance.cohortIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt new file mode 100644 index 0000000..4e8a93d --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200Response + +class PostNotificationsByIdRead200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsByIdRead200Response + //val modelInstance = PostNotificationsByIdRead200Response() + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `read` + should("test read") { + // uncomment below to test the property + //modelInstance.read shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt new file mode 100644 index 0000000..ef8ef87 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsFcmTokensRequest + +class PostNotificationsFcmTokensRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsFcmTokensRequest + //val modelInstance = PostNotificationsFcmTokensRequest() + + // to test the property `token` + should("test token") { + // uncomment below to test the property + //modelInstance.token shouldBe ("TODO") + } + + // to test the property `deviceInfo` + should("test deviceInfo") { + // uncomment below to test the property + //modelInstance.deviceInfo shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt new file mode 100644 index 0000000..95a37d3 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsTestPreview200Response + +class PostNotificationsTestPreview200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsTestPreview200Response + //val modelInstance = PostNotificationsTestPreview200Response() + + // to test the property `html` + should("test html") { + // uncomment below to test the property + //modelInstance.html shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt new file mode 100644 index 0000000..7788ad5 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsTestPreviewRequest + +class PostNotificationsTestPreviewRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsTestPreviewRequest + //val modelInstance = PostNotificationsTestPreviewRequest() + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `language` + should("test language") { + // uncomment below to test the property + //modelInstance.language shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt new file mode 100644 index 0000000..faa49bc --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsTestSend200Response + +class PostNotificationsTestSend200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsTestSend200Response + //val modelInstance = PostNotificationsTestSend200Response() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `inApp` + should("test inApp") { + // uncomment below to test the property + //modelInstance.inApp shouldBe ("TODO") + } + + // to test the property `push` + should("test push") { + // uncomment below to test the property + //modelInstance.push shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt new file mode 100644 index 0000000..ae6e253 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels + +class PostNotificationsTestSendRequestChannelsTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsTestSendRequestChannels + //val modelInstance = PostNotificationsTestSendRequestChannels() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `inApp` + should("test inApp") { + // uncomment below to test the property + //modelInstance.inApp shouldBe ("TODO") + } + + // to test the property `push` + should("test push") { + // uncomment below to test the property + //modelInstance.push shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt new file mode 100644 index 0000000..7725e55 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt @@ -0,0 +1,74 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequest +import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels + +class PostNotificationsTestSendRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostNotificationsTestSendRequest + //val modelInstance = PostNotificationsTestSendRequest() + + // to test the property `channels` + should("test channels") { + // uncomment below to test the property + //modelInstance.channels shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `language` + should("test language") { + // uncomment below to test the property + //modelInstance.language shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt new file mode 100644 index 0000000..edffd2f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostRoles201Response + +class PostRoles201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostRoles201Response + //val modelInstance = PostRoles201Response() + + // to test the property `can` + should("test can") { + // uncomment below to test the property + //modelInstance.can shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt new file mode 100644 index 0000000..f0b316f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostRolesRequest + +class PostRolesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostRolesRequest + //val modelInstance = PostRolesRequest() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `permissions` + should("test permissions") { + // uncomment below to test the property + //modelInstance.permissions shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt new file mode 100644 index 0000000..3f19890 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response + +class PostTimetableGroupsSelect200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableGroupsSelect200Response + //val modelInstance = PostTimetableGroupsSelect200Response() + + // to test the property `divisionTag` + should("test divisionTag") { + // uncomment below to test the property + //modelInstance.divisionTag shouldBe ("TODO") + } + + // to test the property `selectedGroupId` + should("test selectedGroupId") { + // uncomment below to test the property + //modelInstance.selectedGroupId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt new file mode 100644 index 0000000..e8477d0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest + +class PostTimetableGroupsSelectRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableGroupsSelectRequest + //val modelInstance = PostTimetableGroupsSelectRequest() + + // to test the property `groupId` + should("test groupId") { + // uncomment below to test the property + //modelInstance.groupId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt new file mode 100644 index 0000000..0863b25 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableImportRequest + +class PostTimetableImportRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableImportRequest + //val modelInstance = PostTimetableImportRequest() + + // to test the property `file` + should("test file") { + // uncomment below to test the property + //modelInstance.file shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `validFrom` + should("test validFrom") { + // uncomment below to test the property + //modelInstance.validFrom shouldBe ("TODO") + } + + // to test the property `validTo` + should("test validTo") { + // uncomment below to test the property + //modelInstance.validTo shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt new file mode 100644 index 0000000..9f679a6 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay + +class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay + //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `days` + should("test days") { + // uncomment below to test the property + //modelInstance.days shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt new file mode 100644 index 0000000..86584ff --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt @@ -0,0 +1,121 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay + +class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner() + + // to test the property `classrooms` + should("test classrooms") { + // uncomment below to test the property + //modelInstance.classrooms shouldBe ("TODO") + } + + // to test the property `cohorts` + should("test cohorts") { + // uncomment below to test the property + //modelInstance.cohorts shouldBe ("TODO") + } + + // to test the property `groups` + should("test groups") { + // uncomment below to test the property + //modelInstance.groups shouldBe ("TODO") + } + + // to test the property `groupsIds` + should("test groupsIds") { + // uncomment below to test the property + //modelInstance.groupsIds shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `period` + should("test period") { + // uncomment below to test the property + //modelInstance.period shouldBe ("TODO") + } + + // to test the property `periodsPerWeek` + should("test periodsPerWeek") { + // uncomment below to test the property + //modelInstance.periodsPerWeek shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `teachers` + should("test teachers") { + // uncomment below to test the property + //modelInstance.teachers shouldBe ("TODO") + } + + // to test the property `termDefinitionId` + should("test termDefinitionId") { + // uncomment below to test the property + //modelInstance.termDefinitionId shouldBe ("TODO") + } + + // to test the property `weekDefinition` + should("test weekDefinition") { + // uncomment below to test the property + //modelInstance.weekDefinition shouldBe ("TODO") + } + + // to test the property `weeksDefinitionId` + should("test weeksDefinitionId") { + // uncomment below to test the property + //modelInstance.weeksDefinitionId shouldBe ("TODO") + } + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt new file mode 100644 index 0000000..d4fd447 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInner +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner + +class PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInner + //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInner() + + // to test the property `lessons` + should("test lessons") { + // uncomment below to test the property + //modelInstance.lessons shouldBe ("TODO") + } + + // to test the property `teacherId` + should("test teacherId") { + // uncomment below to test the property + //modelInstance.teacherId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt new file mode 100644 index 0000000..8126458 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInner + +class PostTimetableLessonsGetForTeachers200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200Response + //val modelInstance = PostTimetableLessonsGetForTeachers200Response() + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `total` + should("test total") { + // uncomment below to test the property + //modelInstance.total shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt new file mode 100644 index 0000000..7ec5643 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest + +class PostTimetableLessonsGetForTeachersRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetForTeachersRequest + //val modelInstance = PostTimetableLessonsGetForTeachersRequest() + + // to test the property `teacherIds` + should("test teacherIds") { + // uncomment below to test the property + //modelInstance.teacherIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt new file mode 100644 index 0000000..79a0287 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner +import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response + +class PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner + //val modelInstance = PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner() + + // to test the property `hasH1` + should("test hasH1") { + // uncomment below to test the property + //modelInstance.hasH1 shouldBe ("TODO") + } + + // to test the property `hasH2` + should("test hasH2") { + // uncomment below to test the property + //modelInstance.hasH2 shouldBe ("TODO") + } + + // to test the property `teacher` + should("test teacher") { + // uncomment below to test the property + //modelInstance.teacher shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt new file mode 100644 index 0000000..6eebef2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner + +class PostTimetableLessonsGetSubstitutionCandidates200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidates200Response + //val modelInstance = PostTimetableLessonsGetSubstitutionCandidates200Response() + + // to test the property `availableLessons` + should("test availableLessons") { + // uncomment below to test the property + //modelInstance.availableLessons shouldBe ("TODO") + } + + // to test the property `parallelLessons` + should("test parallelLessons") { + // uncomment below to test the property + //modelInstance.parallelLessons shouldBe ("TODO") + } + + // to test the property `substituteCandidates` + should("test substituteCandidates") { + // uncomment below to test the property + //modelInstance.substituteCandidates shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt new file mode 100644 index 0000000..e005481 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidatesRequest + +class PostTimetableLessonsGetSubstitutionCandidatesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidatesRequest + //val modelInstance = PostTimetableLessonsGetSubstitutionCandidatesRequest() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `missingTeacherId` + should("test missingTeacherId") { + // uncomment below to test the property + //modelInstance.missingTeacherId shouldBe ("TODO") + } + + // to test the property `teacherIds` + should("test teacherIds") { + // uncomment below to test the property + //modelInstance.teacherIds shouldBe ("TODO") + } + + // to test the property `selectedLessonIds` + should("test selectedLessonIds") { + // uncomment below to test the property + //modelInstance.selectedLessonIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt new file mode 100644 index 0000000..3447f38 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response + +class PostTimetableMovedLessons200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableMovedLessons200Response + //val modelInstance = PostTimetableMovedLessons200Response() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `room` + should("test room") { + // uncomment below to test the property + //modelInstance.room shouldBe ("TODO") + } + + // to test the property `startingDay` + should("test startingDay") { + // uncomment below to test the property + //modelInstance.startingDay shouldBe ("TODO") + } + + // to test the property `startingPeriod` + should("test startingPeriod") { + // uncomment below to test the property + //modelInstance.startingPeriod shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt new file mode 100644 index 0000000..4398e74 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest + +class PostTimetableMovedLessonsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableMovedLessonsRequest + //val modelInstance = PostTimetableMovedLessonsRequest() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `lessonIds` + should("test lessonIds") { + // uncomment below to test the property + //modelInstance.lessonIds shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `room` + should("test room") { + // uncomment below to test the property + //modelInstance.room shouldBe ("TODO") + } + + // to test the property `startingDay` + should("test startingDay") { + // uncomment below to test the property + //modelInstance.startingDay shouldBe ("TODO") + } + + // to test the property `startingPeriod` + should("test startingPeriod") { + // uncomment below to test the property + //modelInstance.startingPeriod shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt new file mode 100644 index 0000000..f38fa5a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response + +class PostTimetableSubstitutions200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableSubstitutions200Response + //val modelInstance = PostTimetableSubstitutions200Response() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `substituter` + should("test substituter") { + // uncomment below to test the property + //modelInstance.substituter shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt new file mode 100644 index 0000000..25ed8ce --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest + +class PostTimetableSubstitutionsManualRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableSubstitutionsManualRequest + //val modelInstance = PostTimetableSubstitutionsManualRequest() + + // to test the property `cohortId` + should("test cohortId") { + // uncomment below to test the property + //modelInstance.cohortId shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `periodId` + should("test periodId") { + // uncomment below to test the property + //modelInstance.periodId shouldBe ("TODO") + } + + // to test the property `subjectId` + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `substituter` + should("test substituter") { + // uncomment below to test the property + //modelInstance.substituter shouldBe ("TODO") + } + + // to test the property `teacherId` + should("test teacherId") { + // uncomment below to test the property + //modelInstance.teacherId shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt new file mode 100644 index 0000000..3d587f8 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest + +class PostTimetableSubstitutionsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableSubstitutionsRequest + //val modelInstance = PostTimetableSubstitutionsRequest() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `lessonIds` + should("test lessonIds") { + // uncomment below to test the property + //modelInstance.lessonIds shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `substituter` + should("test substituter") { + // uncomment below to test the property + //modelInstance.substituter shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt new file mode 100644 index 0000000..668e847 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostTimetableTimetablesCleanupOrphanedCohorts200Response + +class PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostTimetableTimetablesCleanupOrphanedCohorts200Response + //val modelInstance = PostTimetableTimetablesCleanupOrphanedCohorts200Response() + + // to test the property `affectedUserCount` + should("test affectedUserCount") { + // uncomment below to test the property + //modelInstance.affectedUserCount shouldBe ("TODO") + } + + // to test the property `deletedCohortIds` + should("test deletedCohortIds") { + // uncomment below to test the property + //modelInstance.deletedCohortIds shouldBe ("TODO") + } + + // to test the property `deletedTeacherIds` + should("test deletedTeacherIds") { + // uncomment below to test the property + //modelInstance.deletedTeacherIds shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt new file mode 100644 index 0000000..6ac7546 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiDevices201Response + +class PostWifiDevices201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiDevices201Response + //val modelInstance = PostWifiDevices201Response() + + // to test the property `adminNotes` + should("test adminNotes") { + // uncomment below to test the property + //modelInstance.adminNotes shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `reportedHostname` + should("test reportedHostname") { + // uncomment below to test the property + //modelInstance.reportedHostname shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `wifiUserId` + should("test wifiUserId") { + // uncomment below to test the property + //modelInstance.wifiUserId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt new file mode 100644 index 0000000..c06a427 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiDevicesRequest + +class PostWifiDevicesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiDevicesRequest + //val modelInstance = PostWifiDevicesRequest() + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `adminNotes` + should("test adminNotes") { + // uncomment below to test the property + //modelInstance.adminNotes shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `wifiUserId` + should("test wifiUserId") { + // uncomment below to test the property + //modelInstance.wifiUserId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt new file mode 100644 index 0000000..25bcbc1 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiNas201Response + +class PostWifiNas201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiNas201Response + //val modelInstance = PostWifiNas201Response() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `ipAddress` + should("test ipAddress") { + // uncomment below to test the property + //modelInstance.ipAddress shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt new file mode 100644 index 0000000..312171f --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiNasRequest + +class PostWifiNasRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiNasRequest + //val modelInstance = PostWifiNasRequest() + + // to test the property `ipAddress` + should("test ipAddress") { + // uncomment below to test the property + //modelInstance.ipAddress shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt new file mode 100644 index 0000000..3fee69c --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorize200Response + +class PostWifiRadiusAuthorize200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiRadiusAuthorize200Response + //val modelInstance = PostWifiRadiusAuthorize200Response() + + // to test the property `cleartextPassword` + should("test cleartextPassword") { + // uncomment below to test the property + //modelInstance.cleartextPassword shouldBe ("TODO") + } + + // to test the property `controlCleartextPassword` + should("test controlCleartextPassword") { + // uncomment below to test the property + //modelInstance.controlCleartextPassword shouldBe ("TODO") + } + + // to test the property `sessionTimeout` + should("test sessionTimeout") { + // uncomment below to test the property + //modelInstance.sessionTimeout shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt new file mode 100644 index 0000000..dc72bcd --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorizeRequest + +class PostWifiRadiusAuthorizeRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiRadiusAuthorizeRequest + //val modelInstance = PostWifiRadiusAuthorizeRequest() + + // to test the property `source` + should("test source") { + // uncomment below to test the property + //modelInstance.source shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `destination` + should("test destination") { + // uncomment below to test the property + //modelInstance.destination shouldBe ("TODO") + } + + // to test the property `IP` + should("test IP") { + // uncomment below to test the property + //modelInstance.IP shouldBe ("TODO") + } + + // to test the property `NAS` + should("test NAS") { + // uncomment below to test the property + //modelInstance.NAS shouldBe ("TODO") + } + + // to test the property `password` + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `sharedSecret` + should("test sharedSecret") { + // uncomment below to test the property + //modelInstance.sharedSecret shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt new file mode 100644 index 0000000..a06cc70 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfiles201Response + +class PostWifiRoleSpeedProfiles201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiRoleSpeedProfiles201Response + //val modelInstance = PostWifiRoleSpeedProfiles201Response() + + // to test the property `priority` + should("test priority") { + // uncomment below to test the property + //modelInstance.priority shouldBe ("TODO") + } + + // to test the property `roleName` + should("test roleName") { + // uncomment below to test the property + //modelInstance.roleName shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt new file mode 100644 index 0000000..26cbec4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfilesRequest + +class PostWifiRoleSpeedProfilesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiRoleSpeedProfilesRequest + //val modelInstance = PostWifiRoleSpeedProfilesRequest() + + // to test the property `roleName` + should("test roleName") { + // uncomment below to test the property + //modelInstance.roleName shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `priority` + should("test priority") { + // uncomment below to test the property + //modelInstance.priority shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt new file mode 100644 index 0000000..0160b80 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner + +class PostWifiSelf201ResponseDevicesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiSelf201ResponseDevicesInner + //val modelInstance = PostWifiSelf201ResponseDevicesInner() + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `reportedHostname` + should("test reportedHostname") { + // uncomment below to test the property + //modelInstance.reportedHostname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt new file mode 100644 index 0000000..bd8b925 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiSelf201Response +import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit +import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner + +class PostWifiSelf201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiSelf201Response + //val modelInstance = PostWifiSelf201Response() + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `devices` + should("test devices") { + // uncomment below to test the property + //modelInstance.devices shouldBe ("TODO") + } + + // to test the property `speedLimit` + should("test speedLimit") { + // uncomment below to test the property + //modelInstance.speedLimit shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt new file mode 100644 index 0000000..804b65b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiSelfRequest + +class PostWifiSelfRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiSelfRequest + //val modelInstance = PostWifiSelfRequest() + + // to test the property `password` + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt new file mode 100644 index 0000000..0ffde76 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiSpeedProfiles201Response + +class PostWifiSpeedProfiles201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiSpeedProfiles201Response + //val modelInstance = PostWifiSpeedProfiles201Response() + + // to test the property `downloadSpeedMbps` + should("test downloadSpeedMbps") { + // uncomment below to test the property + //modelInstance.downloadSpeedMbps shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `isWlanDefault` + should("test isWlanDefault") { + // uncomment below to test the property + //modelInstance.isWlanDefault shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `uploadSpeedMbps` + should("test uploadSpeedMbps") { + // uncomment below to test the property + //modelInstance.uploadSpeedMbps shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt new file mode 100644 index 0000000..3e81e9b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiSpeedProfilesRequest + +class PostWifiSpeedProfilesRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiSpeedProfilesRequest + //val modelInstance = PostWifiSpeedProfilesRequest() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `downloadSpeedMbps` + should("test downloadSpeedMbps") { + // uncomment below to test the property + //modelInstance.downloadSpeedMbps shouldBe ("TODO") + } + + // to test the property `uploadSpeedMbps` + should("test uploadSpeedMbps") { + // uncomment below to test the property + //modelInstance.uploadSpeedMbps shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt new file mode 100644 index 0000000..9d20593 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiUsers201Response + +class PostWifiUsers201ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiUsers201Response + //val modelInstance = PostWifiUsers201Response() + + // to test the property `allowedMacAddresses` + should("test allowedMacAddresses") { + // uncomment below to test the property + //modelInstance.allowedMacAddresses shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `createdBy` + should("test createdBy") { + // uncomment below to test the property + //modelInstance.createdBy shouldBe ("TODO") + } + + // to test the property `creatorName` + should("test creatorName") { + // uncomment below to test the property + //modelInstance.creatorName shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `lastActiveAt` + should("test lastActiveAt") { + // uncomment below to test the property + //modelInstance.lastActiveAt shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt new file mode 100644 index 0000000..1f2adb2 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PostWifiUsersRequest + +class PostWifiUsersRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostWifiUsersRequest + //val modelInstance = PostWifiUsersRequest() + + // to test the property `password` + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `allowedMacAddresses` + should("test allowedMacAddresses") { + // uncomment below to test the property + //modelInstance.allowedMacAddresses shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt new file mode 100644 index 0000000..5faa225 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutDoorlockCardsByIdRequest + +class PutDoorlockCardsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutDoorlockCardsByIdRequest + //val modelInstance = PutDoorlockCardsByIdRequest() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `authorizedDeviceIds` + should("test authorizedDeviceIds") { + // uncomment below to test the property + //modelInstance.authorizedDeviceIds shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `frozen` + should("test frozen") { + // uncomment below to test the property + //modelInstance.frozen shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt new file mode 100644 index 0000000..dffea52 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutDoorlockDevicesByIdRequest + +class PutDoorlockDevicesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutDoorlockDevicesByIdRequest + //val modelInstance = PutDoorlockDevicesByIdRequest() + + // to test the property `apiToken` + should("test apiToken") { + // uncomment below to test the property + //modelInstance.apiToken shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `lastResetReason` + should("test lastResetReason") { + // uncomment below to test the property + //modelInstance.lastResetReason shouldBe ("TODO") + } + + // to test the property `location` + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt new file mode 100644 index 0000000..c90c60e --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutDoorlockSelfCardsByIdFrozenRequest + +class PutDoorlockSelfCardsByIdFrozenRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutDoorlockSelfCardsByIdFrozenRequest + //val modelInstance = PutDoorlockSelfCardsByIdFrozenRequest() + + // to test the property `frozen` + should("test frozen") { + // uncomment below to test the property + //modelInstance.frozen shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt new file mode 100644 index 0000000..142964b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutKioskByIdRequest +import hu.petrik.filcapp.api.model.PostKioskRequestConfig + +class PutKioskByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutKioskByIdRequest + //val modelInstance = PutKioskByIdRequest() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `enabled` + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `kind` + should("test kind") { + // uncomment below to test the property + //modelInstance.kind shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt new file mode 100644 index 0000000..7dc7607 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorBuildingsByIdRequest + +class PutNavigatorBuildingsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorBuildingsByIdRequest + //val modelInstance = PutNavigatorBuildingsByIdRequest() + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt new file mode 100644 index 0000000..199b37b --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorClassroomTypesByIdRequest + +class PutNavigatorClassroomTypesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorClassroomTypesByIdRequest + //val modelInstance = PutNavigatorClassroomTypesByIdRequest() + + // to test the property `colorhex` + should("test colorhex") { + // uncomment below to test the property + //modelInstance.colorhex shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt new file mode 100644 index 0000000..146ebfa --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt @@ -0,0 +1,127 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response + +class PutNavigatorClassroomsById200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorClassroomsById200Response + //val modelInstance = PutNavigatorClassroomsById200Response() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `capacity` + should("test capacity") { + // uncomment below to test the property + //modelInstance.capacity shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `mapped` + should("test mapped") { + // uncomment below to test the property + //modelInstance.mapped shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `sizeX` + should("test sizeX") { + // uncomment below to test the property + //modelInstance.sizeX shouldBe ("TODO") + } + + // to test the property `sizeY` + should("test sizeY") { + // uncomment below to test the property + //modelInstance.sizeY shouldBe ("TODO") + } + + // to test the property `sizeZ` + should("test sizeZ") { + // uncomment below to test the property + //modelInstance.sizeZ shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `typeId` + should("test typeId") { + // uncomment below to test the property + //modelInstance.typeId shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt new file mode 100644 index 0000000..3c7f5ad --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorClassroomsByIdRequest + +class PutNavigatorClassroomsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorClassroomsByIdRequest + //val modelInstance = PutNavigatorClassroomsByIdRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `capacity` + should("test capacity") { + // uncomment below to test the property + //modelInstance.capacity shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `short` + should("test short") { + // uncomment below to test the property + //modelInstance.short shouldBe ("TODO") + } + + // to test the property `sizeX` + should("test sizeX") { + // uncomment below to test the property + //modelInstance.sizeX shouldBe ("TODO") + } + + // to test the property `sizeY` + should("test sizeY") { + // uncomment below to test the property + //modelInstance.sizeY shouldBe ("TODO") + } + + // to test the property `sizeZ` + should("test sizeZ") { + // uncomment below to test the property + //modelInstance.sizeZ shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `typeId` + should("test typeId") { + // uncomment below to test the property + //modelInstance.typeId shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt new file mode 100644 index 0000000..12b99b9 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorCorridorsByIdRequest + +class PutNavigatorCorridorsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorCorridorsByIdRequest + //val modelInstance = PutNavigatorCorridorsByIdRequest() + + // to test the property `barrierFree` + should("test barrierFree") { + // uncomment below to test the property + //modelInstance.barrierFree shouldBe ("TODO") + } + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `isOutdoor` + should("test isOutdoor") { + // uncomment below to test the property + //modelInstance.isOutdoor shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `storey` + should("test storey") { + // uncomment below to test the property + //modelInstance.storey shouldBe ("TODO") + } + + // to test the property `width` + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + // to test the property `x1` + should("test x1") { + // uncomment below to test the property + //modelInstance.x1 shouldBe ("TODO") + } + + // to test the property `x2` + should("test x2") { + // uncomment below to test the property + //modelInstance.x2 shouldBe ("TODO") + } + + // to test the property `y1` + should("test y1") { + // uncomment below to test the property + //modelInstance.y1 shouldBe ("TODO") + } + + // to test the property `y2` + should("test y2") { + // uncomment below to test the property + //modelInstance.y2 shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt new file mode 100644 index 0000000..df7b6a0 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorLiftsByIdRequest + +class PutNavigatorLiftsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorLiftsByIdRequest + //val modelInstance = PutNavigatorLiftsByIdRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt new file mode 100644 index 0000000..c055f18 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorStairsByIdRequest + +class PutNavigatorStairsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorStairsByIdRequest + //val modelInstance = PutNavigatorStairsByIdRequest() + + // to test the property `buildingId` + should("test buildingId") { + // uncomment below to test the property + //modelInstance.buildingId shouldBe ("TODO") + } + + // to test the property `maxStorey` + should("test maxStorey") { + // uncomment below to test the property + //modelInstance.maxStorey shouldBe ("TODO") + } + + // to test the property `minStorey` + should("test minStorey") { + // uncomment below to test the property + //modelInstance.minStorey shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `rotation` + should("test rotation") { + // uncomment below to test the property + //modelInstance.rotation shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt new file mode 100644 index 0000000..c697814 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutNavigatorTranslationsByLangByKeyRequest + +class PutNavigatorTranslationsByLangByKeyRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutNavigatorTranslationsByLangByKeyRequest + //val modelInstance = PutNavigatorTranslationsByLangByKeyRequest() + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt new file mode 100644 index 0000000..9018229 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest + +class PutTimetableMovedLessonsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutTimetableMovedLessonsByIdRequest + //val modelInstance = PutTimetableMovedLessonsByIdRequest() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `lessonIds` + should("test lessonIds") { + // uncomment below to test the property + //modelInstance.lessonIds shouldBe ("TODO") + } + + // to test the property `room` + should("test room") { + // uncomment below to test the property + //modelInstance.room shouldBe ("TODO") + } + + // to test the property `startingDay` + should("test startingDay") { + // uncomment below to test the property + //modelInstance.startingDay shouldBe ("TODO") + } + + // to test the property `startingPeriod` + should("test startingPeriod") { + // uncomment below to test the property + //modelInstance.startingPeriod shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt new file mode 100644 index 0000000..9fcc639 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutTimetableSubstitutionsByIdRequest + +class PutTimetableSubstitutionsByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutTimetableSubstitutionsByIdRequest + //val modelInstance = PutTimetableSubstitutionsByIdRequest() + + // to test the property `lessonIds` + should("test lessonIds") { + // uncomment below to test the property + //modelInstance.lessonIds shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `substituter` + should("test substituter") { + // uncomment below to test the property + //modelInstance.substituter shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt new file mode 100644 index 0000000..1e835af --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiDevicesByIdRequest + +class PutWifiDevicesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiDevicesByIdRequest + //val modelInstance = PutWifiDevicesByIdRequest() + + // to test the property `adminNotes` + should("test adminNotes") { + // uncomment below to test the property + //modelInstance.adminNotes shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `wifiUserId` + should("test wifiUserId") { + // uncomment below to test the property + //modelInstance.wifiUserId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt new file mode 100644 index 0000000..97e11a4 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiNasByIdRequest + +class PutWifiNasByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiNasByIdRequest + //val modelInstance = PutWifiNasByIdRequest() + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `ipAddress` + should("test ipAddress") { + // uncomment below to test the property + //modelInstance.ipAddress shouldBe ("TODO") + } + + // to test the property `macAddress` + should("test macAddress") { + // uncomment below to test the property + //modelInstance.macAddress shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt new file mode 100644 index 0000000..8629ebf --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiRoleSpeedProfilesByIdRequest + +class PutWifiRoleSpeedProfilesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiRoleSpeedProfilesByIdRequest + //val modelInstance = PutWifiRoleSpeedProfilesByIdRequest() + + // to test the property `priority` + should("test priority") { + // uncomment below to test the property + //modelInstance.priority shouldBe ("TODO") + } + + // to test the property `roleName` + should("test roleName") { + // uncomment below to test the property + //modelInstance.roleName shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt new file mode 100644 index 0000000..ba4e498 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiSelfDevicesByIdRequest + +class PutWifiSelfDevicesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiSelfDevicesByIdRequest + //val modelInstance = PutWifiSelfDevicesByIdRequest() + + // to test the property `nickname` + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt new file mode 100644 index 0000000..2402b28 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiSelfPassword200Response + +class PutWifiSelfPassword200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiSelfPassword200Response + //val modelInstance = PutWifiSelfPassword200Response() + + // to test the property `success` + should("test success") { + // uncomment below to test the property + //modelInstance.success shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt new file mode 100644 index 0000000..ddea57a --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiSelfPasswordRequest + +class PutWifiSelfPasswordRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiSelfPasswordRequest + //val modelInstance = PutWifiSelfPasswordRequest() + + // to test the property `newPassword` + should("test newPassword") { + // uncomment below to test the property + //modelInstance.newPassword shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt new file mode 100644 index 0000000..a1388e7 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiSpeedProfilesByIdRequest + +class PutWifiSpeedProfilesByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiSpeedProfilesByIdRequest + //val modelInstance = PutWifiSpeedProfilesByIdRequest() + + // to test the property `downloadSpeedMbps` + should("test downloadSpeedMbps") { + // uncomment below to test the property + //modelInstance.downloadSpeedMbps shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `uploadSpeedMbps` + should("test uploadSpeedMbps") { + // uncomment below to test the property + //modelInstance.uploadSpeedMbps shouldBe ("TODO") + } + + } +} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt new file mode 100644 index 0000000..1a0e514 --- /dev/null +++ b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import hu.petrik.filcapp.api.model.PutWifiUsersByIdRequest + +class PutWifiUsersByIdRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of PutWifiUsersByIdRequest + //val modelInstance = PutWifiUsersByIdRequest() + + // to test the property `allowedMacAddresses` + should("test allowedMacAddresses") { + // uncomment below to test the property + //modelInstance.allowedMacAddresses shouldBe ("TODO") + } + + // to test the property `comment` + should("test comment") { + // uncomment below to test the property + //modelInstance.comment shouldBe ("TODO") + } + + // to test the property `password` + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `speedProfileId` + should("test speedProfileId") { + // uncomment below to test the property + //modelInstance.speedProfileId shouldBe ("TODO") + } + + // to test the property `userId` + should("test userId") { + // uncomment below to test the property + //modelInstance.userId shouldBe ("TODO") + } + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `banned` + should("test banned") { + // uncomment below to test the property + //modelInstance.banned shouldBe ("TODO") + } + + } +} diff --git a/openapi/chronos-openapi.json b/openapi/chronos-openapi.json new file mode 100644 index 0000000..7156b2d --- /dev/null +++ b/openapi/chronos-openapi.json @@ -0,0 +1,61909 @@ +{ + "components": { + "securitySchemes": { + "sessionAuth": { + "in": "cookie", + "name": "filc.session_token", + "type": "apiKey" + } + } + }, + "info": { + "description": "API for consumption by the Filc app family.", + "title": "Chronos backend API", + "version": "0.0.1" + }, + "servers": [ + { + "description": "chronos", + "url": "https://filc.petrik.hu/api" + }, + { + "description": "Local Server", + "url": "http://localhost:3000/api" + } + ], + "openapi": "3.1.1", + "paths": { + "/activity-log": { + "get": { + "operationId": "getActivityLog", + "description": "List generic admin activity log entries", + "tags": [ + "Activity log" + ], + "parameters": [ + { + "name": "action", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "actorId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "entityType", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "from", + "in": "query", + "schema": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 200, + "default": 50 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "to", + "in": "query", + "schema": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "actorId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "entityId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entityType": { + "type": "string" + }, + "id": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "ipAddress": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "metadata": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + }, + "userAgent": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "actor": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "action", + "actorId", + "createdAt", + "entityId", + "entityType", + "id", + "ipAddress", + "userAgent", + "actor" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/admin/api-keys/{keyId}": { + "delete": { + "operationId": "deleteAdminApiKeysByKeyId", + "description": "Revoke any user's API key", + "tags": [ + "API keys" + ], + "parameters": [ + { + "name": "keyId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchAdminApiKeysByKeyId", + "description": "Enable or disable any user's API key", + "tags": [ + "API keys" + ], + "parameters": [ + { + "name": "keyId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "expiresAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastRequest": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ownerEmail": { + "type": "string" + }, + "ownerName": { + "type": "string" + }, + "prefix": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "referenceId": { + "type": "string" + }, + "requestCount": { + "type": "number" + }, + "start": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "enabled", + "expiresAt", + "id", + "lastRequest", + "name", + "ownerEmail", + "ownerName", + "prefix", + "referenceId", + "requestCount", + "start", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/admin/api-keys": { + "get": { + "operationId": "getAdminApiKeys", + "description": "List every user's API keys", + "tags": [ + "API keys" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "number", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "number", + "minimum": 0, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "ownerId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "expiresAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastRequest": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ownerEmail": { + "type": "string" + }, + "ownerName": { + "type": "string" + }, + "prefix": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "referenceId": { + "type": "string" + }, + "requestCount": { + "type": "number" + }, + "start": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "enabled", + "expiresAt", + "id", + "lastRequest", + "name", + "ownerEmail", + "ownerName", + "prefix", + "referenceId", + "requestCount", + "start", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/bug-report": { + "post": { + "operationId": "postBugReport", + "description": "Create a new bug report", + "tags": [ + "Bug Reports" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string", + "minLength": 10, + "maxLength": 5000 + }, + "metadata": { + "type": "object", + "propertyNames": { + "type": "string", + "maxLength": 64 + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + } + }, + "page": { + "type": "string", + "maxLength": 255 + }, + "subject": { + "type": "string", + "minLength": 3, + "maxLength": 200 + } + }, + "required": [ + "description", + "subject" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getBugReport", + "description": "List bug reports with optional filters and paging", + "tags": [ + "Bug Reports" + ], + "parameters": [ + { + "name": "dateFrom", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "page", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 9007199254740991, + "default": 1 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string", + "maxLength": 200 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "status", + "in": "query", + "schema": { + "enum": [ + "open", + "in_progress", + "resolved", + "closed" + ], + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "metadata": { + "anyOf": [ + { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + { + "type": "null" + } + ] + }, + "page": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reporterEmail": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reporterId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "description", + "id", + "metadata", + "page", + "reporterEmail", + "reporterId", + "status", + "subject", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/bug-report/{id}": { + "delete": { + "operationId": "deleteBugReportById", + "description": "Delete a bug report", + "tags": [ + "Bug Reports" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/bug-report/{id}/status": { + "patch": { + "operationId": "patchBugReportByIdStatus", + "description": "Update a bug report status", + "tags": [ + "Bug Reports" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "enum": [ + "open", + "in_progress", + "resolved", + "closed" + ], + "type": "string" + } + }, + "required": [ + "status" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "metadata": { + "anyOf": [ + { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + { + "type": "null" + } + ] + }, + "page": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reporterEmail": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reporterId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "status": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "description", + "id", + "metadata", + "page", + "reporterEmail", + "reporterId", + "status", + "subject", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/cohort": { + "get": { + "operationId": "getCohort", + "description": "List all cohorts", + "tags": [ + "Cohort" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroomIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "teacherId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "timetableId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroomIds", + "id", + "name", + "short", + "teacherId", + "timetableId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/dashboard/stats": { + "get": { + "operationId": "getDashboardStats", + "description": "Get aggregated dashboard statistics", + "tags": [ + "Dashboard" + ], + "parameters": [ + { + "name": "days", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 365, + "default": 30 + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "type": "object", + "properties": { + "chartData": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string" + }, + "movedLessons": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "substitutions": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "date", + "movedLessons", + "substitutions" + ] + } + }, + "chartTotalMovedLessons": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "chartTotalSubstitutions": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalCohorts": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalMovedLessons": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalRoles": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalSubstitutions": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalUsers": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "chartData", + "chartTotalMovedLessons", + "chartTotalSubstitutions", + "totalCohorts", + "totalMovedLessons", + "totalRoles", + "totalSubstitutions", + "totalUsers" + ] + } + }, + "required": [ + "stats" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/doorlock/cards": { + "post": { + "operationId": "postDoorlockCards", + "description": "Create a new access card", + "tags": [ + "Doorlock" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorizedDeviceIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "default": [] + }, + "enabled": { + "type": "boolean", + "default": true + }, + "frozen": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string", + "minLength": 1 + }, + "cardData": { + "type": "string", + "minLength": 1 + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "name", + "cardData", + "userId" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorizedDevices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + }, + "cardData": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "frozen": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorizedDevices", + "cardData", + "createdAt", + "enabled", + "frozen", + "id", + "name", + "updatedAt", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getDoorlockCards", + "description": "List all access cards", + "tags": [ + "Doorlock" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorizedDevices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + }, + "cardData": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "frozen": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorizedDevices", + "cardData", + "createdAt", + "enabled", + "frozen", + "id", + "name", + "updatedAt", + "userId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/cards/{id}": { + "delete": { + "operationId": "deleteDoorlockCardsById", + "description": "Delete an access card", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putDoorlockCardsById", + "description": "Update an access card", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorizedDeviceIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "default": [] + }, + "enabled": { + "type": "boolean", + "default": true + }, + "frozen": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string", + "minLength": 1 + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "name", + "userId" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorizedDevices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + }, + "cardData": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "frozen": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorizedDevices", + "cardData", + "createdAt", + "enabled", + "frozen", + "id", + "name", + "updatedAt", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/cards/users": { + "get": { + "operationId": "getDoorlockCardsUsers", + "description": "List users eligible for card ownership", + "tags": [ + "Doorlock" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/devices": { + "post": { + "operationId": "postDoorlockDevices", + "description": "Create a new doorlock device", + "tags": [ + "Doorlock" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apiToken": { + "type": "string", + "minLength": 32, + "maxLength": 128 + }, + "lastResetReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "apiToken", + "name" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apiToken": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastResetReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "apiToken", + "createdAt", + "id", + "lastResetReason", + "location", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getDoorlockDevices", + "description": "List all doorlock devices", + "tags": [ + "Doorlock" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "apiToken": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastResetReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "apiToken", + "createdAt", + "id", + "lastResetReason", + "location", + "name", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/devices/{id}": { + "delete": { + "operationId": "deleteDoorlockDevicesById", + "description": "Delete a doorlock device", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putDoorlockDevicesById", + "description": "Update an existing doorlock device", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apiToken": { + "type": "string", + "minLength": 32, + "maxLength": 128 + }, + "lastResetReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "apiToken", + "name" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apiToken": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastResetReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "location": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "apiToken", + "createdAt", + "id", + "lastResetReason", + "location", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/devices/{id}/stats": { + "get": { + "operationId": "getDoorlockDevicesByIdStats", + "description": "Get device health statistics", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "type": "array", + "items": { + "type": "object", + "properties": { + "deviceMeta": { + "type": "object", + "properties": { + "debug": { + "type": "object", + "properties": { + "deviceState": { + "enum": [ + "booting", + "error", + "idle", + "updating" + ], + "type": "string" + }, + "errors": { + "type": "object", + "properties": { + "db": { + "type": "boolean" + }, + "nfc": { + "type": "boolean" + }, + "ota": { + "type": "boolean" + }, + "sd": { + "type": "boolean" + }, + "wifi": { + "type": "boolean" + } + }, + "required": [ + "db", + "nfc", + "ota", + "sd", + "wifi" + ] + }, + "lastResetReason": { + "type": "string" + } + }, + "required": [ + "deviceState", + "errors", + "lastResetReason" + ] + }, + "fwVersion": { + "type": "string" + }, + "ramFree": { + "type": "number" + }, + "storage": { + "type": "object", + "properties": { + "total": { + "type": "number" + }, + "used": { + "type": "number" + } + }, + "required": [ + "total", + "used" + ] + }, + "uptime": { + "type": "number" + } + }, + "required": [ + "debug", + "fwVersion", + "ramFree", + "storage", + "uptime" + ] + }, + "id": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "timestamp": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "deviceMeta", + "id", + "timestamp" + ] + } + } + }, + "required": [ + "stats" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/devices/{id}/update": { + "post": { + "operationId": "postDoorlockDevicesByIdUpdate", + "description": "Trigger an OTA update on a specific device", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "pattern": "^https:\\/\\/" + } + }, + "required": [ + "url" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/devices/update": { + "post": { + "operationId": "postDoorlockDevicesUpdate", + "description": "Trigger an OTA update on all devices", + "tags": [ + "Doorlock" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "pattern": "^https:\\/\\/" + } + }, + "required": [ + "url" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "count" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/logs/export": { + "get": { + "operationId": "getDoorlockLogsExport", + "description": "Export doorlock audit log entries (attendance data) as a CSV file over an optional date range.", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "cardId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "deviceId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "from", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "granted", + "in": "query", + "schema": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "to", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "userId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/logs": { + "get": { + "operationId": "getDoorlockLogs", + "description": "List audit log entries", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "cardId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "deviceId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "from", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "granted", + "in": "query", + "schema": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 1000, + "default": 500 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "to", + "in": "query", + "schema": { + "type": "string", + "format": "date-time" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "userId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "buttonPressed": { + "type": "boolean" + }, + "cardData": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cardId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "deviceId": { + "type": "string", + "format": "uuid" + }, + "id": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "result": { + "type": "boolean" + }, + "timestamp": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "card": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + { + "type": "null" + } + ] + }, + "device": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + { + "type": "null" + } + ] + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "buttonPressed", + "cardData", + "cardId", + "deviceId", + "id", + "result", + "timestamp", + "userId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/self/cards/{id}/activate": { + "post": { + "operationId": "postDoorlockSelfCardsByIdActivate", + "description": "Activate an authorized device using a user-owned virtual card", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "deviceId": { + "type": "string", + "format": "uuid" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "buttonPressed": { + "type": "boolean" + }, + "cardData": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "cardId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "deviceId": { + "type": "string", + "format": "uuid" + }, + "id": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "result": { + "type": "boolean" + }, + "timestamp": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "buttonPressed", + "cardData", + "cardId", + "deviceId", + "id", + "result", + "timestamp", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/self/cards": { + "get": { + "operationId": "getDoorlockSelfCards", + "description": "List cards owned by the authenticated user", + "tags": [ + "Doorlock" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorizedDevices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + }, + "cardData": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "frozen": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorizedDevices", + "cardData", + "createdAt", + "enabled", + "frozen", + "id", + "name", + "updatedAt", + "userId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/self/cards/{id}/frozen": { + "put": { + "operationId": "putDoorlockSelfCardsByIdFrozen", + "description": "Update the frozen state of a user-owned card", + "tags": [ + "Doorlock" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "frozen": { + "type": "boolean" + } + }, + "required": [ + "frozen" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorizedDevices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + }, + "cardData": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "frozen": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "owner": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "id", + "name", + "nickname" + ] + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorizedDevices", + "cardData", + "createdAt", + "enabled", + "frozen", + "id", + "name", + "updatedAt", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/doorlock/stats/overview": { + "get": { + "operationId": "getDoorlockStatsOverview", + "description": "Get aggregated doorlock statistics", + "tags": [ + "Doorlock" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "type": "object", + "properties": { + "doorOpenSeries": { + "type": "array", + "items": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "date": { + "type": "string" + } + }, + "required": [ + "count", + "date" + ] + } + }, + "topUsers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "count", + "id", + "name", + "nickname" + ] + } + }, + "totalCards": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalDevices": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalSuccessfulOpens": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "doorOpenSeries", + "topUsers", + "totalCards", + "totalDevices", + "totalSuccessfulOpens" + ] + } + }, + "required": [ + "stats" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/health": { + "get": { + "operationId": "getHealth", + "description": "Readiness probe: answers 200 only when PostgreSQL is reachable.", + "tags": [ + "Health" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "database": { + "const": "up" + }, + "status": { + "const": "ok" + } + }, + "required": [ + "database", + "status" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk": { + "post": { + "operationId": "postKiosk", + "description": "Register a kiosk", + "tags": [ + "Kiosk" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "enabled": { + "type": "boolean" + }, + "kind": { + "enum": [ + "tv", + "navigator" + ], + "type": "string" + }, + "machineId": { + "type": "string", + "minLength": 1, + "maxLength": 64 + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "kind", + "machineId", + "name" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "type": "string" + }, + "lastSeenAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "lastSeenIp": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "machineId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "appVersion", + "config", + "createdAt", + "enabled", + "id", + "kind", + "lastSeenAt", + "lastSeenIp", + "machineId", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getKiosk", + "description": "List all kiosks", + "tags": [ + "Kiosk" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "appVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "type": "string" + }, + "lastSeenAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "lastSeenIp": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "machineId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "appVersion", + "config", + "createdAt", + "enabled", + "id", + "kind", + "lastSeenAt", + "lastSeenIp", + "machineId", + "name", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/kiosk/{id}": { + "delete": { + "operationId": "deleteKioskById", + "description": "Delete a kiosk", + "tags": [ + "Kiosk" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putKioskById", + "description": "Update a kiosk", + "tags": [ + "Kiosk" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "enabled": { + "type": "boolean" + }, + "kind": { + "enum": [ + "tv", + "navigator" + ], + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "type": "string" + }, + "lastSeenAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "lastSeenIp": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "machineId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "appVersion", + "config", + "createdAt", + "enabled", + "id", + "kind", + "lastSeenAt", + "lastSeenIp", + "machineId", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/kiosk/departures": { + "post": { + "operationId": "postKioskDepartures", + "description": "Next departure per configured group, trying each stop in order", + "tags": [ + "Kiosk" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string", + "minLength": 1 + }, + "stops": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "routeFilter": { + "anyOf": [ + { + "type": "string", + "minLength": 1 + }, + { + "type": "null" + } + ], + "default": null + }, + "stopId": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "stopId" + ] + } + } + }, + "required": [ + "label", + "stops" + ] + } + } + }, + "required": [ + "groups" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "predictedDepartureTime": { + "type": "number" + }, + "routeShortDesc": { + "type": "string" + } + }, + "required": [ + "label", + "predictedDepartureTime", + "routeShortDesc" + ] + }, + { + "type": "null" + } + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk/heartbeat": { + "post": { + "operationId": "postKioskHeartbeat", + "description": "Record a kiosk heartbeat and report whether the box is registered and enabled", + "tags": [ + "Kiosk" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "appVersion": { + "type": "string", + "minLength": 1, + "maxLength": 64 + }, + "machineId": { + "type": "string", + "minLength": 1, + "maxLength": 64 + } + }, + "required": [ + "appVersion", + "machineId" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "type": "object", + "properties": { + "registered": { + "const": false + } + }, + "required": [ + "registered" + ] + }, + { + "type": "object", + "properties": { + "enabled": { + "const": false + }, + "kiosk": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "enum": [ + "tv", + "navigator" + ], + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "kind", + "name" + ] + }, + "registered": { + "const": true + } + }, + "required": [ + "enabled", + "kiosk", + "registered" + ] + }, + { + "type": "object", + "properties": { + "enabled": { + "const": true + }, + "kiosk": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "enum": [ + "tv", + "navigator" + ], + "type": "string" + }, + "name": { + "type": "string" + }, + "config": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + } + }, + "required": [ + "id", + "kind", + "name", + "config" + ] + }, + "registered": { + "const": true + } + }, + "required": [ + "enabled", + "kiosk", + "registered" + ] + } + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk/news/{id}/image": { + "get": { + "operationId": "getKioskNewsByIdImage", + "description": "The image an announcement shows on the kiosk, as stored", + "tags": [ + "Kiosk" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk/news": { + "get": { + "operationId": "getKioskNews", + "description": "Active, titled, non-cohort-scoped announcements for the TV kiosk marquee", + "tags": [ + "Kiosk" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "body": { + "type": "string" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "title": { + "type": "string" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "body", + "highlighted", + "id", + "imageVersion", + "kioskIds", + "title", + "validFrom", + "validUntil" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk/petrik-news": { + "get": { + "operationId": "getKioskPetrikNews", + "description": "petrik.hu news for the navigator kiosk, cached for ten minutes", + "tags": [ + "Kiosk" + ], + "parameters": [ + { + "name": "machine", + "in": "query", + "schema": { + "type": "string", + "minLength": 1 + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "body": { + "type": "string" + }, + "imageUrl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "publishedAt": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "body", + "imageUrl", + "publishedAt", + "title", + "url" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/kiosk/weather": { + "get": { + "operationId": "getKioskWeather", + "description": "Current weather for the TV kiosk, cached for ten minutes", + "tags": [ + "Kiosk" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "precipMm": { + "type": "number" + }, + "tempC": { + "type": "number" + }, + "windKph": { + "type": "number" + } + }, + "required": [ + "icon", + "precipMm", + "tempC", + "windKph" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/buildings": { + "post": { + "operationId": "postNavigatorBuildings", + "description": "Create a campus building", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "description", + "name", + "x", + "y" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "description", + "id", + "mapped", + "name", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorBuildings", + "description": "List the campus buildings", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "description", + "id", + "mapped", + "name", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/buildings/{id}": { + "delete": { + "operationId": "deleteNavigatorBuildingsById", + "description": "Delete a campus building; its corridors, lifts and stairs cascade with it, but rooms still assigned to it refuse the delete", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorBuildingsById", + "description": "Update a campus building", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "description", + "id", + "mapped", + "name", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/classrooms": { + "post": { + "operationId": "postNavigatorClassrooms", + "description": "Create a classroom", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "capacity": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorClassrooms", + "description": "List the classrooms, including the ones the campus has not placed yet", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/classrooms/{id}": { + "delete": { + "operationId": "deleteNavigatorClassroomsById", + "description": "Delete a classroom; rooms the timetable still uses are refused", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorClassroomsById", + "description": "Update a classroom", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "capacity": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/classroom-types": { + "post": { + "operationId": "postNavigatorClassroomTypes", + "description": "Create a classroom type", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorhex": { + "type": "string", + "pattern": "^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "colorhex", + "name" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorhex": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "colorhex", + "createdAt", + "id", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorClassroomTypes", + "description": "List the classroom types", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "colorhex": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "colorhex", + "createdAt", + "id", + "name", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/classroom-types/{id}": { + "delete": { + "operationId": "deleteNavigatorClassroomTypesById", + "description": "Delete a classroom type; types still assigned to a classroom are refused", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorClassroomTypesById", + "description": "Update a classroom type", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorhex": { + "type": "string", + "pattern": "^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$" + }, + "name": { + "type": "string", + "minLength": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorhex": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "colorhex", + "createdAt", + "id", + "name", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/corridors": { + "post": { + "operationId": "postNavigatorCorridors", + "description": "Create a corridor", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string", + "minLength": 1 + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + }, + "required": [ + "barrier_free", + "building_id", + "is_outdoor", + "name", + "storey", + "width", + "x1", + "x2", + "y1", + "y2" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + }, + "required": [ + "barrier_free", + "building_id", + "createdAt", + "id", + "is_outdoor", + "name", + "storey", + "updatedAt", + "width", + "x1", + "x2", + "y1", + "y2" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorCorridors", + "description": "List the corridors", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + }, + "required": [ + "barrier_free", + "building_id", + "createdAt", + "id", + "is_outdoor", + "name", + "storey", + "updatedAt", + "width", + "x1", + "x2", + "y1", + "y2" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/corridors/{id}": { + "delete": { + "operationId": "deleteNavigatorCorridorsById", + "description": "Delete a corridor", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorCorridorsById", + "description": "Update a corridor", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string", + "minLength": 1 + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + }, + "required": [ + "barrier_free", + "building_id", + "createdAt", + "id", + "is_outdoor", + "name", + "storey", + "updatedAt", + "width", + "x1", + "x2", + "y1", + "y2" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/export": { + "get": { + "operationId": "getNavigatorExport", + "description": "Export every navigator row (buildings, classroom types, classrooms, corridors, lifts, stairs and translations) as a versioned JSON payload.", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/graph": { + "get": { + "operationId": "getNavigatorGraph", + "description": "The whole campus graph in the upstream wire format, without a session. Only rows the campus has placed on the map appear.", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "buildings": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "description", + "id", + "mapped", + "name", + "x", + "y" + ] + } + }, + "classroom_types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "colorhex": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "colorhex", + "createdAt", + "id", + "name", + "updatedAt" + ] + } + }, + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + }, + "corridors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "barrier_free": { + "type": "boolean" + }, + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "is_outdoor": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "width": { + "type": "number" + }, + "x1": { + "type": "number" + }, + "x2": { + "type": "number" + }, + "y1": { + "type": "number" + }, + "y2": { + "type": "number" + } + }, + "required": [ + "barrier_free", + "building_id", + "createdAt", + "id", + "is_outdoor", + "name", + "storey", + "updatedAt", + "width", + "x1", + "x2", + "y1", + "y2" + ] + } + }, + "lifts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "updatedAt", + "x", + "y" + ] + } + }, + "stairs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "rotation", + "updatedAt", + "x", + "y" + ] + } + } + }, + "required": [ + "buildings", + "classroom_types", + "classrooms", + "corridors", + "lifts", + "stairs" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/import": { + "post": { + "operationId": "postNavigatorImport", + "description": "Insert or update every collection in a navigator export payload by its key, inside one transaction. Rows absent from the payload are never deleted.", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "buildings": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "classrooms": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "classroomTypes": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "corridors": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "lifts": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "stairs": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "translations": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "buildings", + "classrooms", + "classroomTypes", + "corridors", + "lifts", + "stairs", + "translations" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/lifts": { + "post": { + "operationId": "postNavigatorLifts", + "description": "Create a lift", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "max_storey", + "min_storey", + "name", + "x", + "y" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "updatedAt", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorLifts", + "description": "List the lifts", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "updatedAt", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/lifts/{id}": { + "delete": { + "operationId": "deleteNavigatorLiftsById", + "description": "Delete a lift", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorLiftsById", + "description": "Update a lift", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "updatedAt", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/stairs": { + "post": { + "operationId": "postNavigatorStairs", + "description": "Create a staircase", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "rotation": { + "type": "number" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "max_storey", + "min_storey", + "name", + "rotation", + "x", + "y" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "rotation", + "updatedAt", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorStairs", + "description": "List the staircases", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "rotation", + "updatedAt", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/stairs/{id}": { + "delete": { + "operationId": "deleteNavigatorStairsById", + "description": "Delete a staircase", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorStairsById", + "description": "Update a staircase", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string", + "minLength": 1 + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "rotation": { + "type": "number" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string" + }, + "max_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "min_storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "createdAt", + "id", + "max_storey", + "min_storey", + "name", + "rotation", + "updatedAt", + "x", + "y" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/translations/available": { + "get": { + "operationId": "getNavigatorTranslationsAvailable", + "description": "List the languages the campus translations exist in", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/navigator/translations": { + "post": { + "operationId": "postNavigatorTranslations", + "description": "Create or replace one codename across every given language", + "tags": [ + "Navigator" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "text_key": { + "type": "string", + "minLength": 1 + }, + "translations": { + "type": "object", + "propertyNames": { + "type": "string", + "minLength": 2, + "maxLength": 10 + }, + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "text_key", + "translations" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lang_key": { + "type": "string" + }, + "text": { + "type": "string" + }, + "text_key": { + "type": "string" + } + }, + "required": [ + "lang_key", + "text", + "text_key" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNavigatorTranslations", + "description": "List every translation row", + "tags": [ + "Navigator" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lang_key": { + "type": "string" + }, + "text": { + "type": "string" + }, + "text_key": { + "type": "string" + } + }, + "required": [ + "lang_key", + "text", + "text_key" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/translations/{lang}/{key}": { + "delete": { + "operationId": "deleteNavigatorTranslationsByLangByKey", + "description": "Delete one codename in one language", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "lang", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 2, + "maxLength": 10 + } + }, + { + "name": "key", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putNavigatorTranslationsByLangByKey", + "description": "Write the text of one codename in one language", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "lang", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 2, + "maxLength": 10 + } + }, + { + "name": "key", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "lang_key": { + "type": "string" + }, + "text": { + "type": "string" + }, + "text_key": { + "type": "string" + } + }, + "required": [ + "lang_key", + "text", + "text_key" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/navigator/translations/lang": { + "get": { + "operationId": "getNavigatorTranslationsLang", + "description": "One language as a flat `text_key -> text` bundle, without a session", + "tags": [ + "Navigator" + ], + "parameters": [ + { + "name": "lang", + "in": "query", + "required": true, + "schema": { + "type": "string", + "minLength": 2, + "maxLength": 10 + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/news/announcements": { + "post": { + "operationId": "postNewsAnnouncements", + "description": "Create a new announcement", + "tags": [ + "News / Announcements" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "highlighted": { + "type": "boolean" + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "type": "string", + "minLength": 1 + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "content", + "validFrom", + "validUntil" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNewsAnnouncements", + "description": "List active announcements within date range, cohort-filtered by default; includeAll=true returns everything", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeAll", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeExpired", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeKioskOnly", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/announcements/{id}": { + "delete": { + "operationId": "deleteNewsAnnouncementsById", + "description": "Delete an announcement", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNewsAnnouncementsById", + "description": "Get a single announcement by ID", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchNewsAnnouncementsById", + "description": "Update an existing announcement", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "highlighted": { + "type": "boolean" + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "type": "string", + "minLength": 1 + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/announcements/{id}/image": { + "delete": { + "operationId": "deleteNewsAnnouncementsByIdImage", + "description": "Delete the image attached to an announcement", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "post": { + "operationId": "postNewsAnnouncementsByIdImage", + "description": "Upload the image this announcement shows on the kiosk", + "tags": [ + "News / Announcements" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "highlighted": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "imageByteSize": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "imageContentType": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "imageUpdatedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "kioskOnly": { + "type": "boolean" + }, + "title": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "kioskIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "highlighted", + "id", + "imageByteSize", + "imageContentType", + "imageKey", + "imageUpdatedAt", + "kioskOnly", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds", + "kioskIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/blogs": { + "post": { + "operationId": "postNewsBlogs", + "description": "Create a new blog post (defaults to draft)", + "tags": [ + "News / Blogs" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "slug": { + "type": "string", + "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" + }, + "status": { + "enum": [ + "draft", + "published" + ], + "type": "string", + "default": "draft" + }, + "title": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "content", + "title" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNewsBlogs", + "description": "List published blog posts (public, no auth required)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/news/blogs/{id}": { + "delete": { + "operationId": "deleteNewsBlogsById", + "description": "Delete a blog post", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchNewsBlogsById", + "description": "Update a blog post", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "slug": { + "type": "string", + "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" + }, + "title": { + "type": "string", + "minLength": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/blogs/drafts": { + "get": { + "operationId": "getNewsBlogsDrafts", + "description": "List all blog posts including drafts (requires permission)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/blogs/{slug}": { + "get": { + "operationId": "getNewsBlogsBySlug", + "description": "Get a published blog post by slug (public, no auth required)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "slug", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/news/blogs/id/{id}": { + "get": { + "operationId": "getNewsBlogsIdById", + "description": "Get any blog post by ID including drafts (requires permission)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/blogs/{id}/publish": { + "post": { + "operationId": "postNewsBlogsByIdPublish", + "description": "Publish a blog post (draft → published)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/blogs/{id}/unpublish": { + "post": { + "operationId": "postNewsBlogsByIdUnpublish", + "description": "Unpublish a blog post (published → draft)", + "tags": [ + "News / Blogs" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "publishedAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "slug": { + "type": "string" + }, + "status": { + "type": "string" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "publishedAt", + "slug", + "status", + "title", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/news/system-messages": { + "post": { + "operationId": "postNewsSystemMessages", + "description": "Create a new system message", + "tags": [ + "News / System Messages" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "title": { + "type": "string", + "minLength": 1 + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "content", + "title", + "validFrom", + "validUntil" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNewsSystemMessages", + "description": "List active system messages within date range, filtered by user cohort", + "tags": [ + "News / System Messages" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeAll", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeExpired", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "includeKioskOnly", + "in": "query", + "schema": { + "type": "string", + "default": false + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/news/system-messages/{id}": { + "delete": { + "operationId": "deleteNewsSystemMessagesById", + "description": "Delete a system message", + "tags": [ + "News / System Messages" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getNewsSystemMessagesById", + "description": "Get a single system message by ID", + "tags": [ + "News / System Messages" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "author": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "image", + "name" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + }, + "patch": { + "operationId": "patchNewsSystemMessagesById", + "description": "Update an existing system message", + "tags": [ + "News / System Messages" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": {} + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "content", + "type" + ] + } + }, + "title": { + "type": "string", + "minLength": 1 + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authorId": { + "type": "string", + "format": "uuid" + }, + "content": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + {}, + { + "type": "null" + } + ] + } + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "title": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validUntil": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "cohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "authorId", + "content", + "createdAt", + "id", + "title", + "updatedAt", + "validFrom", + "validUntil", + "cohortIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/fcm-tokens": { + "post": { + "operationId": "postNotificationsFcmTokens", + "description": "Register a push (FCM) token for the signed-in user", + "tags": [ + "Notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "deviceInfo": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "token" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/fcm-tokens/{token}": { + "delete": { + "operationId": "deleteNotificationsFcmTokensByToken", + "description": "Unregister a push (FCM) token", + "tags": [ + "Notifications" + ], + "parameters": [ + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications": { + "get": { + "operationId": "getNotifications", + "description": "List the signed-in user's notifications", + "tags": [ + "Notifications" + ], + "parameters": [ + { + "name": "dateFrom", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "limit", + "in": "query", + "schema": { + "type": "number", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "number", + "minimum": 0, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "unread", + "in": "query", + "schema": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "metadata": { + "anyOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label", + "value" + ] + } + }, + "highlights": { + "type": "array", + "items": { + "type": "string" + } + }, + "slug": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "additionalProperties": {} + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "content", + "createdAt", + "id", + "metadata", + "read", + "title", + "type", + "userId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/read-all": { + "post": { + "operationId": "postNotificationsReadAll", + "description": "Mark every notification of the signed-in user as read", + "tags": [ + "Notifications" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/{id}/read": { + "post": { + "operationId": "postNotificationsByIdRead", + "description": "Mark one notification as read", + "tags": [ + "Notifications" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "metadata": { + "anyOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label", + "value" + ] + } + }, + "highlights": { + "type": "array", + "items": { + "type": "string" + } + }, + "slug": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "additionalProperties": {} + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "content", + "createdAt", + "id", + "metadata", + "read", + "title", + "type", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/test/preview": { + "post": { + "operationId": "postNotificationsTestPreview", + "description": "Development helper: render a notification template without sending it (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS). When entityId is given, a real record is rendered through the same builders as the live pipeline instead of the supplied text: substitution, substitution_teacher, moved_lesson, moved_lesson_teacher, announcement, system_message and blog_post; every other type answers 400.", + "tags": [ + "Notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label", + "value" + ] + } + }, + "entityId": { + "type": "string", + "format": "uuid", + "description": "Id of a real record to render instead of the supplied text; only the types previewTest resolves accept one" + }, + "highlights": { + "type": "array", + "items": { + "type": "string" + } + }, + "language": { + "enum": [ + "en", + "hu" + ], + "type": "string" + }, + "subject": { + "type": "string" + }, + "type": { + "enum": [ + "substitution", + "substitution_teacher", + "moved_lesson", + "moved_lesson_teacher", + "announcement", + "system_message", + "blog_post", + "doorlock_card_used", + "cohort_reselection_required", + "test" + ], + "type": "string" + } + }, + "required": [ + "type" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "html": { + "type": "string" + } + }, + "required": [ + "html" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/test/send": { + "post": { + "operationId": "postNotificationsTestSend", + "description": "Development helper: send a test message over email, in-app and/or push (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS)", + "tags": [ + "Notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "properties": { + "email": { + "type": "boolean", + "default": false + }, + "inApp": { + "type": "boolean", + "default": false + }, + "push": { + "type": "boolean", + "default": false + } + } + }, + "content": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label", + "value" + ] + } + }, + "email": { + "type": "string", + "format": "email" + }, + "highlights": { + "type": "array", + "items": { + "type": "string" + } + }, + "language": { + "enum": [ + "en", + "hu" + ], + "type": "string" + }, + "subject": { + "type": "string" + }, + "type": { + "enum": [ + "substitution", + "substitution_teacher", + "moved_lesson", + "moved_lesson_teacher", + "announcement", + "system_message", + "blog_post", + "doorlock_card_used", + "cohort_reselection_required", + "test" + ], + "type": "string" + } + }, + "required": [ + "channels", + "type" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "boolean" + }, + "inApp": { + "type": "boolean" + }, + "push": { + "type": "boolean" + } + }, + "required": [ + "email", + "inApp", + "push" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/settings": { + "get": { + "operationId": "getNotificationsSettings", + "description": "Read the notification preferences of the signed-in user", + "tags": [ + "Notifications" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorScheme": { + "enum": [ + "default", + "catppuccin", + "dracula", + "gruvbox", + "nord", + "rosePine", + "solarized", + "tokyoNight" + ], + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "language": { + "type": "string" + }, + "notificationPreferences": { + "type": "object", + "properties": { + "announcement": { + "type": "boolean" + }, + "announcementEmail": { + "type": "boolean", + "description": "Email me about announcements; in-app announcements are unaffected" + }, + "blogPost": { + "type": "boolean" + }, + "channelsEnabled": { + "type": "boolean", + "description": "Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default" + }, + "doorlockCardUsed": { + "type": "boolean" + }, + "emailEnabled": { + "type": "boolean", + "description": "Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher" + }, + "movedLesson": { + "type": "boolean" + }, + "substitution": { + "type": "boolean" + }, + "systemMessage": { + "type": "boolean", + "description": "Ignored: system messages are always delivered" + } + }, + "required": [ + "announcement", + "announcementEmail", + "blogPost", + "channelsEnabled", + "doorlockCardUsed", + "emailEnabled", + "movedLesson", + "substitution", + "systemMessage" + ] + }, + "siteThemeAcknowledged": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "siteThemeEnabled": { + "type": "boolean" + }, + "theme": { + "type": "string" + }, + "timetableClassColors": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "type": "number" + } + }, + "timetableGroupDisplay": { + "type": "string" + }, + "timetableView": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "colorScheme", + "createdAt", + "id", + "language", + "notificationPreferences", + "siteThemeAcknowledged", + "siteThemeEnabled", + "theme", + "timetableClassColors", + "timetableGroupDisplay", + "timetableView", + "updatedAt", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchNotificationsSettings", + "description": "Update the notification preferences of the signed-in user", + "tags": [ + "Notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorScheme": { + "enum": [ + "default", + "catppuccin", + "dracula", + "gruvbox", + "nord", + "rosePine", + "solarized", + "tokyoNight" + ], + "type": "string" + }, + "language": { + "type": "string" + }, + "notificationPreferences": { + "type": "object", + "properties": { + "announcement": { + "type": "boolean" + }, + "announcementEmail": { + "type": "boolean", + "description": "Email me about announcements; in-app announcements are unaffected" + }, + "blogPost": { + "type": "boolean" + }, + "channelsEnabled": { + "type": "boolean", + "description": "Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default" + }, + "doorlockCardUsed": { + "type": "boolean" + }, + "emailEnabled": { + "type": "boolean", + "description": "Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher" + }, + "movedLesson": { + "type": "boolean" + }, + "substitution": { + "type": "boolean" + }, + "systemMessage": { + "type": "boolean", + "description": "Ignored: system messages are always delivered" + } + } + }, + "siteThemeAcknowledged": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "siteThemeEnabled": { + "type": "boolean" + }, + "theme": { + "type": "string" + }, + "timetableClassColors": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "type": "number" + } + }, + "timetableGroupDisplay": { + "enum": [ + "highlight", + "hide" + ], + "type": "string" + }, + "timetableView": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "colorScheme": { + "enum": [ + "default", + "catppuccin", + "dracula", + "gruvbox", + "nord", + "rosePine", + "solarized", + "tokyoNight" + ], + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "language": { + "type": "string" + }, + "notificationPreferences": { + "type": "object", + "properties": { + "announcement": { + "type": "boolean" + }, + "announcementEmail": { + "type": "boolean", + "description": "Email me about announcements; in-app announcements are unaffected" + }, + "blogPost": { + "type": "boolean" + }, + "channelsEnabled": { + "type": "boolean", + "description": "Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default" + }, + "doorlockCardUsed": { + "type": "boolean" + }, + "emailEnabled": { + "type": "boolean", + "description": "Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher" + }, + "movedLesson": { + "type": "boolean" + }, + "substitution": { + "type": "boolean" + }, + "systemMessage": { + "type": "boolean", + "description": "Ignored: system messages are always delivered" + } + }, + "required": [ + "announcement", + "announcementEmail", + "blogPost", + "channelsEnabled", + "doorlockCardUsed", + "emailEnabled", + "movedLesson", + "substitution", + "systemMessage" + ] + }, + "siteThemeAcknowledged": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "siteThemeEnabled": { + "type": "boolean" + }, + "theme": { + "type": "string" + }, + "timetableClassColors": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "type": "number" + } + }, + "timetableGroupDisplay": { + "type": "string" + }, + "timetableView": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "colorScheme", + "createdAt", + "id", + "language", + "notificationPreferences", + "siteThemeAcknowledged", + "siteThemeEnabled", + "theme", + "timetableClassColors", + "timetableGroupDisplay", + "timetableView", + "updatedAt", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/test": { + "post": { + "operationId": "postNotificationsTest", + "description": "Development helper: drop a test notification into the caller's own inbox (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS).", + "tags": [ + "Notifications" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "metadata": { + "anyOf": [ + { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label", + "value" + ] + } + }, + "highlights": { + "type": "array", + "items": { + "type": "string" + } + }, + "slug": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "additionalProperties": {} + }, + { + "type": "null" + } + ] + }, + "read": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "userId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "content", + "createdAt", + "id", + "metadata", + "read", + "title", + "type", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/notifications/unread-count": { + "get": { + "operationId": "getNotificationsUnreadCount", + "description": "Count the signed-in user's unread notifications", + "tags": [ + "Notifications" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + }, + "required": [ + "count" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/ping": { + "get": { + "operationId": "getPing", + "description": "Health check endpoint that returns a pong response.", + "tags": [ + "Ping" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/ping/time": { + "get": { + "operationId": "getPingTime", + "description": "Returns the current server time in the school's configured timezone (Europe/Budapest by default), so a client can render the authoritative local date and UTC offset without trusting its own clock.", + "tags": [ + "Ping" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "date": { + "type": "string" + }, + "iso": { + "type": "string" + }, + "offsetMinutes": { + "type": "number" + }, + "timeZone": { + "type": "string" + }, + "unixMs": { + "type": "number" + } + }, + "required": [ + "date", + "iso", + "offsetMinutes", + "timeZone", + "unixMs" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/ping/uptime": { + "get": { + "operationId": "getPingUptime", + "description": "Get the uptime.", + "tags": [ + "Ping" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "pretty": { + "type": "string" + }, + "uptime_ms": { + "type": "number" + } + }, + "required": [ + "pretty", + "uptime_ms" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/roles": { + "post": { + "operationId": "postRoles", + "description": "Create a new role", + "tags": [ + "Roles" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "pattern": "^[a-z0-9_-]+$" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + } + }, + "required": [ + "name" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "can": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + } + }, + "required": [ + "can", + "name" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getRoles", + "description": "List all roles with their permissions", + "tags": [ + "Roles" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "can": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + } + }, + "required": [ + "can", + "name" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/roles/{name}": { + "delete": { + "operationId": "deleteRolesByName", + "description": "Delete a role", + "tags": [ + "Roles" + ], + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchRolesByName", + "description": "Update permissions for a role", + "tags": [ + "Roles" + ], + "parameters": [ + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "permissions" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "can": { + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + } + }, + "required": [ + "can", + "name" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/roles/permissions": { + "get": { + "operationId": "getRolesPermissions", + "description": "List all known permissions registered by the application", + "tags": [ + "Roles" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/theme": { + "get": { + "operationId": "getTheme", + "description": "Read the site-wide seasonal theme. Public because signed-out visitors need it.", + "tags": [ + "Theme" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "theme": { + "enum": [ + "default", + "newYear", + "valentines", + "march15", + "easter", + "summer", + "halloween", + "christmas" + ], + "type": "string" + } + }, + "required": [ + "theme" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + }, + "patch": { + "operationId": "patchTheme", + "description": "Set the site-wide seasonal theme. Admin-only.", + "tags": [ + "Theme" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "theme": { + "enum": [ + "default", + "newYear", + "valentines", + "march15", + "easter", + "summer", + "halloween", + "christmas" + ], + "type": "string" + } + }, + "required": [ + "theme" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "theme": { + "enum": [ + "default", + "newYear", + "valentines", + "march15", + "easter", + "summer", + "halloween", + "christmas" + ], + "type": "string" + } + }, + "required": [ + "theme" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/timetables/cleanup-orphaned-cohorts": { + "post": { + "operationId": "postTimetableTimetablesCleanupOrphanedCohorts", + "description": "Delete all cohorts that are no longer linked to any timetable (orphaned) and all teachers that are not assigned to any lesson. Users referencing those cohorts will have their cohortId nullified. Teachers still referenced by cohorts, cohort groups, or substitutions are kept.", + "tags": [ + "Timetable" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "affectedUserCount": { + "type": "number" + }, + "deletedCohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "deletedTeacherIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "affectedUserCount", + "deletedCohortIds", + "deletedTeacherIds" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/timetables/{id}": { + "delete": { + "operationId": "deleteTimetableTimetablesById", + "description": "Delete a timetable and all its related data, including orphaned cohorts.", + "tags": [ + "Timetable" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "patch": { + "operationId": "patchTimetableTimetablesById", + "description": "Update a timetable validity dates.", + "tags": [ + "Timetable" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "validFrom": { + "type": "string" + }, + "validTo": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "validTo": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "createdAt", + "id", + "name", + "updatedAt", + "validFrom", + "validTo" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/timetables/latestValid": { + "get": { + "operationId": "getTimetableTimetablesLatestValid", + "description": "Get the latest valid timetable.", + "tags": [ + "Timetable" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "validTo": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "createdAt", + "id", + "name", + "updatedAt", + "validFrom", + "validTo" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/timetables": { + "get": { + "operationId": "getTimetableTimetables", + "description": "Get all timetables from the database.", + "tags": [ + "Timetable" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "validTo": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "createdAt", + "id", + "name", + "updatedAt", + "validFrom", + "validTo" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/timetables/{id}/preview-delete": { + "get": { + "operationId": "getTimetableTimetablesByIdPreviewDelete", + "description": "Preview the impact of deleting a timetable. Orphaned cohorts will be deleted along with the timetable.", + "tags": [ + "Timetable" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "becomesOrphaned": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "becomesOrphaned", + "id", + "name" + ] + } + }, + "isCurrentTimetable": { + "type": "boolean" + }, + "targetTimetable": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + { + "type": "null" + } + ] + }, + "totals": { + "type": "object", + "properties": { + "danglingUsersCleaned": { + "type": "number" + }, + "lessonsDeleted": { + "type": "number" + }, + "movedLessonsDeleted": { + "type": "number" + }, + "orphanedCohorts": { + "type": "number" + }, + "substitutionsDeleted": { + "type": "number" + }, + "survivingCohorts": { + "type": "number" + } + }, + "required": [ + "danglingUsersCleaned", + "lessonsDeleted", + "movedLessonsDeleted", + "orphanedCohorts", + "substitutionsDeleted", + "survivingCohorts" + ] + } + }, + "required": [ + "cohorts", + "isCurrentTimetable", + "targetTimetable", + "totals" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/timetables/valid": { + "get": { + "operationId": "getTimetableTimetablesValid", + "description": "Get all the latest valid timetables.", + "tags": [ + "Timetable" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "validFrom": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "validTo": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "createdAt", + "id", + "name", + "updatedAt", + "validFrom", + "validTo" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/import": { + "post": { + "operationId": "postTimetableImport", + "description": "Import a timetable from an Oman or aSc 2012 XML file.", + "tags": [ + "Timetable", + "Import" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + }, + "name": { + "type": "string" + }, + "validFrom": { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + "validTo": { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + } + }, + "required": [ + "file", + "name", + "validFrom" + ] + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + }, + "name": { + "type": "string" + }, + "validFrom": { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + }, + "validTo": { + "type": "string", + "pattern": "^\\d{4}-\\d{2}-\\d{2}$" + } + }, + "required": [ + "file", + "name", + "validFrom" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ok": { + "const": true + } + }, + "required": [ + "ok" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/classrooms/getAll": { + "get": { + "operationId": "getTimetableClassroomsGetAll", + "description": "Get all classrooms from the database.", + "tags": [ + "Classroom" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/classrooms/getAvailable": { + "get": { + "operationId": "getTimetableClassroomsGetAvailable", + "description": "Get classrooms that are free for a given date, day and period.", + "tags": [ + "Classroom" + ], + "parameters": [ + { + "name": "date", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "startingDay", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "startingPeriod", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "timetableId", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "building_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/cohorts/getAllForTimetable/{timetableId}": { + "get": { + "operationId": "getTimetableCohortsGetAllForTimetableByTimetableId", + "description": "Get cohorts for a given timetable from the database.", + "tags": [ + "Cohort" + ], + "parameters": [ + { + "name": "timetableId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroomIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "teacherId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "timetableId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroomIds", + "id", + "name", + "short", + "teacherId", + "timetableId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/groups/getForCohort/{cohortId}": { + "get": { + "operationId": "getTimetableGroupsGetForCohortByCohortId", + "description": "Get the groups of a cohort, marking the current user selection.", + "tags": [ + "Group" + ], + "parameters": [ + { + "name": "cohortId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionLabel": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "selected": { + "type": "boolean" + }, + "studentCount": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "teacherId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "divisionLabel", + "divisionTag", + "entireClass", + "id", + "name", + "selected", + "studentCount", + "teacherId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/groups/select": { + "post": { + "operationId": "postTimetableGroupsSelect", + "description": "Select the group the current user belongs to for a division. Replaces any previous membership in that division.", + "tags": [ + "Group" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "groupId" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "selectedGroupId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "divisionTag", + "selectedGroupId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/periods/getAll": { + "get": { + "operationId": "getTimetablePeriodsGetAll", + "description": "Get all period definitions used in a given timetable, sorted by period number.", + "tags": [ + "Period" + ], + "parameters": [ + { + "name": "timetableId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/subjects": { + "get": { + "operationId": "getTimetableSubjects", + "description": "Get all subjects from the database.", + "tags": [ + "Subject" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "id", + "name", + "short", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/teachers/getAll": { + "get": { + "operationId": "getTimetableTeachersGetAll", + "description": "Get all teachers from the database.", + "tags": [ + "Teacher" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/teachers": { + "get": { + "operationId": "getTimetableTeachers", + "description": "List all teachers with their email and linked user.", + "tags": [ + "Teacher" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "anyOf": [ + { + "type": "string", + "format": "email" + }, + { + "type": "null" + } + ] + }, + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "id", + "name" + ] + }, + { + "type": "null" + } + ] + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "firstName", + "id", + "lastName", + "short", + "user", + "userId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/teachers/me": { + "get": { + "operationId": "getTimetableTeachersMe", + "description": "Get the signed-in user's linked teacher, if any.", + "tags": [ + "Teacher" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + }, + { + "type": "null" + } + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/teachers/{id}": { + "patch": { + "operationId": "patchTimetableTeachersById", + "description": "Update a teacher email and/or linked user.", + "tags": [ + "Teacher" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "anyOf": [ + { + "type": "string", + "format": "email" + }, + { + "type": "null" + } + ] + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "anyOf": [ + { + "type": "string", + "format": "email" + }, + { + "type": "null" + } + ] + }, + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "object", + "properties": { + "email": { + "type": "string", + "format": "email" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email", + "id", + "name" + ] + }, + { + "type": "null" + } + ] + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "email", + "firstName", + "id", + "lastName", + "short", + "user", + "userId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/lessons/getForCohort/{cohortId}": { + "get": { + "operationId": "getTimetableLessonsGetForCohortByCohortId", + "description": "Get lessons for a given cohort from the database.", + "tags": [ + "Lesson" + ], + "parameters": [ + { + "name": "cohortId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "timetableId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/lessons/getForId/{lessonId}": { + "get": { + "operationId": "getTimetableLessonsGetForIdByLessonId", + "description": "Get a lesson by its ID from the database.", + "tags": [ + "Lesson" + ], + "parameters": [ + { + "name": "lessonId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + }, + "substitutionCohortName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId", + "substitutionCohortName" + ] + }, + { + "type": "null" + } + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/lessons/getForRoom/{classroomId}": { + "get": { + "operationId": "getTimetableLessonsGetForRoomByClassroomId", + "description": "Get lessons for a given classroom from the database.", + "tags": [ + "Lesson" + ], + "parameters": [ + { + "name": "classroomId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "timetableId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/lessons/getForTeacher/{teacherId}": { + "get": { + "operationId": "getTimetableLessonsGetForTeacherByTeacherId", + "description": "Get lessons for a given teacher from the database.", + "tags": [ + "Lesson" + ], + "parameters": [ + { + "name": "teacherId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "timetableId", + "in": "query", + "schema": { + "type": "string", + "format": "uuid" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/lessons/getForTeachers": { + "post": { + "operationId": "postTimetableLessonsGetForTeachers", + "description": "Get lessons for multiple teachers in a single request.", + "tags": [ + "Lesson" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "teacherIds": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "teacherIds" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "teacherId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "lessons", + "teacherId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/lessons/getSubstitutionCandidates": { + "post": { + "operationId": "postTimetableLessonsGetSubstitutionCandidates", + "description": "Get available lessons and substitute teacher candidates for substitution editing in one request.", + "tags": [ + "Lesson" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "missingTeacherId": { + "type": "string", + "format": "uuid" + }, + "selectedLessonIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "default": [] + }, + "teacherIds": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "date", + "missingTeacherId", + "teacherIds" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "availableLessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "parallelLessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "substituteCandidates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "hasH1": { + "type": "boolean" + }, + "hasH2": { + "type": "boolean" + }, + "teacher": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + } + }, + "required": [ + "hasH1", + "hasH2", + "teacher" + ] + } + } + }, + "required": [ + "availableLessons", + "parallelLessons", + "substituteCandidates" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/substitutions": { + "post": { + "operationId": "postTimetableSubstitutions", + "description": "Create a new substitution", + "tags": [ + "Substitution" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "lessonIds": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "format": "uuid" + } + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "date", + "lessonIds" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getTimetableSubstitutions", + "description": "Get all substitutions from the database.", + "tags": [ + "Substitution" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "substitution": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + }, + "teacher": { + "anyOf": [ + { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "lessons", + "substitution", + "teacher" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/substitutions/{id}": { + "delete": { + "operationId": "deleteTimetableSubstitutionsById", + "description": "Delete a substitution", + "tags": [ + "Substitution" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putTimetableSubstitutionsById", + "description": "Update a substitution", + "tags": [ + "Substitution" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "lessonIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + { + "type": "null" + } + ] + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "lessonIds" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/substitutions/export": { + "get": { + "operationId": "getTimetableSubstitutionsExport", + "description": "Export substitutions as a CSV file over an optional date range.", + "tags": [ + "Substitution" + ], + "parameters": [ + { + "name": "from", + "in": "query", + "schema": { + "type": "string", + "format": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "to", + "in": "query", + "schema": { + "type": "string", + "format": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/substitutions/manual": { + "post": { + "operationId": "postTimetableSubstitutionsManual", + "description": "Create a substitution manually by specifying the teacher, lesson time, subject and cohort directly.", + "tags": [ + "Substitution" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortId": { + "type": "string", + "format": "uuid" + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "periodId": { + "type": "string", + "format": "uuid" + }, + "subjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "teacherId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "cohortId", + "date", + "periodId", + "subjectId", + "substituter", + "teacherId" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/substitutions/relevant": { + "get": { + "operationId": "getTimetableSubstitutionsRelevant", + "description": "Get relevant substitutions from the database.", + "tags": [ + "Substitution" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lessons": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "substitution": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + }, + "teacher": { + "anyOf": [ + { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "lessons", + "substitution", + "teacher" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/substitutions/cohort/{cohortId}": { + "get": { + "operationId": "getTimetableSubstitutionsCohortByCohortId", + "description": "Get relevant substitutions for a given cohort from the database.", + "tags": [ + "Substitution" + ], + "parameters": [ + { + "name": "cohortId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortId": { + "type": "string", + "format": "uuid" + }, + "substitutions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "lessons": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "substitution": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "substituter": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "substituter" + ] + }, + "teacher": { + "anyOf": [ + { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastName": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "firstName", + "id", + "lastName", + "short" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "lessons", + "substitution", + "teacher" + ] + } + } + }, + "required": [ + "cohortId", + "substitutions" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/movedLessons": { + "post": { + "operationId": "postTimetableMovedLessons", + "description": "Create a moved lesson: linked to existing lessons, or manual (a subject plus cohorts, with no source lessons).", + "tags": [ + "Moved Lesson" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "lessonIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "manualSourceRoomId": { + "type": "string", + "format": "uuid" + }, + "manualSubjectId": { + "type": "string", + "format": "uuid" + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "date" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getTimetableMovedLessons", + "description": "Get all moved lessons.", + "tags": [ + "Moved Lesson" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroom": { + "anyOf": [ + { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + }, + { + "type": "null" + } + ] + }, + "dayDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "manual": { + "anyOf": [ + { + "type": "object", + "properties": { + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "sourceRoom": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + } + }, + "required": [ + "cohorts", + "sourceRoom", + "subject", + "teachers" + ] + }, + { + "type": "null" + } + ] + }, + "movedLesson": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "startTime": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "endTime", + "id", + "period", + "startTime", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroom", + "dayDefinition", + "lessons", + "manual", + "movedLesson", + "period" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/movedLessons/{id}": { + "delete": { + "operationId": "deleteTimetableMovedLessonsById", + "description": "Delete a moved lesson", + "tags": [ + "Moved Lesson" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putTimetableMovedLessonsById", + "description": "Update a moved lesson. Every field is optional and an omitted one keeps its stored value. A moved lesson still has exactly one source, so switching sources must clear the other one explicitly: send `lessonIds: []` together with the manual fields to switch to manual, or `manualCohortIds: []` together with `lessonIds` to switch to linked.", + "tags": [ + "Moved Lesson" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "lessonIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "type": "string", + "format": "uuid" + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "type": "string", + "format": "uuid" + }, + "startingPeriod": { + "type": "string", + "format": "uuid" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/movedLessons/export": { + "get": { + "operationId": "getTimetableMovedLessonsExport", + "description": "Export moved lessons as a CSV file over an optional date range.", + "tags": [ + "Moved Lesson" + ], + "parameters": [ + { + "name": "from", + "in": "query", + "schema": { + "type": "string", + "format": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "to", + "in": "query", + "schema": { + "type": "string", + "format": "date" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/timetable/movedLessons/cohort/{cohortId}": { + "get": { + "operationId": "getTimetableMovedLessonsCohortByCohortId", + "description": "Get all moved lessons for a cohort.", + "tags": [ + "Moved Lesson" + ], + "parameters": [ + { + "name": "cohortId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroom": { + "anyOf": [ + { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + }, + { + "type": "null" + } + ] + }, + "dayDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "manual": { + "anyOf": [ + { + "type": "object", + "properties": { + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "sourceRoom": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + } + }, + "required": [ + "cohorts", + "sourceRoom", + "subject", + "teachers" + ] + }, + { + "type": "null" + } + ] + }, + "movedLesson": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "startTime": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "endTime", + "id", + "period", + "startTime", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroom", + "dayDefinition", + "lessons", + "manual", + "movedLesson", + "period" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/movedLessons/relevant": { + "get": { + "operationId": "getTimetableMovedLessonsRelevant", + "description": "Get relevant moved lessons for the active timetable.", + "tags": [ + "Moved Lesson" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroom": { + "anyOf": [ + { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + }, + { + "type": "null" + } + ] + }, + "dayDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "manual": { + "anyOf": [ + { + "type": "object", + "properties": { + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "sourceRoom": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + } + }, + "required": [ + "cohorts", + "sourceRoom", + "subject", + "teachers" + ] + }, + { + "type": "null" + } + ] + }, + "movedLesson": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "startTime": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "endTime", + "id", + "period", + "startTime", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroom", + "dayDefinition", + "lessons", + "manual", + "movedLesson", + "period" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/timetable/movedLessons/cohort/{cohortId}/relevant": { + "get": { + "operationId": "getTimetableMovedLessonsCohortByCohortIdRelevant", + "description": "Get all relevant moved lessons for a given cohort.", + "tags": [ + "Moved Lesson" + ], + "parameters": [ + { + "name": "cohortId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classroom": { + "anyOf": [ + { + "type": "object", + "properties": { + "building_id": { + "type": "string" + }, + "capacity": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mapped": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "rotation": { + "type": "number" + }, + "short": { + "type": "string" + }, + "size_x": { + "type": "number" + }, + "size_y": { + "type": "number" + }, + "size_z": { + "type": "number" + }, + "storey": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "type_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "building_id", + "capacity", + "description", + "id", + "mapped", + "name", + "rotation", + "short", + "size_x", + "size_y", + "size_z", + "storey", + "type_id", + "x", + "y" + ] + }, + { + "type": "null" + } + ] + }, + "dayDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "lessons": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classrooms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "day": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "days": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "days", + "id", + "name", + "short", + "updatedAt" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "object", + "properties": { + "divisionTag": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "entireClass": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + } + }, + "required": [ + "divisionTag", + "entireClass", + "id", + "name" + ] + } + }, + "groupsIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "number" + }, + "startTime": { + "type": "string" + } + }, + "required": [ + "endTime", + "id", + "period", + "startTime" + ] + }, + { + "type": "null" + } + ] + }, + "periodsPerWeek": { + "type": "number" + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "termDefinitionId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "weekDefinition": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "weeks": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "short", + "weeks" + ] + }, + { + "type": "null" + } + ] + }, + "weeksDefinitionId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "classrooms", + "cohorts", + "groups", + "groupsIds", + "id", + "period", + "periodsPerWeek", + "subject", + "teachers", + "termDefinitionId", + "weekDefinition", + "weeksDefinitionId" + ] + } + }, + "manual": { + "anyOf": [ + { + "type": "object", + "properties": { + "cohorts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + }, + "sourceRoom": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + }, + { + "type": "null" + } + ] + }, + "subject": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "id", + "name", + "short", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + }, + "teachers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "short": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "short" + ] + } + } + }, + "required": [ + "cohorts", + "sourceRoom", + "subject", + "teachers" + ] + }, + { + "type": "null" + } + ] + }, + "movedLesson": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "date": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "manualCohortIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "manualSourceRoomId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualSubjectId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "manualTeacherIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "room": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "startingDay": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "startingPeriod": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "comment", + "date", + "id", + "manualCohortIds", + "manualSourceRoomId", + "manualSubjectId", + "manualTeacherIds", + "room", + "startingDay", + "startingPeriod" + ] + }, + "period": { + "anyOf": [ + { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "endTime": { + "type": "string" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "period": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "startTime": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "createdAt", + "endTime", + "id", + "period", + "startTime", + "updatedAt" + ] + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "classroom", + "dayDefinition", + "lessons", + "manual", + "movedLesson", + "period" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/users/avatar": { + "delete": { + "operationId": "deleteUsersAvatar", + "description": "Remove your own profile picture", + "tags": [ + "Users" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "post": { + "operationId": "postUsersAvatar", + "description": "Replace your own profile picture", + "tags": [ + "Users" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + }, + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "contentMediaType": "*/*" + } + }, + "required": [ + "file" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "image" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/users/avatars/{file}": { + "get": { + "operationId": "getUsersAvatarsByFile", + "description": "Get a stored profile picture", + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "file", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[0-9a-f]{64}\\.(?:jpg|png|webp)$" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/users": { + "get": { + "operationId": "getUsers", + "description": "List users", + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "number", + "minimum": 1, + "maximum": 100, + "default": 20 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "number", + "minimum": 0, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "role", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "cohortId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "email": { + "type": "string" + }, + "emailVerified": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "displayName": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "cohortId", + "createdAt", + "email", + "emailVerified", + "id", + "image", + "name", + "nickname", + "roles", + "updatedAt", + "displayName", + "permissions" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/users/{id}": { + "patch": { + "operationId": "patchUsersById", + "description": "Update user", + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "nickname": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "cohortId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "email": { + "type": "string" + }, + "emailVerified": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "displayName": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "cohortId", + "createdAt", + "email", + "emailVerified", + "id", + "image", + "name", + "nickname", + "roles", + "updatedAt", + "displayName", + "permissions" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/auth-logs": { + "get": { + "operationId": "getWifiAuthLogs", + "description": "List WiFi auth logs.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 10000, + "default": 10000 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "failureReason", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "result", + "in": "query", + "schema": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "deviceNickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "deviceReportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "failureReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "number" + }, + "macAddress": { + "type": "string" + }, + "nasComment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nasIpAddress": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "nasMacAddress": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "result": { + "type": "boolean" + }, + "timestamp": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userComment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string" + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "deviceNickname", + "deviceReportedHostname", + "failureReason", + "id", + "macAddress", + "nasComment", + "nasIpAddress", + "nasMacAddress", + "result", + "timestamp", + "userComment", + "username", + "wifiUserId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/devices": { + "post": { + "operationId": "postWifiDevices", + "description": "Create a WiFi device or global MAC ban.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "adminNotes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "macAddress" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "adminNotes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "adminNotes", + "banned", + "createdAt", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname", + "updatedAt", + "wifiUserId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiDevices", + "description": "List WiFi devices and global MAC bans.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 10000, + "default": 10000 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "wifiUserId", + "in": "query", + "schema": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "const": "" + }, + { + "const": "null" + }, + { + "type": "null" + } + ] + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "adminNotes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "adminNotes", + "banned", + "createdAt", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname", + "updatedAt", + "wifiUserId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/devices/{id}": { + "delete": { + "operationId": "deleteWifiDevicesById", + "description": "Delete a WiFi device or global MAC ban.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putWifiDevicesById", + "description": "Update a WiFi device or global MAC ban.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "adminNotes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "adminNotes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "wifiUserId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "adminNotes", + "banned", + "createdAt", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname", + "updatedAt", + "wifiUserId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/nas": { + "post": { + "operationId": "postWifiNas", + "description": "Register a WiFi NAS device.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ipAddress": { + "type": "string" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + "required": [ + "ipAddress", + "macAddress" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "ipAddress": { + "type": "string" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "comment", + "createdAt", + "id", + "ipAddress", + "macAddress", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiNas", + "description": "List authorized WiFi NAS devices.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "ipAddress": { + "type": "string" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "comment", + "createdAt", + "id", + "ipAddress", + "macAddress", + "updatedAt" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/nas/{id}": { + "delete": { + "operationId": "deleteWifiNasById", + "description": "Delete a WiFi NAS device.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putWifiNasById", + "description": "Update a WiFi NAS device.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "ipAddress": { + "type": "string" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "ipAddress": { + "type": "string" + }, + "macAddress": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + } + }, + "required": [ + "comment", + "createdAt", + "id", + "ipAddress", + "macAddress", + "updatedAt" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/radius/authorize": { + "post": { + "operationId": "postWifiRadiusAuthorize", + "description": "Authorize a WiFi client for FreeRADIUS.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "destination": { + "type": "string" + }, + "IP": { + "type": "string" + }, + "NAS": { + "type": "string" + }, + "password": { + "type": "string" + }, + "sharedSecret": { + "type": "string" + }, + "source": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "source", + "username" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "Cleartext-Password": { + "type": "string" + }, + "control:Cleartext-Password": { + "type": "string" + }, + "Session-Timeout": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "Cleartext-Password", + "control:Cleartext-Password", + "Session-Timeout" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/wifi/role-speed-profiles": { + "post": { + "operationId": "postWifiRoleSpeedProfiles", + "description": "Create a WiFi role speed-profile mapping.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "priority": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991, + "default": 0 + }, + "roleName": { + "type": "string", + "minLength": 1 + }, + "speedProfileId": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "roleName", + "speedProfileId" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "priority": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "roleName": { + "type": "string" + }, + "speedProfileId": { + "type": "string" + } + }, + "required": [ + "priority", + "roleName", + "speedProfileId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiRoleSpeedProfiles", + "description": "List WiFi role speed-profile mappings.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "priority": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "roleName": { + "type": "string" + }, + "speedProfileId": { + "type": "string" + } + }, + "required": [ + "priority", + "roleName", + "speedProfileId" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/role-speed-profiles/{id}": { + "delete": { + "operationId": "deleteWifiRoleSpeedProfilesById", + "description": "Delete a WiFi role speed-profile mapping.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putWifiRoleSpeedProfilesById", + "description": "Update a WiFi role speed-profile mapping.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "priority": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991, + "default": 0 + }, + "roleName": { + "type": "string", + "minLength": 1 + }, + "speedProfileId": { + "type": "string", + "minLength": 1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "priority": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "roleName": { + "type": "string" + }, + "speedProfileId": { + "type": "string" + } + }, + "required": [ + "priority", + "roleName", + "speedProfileId" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/self/certificate": { + "get": { + "operationId": "getWifiSelfCertificate", + "description": "Download the CA certificate for the authenticated user's WiFi network.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "contentMediaType": "*/*" + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/self/password": { + "put": { + "operationId": "putWifiSelfPassword", + "description": "Change the authenticated user's WiFi account password.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "newPassword": { + "type": "string", + "minLength": 8, + "maxLength": 256 + } + }, + "required": [ + "newPassword" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/self": { + "post": { + "operationId": "postWifiSelf", + "description": "Create a new WiFi account for the authenticated user.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "minLength": 8, + "maxLength": 256 + } + }, + "required": [ + "password" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "banned": { + "type": "boolean" + }, + "devices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "banned": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "banned", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname" + ] + } + }, + "speedLimit": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "roleName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source": { + "enum": [ + "override", + "role", + "wlan_default" + ], + "type": "string" + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uploadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "downloadSpeedMbps", + "roleName", + "source", + "speedProfileId", + "uploadSpeedMbps" + ] + }, + "username": { + "type": "string" + } + }, + "required": [ + "banned", + "devices", + "speedLimit", + "username" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiSelf", + "description": "Get the authenticated user's WiFi account and devices.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "banned": { + "type": "boolean" + }, + "devices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "banned": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "banned", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname" + ] + } + }, + "speedLimit": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "roleName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "source": { + "enum": [ + "override", + "role", + "wlan_default" + ], + "type": "string" + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "uploadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "downloadSpeedMbps", + "roleName", + "source", + "speedProfileId", + "uploadSpeedMbps" + ] + }, + "username": { + "type": "string" + } + }, + "required": [ + "banned", + "devices", + "speedLimit", + "username" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/self/devices/{id}": { + "put": { + "operationId": "putWifiSelfDevicesById", + "description": "Rename one of the authenticated user's WiFi devices.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "nickname": { + "anyOf": [ + { + "type": "string", + "maxLength": 100 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "nickname" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "banned": { + "type": "boolean" + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "macAddress": { + "type": "string" + }, + "nickname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "reportedHostname": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "banned", + "id", + "lastActiveAt", + "macAddress", + "nickname", + "reportedHostname" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/speed-profiles": { + "post": { + "operationId": "postWifiSpeedProfiles", + "description": "Create a UniFi WiFi speed profile.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "type": "integer", + "minimum": -1, + "maximum": 9007199254740991, + "default": -1 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "uploadSpeedMbps": { + "type": "integer", + "minimum": -1, + "maximum": 9007199254740991, + "default": -1 + } + }, + "required": [ + "name" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "isWlanDefault": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uploadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "downloadSpeedMbps", + "id", + "isWlanDefault", + "name", + "uploadSpeedMbps" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiSpeedProfiles", + "description": "List UniFi WiFi speed profiles.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "isWlanDefault": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uploadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "downloadSpeedMbps", + "id", + "isWlanDefault", + "name", + "uploadSpeedMbps" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/speed-profiles/{id}": { + "delete": { + "operationId": "deleteWifiSpeedProfilesById", + "description": "Delete a UniFi WiFi speed profile.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putWifiSpeedProfilesById", + "description": "Update a UniFi WiFi speed profile.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "type": "integer", + "minimum": -1, + "maximum": 9007199254740991, + "default": -1 + }, + "name": { + "type": "string", + "minLength": 1 + }, + "uploadSpeedMbps": { + "type": "integer", + "minimum": -1, + "maximum": 9007199254740991, + "default": -1 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "downloadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + }, + "isWlanDefault": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uploadSpeedMbps": { + "anyOf": [ + { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "downloadSpeedMbps", + "id", + "isWlanDefault", + "name", + "uploadSpeedMbps" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/stats/overview": { + "get": { + "operationId": "getWifiStatsOverview", + "description": "Get WiFi account, device, active-device, and auth statistics.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "stats": { + "type": "object", + "properties": { + "activeDevices": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "authSeries": { + "type": "array", + "items": { + "type": "object", + "properties": { + "accepted": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "date": { + "type": "string" + }, + "rejected": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "accepted", + "date", + "rejected" + ] + } + }, + "totalDevices": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "totalUsers": { + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + } + }, + "required": [ + "activeDevices", + "authSeries", + "totalDevices", + "totalUsers" + ] + } + }, + "required": [ + "stats" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/status": { + "get": { + "operationId": "getWifiStatus", + "description": "Get the WiFi module status and configured SSID.", + "tags": [ + "WiFi" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "ssid": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "enabled", + "ssid" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + } + } + }, + "/wifi/users": { + "post": { + "operationId": "postWifiUsers", + "description": "Create a WiFi user account.", + "tags": [ + "WiFi" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allowedMacAddresses": { + "type": "array", + "items": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "password": { + "type": "string", + "minLength": 8, + "maxLength": 256 + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "password", + "username" + ] + } + } + } + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allowedMacAddresses": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "createdBy": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "creatorName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string" + } + }, + "required": [ + "allowedMacAddresses", + "banned", + "comment", + "createdAt", + "createdBy", + "creatorName", + "id", + "lastActiveAt", + "speedProfileId", + "updatedAt", + "userId", + "username" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "get": { + "operationId": "getWifiUsers", + "description": "List WiFi user accounts.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 10000, + "default": 10000 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "offset", + "in": "query", + "schema": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991, + "default": 0 + }, + "allowEmptyValue": true, + "allowReserved": true + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + }, + "allowEmptyValue": true, + "allowReserved": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "allowedMacAddresses": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "createdBy": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "creatorName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string" + } + }, + "required": [ + "allowedMacAddresses", + "banned", + "comment", + "createdAt", + "createdBy", + "creatorName", + "id", + "lastActiveAt", + "speedProfileId", + "updatedAt", + "userId", + "username" + ] + } + }, + "total": { + "type": "number" + } + }, + "required": [ + "items", + "total" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + }, + "/wifi/users/{id}": { + "delete": { + "operationId": "deleteWifiUsersById", + "description": "Delete a WiFi user account.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + }, + "put": { + "operationId": "putWifiUsersById", + "description": "Update a WiFi user account.", + "tags": [ + "WiFi" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allowedMacAddresses": { + "type": "array", + "items": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "password": { + "anyOf": [ + { + "type": "string", + "minLength": 8, + "maxLength": 256 + }, + { + "const": "" + } + ] + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string", + "minLength": 1 + }, + "banned": { + "type": "boolean" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "allowedMacAddresses": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string", + "pattern": "^(?:[0-9a-fA-F]{12}|(?:[0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2})$" + } + }, + { + "type": "null" + } + ] + }, + "banned": { + "type": "boolean" + }, + "comment": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "createdBy": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "creatorName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string", + "format": "uuid" + }, + "lastActiveAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + { + "type": "null" + } + ] + }, + "speedProfileId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "x-native-type": "date" + }, + "userId": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ] + }, + "username": { + "type": "string" + } + }, + "required": [ + "allowedMacAddresses", + "banned", + "comment", + "createdAt", + "createdBy", + "creatorName", + "id", + "lastActiveAt", + "speedProfileId", + "updatedAt", + "userId", + "username" + ] + } + } + } + }, + "400": { + "description": "400", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "401": { + "description": "401", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "403": { + "description": "403", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "404": { + "description": "404", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "409": { + "description": "409", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "429": { + "description": "429", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + }, + "500": { + "description": "500", + "content": { + "application/json": { + "schema": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "required": [ + "code", + "message", + "status" + ], + "type": "object" + } + } + } + } + }, + "security": [ + { + "sessionAuth": [] + } + ] + } + } + } +} From 79c8f6a0b3099d8aa4b5baa69656ea86a7ae1f54 Mon Sep 17 00:00:00 2001 From: merenyimiklos Date: Wed, 18 Nov 2026 22:55:39 +0100 Subject: [PATCH 2/5] ```git build(api): disable OpenAPI test generation and fix model serialization * Disable OpenAPI model and API test generation (`generateModelTests`, `generateApiTests`) in `build.gradle.kts` and remove auto-generated test files. * Fix duplicate `@Serializable` annotations across OpenAPI model data classes. * Replace `Any?` types with `JsonElement?` in API response models to ensure proper Kotlinx serialization handling. * Remove unused `serializationLibrary` configuration from `build.gradle.kts`. ``` --- composeApp/build.gradle.kts | 3 +- .../DeleteAdminApiKeysByKeyId200Response.kt | 2 +- .../DeleteAdminApiKeysByKeyId400Response.kt | 2 +- ...DeleteNavigatorBuildingsById200Response.kt | 2 +- .../api/model/GetAdminApiKeys200Response.kt | 2 +- .../GetAdminApiKeys200ResponseItemsInner.kt | 2 +- .../api/model/GetBugReport200Response.kt | 2 +- .../GetBugReport200ResponseItemsInner.kt | 2 +- ...tBugReport200ResponseItemsInnerMetadata.kt | 2 +- ...200ResponseItemsInnerMetadataAnyOfInner.kt | 3 +- ...200ResponseItemsInnerMetadataAnyOfValue.kt | 3 +- .../filcapp/api/model/GetCohort200Response.kt | 2 +- .../model/GetCohort200ResponseItemsInner.kt | 2 +- .../api/model/GetDashboardStats200Response.kt | 2 +- .../GetDashboardStats200ResponseStats.kt | 2 +- ...oardStats200ResponseStatsChartDataInner.kt | 2 +- .../api/model/GetDoorlockCards200Response.kt | 2 +- .../GetDoorlockCards200ResponseItemsInner.kt | 2 +- ...esponseItemsInnerAuthorizedDevicesInner.kt | 2 +- ...DoorlockCards200ResponseItemsInnerOwner.kt | 2 +- .../model/GetDoorlockCardsUsers200Response.kt | 2 +- ...DoorlockCardsUsers200ResponseItemsInner.kt | 2 +- .../model/GetDoorlockDevices200Response.kt | 2 +- ...GetDoorlockDevices200ResponseItemsInner.kt | 2 +- .../GetDoorlockDevicesByIdStats200Response.kt | 2 +- ...ckDevicesByIdStats200ResponseStatsInner.kt | 2 +- ...yIdStats200ResponseStatsInnerDeviceMeta.kt | 2 +- ...ats200ResponseStatsInnerDeviceMetaDebug.kt | 2 +- ...ResponseStatsInnerDeviceMetaDebugErrors.kt | 2 +- ...s200ResponseStatsInnerDeviceMetaStorage.kt | 2 +- .../api/model/GetDoorlockLogs200Response.kt | 2 +- .../GetDoorlockLogs200ResponseItemsInner.kt | 2 +- ...etDoorlockLogs200ResponseItemsInnerCard.kt | 2 +- .../GetDoorlockStatsOverview200Response.kt | 2 +- ...etDoorlockStatsOverview200ResponseStats.kt | 2 +- ...view200ResponseStatsDoorOpenSeriesInner.kt | 2 +- ...tsOverview200ResponseStatsTopUsersInner.kt | 2 +- .../filcapp/api/model/GetHealth200Response.kt | 6 +- .../filcapp/api/model/GetKiosk200Response.kt | 2 +- .../model/GetKiosk200ResponseItemsInner.kt | 2 +- .../api/model/GetKioskNews200Response.kt | 2 +- .../GetKioskNews200ResponseItemsInner.kt | 2 +- .../model/GetKioskPetrikNews200Response.kt | 2 +- ...GetKioskPetrikNews200ResponseItemsInner.kt | 2 +- .../api/model/GetKioskWeather200Response.kt | 2 +- .../model/GetNavigatorBuildings200Response.kt | 2 +- ...NavigatorBuildings200ResponseItemsInner.kt | 2 +- .../GetNavigatorClassroomTypes200Response.kt | 2 +- ...atorClassroomTypes200ResponseItemsInner.kt | 2 +- .../GetNavigatorClassrooms200Response.kt | 2 +- ...avigatorClassrooms200ResponseItemsInner.kt | 2 +- .../model/GetNavigatorCorridors200Response.kt | 2 +- ...NavigatorCorridors200ResponseItemsInner.kt | 2 +- .../api/model/GetNavigatorGraph200Response.kt | 2 +- .../GetNavigatorGraph200ResponseLiftsInner.kt | 2 +- ...GetNavigatorGraph200ResponseStairsInner.kt | 2 +- .../api/model/GetNavigatorLifts200Response.kt | 2 +- .../GetNavigatorLifts200ResponseItemsInner.kt | 2 +- .../model/GetNavigatorStairs200Response.kt | 2 +- ...GetNavigatorStairs200ResponseItemsInner.kt | 2 +- .../GetNavigatorTranslations200Response.kt | 2 +- ...igatorTranslations200ResponseItemsInner.kt | 2 +- ...vigatorTranslationsAvailable200Response.kt | 2 +- .../model/GetNewsAnnouncements200Response.kt | 2 +- ...tNewsAnnouncements200ResponseItemsInner.kt | 2 +- ...nnouncements200ResponseItemsInnerAuthor.kt | 2 +- .../GetNewsAnnouncementsById200Response.kt | 2 +- ...tNewsAnnouncementsById200ResponseAuthor.kt | 2 +- .../api/model/GetNewsBlogs200Response.kt | 2 +- .../GetNewsBlogs200ResponseItemsInner.kt | 2 +- .../model/GetNewsBlogsBySlug200Response.kt | 2 +- .../model/GetNewsSystemMessages200Response.kt | 2 +- ...NewsSystemMessages200ResponseItemsInner.kt | 2 +- .../GetNewsSystemMessagesById200Response.kt | 2 +- .../api/model/GetNotifications200Response.kt | 2 +- .../GetNotifications200ResponseItemsInner.kt | 4 +- .../GetNotificationsSettings200Response.kt | 2 +- ...tings200ResponseNotificationPreferences.kt | 2 +- .../GetNotificationsUnreadCount200Response.kt | 2 +- .../filcapp/api/model/GetPing200Response.kt | 2 +- .../api/model/GetPingUptime200Response.kt | 2 +- .../filcapp/api/model/GetRoles200Response.kt | 2 +- .../model/GetRoles200ResponseItemsInner.kt | 2 +- ...GroupsGetForCohortByCohortId200Response.kt | 2 +- ...orCohortByCohortId200ResponseItemsInner.kt | 2 +- ...essonsGetForCohortByCohortId200Response.kt | 2 +- ...orCohortByCohortId200ResponseItemsInner.kt | 2 +- ...tId200ResponseItemsInnerClassroomsInner.kt | 2 +- ...hortId200ResponseItemsInnerCohortsInner.kt | 2 +- ...ohortByCohortId200ResponseItemsInnerDay.kt | 2 +- ...ohortId200ResponseItemsInnerGroupsInner.kt | 2 +- ...rtByCohortId200ResponseItemsInnerPeriod.kt | 2 +- ...tByCohortId200ResponseItemsInnerSubject.kt | 2 +- ...rtId200ResponseItemsInnerWeekDefinition.kt | 2 +- ...bleLessonsGetForIdByLessonId200Response.kt | 2 +- ...LessonsGetForIdByLessonId200ResponseDay.kt | 2 +- ...etForIdByLessonId200ResponseGroupsInner.kt | 2 +- ...orIdByLessonId200ResponseWeekDefinition.kt | 2 +- .../GetTimetableMovedLessons200Response.kt | 2 +- ...etableMovedLessons200ResponseItemsInner.kt | 2 +- ...Lessons200ResponseItemsInnerMovedLesson.kt | 2 +- ...MovedLessons200ResponseItemsInnerPeriod.kt | 2 +- .../GetTimetablePeriodsGetAll200Response.kt | 2 +- ...tablePeriodsGetAll200ResponseItemsInner.kt | 2 +- .../model/GetTimetableSubjects200Response.kt | 2 +- ...tTimetableSubjects200ResponseItemsInner.kt | 2 +- .../GetTimetableSubstitutions200Response.kt | 2 +- ...tableSubstitutions200ResponseItemsInner.kt | 2 +- ...utions200ResponseItemsInnerSubstitution.kt | 2 +- ...bstitutions200ResponseItemsInnerTeacher.kt | 2 +- ...ubstitutionsCohortByCohortId200Response.kt | 2 +- ...metableSubstitutionsRelevant200Response.kt | 2 +- ...stitutionsRelevant200ResponseItemsInner.kt | 2 +- ...onsRelevant200ResponseItemsInnerTeacher.kt | 2 +- .../model/GetTimetableTeachers200Response.kt | 2 +- ...tTimetableTeachers200ResponseItemsInner.kt | 2 +- ...etableTeachers200ResponseItemsInnerUser.kt | 2 +- .../GetTimetableTeachersGetAll200Response.kt | 2 +- ...ableTeachersGetAll200ResponseItemsInner.kt | 2 +- .../GetTimetableTeachersMe200Response.kt | 2 +- .../GetTimetableTimetables200Response.kt | 2 +- ...imetableTimetables200ResponseItemsInner.kt | 2 +- ...eTimetablesByIdPreviewDelete200Response.kt | 2 +- ...yIdPreviewDelete200ResponseCohortsInner.kt | 2 +- ...ablesByIdPreviewDelete200ResponseTotals.kt | 2 +- .../filcapp/api/model/GetUsers200Response.kt | 2 +- .../model/GetUsers200ResponseItemsInner.kt | 2 +- .../api/model/GetWifiAuthLogs200Response.kt | 2 +- .../GetWifiAuthLogs200ResponseItemsInner.kt | 2 +- .../api/model/GetWifiDevices200Response.kt | 2 +- .../GetWifiDevices200ResponseItemsInner.kt | 2 +- .../api/model/GetWifiNas200Response.kt | 2 +- .../model/GetWifiNas200ResponseItemsInner.kt | 2 +- .../GetWifiRoleSpeedProfiles200Response.kt | 2 +- ...iRoleSpeedProfiles200ResponseItemsInner.kt | 2 +- .../api/model/GetWifiSelf200Response.kt | 2 +- .../GetWifiSelf200ResponseDevicesInner.kt | 2 +- .../model/GetWifiSelf200ResponseSpeedLimit.kt | 2 +- .../model/GetWifiSpeedProfiles200Response.kt | 2 +- ...tWifiSpeedProfiles200ResponseItemsInner.kt | 2 +- .../model/GetWifiStatsOverview200Response.kt | 2 +- .../GetWifiStatsOverview200ResponseStats.kt | 2 +- ...Overview200ResponseStatsAuthSeriesInner.kt | 2 +- .../api/model/GetWifiStatus200Response.kt | 2 +- .../api/model/GetWifiUsers200Response.kt | 2 +- .../GetWifiUsers200ResponseItemsInner.kt | 2 +- .../PatchAdminApiKeysByKeyId200Response.kt | 2 +- .../PatchAdminApiKeysByKeyId400Response.kt | 2 +- .../model/PatchAdminApiKeysByKeyIdRequest.kt | 2 +- .../PatchBugReportByIdStatus200Response.kt | 2 +- ...hBugReportByIdStatus200ResponseMetadata.kt | 2 +- .../model/PatchBugReportByIdStatusRequest.kt | 2 +- .../PatchNewsAnnouncementsById200Response.kt | 2 +- .../PatchNewsAnnouncementsByIdRequest.kt | 2 +- ...ewsAnnouncementsByIdRequestContentInner.kt | 2 +- .../model/PatchNewsBlogsById200Response.kt | 2 +- .../api/model/PatchNewsBlogsByIdRequest.kt | 2 +- .../PatchNewsSystemMessagesById200Response.kt | 2 +- .../PatchNewsSystemMessagesByIdRequest.kt | 2 +- .../PatchNotificationsSettingsRequest.kt | 2 +- ...sSettingsRequestNotificationPreferences.kt | 2 +- .../api/model/PatchRolesByNameRequest.kt | 2 +- .../PatchTimetableTeachersById200Response.kt | 2 +- ...tchTimetableTeachersById200ResponseUser.kt | 2 +- .../PatchTimetableTeachersByIdRequest.kt | 2 +- ...PatchTimetableTimetablesById200Response.kt | 2 +- .../PatchTimetableTimetablesByIdRequest.kt | 2 +- .../api/model/PatchUsersById200Response.kt | 2 +- .../api/model/PatchUsersByIdRequest.kt | 2 +- .../api/model/PostBugReport201Response.kt | 2 +- .../filcapp/api/model/PostBugReportRequest.kt | 2 +- .../PostBugReportRequestMetadataValue.kt | 2 +- ...BugReportRequestMetadataValueAnyOfInner.kt | 2 +- ...BugReportRequestMetadataValueAnyOfValue.kt | 2 +- .../api/model/PostDoorlockCards201Response.kt | 2 +- ...kCards201ResponseAuthorizedDevicesInner.kt | 2 +- .../PostDoorlockCards201ResponseOwner.kt | 2 +- .../api/model/PostDoorlockCardsRequest.kt | 2 +- .../model/PostDoorlockDevices201Response.kt | 2 +- ...ostDoorlockDevicesByIdUpdate200Response.kt | 4 +- .../PostDoorlockDevicesByIdUpdateRequest.kt | 2 +- .../api/model/PostDoorlockDevicesRequest.kt | 2 +- .../PostDoorlockDevicesUpdate200Response.kt | 2 +- ...oorlockSelfCardsByIdActivate200Response.kt | 2 +- ...ostDoorlockSelfCardsByIdActivateRequest.kt | 2 +- .../filcapp/api/model/PostKiosk201Response.kt | 2 +- .../model/PostKioskDepartures200Response.kt | 2 +- ...ostKioskDepartures200ResponseItemsInner.kt | 2 +- .../api/model/PostKioskDeparturesRequest.kt | 2 +- .../PostKioskDeparturesRequestGroupsInner.kt | 2 +- ...kDeparturesRequestGroupsInnerStopsInner.kt | 2 +- .../model/PostKioskHeartbeat200Response.kt | 6 +- .../PostKioskHeartbeat200ResponseAnyOf.kt | 4 +- .../PostKioskHeartbeat200ResponseAnyOf1.kt | 6 +- ...ostKioskHeartbeat200ResponseAnyOf1Kiosk.kt | 2 +- .../PostKioskHeartbeat200ResponseAnyOf2.kt | 6 +- ...ostKioskHeartbeat200ResponseAnyOf2Kiosk.kt | 2 +- .../api/model/PostKioskHeartbeatRequest.kt | 2 +- .../filcapp/api/model/PostKioskRequest.kt | 2 +- .../api/model/PostKioskRequestConfig.kt | 2 +- .../PostNavigatorBuildings201Response.kt | 2 +- .../model/PostNavigatorBuildingsRequest.kt | 2 +- .../PostNavigatorClassroomTypes201Response.kt | 2 +- .../PostNavigatorClassroomTypesRequest.kt | 2 +- .../PostNavigatorClassrooms201Response.kt | 2 +- .../model/PostNavigatorClassroomsRequest.kt | 2 +- .../PostNavigatorCorridors201Response.kt | 2 +- .../model/PostNavigatorCorridorsRequest.kt | 2 +- .../model/PostNavigatorImport200Response.kt | 2 +- .../api/model/PostNavigatorImportRequest.kt | 2 +- .../api/model/PostNavigatorLiftsRequest.kt | 2 +- .../api/model/PostNavigatorStairsRequest.kt | 2 +- .../PostNavigatorTranslations201Response.kt | 2 +- ...igatorTranslations201ResponseItemsInner.kt | 2 +- .../model/PostNavigatorTranslationsRequest.kt | 2 +- .../model/PostNewsAnnouncements201Response.kt | 2 +- .../api/model/PostNewsAnnouncementsRequest.kt | 2 +- ...ostNewsAnnouncementsRequestContentInner.kt | 2 +- .../api/model/PostNewsBlogs201Response.kt | 2 +- .../filcapp/api/model/PostNewsBlogsRequest.kt | 2 +- .../PostNewsSystemMessages201Response.kt | 2 +- .../model/PostNewsSystemMessagesRequest.kt | 2 +- .../PostNotificationsByIdRead200Response.kt | 4 +- .../PostNotificationsFcmTokensRequest.kt | 2 +- ...PostNotificationsTestPreview200Response.kt | 2 +- .../PostNotificationsTestPreviewRequest.kt | 2 +- .../PostNotificationsTestSend200Response.kt | 2 +- .../model/PostNotificationsTestSendRequest.kt | 2 +- ...ostNotificationsTestSendRequestChannels.kt | 2 +- .../filcapp/api/model/PostRoles201Response.kt | 2 +- .../filcapp/api/model/PostRolesRequest.kt | 2 +- .../PostTimetableGroupsSelect200Response.kt | 2 +- .../model/PostTimetableGroupsSelectRequest.kt | 2 +- .../api/model/PostTimetableImportRequest.kt | 2 +- ...metableLessonsGetForTeachers200Response.kt | 2 +- ...sonsGetForTeachers200ResponseItemsInner.kt | 2 +- ...achers200ResponseItemsInnerLessonsInner.kt | 2 +- ...ers200ResponseItemsInnerLessonsInnerDay.kt | 2 +- ...stTimetableLessonsGetForTeachersRequest.kt | 2 +- ...onsGetSubstitutionCandidates200Response.kt | 2 +- ...tes200ResponseSubstituteCandidatesInner.kt | 2 +- ...LessonsGetSubstitutionCandidatesRequest.kt | 2 +- .../PostTimetableMovedLessons200Response.kt | 2 +- .../model/PostTimetableMovedLessonsRequest.kt | 2 +- .../PostTimetableSubstitutions200Response.kt | 2 +- ...PostTimetableSubstitutionsManualRequest.kt | 2 +- .../PostTimetableSubstitutionsRequest.kt | 2 +- ...tablesCleanupOrphanedCohorts200Response.kt | 2 +- .../api/model/PostWifiDevices201Response.kt | 2 +- .../api/model/PostWifiDevicesRequest.kt | 2 +- .../api/model/PostWifiNas201Response.kt | 2 +- .../filcapp/api/model/PostWifiNasRequest.kt | 2 +- .../PostWifiRadiusAuthorize200Response.kt | 2 +- .../model/PostWifiRadiusAuthorizeRequest.kt | 2 +- .../PostWifiRoleSpeedProfiles201Response.kt | 2 +- .../model/PostWifiRoleSpeedProfilesRequest.kt | 2 +- .../api/model/PostWifiSelf201Response.kt | 2 +- .../PostWifiSelf201ResponseDevicesInner.kt | 2 +- .../filcapp/api/model/PostWifiSelfRequest.kt | 2 +- .../model/PostWifiSpeedProfiles201Response.kt | 2 +- .../api/model/PostWifiSpeedProfilesRequest.kt | 2 +- .../api/model/PostWifiUsers201Response.kt | 2 +- .../filcapp/api/model/PostWifiUsersRequest.kt | 2 +- .../api/model/PutDoorlockCardsByIdRequest.kt | 2 +- .../model/PutDoorlockDevicesByIdRequest.kt | 2 +- .../PutDoorlockSelfCardsByIdFrozenRequest.kt | 2 +- .../filcapp/api/model/PutKioskByIdRequest.kt | 2 +- .../model/PutNavigatorBuildingsByIdRequest.kt | 2 +- .../PutNavigatorClassroomTypesByIdRequest.kt | 2 +- .../PutNavigatorClassroomsById200Response.kt | 2 +- .../PutNavigatorClassroomsByIdRequest.kt | 2 +- .../model/PutNavigatorCorridorsByIdRequest.kt | 2 +- .../api/model/PutNavigatorLiftsByIdRequest.kt | 2 +- .../model/PutNavigatorStairsByIdRequest.kt | 2 +- ...NavigatorTranslationsByLangByKeyRequest.kt | 2 +- .../PutTimetableMovedLessonsByIdRequest.kt | 2 +- .../PutTimetableSubstitutionsByIdRequest.kt | 2 +- .../api/model/PutWifiDevicesByIdRequest.kt | 2 +- .../api/model/PutWifiNasByIdRequest.kt | 2 +- .../PutWifiRoleSpeedProfilesByIdRequest.kt | 2 +- .../model/PutWifiSelfDevicesByIdRequest.kt | 2 +- .../model/PutWifiSelfPassword200Response.kt | 2 +- .../api/model/PutWifiSelfPasswordRequest.kt | 2 +- .../model/PutWifiSpeedProfilesByIdRequest.kt | 2 +- .../api/model/PutWifiUsersByIdRequest.kt | 2 +- .../filcapp/api/client/APIKeysApiTest.kt | 71 ---- .../filcapp/api/client/BugReportsApiTest.kt | 83 ----- .../filcapp/api/client/ClassroomApiTest.kt | 57 --- .../filcapp/api/client/CohortApiTest.kt | 54 --- .../filcapp/api/client/DashboardApiTest.kt | 47 --- .../filcapp/api/client/DoorlockApiTest.kt | 215 ----------- .../petrik/filcapp/api/client/GroupApiTest.kt | 57 --- .../filcapp/api/client/HealthApiTest.kt | 46 --- .../filcapp/api/client/ImportApiTest.kt | 48 --- .../petrik/filcapp/api/client/KioskApiTest.kt | 129 ------- .../filcapp/api/client/LessonApiTest.kt | 95 ----- .../filcapp/api/client/MovedLessonApiTest.kt | 108 ------ .../filcapp/api/client/NavigatorApiTest.kt | 336 ------------------ .../api/client/NewsAnnouncementsApiTest.kt | 109 ------ .../filcapp/api/client/NewsBlogsApiTest.kt | 121 ------- .../api/client/NewsSystemMessagesApiTest.kt | 91 ----- .../api/client/NotificationsApiTest.kt | 138 ------- .../filcapp/api/client/PeriodApiTest.kt | 47 --- .../petrik/filcapp/api/client/PingApiTest.kt | 54 --- .../petrik/filcapp/api/client/RolesApiTest.kt | 83 ----- .../filcapp/api/client/SubjectApiTest.kt | 46 --- .../filcapp/api/client/SubstitutionApiTest.kt | 111 ------ .../filcapp/api/client/TeacherApiTest.kt | 73 ---- .../filcapp/api/client/TimetableApiTest.kt | 108 ------ .../petrik/filcapp/api/client/UsersApiTest.kt | 61 ---- .../petrik/filcapp/api/client/WiFiApiTest.kt | 313 ---------------- ...eleteAdminApiKeysByKeyId200ResponseTest.kt | 43 --- ...eleteAdminApiKeysByKeyId400ResponseTest.kt | 55 --- ...teNavigatorBuildingsById200ResponseTest.kt | 43 --- ...etAdminApiKeys200ResponseItemsInnerTest.kt | 115 ------ .../model/GetAdminApiKeys200ResponseTest.kt | 50 --- ...esponseItemsInnerMetadataAnyOfInnerTest.kt | 38 -- ...esponseItemsInnerMetadataAnyOfValueTest.kt | 38 -- ...Report200ResponseItemsInnerMetadataTest.kt | 39 -- .../GetBugReport200ResponseItemsInnerTest.kt | 98 ----- .../api/model/GetBugReport200ResponseTest.kt | 50 --- .../GetCohort200ResponseItemsInnerTest.kt | 73 ---- .../api/model/GetCohort200ResponseTest.kt | 50 --- ...Stats200ResponseStatsChartDataInnerTest.kt | 55 --- .../GetDashboardStats200ResponseStatsTest.kt | 86 ----- .../model/GetDashboardStats200ResponseTest.kt | 44 --- ...nseItemsInnerAuthorizedDevicesInnerTest.kt | 49 --- ...lockCards200ResponseItemsInnerOwnerTest.kt | 61 ---- ...tDoorlockCards200ResponseItemsInnerTest.kt | 99 ------ .../model/GetDoorlockCards200ResponseTest.kt | 50 --- ...lockCardsUsers200ResponseItemsInnerTest.kt | 61 ---- .../GetDoorlockCardsUsers200ResponseTest.kt | 50 --- ...oorlockDevices200ResponseItemsInnerTest.kt | 79 ---- .../GetDoorlockDevices200ResponseTest.kt | 50 --- ...onseStatsInnerDeviceMetaDebugErrorsTest.kt | 67 ---- ...00ResponseStatsInnerDeviceMetaDebugTest.kt | 56 --- ...ResponseStatsInnerDeviceMetaStorageTest.kt | 49 --- ...tats200ResponseStatsInnerDeviceMetaTest.kt | 69 ---- ...vicesByIdStats200ResponseStatsInnerTest.kt | 56 --- ...DoorlockDevicesByIdStats200ResponseTest.kt | 44 --- ...orlockLogs200ResponseItemsInnerCardTest.kt | 49 --- ...etDoorlockLogs200ResponseItemsInnerTest.kt | 105 ------ .../model/GetDoorlockLogs200ResponseTest.kt | 50 --- ...200ResponseStatsDoorOpenSeriesInnerTest.kt | 49 --- ...orlockStatsOverview200ResponseStatsTest.kt | 69 ---- ...erview200ResponseStatsTopUsersInnerTest.kt | 61 ---- ...GetDoorlockStatsOverview200ResponseTest.kt | 44 --- .../api/model/GetHealth200ResponseTest.kt | 49 --- .../GetKiosk200ResponseItemsInnerTest.kt | 104 ------ .../api/model/GetKiosk200ResponseTest.kt | 50 --- .../GetKioskNews200ResponseItemsInnerTest.kt | 85 ----- .../api/model/GetKioskNews200ResponseTest.kt | 50 --- ...ioskPetrikNews200ResponseItemsInnerTest.kt | 67 ---- .../GetKioskPetrikNews200ResponseTest.kt | 50 --- .../model/GetKioskWeather200ResponseTest.kt | 61 ---- ...gatorBuildings200ResponseItemsInnerTest.kt | 73 ---- .../GetNavigatorBuildings200ResponseTest.kt | 50 --- ...ClassroomTypes200ResponseItemsInnerTest.kt | 67 ---- ...tNavigatorClassroomTypes200ResponseTest.kt | 50 --- ...atorClassrooms200ResponseItemsInnerTest.kt | 127 ------- .../GetNavigatorClassrooms200ResponseTest.kt | 50 --- ...gatorCorridors200ResponseItemsInnerTest.kt | 115 ------ .../GetNavigatorCorridors200ResponseTest.kt | 50 --- ...NavigatorGraph200ResponseLiftsInnerTest.kt | 91 ----- ...avigatorGraph200ResponseStairsInnerTest.kt | 97 ----- .../model/GetNavigatorGraph200ResponseTest.kt | 79 ---- ...NavigatorLifts200ResponseItemsInnerTest.kt | 91 ----- .../model/GetNavigatorLifts200ResponseTest.kt | 50 --- ...avigatorStairs200ResponseItemsInnerTest.kt | 97 ----- .../GetNavigatorStairs200ResponseTest.kt | 50 --- ...orTranslations200ResponseItemsInnerTest.kt | 55 --- ...GetNavigatorTranslations200ResponseTest.kt | 50 --- ...torTranslationsAvailable200ResponseTest.kt | 49 --- ...ncements200ResponseItemsInnerAuthorTest.kt | 55 --- ...sAnnouncements200ResponseItemsInnerTest.kt | 141 -------- .../GetNewsAnnouncements200ResponseTest.kt | 50 --- ...sAnnouncementsById200ResponseAuthorTest.kt | 55 --- ...GetNewsAnnouncementsById200ResponseTest.kt | 141 -------- .../GetNewsBlogs200ResponseItemsInnerTest.kt | 99 ------ .../api/model/GetNewsBlogs200ResponseTest.kt | 50 --- .../GetNewsBlogsBySlug200ResponseTest.kt | 99 ------ ...SystemMessages200ResponseItemsInnerTest.kt | 99 ------ .../GetNewsSystemMessages200ResponseTest.kt | 50 --- ...etNewsSystemMessagesById200ResponseTest.kt | 99 ------ ...tNotifications200ResponseItemsInnerTest.kt | 85 ----- .../model/GetNotifications200ResponseTest.kt | 50 --- ...s200ResponseNotificationPreferencesTest.kt | 79 ---- ...GetNotificationsSettings200ResponseTest.kt | 98 ----- ...NotificationsUnreadCount200ResponseTest.kt | 43 --- .../api/model/GetPing200ResponseTest.kt | 43 --- .../api/model/GetPingUptime200ResponseTest.kt | 49 --- .../GetRoles200ResponseItemsInnerTest.kt | 49 --- .../api/model/GetRoles200ResponseTest.kt | 50 --- ...hortByCohortId200ResponseItemsInnerTest.kt | 85 ----- ...psGetForCohortByCohortId200ResponseTest.kt | 50 --- ...00ResponseItemsInnerClassroomsInnerTest.kt | 55 --- ...Id200ResponseItemsInnerCohortsInnerTest.kt | 55 --- ...tByCohortId200ResponseItemsInnerDayTest.kt | 73 ---- ...tId200ResponseItemsInnerGroupsInnerTest.kt | 61 ---- ...CohortId200ResponseItemsInnerPeriodTest.kt | 61 ---- ...ohortId200ResponseItemsInnerSubjectTest.kt | 55 --- ...hortByCohortId200ResponseItemsInnerTest.kt | 122 ------- ...200ResponseItemsInnerWeekDefinitionTest.kt | 61 ---- ...nsGetForCohortByCohortId200ResponseTest.kt | 50 --- ...onsGetForIdByLessonId200ResponseDayTest.kt | 73 ---- ...rIdByLessonId200ResponseGroupsInnerTest.kt | 61 ---- ...essonsGetForIdByLessonId200ResponseTest.kt | 127 ------- ...ByLessonId200ResponseWeekDefinitionTest.kt | 61 ---- ...ons200ResponseItemsInnerMovedLessonTest.kt | 73 ---- ...dLessons200ResponseItemsInnerPeriodTest.kt | 73 ---- ...leMovedLessons200ResponseItemsInnerTest.kt | 72 ---- ...GetTimetableMovedLessons200ResponseTest.kt | 50 --- ...ePeriodsGetAll200ResponseItemsInnerTest.kt | 61 ---- ...etTimetablePeriodsGetAll200ResponseTest.kt | 50 --- ...etableSubjects200ResponseItemsInnerTest.kt | 67 ---- .../GetTimetableSubjects200ResponseTest.kt | 50 --- ...ns200ResponseItemsInnerSubstitutionTest.kt | 61 ---- ...tutions200ResponseItemsInnerTeacherTest.kt | 79 ---- ...eSubstitutions200ResponseItemsInnerTest.kt | 58 --- ...etTimetableSubstitutions200ResponseTest.kt | 50 --- ...itutionsCohortByCohortId200ResponseTest.kt | 50 --- ...elevant200ResponseItemsInnerTeacherTest.kt | 79 ---- ...utionsRelevant200ResponseItemsInnerTest.kt | 57 --- ...bleSubstitutionsRelevant200ResponseTest.kt | 50 --- ...etableTeachers200ResponseItemsInnerTest.kt | 80 ----- ...leTeachers200ResponseItemsInnerUserTest.kt | 55 --- .../GetTimetableTeachers200ResponseTest.kt | 50 --- ...TeachersGetAll200ResponseItemsInnerTest.kt | 61 ---- ...tTimetableTeachersGetAll200ResponseTest.kt | 50 --- .../GetTimetableTeachersMe200ResponseTest.kt | 61 ---- ...ableTimetables200ResponseItemsInnerTest.kt | 73 ---- .../GetTimetableTimetables200ResponseTest.kt | 50 --- ...reviewDelete200ResponseCohortsInnerTest.kt | 55 --- ...etablesByIdPreviewDelete200ResponseTest.kt | 64 ---- ...sByIdPreviewDelete200ResponseTotalsTest.kt | 73 ---- .../GetUsers200ResponseItemsInnerTest.kt | 109 ------ .../api/model/GetUsers200ResponseTest.kt | 50 --- ...etWifiAuthLogs200ResponseItemsInnerTest.kt | 115 ------ .../model/GetWifiAuthLogs200ResponseTest.kt | 50 --- ...GetWifiDevices200ResponseItemsInnerTest.kt | 97 ----- .../model/GetWifiDevices200ResponseTest.kt | 50 --- .../GetWifiNas200ResponseItemsInnerTest.kt | 73 ---- .../api/model/GetWifiNas200ResponseTest.kt | 50 --- ...eSpeedProfiles200ResponseItemsInnerTest.kt | 55 --- ...GetWifiRoleSpeedProfiles200ResponseTest.kt | 50 --- .../GetWifiSelf200ResponseDevicesInnerTest.kt | 73 ---- .../GetWifiSelf200ResponseSpeedLimitTest.kt | 67 ---- .../api/model/GetWifiSelf200ResponseTest.kt | 63 ---- ...iSpeedProfiles200ResponseItemsInnerTest.kt | 67 ---- .../GetWifiSpeedProfiles200ResponseTest.kt | 50 --- ...view200ResponseStatsAuthSeriesInnerTest.kt | 55 --- ...etWifiStatsOverview200ResponseStatsTest.kt | 62 ---- .../GetWifiStatsOverview200ResponseTest.kt | 44 --- .../api/model/GetWifiStatus200ResponseTest.kt | 49 --- .../GetWifiUsers200ResponseItemsInnerTest.kt | 109 ------ .../api/model/GetWifiUsers200ResponseTest.kt | 50 --- ...PatchAdminApiKeysByKeyId200ResponseTest.kt | 115 ------ ...PatchAdminApiKeysByKeyId400ResponseTest.kt | 55 --- .../PatchAdminApiKeysByKeyIdRequestTest.kt | 43 --- ...ReportByIdStatus200ResponseMetadataTest.kt | 38 -- ...PatchBugReportByIdStatus200ResponseTest.kt | 98 ----- .../PatchBugReportByIdStatusRequestTest.kt | 43 --- ...tchNewsAnnouncementsById200ResponseTest.kt | 134 ------- ...nnouncementsByIdRequestContentInnerTest.kt | 50 --- .../PatchNewsAnnouncementsByIdRequestTest.kt | 86 ----- .../PatchNewsBlogsById200ResponseTest.kt | 92 ----- .../model/PatchNewsBlogsByIdRequestTest.kt | 56 --- ...chNewsSystemMessagesById200ResponseTest.kt | 92 ----- .../PatchNewsSystemMessagesByIdRequestTest.kt | 68 ---- ...tingsRequestNotificationPreferencesTest.kt | 79 ---- .../PatchNotificationsSettingsRequestTest.kt | 74 ---- .../api/model/PatchRolesByNameRequestTest.kt | 43 --- ...tchTimetableTeachersById200ResponseTest.kt | 80 ----- ...imetableTeachersById200ResponseUserTest.kt | 55 --- .../PatchTimetableTeachersByIdRequestTest.kt | 49 --- ...hTimetableTimetablesById200ResponseTest.kt | 73 ---- ...PatchTimetableTimetablesByIdRequestTest.kt | 55 --- .../model/PatchUsersById200ResponseTest.kt | 109 ------ .../api/model/PatchUsersByIdRequestTest.kt | 55 --- .../api/model/PostBugReport201ResponseTest.kt | 43 --- ...eportRequestMetadataValueAnyOfInnerTest.kt | 37 -- ...eportRequestMetadataValueAnyOfValueTest.kt | 37 -- .../PostBugReportRequestMetadataValueTest.kt | 39 -- .../api/model/PostBugReportRequestTest.kt | 62 ---- ...ds201ResponseAuthorizedDevicesInnerTest.kt | 49 --- .../PostDoorlockCards201ResponseOwnerTest.kt | 61 ---- .../model/PostDoorlockCards201ResponseTest.kt | 99 ------ .../api/model/PostDoorlockCardsRequestTest.kt | 73 ---- .../PostDoorlockDevices201ResponseTest.kt | 79 ---- ...oorlockDevicesByIdUpdate200ResponseTest.kt | 43 --- ...ostDoorlockDevicesByIdUpdateRequestTest.kt | 43 --- .../model/PostDoorlockDevicesRequestTest.kt | 61 ---- ...ostDoorlockDevicesUpdate200ResponseTest.kt | 43 --- ...ockSelfCardsByIdActivate200ResponseTest.kt | 85 ----- ...oorlockSelfCardsByIdActivateRequestTest.kt | 43 --- .../api/model/PostKiosk201ResponseTest.kt | 104 ------ ...ioskDepartures200ResponseItemsInnerTest.kt | 55 --- .../PostKioskDepartures200ResponseTest.kt | 50 --- ...arturesRequestGroupsInnerStopsInnerTest.kt | 49 --- ...stKioskDeparturesRequestGroupsInnerTest.kt | 50 --- .../model/PostKioskDeparturesRequestTest.kt | 44 --- ...ioskHeartbeat200ResponseAnyOf1KioskTest.kt | 55 --- ...PostKioskHeartbeat200ResponseAnyOf1Test.kt | 56 --- ...ioskHeartbeat200ResponseAnyOf2KioskTest.kt | 62 ---- ...PostKioskHeartbeat200ResponseAnyOf2Test.kt | 56 --- .../PostKioskHeartbeat200ResponseAnyOfTest.kt | 43 --- .../PostKioskHeartbeat200ResponseTest.kt | 59 --- .../model/PostKioskHeartbeatRequestTest.kt | 49 --- .../api/model/PostKioskRequestConfigTest.kt | 38 -- .../filcapp/api/model/PostKioskRequestTest.kt | 68 ---- .../PostNavigatorBuildings201ResponseTest.kt | 73 ---- .../PostNavigatorBuildingsRequestTest.kt | 61 ---- ...tNavigatorClassroomTypes201ResponseTest.kt | 67 ---- .../PostNavigatorClassroomTypesRequestTest.kt | 49 --- .../PostNavigatorClassrooms201ResponseTest.kt | 127 ------- .../PostNavigatorClassroomsRequestTest.kt | 115 ------ .../PostNavigatorCorridors201ResponseTest.kt | 115 ------ .../PostNavigatorCorridorsRequestTest.kt | 97 ----- .../PostNavigatorImport200ResponseTest.kt | 79 ---- .../model/PostNavigatorImportRequestTest.kt | 43 --- .../model/PostNavigatorLiftsRequestTest.kt | 73 ---- .../model/PostNavigatorStairsRequestTest.kt | 79 ---- ...orTranslations201ResponseItemsInnerTest.kt | 55 --- ...ostNavigatorTranslations201ResponseTest.kt | 50 --- .../PostNavigatorTranslationsRequestTest.kt | 49 --- .../PostNewsAnnouncements201ResponseTest.kt | 134 ------- ...ewsAnnouncementsRequestContentInnerTest.kt | 50 --- .../model/PostNewsAnnouncementsRequestTest.kt | 86 ----- .../api/model/PostNewsBlogs201ResponseTest.kt | 92 ----- .../api/model/PostNewsBlogsRequestTest.kt | 62 ---- .../PostNewsSystemMessages201ResponseTest.kt | 92 ----- .../PostNewsSystemMessagesRequestTest.kt | 68 ---- ...ostNotificationsByIdRead200ResponseTest.kt | 85 ----- .../PostNotificationsFcmTokensRequestTest.kt | 49 --- ...NotificationsTestPreview200ResponseTest.kt | 43 --- ...PostNotificationsTestPreviewRequestTest.kt | 61 ---- ...ostNotificationsTestSend200ResponseTest.kt | 55 --- ...otificationsTestSendRequestChannelsTest.kt | 55 --- .../PostNotificationsTestSendRequestTest.kt | 74 ---- .../api/model/PostRoles201ResponseTest.kt | 49 --- .../filcapp/api/model/PostRolesRequestTest.kt | 49 --- ...ostTimetableGroupsSelect200ResponseTest.kt | 49 --- .../PostTimetableGroupsSelectRequestTest.kt | 43 --- .../model/PostTimetableImportRequestTest.kt | 61 ---- ...00ResponseItemsInnerLessonsInnerDayTest.kt | 73 ---- ...rs200ResponseItemsInnerLessonsInnerTest.kt | 121 ------- ...GetForTeachers200ResponseItemsInnerTest.kt | 50 --- ...bleLessonsGetForTeachers200ResponseTest.kt | 50 --- ...metableLessonsGetForTeachersRequestTest.kt | 43 --- ...00ResponseSubstituteCandidatesInnerTest.kt | 56 --- ...etSubstitutionCandidates200ResponseTest.kt | 57 --- ...onsGetSubstitutionCandidatesRequestTest.kt | 61 ---- ...ostTimetableMovedLessons200ResponseTest.kt | 73 ---- .../PostTimetableMovedLessonsRequestTest.kt | 73 ---- ...stTimetableSubstitutions200ResponseTest.kt | 61 ---- ...TimetableSubstitutionsManualRequestTest.kt | 79 ---- .../PostTimetableSubstitutionsRequestTest.kt | 61 ---- ...esCleanupOrphanedCohorts200ResponseTest.kt | 55 --- .../model/PostWifiDevices201ResponseTest.kt | 97 ----- .../api/model/PostWifiDevicesRequestTest.kt | 67 ---- .../api/model/PostWifiNas201ResponseTest.kt | 73 ---- .../api/model/PostWifiNasRequestTest.kt | 55 --- .../PostWifiRadiusAuthorize200ResponseTest.kt | 55 --- .../PostWifiRadiusAuthorizeRequestTest.kt | 79 ---- ...ostWifiRoleSpeedProfiles201ResponseTest.kt | 55 --- .../PostWifiRoleSpeedProfilesRequestTest.kt | 55 --- ...PostWifiSelf201ResponseDevicesInnerTest.kt | 73 ---- .../api/model/PostWifiSelf201ResponseTest.kt | 63 ---- .../api/model/PostWifiSelfRequestTest.kt | 43 --- .../PostWifiSpeedProfiles201ResponseTest.kt | 67 ---- .../model/PostWifiSpeedProfilesRequestTest.kt | 55 --- .../api/model/PostWifiUsers201ResponseTest.kt | 109 ------ .../api/model/PostWifiUsersRequestTest.kt | 73 ---- .../model/PutDoorlockCardsByIdRequestTest.kt | 67 ---- .../PutDoorlockDevicesByIdRequestTest.kt | 61 ---- ...tDoorlockSelfCardsByIdFrozenRequestTest.kt | 43 --- .../api/model/PutKioskByIdRequestTest.kt | 62 ---- .../PutNavigatorBuildingsByIdRequestTest.kt | 61 ---- ...tNavigatorClassroomTypesByIdRequestTest.kt | 49 --- ...tNavigatorClassroomsById200ResponseTest.kt | 127 ------- .../PutNavigatorClassroomsByIdRequestTest.kt | 115 ------ .../PutNavigatorCorridorsByIdRequestTest.kt | 97 ----- .../model/PutNavigatorLiftsByIdRequestTest.kt | 73 ---- .../PutNavigatorStairsByIdRequestTest.kt | 79 ---- ...gatorTranslationsByLangByKeyRequestTest.kt | 43 --- ...PutTimetableMovedLessonsByIdRequestTest.kt | 73 ---- ...utTimetableSubstitutionsByIdRequestTest.kt | 61 ---- .../model/PutWifiDevicesByIdRequestTest.kt | 67 ---- .../api/model/PutWifiNasByIdRequestTest.kt | 55 --- ...PutWifiRoleSpeedProfilesByIdRequestTest.kt | 55 --- .../PutWifiSelfDevicesByIdRequestTest.kt | 43 --- .../PutWifiSelfPassword200ResponseTest.kt | 43 --- .../model/PutWifiSelfPasswordRequestTest.kt | 43 --- .../PutWifiSpeedProfilesByIdRequestTest.kt | 55 --- .../api/model/PutWifiUsersByIdRequestTest.kt | 79 ---- 595 files changed, 298 insertions(+), 21674 deletions(-) delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt delete mode 100644 composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 567119a..e6caa4e 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -33,10 +33,11 @@ val generateFilcApiClient by tasks.registering(GenerateTask::class) { packageName.set("hu.petrik.filcapp.api") apiPackage.set("hu.petrik.filcapp.api.client") modelPackage.set("hu.petrik.filcapp.api.model") + generateModelTests.set(false) + generateApiTests.set(false) configOptions.set( mapOf( "dateLibrary" to "string", - "serializationLibrary" to "kotlinx_serialization", "omitGradleWrapper" to "true", "omitGradlePluginVersions" to "true", ), diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt index 43d05f2..3dc5c9a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param id */ -@Serializable@Serializable +@Serializable data class DeleteAdminApiKeysByKeyId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt index 5b527d3..9b43a4b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param message * @param status */ -@Serializable@Serializable +@Serializable data class DeleteAdminApiKeysByKeyId400Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt index a62973e..65a7bac 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param id */ -@Serializable@Serializable +@Serializable data class DeleteNavigatorBuildingsById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt index b5a2cf4..acf1d31 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetAdminApiKeys200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt index ba15701..759cafe 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInner.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param start * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetAdminApiKeys200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt index b4d7776..92ea30e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetBugReport200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt index dab5268..45f0fbc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInner.kt @@ -41,7 +41,7 @@ import kotlinx.serialization.encoding.* * @param subject * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetBugReport200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt index af28db5..33996dd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadata.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class GetBugReport200ResponseItemsInnerMetadata ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt index 203349d..bcf1495 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt @@ -23,7 +23,6 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -31,7 +30,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class GetBugReport200ResponseItemsInnerMetadataAnyOfInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt index 4039e49..d0cdc3f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt @@ -23,7 +23,6 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -31,7 +30,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class GetBugReport200ResponseItemsInnerMetadataAnyOfValue ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt index 6b8ef37..4f84fdb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetCohort200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt index 9e99c21..60a5982 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param teacherId * @param timetableId */ -@Serializable@Serializable +@Serializable data class GetCohort200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt index 10a9bbc..7829635 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** * @param stats */ -@Serializable@Serializable +@Serializable data class GetDashboardStats200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt index dcccd27..9b7bca3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStats.kt @@ -39,7 +39,7 @@ import kotlinx.serialization.encoding.* * @param totalSubstitutions * @param totalUsers */ -@Serializable@Serializable +@Serializable data class GetDashboardStats200ResponseStats ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt index d852b11..d31fba6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param movedLessons * @param substitutions */ -@Serializable@Serializable +@Serializable data class GetDashboardStats200ResponseStatsChartDataInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt index 818205a..7a6190b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetDoorlockCards200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt index cee6605..594484d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param userId * @param owner */ -@Serializable@Serializable +@Serializable data class GetDoorlockCards200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt index 0e304aa..96afe60 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt index fdeae58..5e862b7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param name * @param nickname */ -@Serializable@Serializable +@Serializable data class GetDoorlockCards200ResponseItemsInnerOwner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt index ac6365b..e7e7e59 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetDoorlockCardsUsers200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt index 53d4036..55e178d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param name * @param nickname */ -@Serializable@Serializable +@Serializable data class GetDoorlockCardsUsers200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt index 4da713f..3c450bb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevices200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt index 1ff3d00..273c62b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInner.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevices200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt index f25bc56..aaf3036 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** * @param stats */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt index 38235d3..578694e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param id * @param timestamp */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200ResponseStatsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt index 6603df1..79cb673 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param storage * @param uptime */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt index cb32a31..166e0f4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param errors * @param lastResetReason */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt index 97b1647..ccfb279 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param sd * @param wifi */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt index aebe767..07fe944 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param total * @param used */ -@Serializable@Serializable +@Serializable data class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt index eb36268..78c90c9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetDoorlockLogs200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt index b4d2cce..3bf6b8d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInner.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param device * @param owner */ -@Serializable@Serializable +@Serializable data class GetDoorlockLogs200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt index b3e12cb..dc8d79f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCard.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetDoorlockLogs200ResponseItemsInnerCard ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt index fa4a6e1..b1316a3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** * @param stats */ -@Serializable@Serializable +@Serializable data class GetDoorlockStatsOverview200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt index 9488a7a..210b25b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStats.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param totalDevices * @param totalSuccessfulOpens */ -@Serializable@Serializable +@Serializable data class GetDoorlockStatsOverview200ResponseStats ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt index ec752b4..cad728a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param count * @param date */ -@Serializable@Serializable +@Serializable data class GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt index aec2a7f..435fd17 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param name * @param nickname */ -@Serializable@Serializable +@Serializable data class GetDoorlockStatsOverview200ResponseStatsTopUsersInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt index 5f66fdd..28023e0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt @@ -32,13 +32,13 @@ import kotlinx.serialization.encoding.* * @param database * @param status */ -@Serializable@Serializable +@Serializable data class GetHealth200Response ( - @SerialName(value = "database") @Required val database: kotlin.Any?, + @SerialName(value = "database") @Required val database: kotlinx.serialization.json.JsonElement?, - @SerialName(value = "status") @Required val status: kotlin.Any? + @SerialName(value = "status") @Required val status: kotlinx.serialization.json.JsonElement? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt index efd2f3d..116bb83 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetKiosk200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt index 2734474..40d1aac 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetKiosk200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt index f5a9b30..ee62d6b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetKioskNews200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt index e30b2ad..ae37a11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInner.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validUntil */ -@Serializable@Serializable +@Serializable data class GetKioskNews200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt index aee63c4..9a551ee 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetKioskPetrikNews200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt index 703ce04..22b183d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInner.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param title * @param url */ -@Serializable@Serializable +@Serializable data class GetKioskPetrikNews200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt index 9f93f0b..ba1ee0e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200Response.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param tempC * @param windKph */ -@Serializable@Serializable +@Serializable data class GetKioskWeather200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt index 99b3189..9186e6c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorBuildings200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt index cb20bb6..f292051 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorBuildings200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt index 2c76558..d36c7ea 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorClassroomTypes200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt index 516926f..f4de6ff 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInner.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetNavigatorClassroomTypes200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt index e1d05b9..29692ac 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorClassrooms200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt index 9c1f313..61f3cb4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInner.kt @@ -45,7 +45,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorClassrooms200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt index 777def5..54d552c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorCorridors200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt index 1259834..a8f0050 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInner.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable@Serializable +@Serializable data class GetNavigatorCorridors200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt index aabd525..8e3b8a4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param lifts * @param stairs */ -@Serializable@Serializable +@Serializable data class GetNavigatorGraph200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt index a0b6e07..837fb68 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInner.kt @@ -39,7 +39,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorGraph200ResponseLiftsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt index c64662e..b618fbb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInner.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorGraph200ResponseStairsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt index e27d3f1..9eacf60 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorLifts200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt index 4cda0ce..ec50259 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInner.kt @@ -39,7 +39,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorLifts200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt index 6dfca43..f5a44c6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorStairs200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt index 75cca69..2e834bd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInner.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class GetNavigatorStairs200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt index 6d53732..6d6a912 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorTranslations200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt index 1c767e1..51690b4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param text * @param textKey */ -@Serializable@Serializable +@Serializable data class GetNavigatorTranslations200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt index 746fc77..5120a6a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNavigatorTranslationsAvailable200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt index 5b93ab4..f607fb1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNewsAnnouncements200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt index c81a56d..a1e5e0d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInner.kt @@ -49,7 +49,7 @@ import kotlinx.serialization.encoding.* * @param kioskIds * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsAnnouncements200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt index bc93fe5..dd36b43 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthor.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param image * @param name */ -@Serializable@Serializable +@Serializable data class GetNewsAnnouncements200ResponseItemsInnerAuthor ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt index f3a7031..1c4f8de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200Response.kt @@ -49,7 +49,7 @@ import kotlinx.serialization.encoding.* * @param kioskIds * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsAnnouncementsById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt index 1cf6908..a4423d9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthor.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param image * @param name */ -@Serializable@Serializable +@Serializable data class GetNewsAnnouncementsById200ResponseAuthor ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt index 56867a1..595dfd8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNewsBlogs200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt index ef1ac50..b6ac36d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsBlogs200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt index 8ef7672..a1c656f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsBlogsBySlug200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt index 3f14091..a60b2c0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNewsSystemMessages200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt index 9ed5e81..a898594 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsSystemMessages200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt index a5aa91c..7851792 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param author */ -@Serializable@Serializable +@Serializable data class GetNewsSystemMessagesById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt index 5fa2f70..7c1f376 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetNotifications200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt index 8d2bc90..cf39780 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param type * @param userId */ -@Serializable@Serializable +@Serializable data class GetNotifications200ResponseItemsInner ( @@ -48,7 +48,7 @@ data class GetNotifications200ResponseItemsInner ( @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, @SerialName(value = "read") @Required val read: kotlin.Boolean, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt index b371f22..d308fa6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt @@ -41,7 +41,7 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param userId */ -@Serializable@Serializable +@Serializable data class GetNotificationsSettings200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt index 4b22494..9e4a17e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param substitution * @param systemMessage */ -@Serializable@Serializable +@Serializable data class GetNotificationsSettings200ResponseNotificationPreferences ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt index 08879ee..077873f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param count */ -@Serializable@Serializable +@Serializable data class GetNotificationsUnreadCount200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt index 2d086b3..f72d050 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPing200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param message */ -@Serializable@Serializable +@Serializable data class GetPing200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt index 3783bae..92f1662 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param pretty * @param uptimeMs */ -@Serializable@Serializable +@Serializable data class GetPingUptime200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt index c4a56bf..76455f3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetRoles200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt index def6cd5..90940d4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInner.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param can * @param name */ -@Serializable@Serializable +@Serializable data class GetRoles200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt index e63e6d9..abcae6a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableGroupsGetForCohortByCohortId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt index 0f5e949..36d922e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param studentCount * @param teacherId */ -@Serializable@Serializable +@Serializable data class GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt index 5a88dcb..caaaa2f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt index 4fc2872..05906ea 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner.kt @@ -50,7 +50,7 @@ import kotlinx.serialization.encoding.* * @param weeksDefinitionId * @param day */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt index 87bb259..597a3fc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param name * @param short */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt index a8e7785..78be352 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param name * @param short */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt index 231f0b2..f6423ca 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt index e577bfd..c55bb82 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt index 0430fc4..b207211 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param period * @param startTime */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt index 15cf1fc..dfa0e02 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param name * @param short */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt index 93c18de..0743ffb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param short * @param weeks */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt index d64cdda..3dcf4bf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200Response.kt @@ -50,7 +50,7 @@ import kotlinx.serialization.encoding.* * @param substitutionCohortName * @param day */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForIdByLessonId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt index 9acf699..5ec881b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDay.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForIdByLessonId200ResponseDay ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt index b9976b8..bc80fd2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt index f69c592..603dda4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param short * @param weeks */ -@Serializable@Serializable +@Serializable data class GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt index 98e5385..6ddbfda 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableMovedLessons200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt index ad76f0f..f548a42 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param movedLesson * @param period */ -@Serializable@Serializable +@Serializable data class GetTimetableMovedLessons200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt index ac6a62b..dee406a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable@Serializable +@Serializable data class GetTimetableMovedLessons200ResponseItemsInnerMovedLesson ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt index 80c7f74..f63cf5e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriod.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param startTime * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetTimetableMovedLessons200ResponseItemsInnerPeriod ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt index 3785591..4784055 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetablePeriodsGetAll200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt index 55f4b12..170019d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param period * @param startTime */ -@Serializable@Serializable +@Serializable data class GetTimetablePeriodsGetAll200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt index 0ad4aa9..8e9da48 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableSubjects200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt index 15b8eee..e97efd1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInner.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetTimetableSubjects200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt index e57abe9..0eca60f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutions200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt index 12e613f..967fcdc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param substitution * @param teacher */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutions200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt index 0b4fa68..282c536 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitution.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param id * @param substituter */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutions200ResponseItemsInnerSubstitution ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt index 5eaff01..1e1fa92 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacher.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param short * @param userId */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutions200ResponseItemsInnerTeacher ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt index cf1ec84..d34c19d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param cohortId * @param substitutions */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutionsCohortByCohortId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt index bce1621..6b58c10 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutionsRelevant200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt index a97d1de..c6eef9b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param substitution * @param teacher */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutionsRelevant200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt index e207dad..829ab5c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param short * @param userId */ -@Serializable@Serializable +@Serializable data class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt index 909973d..8e6bdd5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachers200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt index c654dc0..3ad5302 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInner.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param user * @param userId */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachers200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt index 3404c55..a5253ea 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUser.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachers200ResponseItemsInnerUser ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt index 2e2386d..7ab3b49 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachersGetAll200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt index 57d8f93..f1261c3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param lastName * @param short */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachersGetAll200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt index e163624..b96808e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200Response.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param lastName * @param short */ -@Serializable@Serializable +@Serializable data class GetTimetableTeachersMe200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt index 74a9388..2f76ec1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetTimetableTimetables200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt index 4681a15..5617427 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable@Serializable +@Serializable data class GetTimetableTimetables200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt index d312a40..2df9c5c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200Response.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param targetTimetable * @param totals */ -@Serializable@Serializable +@Serializable data class GetTimetableTimetablesByIdPreviewDelete200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt index 9e7a42b..1eac4a3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt index e2dcb79..61c866b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotals.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param substitutionsDeleted * @param survivingCohorts */ -@Serializable@Serializable +@Serializable data class GetTimetableTimetablesByIdPreviewDelete200ResponseTotals ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt index 590b37b..b0b2d3b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetUsers200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt index b4c30ed..28c6d7b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param displayName * @param permissions */ -@Serializable@Serializable +@Serializable data class GetUsers200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt index 9878f16..ffe3dcb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiAuthLogs200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt index 90d7c82..9dfd21d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInner.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param username * @param wifiUserId */ -@Serializable@Serializable +@Serializable data class GetWifiAuthLogs200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt index 0f79bf8..29a895f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiDevices200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt index b056a11..b8f39eb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInner.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param wifiUserId */ -@Serializable@Serializable +@Serializable data class GetWifiDevices200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt index 9b3933c..495492d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiNas200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt index a01da1c..3167231 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param macAddress * @param updatedAt */ -@Serializable@Serializable +@Serializable data class GetWifiNas200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt index 3fd9f00..8090074 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiRoleSpeedProfiles200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt index 4b69d50..de7a044 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param roleName * @param speedProfileId */ -@Serializable@Serializable +@Serializable data class GetWifiRoleSpeedProfiles200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt index 9c30a4f..582f716 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param speedLimit * @param username */ -@Serializable@Serializable +@Serializable data class GetWifiSelf200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt index 627d132..55fafdc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param nickname * @param reportedHostname */ -@Serializable@Serializable +@Serializable data class GetWifiSelf200ResponseDevicesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt index 445b507..f1dff86 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimit.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param speedProfileId * @param uploadSpeedMbps */ -@Serializable@Serializable +@Serializable data class GetWifiSelf200ResponseSpeedLimit ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt index f6e3729..33f2548 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiSpeedProfiles200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt index b9cd02f..b66e7e1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInner.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param name * @param uploadSpeedMbps */ -@Serializable@Serializable +@Serializable data class GetWifiSpeedProfiles200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt index 7b9af7c..82e5837 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** * @param stats */ -@Serializable@Serializable +@Serializable data class GetWifiStatsOverview200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt index 8100592..ce22097 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStats.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param totalDevices * @param totalUsers */ -@Serializable@Serializable +@Serializable data class GetWifiStatsOverview200ResponseStats ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt index e18f831..693522a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param date * @param rejected */ -@Serializable@Serializable +@Serializable data class GetWifiStatsOverview200ResponseStatsAuthSeriesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt index 8d230ca..72b9219 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param enabled * @param ssid */ -@Serializable@Serializable +@Serializable data class GetWifiStatus200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt index 143fa30..989dcfa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class GetWifiUsers200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt index 1e15752..e307baa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInner.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param userId * @param username */ -@Serializable@Serializable +@Serializable data class GetWifiUsers200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt index dab84d1..b402504 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param start * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PatchAdminApiKeysByKeyId200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt index 00313bc..1e97c28 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param message * @param status */ -@Serializable@Serializable +@Serializable data class PatchAdminApiKeysByKeyId400Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt index e127243..666c4b4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param enabled */ -@Serializable@Serializable +@Serializable data class PatchAdminApiKeysByKeyIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt index 30bb729..157d9d8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200Response.kt @@ -41,7 +41,7 @@ import kotlinx.serialization.encoding.* * @param subject * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PatchBugReportByIdStatus200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt index b8961da..58d09d7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadata.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class PatchBugReportByIdStatus200ResponseMetadata ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt index 4b47b36..989a3cc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param status */ -@Serializable@Serializable +@Serializable data class PatchBugReportByIdStatusRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt index bba1a6b..feb19d2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200Response.kt @@ -47,7 +47,7 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param kioskIds */ -@Serializable@Serializable +@Serializable data class PatchNewsAnnouncementsById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt index 32d9b63..01a017c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequest.kt @@ -39,7 +39,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validUntil */ -@Serializable@Serializable +@Serializable data class PatchNewsAnnouncementsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt index 84198d0..bf58a51 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param content * @param type */ -@Serializable@Serializable +@Serializable data class PatchNewsAnnouncementsByIdRequestContentInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt index 4b5a9c8..d2642a7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200Response.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param title * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PatchNewsBlogsById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt index 1ea9f96..79a5ebb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param slug * @param title */ -@Serializable@Serializable +@Serializable data class PatchNewsBlogsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt index 80a5f36..212b7ce 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200Response.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param validUntil * @param cohortIds */ -@Serializable@Serializable +@Serializable data class PatchNewsSystemMessagesById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt index 8d19b63..27a22b9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validUntil */ -@Serializable@Serializable +@Serializable data class PatchNewsSystemMessagesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt index f91ef6d..0b2849e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param timetableGroupDisplay * @param timetableView */ -@Serializable@Serializable +@Serializable data class PatchNotificationsSettingsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt index b1a9ced..fe05bb2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param substitution * @param systemMessage */ -@Serializable@Serializable +@Serializable data class PatchNotificationsSettingsRequestNotificationPreferences ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt index b1741b0..fe60f2c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param permissions */ -@Serializable@Serializable +@Serializable data class PatchRolesByNameRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt index fe7b0ef..a97cec0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200Response.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param user * @param userId */ -@Serializable@Serializable +@Serializable data class PatchTimetableTeachersById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt index 0d62302..c0ecc11 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUser.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class PatchTimetableTeachersById200ResponseUser ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt index 642262b..7214b7e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param email * @param userId */ -@Serializable@Serializable +@Serializable data class PatchTimetableTeachersByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt index fe25773..ca13659 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable@Serializable +@Serializable data class PatchTimetableTimetablesById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt index 3ee1c50..cac0c01 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable@Serializable +@Serializable data class PatchTimetableTimetablesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt index 4a72ccf..5358c38 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param displayName * @param permissions */ -@Serializable@Serializable +@Serializable data class PatchUsersById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt index ebccb25..17704a3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param nickname * @param roles */ -@Serializable@Serializable +@Serializable data class PatchUsersByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt index fc7d4a6..4917de6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReport201Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param id */ -@Serializable@Serializable +@Serializable data class PostBugReport201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt index fdbe88a..4fe5026 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param metadata * @param page */ -@Serializable@Serializable +@Serializable data class PostBugReportRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt index 5fdfc02..0a40e71 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValue.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class PostBugReportRequestMetadataValue ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt index 62b3fc1..0e0ff45 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInner.kt @@ -30,7 +30,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class PostBugReportRequestMetadataValueAnyOfInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt index a089c69..398bdcc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValue.kt @@ -30,7 +30,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class PostBugReportRequestMetadataValueAnyOfValue ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt index 05a23b4..a4a6c3d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param userId * @param owner */ -@Serializable@Serializable +@Serializable data class PostDoorlockCards201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt index 8626b31..ae67afd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInner.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param id * @param name */ -@Serializable@Serializable +@Serializable data class PostDoorlockCards201ResponseAuthorizedDevicesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt index ebf4ee2..260f7be 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param name * @param nickname */ -@Serializable@Serializable +@Serializable data class PostDoorlockCards201ResponseOwner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt index 4c96a73..ba6d5fd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param enabled * @param frozen */ -@Serializable@Serializable +@Serializable data class PostDoorlockCardsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt index 9801dbe..3e0c20c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201Response.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostDoorlockDevices201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt index b1bea11..de4bb13 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt @@ -31,11 +31,11 @@ import kotlinx.serialization.encoding.* /** * @param ok */ -@Serializable@Serializable +@Serializable data class PostDoorlockDevicesByIdUpdate200Response ( - @SerialName(value = "ok") @Required val ok: kotlin.Any? + @SerialName(value = "ok") @Required val ok: kotlinx.serialization.json.JsonElement? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt index 6511365..75a13ff 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param url */ -@Serializable@Serializable +@Serializable data class PostDoorlockDevicesByIdUpdateRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt index 4ae5e9b..a06636a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param lastResetReason * @param location */ -@Serializable@Serializable +@Serializable data class PostDoorlockDevicesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt index 5e51cde..814d3b1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param count */ -@Serializable@Serializable +@Serializable data class PostDoorlockDevicesUpdate200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt index 93ee4b1..888b9f5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200Response.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param timestamp * @param userId */ -@Serializable@Serializable +@Serializable data class PostDoorlockSelfCardsByIdActivate200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt index 33530f8..15d3037 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param deviceId */ -@Serializable@Serializable +@Serializable data class PostDoorlockSelfCardsByIdActivateRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt index 1555b96..2c0e02f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKiosk201Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostKiosk201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt index 5e79161..c2e5c0e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class PostKioskDepartures200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt index 00a63c9..f64a3aa 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param predictedDepartureTime * @param routeShortDesc */ -@Serializable@Serializable +@Serializable data class PostKioskDepartures200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt index f131b9f..26dbb4d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* /** * @param groups */ -@Serializable@Serializable +@Serializable data class PostKioskDeparturesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt index e445a11..bbed068 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param label * @param stops */ -@Serializable@Serializable +@Serializable data class PostKioskDeparturesRequestGroupsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt index 2db6796..b917da7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInner.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param stopId * @param routeFilter */ -@Serializable@Serializable +@Serializable data class PostKioskDeparturesRequestGroupsInnerStopsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt index 167c6b7..ee91839 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt @@ -37,13 +37,13 @@ import kotlinx.serialization.encoding.* * @param enabled * @param kiosk */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200Response ( - @SerialName(value = "registered") @Required val registered: kotlin.Any?, + @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement?, - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt index d4ecb38..47ed3a3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt @@ -31,11 +31,11 @@ import kotlinx.serialization.encoding.* /** * @param registered */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200ResponseAnyOf ( - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt index 11cdc70..875a7f7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt @@ -34,15 +34,15 @@ import kotlinx.serialization.encoding.* * @param kiosk * @param registered */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200ResponseAnyOf1 ( - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf1Kiosk, - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt index 5ab01fa..b212574 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Kiosk.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param kind * @param name */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200ResponseAnyOf1Kiosk ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt index c94ae4a..d291f5b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt @@ -34,15 +34,15 @@ import kotlinx.serialization.encoding.* * @param kiosk * @param registered */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200ResponseAnyOf2 ( - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk, - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt index 6aa7156..eda94f5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Kiosk.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param name * @param config */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeat200ResponseAnyOf2Kiosk ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt index 79c351d..20d564c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param appVersion * @param machineId */ -@Serializable@Serializable +@Serializable data class PostKioskHeartbeatRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt index 3b41a87..8dd2880 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param config * @param enabled */ -@Serializable@Serializable +@Serializable data class PostKioskRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt index a175a94..f99519d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfig.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** */ -@Serializable@Serializable +@Serializable class PostKioskRequestConfig ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt index 1c2388d..a845f89 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorBuildings201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt index 3e59e37..44cdbb0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorBuildingsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt index ea2a1dc..a659ce7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201Response.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param name * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostNavigatorClassroomTypes201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt index ca2f5b3..e5803c2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param colorhex * @param name */ -@Serializable@Serializable +@Serializable data class PostNavigatorClassroomTypesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt index 4b92184..6250303 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201Response.kt @@ -45,7 +45,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorClassrooms201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt index c9b7aef..6c12056 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequest.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorClassroomsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt index f299c84..c78fad7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201Response.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable@Serializable +@Serializable data class PostNavigatorCorridors201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt index df9eb89..6046eed 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequest.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable@Serializable +@Serializable data class PostNavigatorCorridorsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt index 865e788..b8a884e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200Response.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param stairs * @param translations */ -@Serializable@Serializable +@Serializable data class PostNavigatorImport200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt index 95fcd64..b9a19f3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param file */ -@Serializable@Serializable +@Serializable data class PostNavigatorImportRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt index 7f8bded..44e26a9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorLiftsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt index 726577a..e822a14 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PostNavigatorStairsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt index 517d27c..5fb3cf4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class PostNavigatorTranslations201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt index 22cb9a1..c77239f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param text * @param textKey */ -@Serializable@Serializable +@Serializable data class PostNavigatorTranslations201ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt index 166f907..330da13 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param textKey * @param translations */ -@Serializable@Serializable +@Serializable data class PostNavigatorTranslationsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt index 65e3f8c..2341908 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201Response.kt @@ -47,7 +47,7 @@ import kotlinx.serialization.encoding.* * @param cohortIds * @param kioskIds */ -@Serializable@Serializable +@Serializable data class PostNewsAnnouncements201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt index 448e8bf..2652181 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequest.kt @@ -39,7 +39,7 @@ import kotlinx.serialization.encoding.* * @param kioskOnly * @param title */ -@Serializable@Serializable +@Serializable data class PostNewsAnnouncementsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt index e962c27..8d114ee 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param content * @param type */ -@Serializable@Serializable +@Serializable data class PostNewsAnnouncementsRequestContentInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt index 9a0f66a..998ef2f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201Response.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param title * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostNewsBlogs201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt index fc6174f..ce21342 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param slug * @param status */ -@Serializable@Serializable +@Serializable data class PostNewsBlogsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt index fd8256c..cb803d0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201Response.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param validUntil * @param cohortIds */ -@Serializable@Serializable +@Serializable data class PostNewsSystemMessages201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt index e7e5b51..930d848 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param validUntil * @param cohortIds */ -@Serializable@Serializable +@Serializable data class PostNewsSystemMessagesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt index 790a62c..9eb6cfd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt @@ -38,7 +38,7 @@ import kotlinx.serialization.encoding.* * @param type * @param userId */ -@Serializable@Serializable +@Serializable data class PostNotificationsByIdRead200Response ( @@ -48,7 +48,7 @@ data class PostNotificationsByIdRead200Response ( @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, @SerialName(value = "read") @Required val read: kotlin.Boolean, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt index 2611406..78d63f1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param token * @param deviceInfo */ -@Serializable@Serializable +@Serializable data class PostNotificationsFcmTokensRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt index 316223b..570868a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param html */ -@Serializable@Serializable +@Serializable data class PostNotificationsTestPreview200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt index d3326c3..17b6cb8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param language * @param subject */ -@Serializable@Serializable +@Serializable data class PostNotificationsTestPreviewRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt index a0c257b..c9b9031 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param inApp * @param push */ -@Serializable@Serializable +@Serializable data class PostNotificationsTestSend200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt index 279fc79..9b3d420 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param language * @param subject */ -@Serializable@Serializable +@Serializable data class PostNotificationsTestSendRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt index 6c74050..8d88b71 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannels.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param inApp * @param push */ -@Serializable@Serializable +@Serializable data class PostNotificationsTestSendRequestChannels ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt index 97e804d..bc4b4d6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRoles201Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param can * @param name */ -@Serializable@Serializable +@Serializable data class PostRoles201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt index a8b6f1e..36fdca3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostRolesRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param name * @param permissions */ -@Serializable@Serializable +@Serializable data class PostRolesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt index 101fc1b..2f0ea40 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200Response.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param divisionTag * @param selectedGroupId */ -@Serializable@Serializable +@Serializable data class PostTimetableGroupsSelect200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt index 0ecd8ff..99f754d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param groupId */ -@Serializable@Serializable +@Serializable data class PostTimetableGroupsSelectRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt index 8750593..94009de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param validFrom * @param validTo */ -@Serializable@Serializable +@Serializable data class PostTimetableImportRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt index 3cfb556..68546de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param items * @param total */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetForTeachers200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt index 69f34d0..5ec1c90 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInner.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param lessons * @param teacherId */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetForTeachers200ResponseItemsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt index 1698352..3359e4e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner.kt @@ -49,7 +49,7 @@ import kotlinx.serialization.encoding.* * @param weeksDefinitionId * @param day */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt index 1e4cb46..bc35daf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param short * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt index 76495af..a38f4fb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param teacherIds */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetForTeachersRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt index 9113410..3d0b4ae 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200Response.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param parallelLessons * @param substituteCandidates */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetSubstitutionCandidates200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt index 0a62dc4..f26e0a5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param hasH2 * @param teacher */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt index b9226a6..74618ca 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param teacherIds * @param selectedLessonIds */ -@Serializable@Serializable +@Serializable data class PostTimetableLessonsGetSubstitutionCandidatesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt index c56bdea..c04dc99 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable@Serializable +@Serializable data class PostTimetableMovedLessons200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt index 0b19ea2..5eacc62 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable@Serializable +@Serializable data class PostTimetableMovedLessonsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt index 643d9fe..076944e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200Response.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param id * @param substituter */ -@Serializable@Serializable +@Serializable data class PostTimetableSubstitutions200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt index 54c8688..3f2d70f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param teacherId * @param comment */ -@Serializable@Serializable +@Serializable data class PostTimetableSubstitutionsManualRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt index 731dd32..2c12222 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param comment * @param substituter */ -@Serializable@Serializable +@Serializable data class PostTimetableSubstitutionsRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt index f2c6ca3..f228fd2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param deletedCohortIds * @param deletedTeacherIds */ -@Serializable@Serializable +@Serializable data class PostTimetableTimetablesCleanupOrphanedCohorts200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt index 5538463..15578f6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201Response.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param updatedAt * @param wifiUserId */ -@Serializable@Serializable +@Serializable data class PostWifiDevices201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt index 529bf4f..31f2081 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param nickname * @param wifiUserId */ -@Serializable@Serializable +@Serializable data class PostWifiDevicesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt index c4d5d3d..3bb9a50 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param macAddress * @param updatedAt */ -@Serializable@Serializable +@Serializable data class PostWifiNas201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt index 9c475af..b5fb9fd 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param macAddress * @param comment */ -@Serializable@Serializable +@Serializable data class PostWifiNasRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt index 3d0d95e..932a44c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param controlCleartextPassword * @param sessionTimeout */ -@Serializable@Serializable +@Serializable data class PostWifiRadiusAuthorize200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt index e38d592..3066092 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param password * @param sharedSecret */ -@Serializable@Serializable +@Serializable data class PostWifiRadiusAuthorizeRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt index ab3b2f2..ef09067 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201Response.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param roleName * @param speedProfileId */ -@Serializable@Serializable +@Serializable data class PostWifiRoleSpeedProfiles201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt index 8ad2f5b..119c95b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param speedProfileId * @param priority */ -@Serializable@Serializable +@Serializable data class PostWifiRoleSpeedProfilesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt index 771dccc..65a4188 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201Response.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param speedLimit * @param username */ -@Serializable@Serializable +@Serializable data class PostWifiSelf201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt index c128b78..a351cf0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInner.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param nickname * @param reportedHostname */ -@Serializable@Serializable +@Serializable data class PostWifiSelf201ResponseDevicesInner ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt index 8677219..7b9fc54 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param password */ -@Serializable@Serializable +@Serializable data class PostWifiSelfRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt index ff7ecf5..9d6b9e5 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201Response.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param name * @param uploadSpeedMbps */ -@Serializable@Serializable +@Serializable data class PostWifiSpeedProfiles201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt index 78f34ae..69c77fe 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param downloadSpeedMbps * @param uploadSpeedMbps */ -@Serializable@Serializable +@Serializable data class PostWifiSpeedProfilesRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt index a752d54..b10bc43 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201Response.kt @@ -42,7 +42,7 @@ import kotlinx.serialization.encoding.* * @param userId * @param username */ -@Serializable@Serializable +@Serializable data class PostWifiUsers201Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt index c84beaa..ff0527e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param speedProfileId * @param userId */ -@Serializable@Serializable +@Serializable data class PostWifiUsersRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt index af02e22..0015dfc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param enabled * @param frozen */ -@Serializable@Serializable +@Serializable data class PutDoorlockCardsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt index 9455a4b..6750c3a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param lastResetReason * @param location */ -@Serializable@Serializable +@Serializable data class PutDoorlockDevicesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt index 02a2cc6..ac3c4b6 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param frozen */ -@Serializable@Serializable +@Serializable data class PutDoorlockSelfCardsByIdFrozenRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt index 60aec39..409990e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param kind * @param name */ -@Serializable@Serializable +@Serializable data class PutKioskByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt index 71400c6..05d8758 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PutNavigatorBuildingsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt index e6d30f5..5ff29a8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequest.kt @@ -32,7 +32,7 @@ import kotlinx.serialization.encoding.* * @param colorhex * @param name */ -@Serializable@Serializable +@Serializable data class PutNavigatorClassroomTypesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt index 004f6e8..3b52fad 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200Response.kt @@ -45,7 +45,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PutNavigatorClassroomsById200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt index 741a479..df0487f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequest.kt @@ -43,7 +43,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PutNavigatorClassroomsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt index a480434..8a57823 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequest.kt @@ -40,7 +40,7 @@ import kotlinx.serialization.encoding.* * @param y1 * @param y2 */ -@Serializable@Serializable +@Serializable data class PutNavigatorCorridorsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt index 84103da..5325961 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PutNavigatorLiftsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt index 36ad528..11e26e2 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param x * @param y */ -@Serializable@Serializable +@Serializable data class PutNavigatorStairsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt index 4b35c2c..5ff712c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param text */ -@Serializable@Serializable +@Serializable data class PutNavigatorTranslationsByLangByKeyRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt index ae01f47..39fbac1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt @@ -36,7 +36,7 @@ import kotlinx.serialization.encoding.* * @param startingDay * @param startingPeriod */ -@Serializable@Serializable +@Serializable data class PutTimetableMovedLessonsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt index 2d9eb47..fac1a6c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequest.kt @@ -34,7 +34,7 @@ import kotlinx.serialization.encoding.* * @param date * @param substituter */ -@Serializable@Serializable +@Serializable data class PutTimetableSubstitutionsByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt index b2492ee..3dd072a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequest.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* * @param nickname * @param wifiUserId */ -@Serializable@Serializable +@Serializable data class PutWifiDevicesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt index 5f08b20..ddacd21 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param ipAddress * @param macAddress */ -@Serializable@Serializable +@Serializable data class PutWifiNasByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt index bc80344..4b60c4a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param roleName * @param speedProfileId */ -@Serializable@Serializable +@Serializable data class PutWifiRoleSpeedProfilesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt index 610356a..1107de4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param nickname */ -@Serializable@Serializable +@Serializable data class PutWifiSelfDevicesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt index 0711277..1c13a42 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200Response.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param success */ -@Serializable@Serializable +@Serializable data class PutWifiSelfPassword200Response ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt index f6acd80..3f11bb8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequest.kt @@ -31,7 +31,7 @@ import kotlinx.serialization.encoding.* /** * @param newPassword */ -@Serializable@Serializable +@Serializable data class PutWifiSelfPasswordRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt index 6959f16..ee6e19f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequest.kt @@ -33,7 +33,7 @@ import kotlinx.serialization.encoding.* * @param name * @param uploadSpeedMbps */ -@Serializable@Serializable +@Serializable data class PutWifiSpeedProfilesByIdRequest ( diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt index 45778bf..546995b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequest.kt @@ -37,7 +37,7 @@ import kotlinx.serialization.encoding.* * @param username * @param banned */ -@Serializable@Serializable +@Serializable data class PutWifiUsersByIdRequest ( diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt deleted file mode 100644 index 859d162..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/APIKeysApiTest.kt +++ /dev/null @@ -1,71 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.APIKeysApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest - -class APIKeysApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of APIKeysApi - //val apiInstance = APIKeysApi() - - // to test deleteAdminApiKeysByKeyId - should("test deleteAdminApiKeysByKeyId") { - // uncomment below to test deleteAdminApiKeysByKeyId - //val keyId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteAdminApiKeysByKeyId(keyId) - //result shouldBe ("TODO") - } - - // to test getAdminApiKeys - should("test getAdminApiKeys") { - // uncomment below to test getAdminApiKeys - //val limit : kotlin.Double = 8.14 // kotlin.Double | - //val offset : kotlin.Double = 8.14 // kotlin.Double | - //val ownerId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val search : kotlin.String = search_example // kotlin.String | - //val result : GetAdminApiKeys200Response = apiInstance.getAdminApiKeys(limit, offset, ownerId, search) - //result shouldBe ("TODO") - } - - // to test patchAdminApiKeysByKeyId - should("test patchAdminApiKeysByKeyId") { - // uncomment below to test patchAdminApiKeysByKeyId - //val keyId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchAdminApiKeysByKeyIdRequest : PatchAdminApiKeysByKeyIdRequest = // PatchAdminApiKeysByKeyIdRequest | - //val result : PatchAdminApiKeysByKeyId200Response = apiInstance.patchAdminApiKeysByKeyId(keyId, patchAdminApiKeysByKeyIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt deleted file mode 100644 index 7c22057..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/BugReportsApiTest.kt +++ /dev/null @@ -1,83 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.BugReportsApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetBugReport200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest -import hu.petrik.filcapp.api.model.PostBugReport201Response -import hu.petrik.filcapp.api.model.PostBugReportRequest - -class BugReportsApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of BugReportsApi - //val apiInstance = BugReportsApi() - - // to test deleteBugReportById - should("test deleteBugReportById") { - // uncomment below to test deleteBugReportById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteBugReportById(id) - //result shouldBe ("TODO") - } - - // to test getBugReport - should("test getBugReport") { - // uncomment below to test getBugReport - //val dateFrom : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val dateTo : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val limit : kotlin.Int = 56 // kotlin.Int | - //val page : kotlin.Int = 56 // kotlin.Int | - //val search : kotlin.String = search_example // kotlin.String | - //val status : kotlin.String = status_example // kotlin.String | - //val result : GetBugReport200Response = apiInstance.getBugReport(dateFrom, dateTo, limit, page, search, status) - //result shouldBe ("TODO") - } - - // to test patchBugReportByIdStatus - should("test patchBugReportByIdStatus") { - // uncomment below to test patchBugReportByIdStatus - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchBugReportByIdStatusRequest : PatchBugReportByIdStatusRequest = // PatchBugReportByIdStatusRequest | - //val result : PatchBugReportByIdStatus200Response = apiInstance.patchBugReportByIdStatus(id, patchBugReportByIdStatusRequest) - //result shouldBe ("TODO") - } - - // to test postBugReport - should("test postBugReport") { - // uncomment below to test postBugReport - //val postBugReportRequest : PostBugReportRequest = // PostBugReportRequest | - //val result : PostBugReport201Response = apiInstance.postBugReport(postBugReportRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt deleted file mode 100644 index 9bfd90e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ClassroomApiTest.kt +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.ClassroomApi -import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class ClassroomApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of ClassroomApi - //val apiInstance = ClassroomApi() - - // to test getTimetableClassroomsGetAll - should("test getTimetableClassroomsGetAll") { - // uncomment below to test getTimetableClassroomsGetAll - //val result : GetNavigatorClassrooms200Response = apiInstance.getTimetableClassroomsGetAll() - //result shouldBe ("TODO") - } - - // to test getTimetableClassroomsGetAvailable - should("test getTimetableClassroomsGetAvailable") { - // uncomment below to test getTimetableClassroomsGetAvailable - //val date : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val startingDay : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val startingPeriod : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetNavigatorClassrooms200Response = apiInstance.getTimetableClassroomsGetAvailable(date, startingDay, startingPeriod, timetableId) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt deleted file mode 100644 index f754b57..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/CohortApiTest.kt +++ /dev/null @@ -1,54 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.CohortApi -import hu.petrik.filcapp.api.model.GetCohort200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class CohortApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of CohortApi - //val apiInstance = CohortApi() - - // to test getCohort - should("test getCohort") { - // uncomment below to test getCohort - //val result : GetCohort200Response = apiInstance.getCohort() - //result shouldBe ("TODO") - } - - // to test getTimetableCohortsGetAllForTimetableByTimetableId - should("test getTimetableCohortsGetAllForTimetableByTimetableId") { - // uncomment below to test getTimetableCohortsGetAllForTimetableByTimetableId - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetCohort200Response = apiInstance.getTimetableCohortsGetAllForTimetableByTimetableId(timetableId) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt deleted file mode 100644 index 40f96d0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DashboardApiTest.kt +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.DashboardApi -import hu.petrik.filcapp.api.model.GetDashboardStats200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class DashboardApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of DashboardApi - //val apiInstance = DashboardApi() - - // to test getDashboardStats - should("test getDashboardStats") { - // uncomment below to test getDashboardStats - //val days : kotlin.Int = 56 // kotlin.Int | - //val result : GetDashboardStats200Response = apiInstance.getDashboardStats(days) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt deleted file mode 100644 index 64885dd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/DoorlockApiTest.kt +++ /dev/null @@ -1,215 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.DoorlockApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetDoorlockCards200Response -import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200Response -import hu.petrik.filcapp.api.model.GetDoorlockDevices200Response -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200Response -import hu.petrik.filcapp.api.model.GetDoorlockLogs200Response -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostDoorlockCards201Response -import hu.petrik.filcapp.api.model.PostDoorlockCardsRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevices201Response -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdateRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevicesRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevicesUpdate200Response -import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivate200Response -import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivateRequest -import hu.petrik.filcapp.api.model.PutDoorlockCardsByIdRequest -import hu.petrik.filcapp.api.model.PutDoorlockDevicesByIdRequest -import hu.petrik.filcapp.api.model.PutDoorlockSelfCardsByIdFrozenRequest - -class DoorlockApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of DoorlockApi - //val apiInstance = DoorlockApi() - - // to test deleteDoorlockCardsById - should("test deleteDoorlockCardsById") { - // uncomment below to test deleteDoorlockCardsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteDoorlockCardsById(id) - //result shouldBe ("TODO") - } - - // to test deleteDoorlockDevicesById - should("test deleteDoorlockDevicesById") { - // uncomment below to test deleteDoorlockDevicesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteDoorlockDevicesById(id) - //result shouldBe ("TODO") - } - - // to test getDoorlockCards - should("test getDoorlockCards") { - // uncomment below to test getDoorlockCards - //val result : GetDoorlockCards200Response = apiInstance.getDoorlockCards() - //result shouldBe ("TODO") - } - - // to test getDoorlockCardsUsers - should("test getDoorlockCardsUsers") { - // uncomment below to test getDoorlockCardsUsers - //val result : GetDoorlockCardsUsers200Response = apiInstance.getDoorlockCardsUsers() - //result shouldBe ("TODO") - } - - // to test getDoorlockDevices - should("test getDoorlockDevices") { - // uncomment below to test getDoorlockDevices - //val result : GetDoorlockDevices200Response = apiInstance.getDoorlockDevices() - //result shouldBe ("TODO") - } - - // to test getDoorlockDevicesByIdStats - should("test getDoorlockDevicesByIdStats") { - // uncomment below to test getDoorlockDevicesByIdStats - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetDoorlockDevicesByIdStats200Response = apiInstance.getDoorlockDevicesByIdStats(id) - //result shouldBe ("TODO") - } - - // to test getDoorlockLogs - should("test getDoorlockLogs") { - // uncomment below to test getDoorlockLogs - //val cardId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val deviceId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val from : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val granted : kotlin.String = granted_example // kotlin.String | - //val limit : kotlin.Int = 56 // kotlin.Int | - //val search : kotlin.String = search_example // kotlin.String | - //val to : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val userId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetDoorlockLogs200Response = apiInstance.getDoorlockLogs(cardId, deviceId, from, granted, limit, search, to, userId) - //result shouldBe ("TODO") - } - - // to test getDoorlockLogsExport - should("test getDoorlockLogsExport") { - // uncomment below to test getDoorlockLogsExport - //val cardId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val deviceId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val from : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val granted : kotlin.String = granted_example // kotlin.String | - //val search : kotlin.String = search_example // kotlin.String | - //val to : kotlin.String = 2013-10-20T19:20:30+01:00 // kotlin.String | - //val userId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : kotlin.String = apiInstance.getDoorlockLogsExport(cardId, deviceId, from, granted, search, to, userId) - //result shouldBe ("TODO") - } - - // to test getDoorlockSelfCards - should("test getDoorlockSelfCards") { - // uncomment below to test getDoorlockSelfCards - //val result : GetDoorlockCards200Response = apiInstance.getDoorlockSelfCards() - //result shouldBe ("TODO") - } - - // to test getDoorlockStatsOverview - should("test getDoorlockStatsOverview") { - // uncomment below to test getDoorlockStatsOverview - //val result : GetDoorlockStatsOverview200Response = apiInstance.getDoorlockStatsOverview() - //result shouldBe ("TODO") - } - - // to test postDoorlockCards - should("test postDoorlockCards") { - // uncomment below to test postDoorlockCards - //val postDoorlockCardsRequest : PostDoorlockCardsRequest = // PostDoorlockCardsRequest | - //val result : PostDoorlockCards201Response = apiInstance.postDoorlockCards(postDoorlockCardsRequest) - //result shouldBe ("TODO") - } - - // to test postDoorlockDevices - should("test postDoorlockDevices") { - // uncomment below to test postDoorlockDevices - //val postDoorlockDevicesRequest : PostDoorlockDevicesRequest = // PostDoorlockDevicesRequest | - //val result : PostDoorlockDevices201Response = apiInstance.postDoorlockDevices(postDoorlockDevicesRequest) - //result shouldBe ("TODO") - } - - // to test postDoorlockDevicesByIdUpdate - should("test postDoorlockDevicesByIdUpdate") { - // uncomment below to test postDoorlockDevicesByIdUpdate - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val postDoorlockDevicesByIdUpdateRequest : PostDoorlockDevicesByIdUpdateRequest = // PostDoorlockDevicesByIdUpdateRequest | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postDoorlockDevicesByIdUpdate(id, postDoorlockDevicesByIdUpdateRequest) - //result shouldBe ("TODO") - } - - // to test postDoorlockDevicesUpdate - should("test postDoorlockDevicesUpdate") { - // uncomment below to test postDoorlockDevicesUpdate - //val postDoorlockDevicesByIdUpdateRequest : PostDoorlockDevicesByIdUpdateRequest = // PostDoorlockDevicesByIdUpdateRequest | - //val result : PostDoorlockDevicesUpdate200Response = apiInstance.postDoorlockDevicesUpdate(postDoorlockDevicesByIdUpdateRequest) - //result shouldBe ("TODO") - } - - // to test postDoorlockSelfCardsByIdActivate - should("test postDoorlockSelfCardsByIdActivate") { - // uncomment below to test postDoorlockSelfCardsByIdActivate - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val postDoorlockSelfCardsByIdActivateRequest : PostDoorlockSelfCardsByIdActivateRequest = // PostDoorlockSelfCardsByIdActivateRequest | - //val result : PostDoorlockSelfCardsByIdActivate200Response = apiInstance.postDoorlockSelfCardsByIdActivate(id, postDoorlockSelfCardsByIdActivateRequest) - //result shouldBe ("TODO") - } - - // to test putDoorlockCardsById - should("test putDoorlockCardsById") { - // uncomment below to test putDoorlockCardsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putDoorlockCardsByIdRequest : PutDoorlockCardsByIdRequest = // PutDoorlockCardsByIdRequest | - //val result : PostDoorlockCards201Response = apiInstance.putDoorlockCardsById(id, putDoorlockCardsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putDoorlockDevicesById - should("test putDoorlockDevicesById") { - // uncomment below to test putDoorlockDevicesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putDoorlockDevicesByIdRequest : PutDoorlockDevicesByIdRequest = // PutDoorlockDevicesByIdRequest | - //val result : PostDoorlockDevices201Response = apiInstance.putDoorlockDevicesById(id, putDoorlockDevicesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putDoorlockSelfCardsByIdFrozen - should("test putDoorlockSelfCardsByIdFrozen") { - // uncomment below to test putDoorlockSelfCardsByIdFrozen - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putDoorlockSelfCardsByIdFrozenRequest : PutDoorlockSelfCardsByIdFrozenRequest = // PutDoorlockSelfCardsByIdFrozenRequest | - //val result : PostDoorlockCards201Response = apiInstance.putDoorlockSelfCardsByIdFrozen(id, putDoorlockSelfCardsByIdFrozenRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt deleted file mode 100644 index c844007..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/GroupApiTest.kt +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.GroupApi -import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response -import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest - -class GroupApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of GroupApi - //val apiInstance = GroupApi() - - // to test getTimetableGroupsGetForCohortByCohortId - should("test getTimetableGroupsGetForCohortByCohortId") { - // uncomment below to test getTimetableGroupsGetForCohortByCohortId - //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableGroupsGetForCohortByCohortId200Response = apiInstance.getTimetableGroupsGetForCohortByCohortId(cohortId) - //result shouldBe ("TODO") - } - - // to test postTimetableGroupsSelect - should("test postTimetableGroupsSelect") { - // uncomment below to test postTimetableGroupsSelect - //val postTimetableGroupsSelectRequest : PostTimetableGroupsSelectRequest = // PostTimetableGroupsSelectRequest | - //val result : PostTimetableGroupsSelect200Response = apiInstance.postTimetableGroupsSelect(postTimetableGroupsSelectRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt deleted file mode 100644 index 666365c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/HealthApiTest.kt +++ /dev/null @@ -1,46 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.HealthApi -import hu.petrik.filcapp.api.model.GetHealth200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class HealthApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of HealthApi - //val apiInstance = HealthApi() - - // to test getHealth - should("test getHealth") { - // uncomment below to test getHealth - //val result : GetHealth200Response = apiInstance.getHealth() - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt deleted file mode 100644 index 665b732..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/ImportApiTest.kt +++ /dev/null @@ -1,48 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.ImportApi -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response -import hu.petrik.filcapp.api.model.PostTimetableImportRequest - -class ImportApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of ImportApi - //val apiInstance = ImportApi() - - // to test postTimetableImport - should("test postTimetableImport") { - // uncomment below to test postTimetableImport - //val postTimetableImportRequest : PostTimetableImportRequest = // PostTimetableImportRequest | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postTimetableImport(postTimetableImportRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt deleted file mode 100644 index 19a4155..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/KioskApiTest.kt +++ /dev/null @@ -1,129 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.KioskApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetKiosk200Response -import hu.petrik.filcapp.api.model.GetKioskNews200Response -import hu.petrik.filcapp.api.model.GetKioskPetrikNews200Response -import hu.petrik.filcapp.api.model.GetKioskWeather200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostKiosk201Response -import hu.petrik.filcapp.api.model.PostKioskDepartures200Response -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequest -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200Response -import hu.petrik.filcapp.api.model.PostKioskHeartbeatRequest -import hu.petrik.filcapp.api.model.PostKioskRequest -import hu.petrik.filcapp.api.model.PutKioskByIdRequest - -class KioskApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of KioskApi - //val apiInstance = KioskApi() - - // to test deleteKioskById - should("test deleteKioskById") { - // uncomment below to test deleteKioskById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteKioskById(id) - //result shouldBe ("TODO") - } - - // to test getKiosk - should("test getKiosk") { - // uncomment below to test getKiosk - //val result : GetKiosk200Response = apiInstance.getKiosk() - //result shouldBe ("TODO") - } - - // to test getKioskNews - should("test getKioskNews") { - // uncomment below to test getKioskNews - //val result : GetKioskNews200Response = apiInstance.getKioskNews() - //result shouldBe ("TODO") - } - - // to test getKioskNewsByIdImage - should("test getKioskNewsByIdImage") { - // uncomment below to test getKioskNewsByIdImage - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : kotlin.String = apiInstance.getKioskNewsByIdImage(id) - //result shouldBe ("TODO") - } - - // to test getKioskPetrikNews - should("test getKioskPetrikNews") { - // uncomment below to test getKioskPetrikNews - //val machine : kotlin.String = machine_example // kotlin.String | - //val result : GetKioskPetrikNews200Response = apiInstance.getKioskPetrikNews(machine) - //result shouldBe ("TODO") - } - - // to test getKioskWeather - should("test getKioskWeather") { - // uncomment below to test getKioskWeather - //val result : GetKioskWeather200Response = apiInstance.getKioskWeather() - //result shouldBe ("TODO") - } - - // to test postKiosk - should("test postKiosk") { - // uncomment below to test postKiosk - //val postKioskRequest : PostKioskRequest = // PostKioskRequest | - //val result : PostKiosk201Response = apiInstance.postKiosk(postKioskRequest) - //result shouldBe ("TODO") - } - - // to test postKioskDepartures - should("test postKioskDepartures") { - // uncomment below to test postKioskDepartures - //val postKioskDeparturesRequest : PostKioskDeparturesRequest = // PostKioskDeparturesRequest | - //val result : PostKioskDepartures200Response = apiInstance.postKioskDepartures(postKioskDeparturesRequest) - //result shouldBe ("TODO") - } - - // to test postKioskHeartbeat - should("test postKioskHeartbeat") { - // uncomment below to test postKioskHeartbeat - //val postKioskHeartbeatRequest : PostKioskHeartbeatRequest = // PostKioskHeartbeatRequest | - //val result : PostKioskHeartbeat200Response = apiInstance.postKioskHeartbeat(postKioskHeartbeatRequest) - //result shouldBe ("TODO") - } - - // to test putKioskById - should("test putKioskById") { - // uncomment below to test putKioskById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putKioskByIdRequest : PutKioskByIdRequest = // PutKioskByIdRequest | - //val result : PostKiosk201Response = apiInstance.putKioskById(id, putKioskByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt deleted file mode 100644 index 8be2fb3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/LessonApiTest.kt +++ /dev/null @@ -1,95 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.LessonApi -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidatesRequest - -class LessonApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of LessonApi - //val apiInstance = LessonApi() - - // to test getTimetableLessonsGetForCohortByCohortId - should("test getTimetableLessonsGetForCohortByCohortId") { - // uncomment below to test getTimetableLessonsGetForCohortByCohortId - //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForCohortByCohortId(cohortId, timetableId) - //result shouldBe ("TODO") - } - - // to test getTimetableLessonsGetForIdByLessonId - should("test getTimetableLessonsGetForIdByLessonId") { - // uncomment below to test getTimetableLessonsGetForIdByLessonId - //val lessonId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableLessonsGetForIdByLessonId200Response = apiInstance.getTimetableLessonsGetForIdByLessonId(lessonId) - //result shouldBe ("TODO") - } - - // to test getTimetableLessonsGetForRoomByClassroomId - should("test getTimetableLessonsGetForRoomByClassroomId") { - // uncomment below to test getTimetableLessonsGetForRoomByClassroomId - //val classroomId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForRoomByClassroomId(classroomId, timetableId) - //result shouldBe ("TODO") - } - - // to test getTimetableLessonsGetForTeacherByTeacherId - should("test getTimetableLessonsGetForTeacherByTeacherId") { - // uncomment below to test getTimetableLessonsGetForTeacherByTeacherId - //val teacherId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableLessonsGetForCohortByCohortId200Response = apiInstance.getTimetableLessonsGetForTeacherByTeacherId(teacherId, timetableId) - //result shouldBe ("TODO") - } - - // to test postTimetableLessonsGetForTeachers - should("test postTimetableLessonsGetForTeachers") { - // uncomment below to test postTimetableLessonsGetForTeachers - //val postTimetableLessonsGetForTeachersRequest : PostTimetableLessonsGetForTeachersRequest = // PostTimetableLessonsGetForTeachersRequest | - //val result : PostTimetableLessonsGetForTeachers200Response = apiInstance.postTimetableLessonsGetForTeachers(postTimetableLessonsGetForTeachersRequest) - //result shouldBe ("TODO") - } - - // to test postTimetableLessonsGetSubstitutionCandidates - should("test postTimetableLessonsGetSubstitutionCandidates") { - // uncomment below to test postTimetableLessonsGetSubstitutionCandidates - //val postTimetableLessonsGetSubstitutionCandidatesRequest : PostTimetableLessonsGetSubstitutionCandidatesRequest = // PostTimetableLessonsGetSubstitutionCandidatesRequest | - //val result : PostTimetableLessonsGetSubstitutionCandidates200Response = apiInstance.postTimetableLessonsGetSubstitutionCandidates(postTimetableLessonsGetSubstitutionCandidatesRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt deleted file mode 100644 index 7402105..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/MovedLessonApiTest.kt +++ /dev/null @@ -1,108 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.MovedLessonApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response -import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest -import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest - -class MovedLessonApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of MovedLessonApi - //val apiInstance = MovedLessonApi() - - // to test deleteTimetableMovedLessonsById - should("test deleteTimetableMovedLessonsById") { - // uncomment below to test deleteTimetableMovedLessonsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableMovedLessonsById(id) - //result shouldBe ("TODO") - } - - // to test getTimetableMovedLessons - should("test getTimetableMovedLessons") { - // uncomment below to test getTimetableMovedLessons - //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessons() - //result shouldBe ("TODO") - } - - // to test getTimetableMovedLessonsCohortByCohortId - should("test getTimetableMovedLessonsCohortByCohortId") { - // uncomment below to test getTimetableMovedLessonsCohortByCohortId - //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsCohortByCohortId(cohortId) - //result shouldBe ("TODO") - } - - // to test getTimetableMovedLessonsCohortByCohortIdRelevant - should("test getTimetableMovedLessonsCohortByCohortIdRelevant") { - // uncomment below to test getTimetableMovedLessonsCohortByCohortIdRelevant - //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsCohortByCohortIdRelevant(cohortId) - //result shouldBe ("TODO") - } - - // to test getTimetableMovedLessonsExport - should("test getTimetableMovedLessonsExport") { - // uncomment below to test getTimetableMovedLessonsExport - //val from : kotlin.String = 2013-10-20 // kotlin.String | - //val to : kotlin.String = 2013-10-20 // kotlin.String | - //val result : kotlin.String = apiInstance.getTimetableMovedLessonsExport(from, to) - //result shouldBe ("TODO") - } - - // to test getTimetableMovedLessonsRelevant - should("test getTimetableMovedLessonsRelevant") { - // uncomment below to test getTimetableMovedLessonsRelevant - //val result : GetTimetableMovedLessons200Response = apiInstance.getTimetableMovedLessonsRelevant() - //result shouldBe ("TODO") - } - - // to test postTimetableMovedLessons - should("test postTimetableMovedLessons") { - // uncomment below to test postTimetableMovedLessons - //val postTimetableMovedLessonsRequest : PostTimetableMovedLessonsRequest = // PostTimetableMovedLessonsRequest | - //val result : PostTimetableMovedLessons200Response = apiInstance.postTimetableMovedLessons(postTimetableMovedLessonsRequest) - //result shouldBe ("TODO") - } - - // to test putTimetableMovedLessonsById - should("test putTimetableMovedLessonsById") { - // uncomment below to test putTimetableMovedLessonsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putTimetableMovedLessonsByIdRequest : PutTimetableMovedLessonsByIdRequest = // PutTimetableMovedLessonsByIdRequest | - //val result : PostTimetableMovedLessons200Response = apiInstance.putTimetableMovedLessonsById(id, putTimetableMovedLessonsByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt deleted file mode 100644 index 4d0a537..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NavigatorApiTest.kt +++ /dev/null @@ -1,336 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.NavigatorApi -import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response -import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response -import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response -import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response -import hu.petrik.filcapp.api.model.GetNavigatorCorridors200Response -import hu.petrik.filcapp.api.model.GetNavigatorGraph200Response -import hu.petrik.filcapp.api.model.GetNavigatorLifts200Response -import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetNavigatorStairs200Response -import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetNavigatorTranslations200Response -import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response -import hu.petrik.filcapp.api.model.PostNavigatorBuildingsRequest -import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response -import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypesRequest -import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response -import hu.petrik.filcapp.api.model.PostNavigatorClassroomsRequest -import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response -import hu.petrik.filcapp.api.model.PostNavigatorCorridorsRequest -import hu.petrik.filcapp.api.model.PostNavigatorImport200Response -import hu.petrik.filcapp.api.model.PostNavigatorImportRequest -import hu.petrik.filcapp.api.model.PostNavigatorLiftsRequest -import hu.petrik.filcapp.api.model.PostNavigatorStairsRequest -import hu.petrik.filcapp.api.model.PostNavigatorTranslations201Response -import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner -import hu.petrik.filcapp.api.model.PostNavigatorTranslationsRequest -import hu.petrik.filcapp.api.model.PutNavigatorBuildingsByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorClassroomTypesByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response -import hu.petrik.filcapp.api.model.PutNavigatorClassroomsByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorCorridorsByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorLiftsByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorStairsByIdRequest -import hu.petrik.filcapp.api.model.PutNavigatorTranslationsByLangByKeyRequest - -class NavigatorApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of NavigatorApi - //val apiInstance = NavigatorApi() - - // to test deleteNavigatorBuildingsById - should("test deleteNavigatorBuildingsById") { - // uncomment below to test deleteNavigatorBuildingsById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorBuildingsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorClassroomTypesById - should("test deleteNavigatorClassroomTypesById") { - // uncomment below to test deleteNavigatorClassroomTypesById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorClassroomTypesById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorClassroomsById - should("test deleteNavigatorClassroomsById") { - // uncomment below to test deleteNavigatorClassroomsById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorClassroomsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorCorridorsById - should("test deleteNavigatorCorridorsById") { - // uncomment below to test deleteNavigatorCorridorsById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorCorridorsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorLiftsById - should("test deleteNavigatorLiftsById") { - // uncomment below to test deleteNavigatorLiftsById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorLiftsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorStairsById - should("test deleteNavigatorStairsById") { - // uncomment below to test deleteNavigatorStairsById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorStairsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNavigatorTranslationsByLangByKey - should("test deleteNavigatorTranslationsByLangByKey") { - // uncomment below to test deleteNavigatorTranslationsByLangByKey - //val lang : kotlin.String = lang_example // kotlin.String | - //val key : kotlin.String = key_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteNavigatorTranslationsByLangByKey(lang, key) - //result shouldBe ("TODO") - } - - // to test getNavigatorBuildings - should("test getNavigatorBuildings") { - // uncomment below to test getNavigatorBuildings - //val result : GetNavigatorBuildings200Response = apiInstance.getNavigatorBuildings() - //result shouldBe ("TODO") - } - - // to test getNavigatorClassroomTypes - should("test getNavigatorClassroomTypes") { - // uncomment below to test getNavigatorClassroomTypes - //val result : GetNavigatorClassroomTypes200Response = apiInstance.getNavigatorClassroomTypes() - //result shouldBe ("TODO") - } - - // to test getNavigatorClassrooms - should("test getNavigatorClassrooms") { - // uncomment below to test getNavigatorClassrooms - //val result : GetNavigatorClassrooms200Response = apiInstance.getNavigatorClassrooms() - //result shouldBe ("TODO") - } - - // to test getNavigatorCorridors - should("test getNavigatorCorridors") { - // uncomment below to test getNavigatorCorridors - //val result : GetNavigatorCorridors200Response = apiInstance.getNavigatorCorridors() - //result shouldBe ("TODO") - } - - // to test getNavigatorExport - should("test getNavigatorExport") { - // uncomment below to test getNavigatorExport - //val result : kotlin.String = apiInstance.getNavigatorExport() - //result shouldBe ("TODO") - } - - // to test getNavigatorGraph - should("test getNavigatorGraph") { - // uncomment below to test getNavigatorGraph - //val result : GetNavigatorGraph200Response = apiInstance.getNavigatorGraph() - //result shouldBe ("TODO") - } - - // to test getNavigatorLifts - should("test getNavigatorLifts") { - // uncomment below to test getNavigatorLifts - //val result : GetNavigatorLifts200Response = apiInstance.getNavigatorLifts() - //result shouldBe ("TODO") - } - - // to test getNavigatorStairs - should("test getNavigatorStairs") { - // uncomment below to test getNavigatorStairs - //val result : GetNavigatorStairs200Response = apiInstance.getNavigatorStairs() - //result shouldBe ("TODO") - } - - // to test getNavigatorTranslations - should("test getNavigatorTranslations") { - // uncomment below to test getNavigatorTranslations - //val result : GetNavigatorTranslations200Response = apiInstance.getNavigatorTranslations() - //result shouldBe ("TODO") - } - - // to test getNavigatorTranslationsAvailable - should("test getNavigatorTranslationsAvailable") { - // uncomment below to test getNavigatorTranslationsAvailable - //val result : GetNavigatorTranslationsAvailable200Response = apiInstance.getNavigatorTranslationsAvailable() - //result shouldBe ("TODO") - } - - // to test getNavigatorTranslationsLang - should("test getNavigatorTranslationsLang") { - // uncomment below to test getNavigatorTranslationsLang - //val lang : kotlin.String = lang_example // kotlin.String | - //val result : kotlin.collections.Map = apiInstance.getNavigatorTranslationsLang(lang) - //result shouldBe ("TODO") - } - - // to test postNavigatorBuildings - should("test postNavigatorBuildings") { - // uncomment below to test postNavigatorBuildings - //val postNavigatorBuildingsRequest : PostNavigatorBuildingsRequest = // PostNavigatorBuildingsRequest | - //val result : PostNavigatorBuildings201Response = apiInstance.postNavigatorBuildings(postNavigatorBuildingsRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorClassroomTypes - should("test postNavigatorClassroomTypes") { - // uncomment below to test postNavigatorClassroomTypes - //val postNavigatorClassroomTypesRequest : PostNavigatorClassroomTypesRequest = // PostNavigatorClassroomTypesRequest | - //val result : PostNavigatorClassroomTypes201Response = apiInstance.postNavigatorClassroomTypes(postNavigatorClassroomTypesRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorClassrooms - should("test postNavigatorClassrooms") { - // uncomment below to test postNavigatorClassrooms - //val postNavigatorClassroomsRequest : PostNavigatorClassroomsRequest = // PostNavigatorClassroomsRequest | - //val result : PostNavigatorClassrooms201Response = apiInstance.postNavigatorClassrooms(postNavigatorClassroomsRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorCorridors - should("test postNavigatorCorridors") { - // uncomment below to test postNavigatorCorridors - //val postNavigatorCorridorsRequest : PostNavigatorCorridorsRequest = // PostNavigatorCorridorsRequest | - //val result : PostNavigatorCorridors201Response = apiInstance.postNavigatorCorridors(postNavigatorCorridorsRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorImport - should("test postNavigatorImport") { - // uncomment below to test postNavigatorImport - //val postNavigatorImportRequest : PostNavigatorImportRequest = // PostNavigatorImportRequest | - //val result : PostNavigatorImport200Response = apiInstance.postNavigatorImport(postNavigatorImportRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorLifts - should("test postNavigatorLifts") { - // uncomment below to test postNavigatorLifts - //val postNavigatorLiftsRequest : PostNavigatorLiftsRequest = // PostNavigatorLiftsRequest | - //val result : GetNavigatorLifts200ResponseItemsInner = apiInstance.postNavigatorLifts(postNavigatorLiftsRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorStairs - should("test postNavigatorStairs") { - // uncomment below to test postNavigatorStairs - //val postNavigatorStairsRequest : PostNavigatorStairsRequest = // PostNavigatorStairsRequest | - //val result : GetNavigatorStairs200ResponseItemsInner = apiInstance.postNavigatorStairs(postNavigatorStairsRequest) - //result shouldBe ("TODO") - } - - // to test postNavigatorTranslations - should("test postNavigatorTranslations") { - // uncomment below to test postNavigatorTranslations - //val postNavigatorTranslationsRequest : PostNavigatorTranslationsRequest = // PostNavigatorTranslationsRequest | - //val result : PostNavigatorTranslations201Response = apiInstance.postNavigatorTranslations(postNavigatorTranslationsRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorBuildingsById - should("test putNavigatorBuildingsById") { - // uncomment below to test putNavigatorBuildingsById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorBuildingsByIdRequest : PutNavigatorBuildingsByIdRequest = // PutNavigatorBuildingsByIdRequest | - //val result : PostNavigatorBuildings201Response = apiInstance.putNavigatorBuildingsById(id, putNavigatorBuildingsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorClassroomTypesById - should("test putNavigatorClassroomTypesById") { - // uncomment below to test putNavigatorClassroomTypesById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorClassroomTypesByIdRequest : PutNavigatorClassroomTypesByIdRequest = // PutNavigatorClassroomTypesByIdRequest | - //val result : PostNavigatorClassroomTypes201Response = apiInstance.putNavigatorClassroomTypesById(id, putNavigatorClassroomTypesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorClassroomsById - should("test putNavigatorClassroomsById") { - // uncomment below to test putNavigatorClassroomsById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorClassroomsByIdRequest : PutNavigatorClassroomsByIdRequest = // PutNavigatorClassroomsByIdRequest | - //val result : PutNavigatorClassroomsById200Response = apiInstance.putNavigatorClassroomsById(id, putNavigatorClassroomsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorCorridorsById - should("test putNavigatorCorridorsById") { - // uncomment below to test putNavigatorCorridorsById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorCorridorsByIdRequest : PutNavigatorCorridorsByIdRequest = // PutNavigatorCorridorsByIdRequest | - //val result : PostNavigatorCorridors201Response = apiInstance.putNavigatorCorridorsById(id, putNavigatorCorridorsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorLiftsById - should("test putNavigatorLiftsById") { - // uncomment below to test putNavigatorLiftsById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorLiftsByIdRequest : PutNavigatorLiftsByIdRequest = // PutNavigatorLiftsByIdRequest | - //val result : GetNavigatorLifts200ResponseItemsInner = apiInstance.putNavigatorLiftsById(id, putNavigatorLiftsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorStairsById - should("test putNavigatorStairsById") { - // uncomment below to test putNavigatorStairsById - //val id : kotlin.String = id_example // kotlin.String | - //val putNavigatorStairsByIdRequest : PutNavigatorStairsByIdRequest = // PutNavigatorStairsByIdRequest | - //val result : GetNavigatorStairs200ResponseItemsInner = apiInstance.putNavigatorStairsById(id, putNavigatorStairsByIdRequest) - //result shouldBe ("TODO") - } - - // to test putNavigatorTranslationsByLangByKey - should("test putNavigatorTranslationsByLangByKey") { - // uncomment below to test putNavigatorTranslationsByLangByKey - //val lang : kotlin.String = lang_example // kotlin.String | - //val key : kotlin.String = key_example // kotlin.String | - //val putNavigatorTranslationsByLangByKeyRequest : PutNavigatorTranslationsByLangByKeyRequest = // PutNavigatorTranslationsByLangByKeyRequest | - //val result : PostNavigatorTranslations201ResponseItemsInner = apiInstance.putNavigatorTranslationsByLangByKey(lang, key, putNavigatorTranslationsByLangByKeyRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt deleted file mode 100644 index bbe4d3b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApiTest.kt +++ /dev/null @@ -1,109 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.NewsAnnouncementsApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsById200Response -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest -import hu.petrik.filcapp.api.model.PostNavigatorImportRequest -import hu.petrik.filcapp.api.model.PostNewsAnnouncements201Response -import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequest - -class NewsAnnouncementsApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of NewsAnnouncementsApi - //val apiInstance = NewsAnnouncementsApi() - - // to test deleteNewsAnnouncementsById - should("test deleteNewsAnnouncementsById") { - // uncomment below to test deleteNewsAnnouncementsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsAnnouncementsById(id) - //result shouldBe ("TODO") - } - - // to test deleteNewsAnnouncementsByIdImage - should("test deleteNewsAnnouncementsByIdImage") { - // uncomment below to test deleteNewsAnnouncementsByIdImage - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : PatchNewsAnnouncementsById200Response = apiInstance.deleteNewsAnnouncementsByIdImage(id) - //result shouldBe ("TODO") - } - - // to test getNewsAnnouncements - should("test getNewsAnnouncements") { - // uncomment below to test getNewsAnnouncements - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val includeAll : kotlin.String = includeAll_example // kotlin.String | - //val includeExpired : kotlin.String = includeExpired_example // kotlin.String | - //val includeKioskOnly : kotlin.String = includeKioskOnly_example // kotlin.String | - //val result : GetNewsAnnouncements200Response = apiInstance.getNewsAnnouncements(limit, offset, includeAll, includeExpired, includeKioskOnly) - //result shouldBe ("TODO") - } - - // to test getNewsAnnouncementsById - should("test getNewsAnnouncementsById") { - // uncomment below to test getNewsAnnouncementsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetNewsAnnouncementsById200Response = apiInstance.getNewsAnnouncementsById(id) - //result shouldBe ("TODO") - } - - // to test patchNewsAnnouncementsById - should("test patchNewsAnnouncementsById") { - // uncomment below to test patchNewsAnnouncementsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchNewsAnnouncementsByIdRequest : PatchNewsAnnouncementsByIdRequest = // PatchNewsAnnouncementsByIdRequest | - //val result : PatchNewsAnnouncementsById200Response = apiInstance.patchNewsAnnouncementsById(id, patchNewsAnnouncementsByIdRequest) - //result shouldBe ("TODO") - } - - // to test postNewsAnnouncements - should("test postNewsAnnouncements") { - // uncomment below to test postNewsAnnouncements - //val postNewsAnnouncementsRequest : PostNewsAnnouncementsRequest = // PostNewsAnnouncementsRequest | - //val result : PostNewsAnnouncements201Response = apiInstance.postNewsAnnouncements(postNewsAnnouncementsRequest) - //result shouldBe ("TODO") - } - - // to test postNewsAnnouncementsByIdImage - should("test postNewsAnnouncementsByIdImage") { - // uncomment below to test postNewsAnnouncementsByIdImage - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val postNavigatorImportRequest : PostNavigatorImportRequest = // PostNavigatorImportRequest | - //val result : PatchNewsAnnouncementsById200Response = apiInstance.postNewsAnnouncementsByIdImage(id, postNavigatorImportRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt deleted file mode 100644 index dba40d7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApiTest.kt +++ /dev/null @@ -1,121 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.NewsBlogsApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetNewsBlogs200Response -import hu.petrik.filcapp.api.model.GetNewsBlogsBySlug200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response -import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest -import hu.petrik.filcapp.api.model.PostNewsBlogs201Response -import hu.petrik.filcapp.api.model.PostNewsBlogsRequest - -class NewsBlogsApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of NewsBlogsApi - //val apiInstance = NewsBlogsApi() - - // to test deleteNewsBlogsById - should("test deleteNewsBlogsById") { - // uncomment below to test deleteNewsBlogsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsBlogsById(id) - //result shouldBe ("TODO") - } - - // to test getNewsBlogs - should("test getNewsBlogs") { - // uncomment below to test getNewsBlogs - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val result : GetNewsBlogs200Response = apiInstance.getNewsBlogs(limit, offset) - //result shouldBe ("TODO") - } - - // to test getNewsBlogsBySlug - should("test getNewsBlogsBySlug") { - // uncomment below to test getNewsBlogsBySlug - //val slug : kotlin.String = slug_example // kotlin.String | - //val result : GetNewsBlogsBySlug200Response = apiInstance.getNewsBlogsBySlug(slug) - //result shouldBe ("TODO") - } - - // to test getNewsBlogsDrafts - should("test getNewsBlogsDrafts") { - // uncomment below to test getNewsBlogsDrafts - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val result : GetNewsBlogs200Response = apiInstance.getNewsBlogsDrafts(limit, offset) - //result shouldBe ("TODO") - } - - // to test getNewsBlogsIdById - should("test getNewsBlogsIdById") { - // uncomment below to test getNewsBlogsIdById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetNewsBlogsBySlug200Response = apiInstance.getNewsBlogsIdById(id) - //result shouldBe ("TODO") - } - - // to test patchNewsBlogsById - should("test patchNewsBlogsById") { - // uncomment below to test patchNewsBlogsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchNewsBlogsByIdRequest : PatchNewsBlogsByIdRequest = // PatchNewsBlogsByIdRequest | - //val result : PatchNewsBlogsById200Response = apiInstance.patchNewsBlogsById(id, patchNewsBlogsByIdRequest) - //result shouldBe ("TODO") - } - - // to test postNewsBlogs - should("test postNewsBlogs") { - // uncomment below to test postNewsBlogs - //val postNewsBlogsRequest : PostNewsBlogsRequest = // PostNewsBlogsRequest | - //val result : PostNewsBlogs201Response = apiInstance.postNewsBlogs(postNewsBlogsRequest) - //result shouldBe ("TODO") - } - - // to test postNewsBlogsByIdPublish - should("test postNewsBlogsByIdPublish") { - // uncomment below to test postNewsBlogsByIdPublish - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : PatchNewsBlogsById200Response = apiInstance.postNewsBlogsByIdPublish(id) - //result shouldBe ("TODO") - } - - // to test postNewsBlogsByIdUnpublish - should("test postNewsBlogsByIdUnpublish") { - // uncomment below to test postNewsBlogsByIdUnpublish - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : PatchNewsBlogsById200Response = apiInstance.postNewsBlogsByIdUnpublish(id) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt deleted file mode 100644 index ffd413e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApiTest.kt +++ /dev/null @@ -1,91 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.NewsSystemMessagesApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response -import hu.petrik.filcapp.api.model.GetNewsSystemMessagesById200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response -import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest -import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response -import hu.petrik.filcapp.api.model.PostNewsSystemMessagesRequest - -class NewsSystemMessagesApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of NewsSystemMessagesApi - //val apiInstance = NewsSystemMessagesApi() - - // to test deleteNewsSystemMessagesById - should("test deleteNewsSystemMessagesById") { - // uncomment below to test deleteNewsSystemMessagesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteNewsSystemMessagesById(id) - //result shouldBe ("TODO") - } - - // to test getNewsSystemMessages - should("test getNewsSystemMessages") { - // uncomment below to test getNewsSystemMessages - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val includeAll : kotlin.String = includeAll_example // kotlin.String | - //val includeExpired : kotlin.String = includeExpired_example // kotlin.String | - //val includeKioskOnly : kotlin.String = includeKioskOnly_example // kotlin.String | - //val result : GetNewsSystemMessages200Response = apiInstance.getNewsSystemMessages(limit, offset, includeAll, includeExpired, includeKioskOnly) - //result shouldBe ("TODO") - } - - // to test getNewsSystemMessagesById - should("test getNewsSystemMessagesById") { - // uncomment below to test getNewsSystemMessagesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetNewsSystemMessagesById200Response = apiInstance.getNewsSystemMessagesById(id) - //result shouldBe ("TODO") - } - - // to test patchNewsSystemMessagesById - should("test patchNewsSystemMessagesById") { - // uncomment below to test patchNewsSystemMessagesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchNewsSystemMessagesByIdRequest : PatchNewsSystemMessagesByIdRequest = // PatchNewsSystemMessagesByIdRequest | - //val result : PatchNewsSystemMessagesById200Response = apiInstance.patchNewsSystemMessagesById(id, patchNewsSystemMessagesByIdRequest) - //result shouldBe ("TODO") - } - - // to test postNewsSystemMessages - should("test postNewsSystemMessages") { - // uncomment below to test postNewsSystemMessages - //val postNewsSystemMessagesRequest : PostNewsSystemMessagesRequest = // PostNewsSystemMessagesRequest | - //val result : PostNewsSystemMessages201Response = apiInstance.postNewsSystemMessages(postNewsSystemMessagesRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt deleted file mode 100644 index e0f5780..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/NotificationsApiTest.kt +++ /dev/null @@ -1,138 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.NotificationsApi -import hu.petrik.filcapp.api.model.GetNotifications200Response -import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response -import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response -import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200Response -import hu.petrik.filcapp.api.model.PostNotificationsFcmTokensRequest -import hu.petrik.filcapp.api.model.PostNotificationsTestPreview200Response -import hu.petrik.filcapp.api.model.PostNotificationsTestPreviewRequest -import hu.petrik.filcapp.api.model.PostNotificationsTestSend200Response -import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequest - -class NotificationsApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of NotificationsApi - //val apiInstance = NotificationsApi() - - // to test deleteNotificationsFcmTokensByToken - should("test deleteNotificationsFcmTokensByToken") { - // uncomment below to test deleteNotificationsFcmTokensByToken - //val token : kotlin.String = token_example // kotlin.String | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.deleteNotificationsFcmTokensByToken(token) - //result shouldBe ("TODO") - } - - // to test getNotifications - should("test getNotifications") { - // uncomment below to test getNotifications - //val dateFrom : kotlin.String = dateFrom_example // kotlin.String | - //val dateTo : kotlin.String = dateTo_example // kotlin.String | - //val limit : kotlin.Double = 8.14 // kotlin.Double | - //val offset : kotlin.Double = 8.14 // kotlin.Double | - //val type : kotlin.String = type_example // kotlin.String | - //val unread : kotlin.String = unread_example // kotlin.String | - //val result : GetNotifications200Response = apiInstance.getNotifications(dateFrom, dateTo, limit, offset, type, unread) - //result shouldBe ("TODO") - } - - // to test getNotificationsSettings - should("test getNotificationsSettings") { - // uncomment below to test getNotificationsSettings - //val result : GetNotificationsSettings200Response = apiInstance.getNotificationsSettings() - //result shouldBe ("TODO") - } - - // to test getNotificationsUnreadCount - should("test getNotificationsUnreadCount") { - // uncomment below to test getNotificationsUnreadCount - //val result : GetNotificationsUnreadCount200Response = apiInstance.getNotificationsUnreadCount() - //result shouldBe ("TODO") - } - - // to test patchNotificationsSettings - should("test patchNotificationsSettings") { - // uncomment below to test patchNotificationsSettings - //val patchNotificationsSettingsRequest : PatchNotificationsSettingsRequest = // PatchNotificationsSettingsRequest | - //val result : GetNotificationsSettings200Response = apiInstance.patchNotificationsSettings(patchNotificationsSettingsRequest) - //result shouldBe ("TODO") - } - - // to test postNotificationsByIdRead - should("test postNotificationsByIdRead") { - // uncomment below to test postNotificationsByIdRead - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : PostNotificationsByIdRead200Response = apiInstance.postNotificationsByIdRead(id) - //result shouldBe ("TODO") - } - - // to test postNotificationsFcmTokens - should("test postNotificationsFcmTokens") { - // uncomment below to test postNotificationsFcmTokens - //val postNotificationsFcmTokensRequest : PostNotificationsFcmTokensRequest = // PostNotificationsFcmTokensRequest | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postNotificationsFcmTokens(postNotificationsFcmTokensRequest) - //result shouldBe ("TODO") - } - - // to test postNotificationsReadAll - should("test postNotificationsReadAll") { - // uncomment below to test postNotificationsReadAll - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postNotificationsReadAll() - //result shouldBe ("TODO") - } - - // to test postNotificationsTest - should("test postNotificationsTest") { - // uncomment below to test postNotificationsTest - //val result : PostNotificationsByIdRead200Response = apiInstance.postNotificationsTest() - //result shouldBe ("TODO") - } - - // to test postNotificationsTestPreview - should("test postNotificationsTestPreview") { - // uncomment below to test postNotificationsTestPreview - //val postNotificationsTestPreviewRequest : PostNotificationsTestPreviewRequest = // PostNotificationsTestPreviewRequest | - //val result : PostNotificationsTestPreview200Response = apiInstance.postNotificationsTestPreview(postNotificationsTestPreviewRequest) - //result shouldBe ("TODO") - } - - // to test postNotificationsTestSend - should("test postNotificationsTestSend") { - // uncomment below to test postNotificationsTestSend - //val postNotificationsTestSendRequest : PostNotificationsTestSendRequest = // PostNotificationsTestSendRequest | - //val result : PostNotificationsTestSend200Response = apiInstance.postNotificationsTestSend(postNotificationsTestSendRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt deleted file mode 100644 index d0eeca0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PeriodApiTest.kt +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.PeriodApi -import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class PeriodApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of PeriodApi - //val apiInstance = PeriodApi() - - // to test getTimetablePeriodsGetAll - should("test getTimetablePeriodsGetAll") { - // uncomment below to test getTimetablePeriodsGetAll - //val timetableId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetablePeriodsGetAll200Response = apiInstance.getTimetablePeriodsGetAll(timetableId) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt deleted file mode 100644 index fe3d708..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/PingApiTest.kt +++ /dev/null @@ -1,54 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.PingApi -import hu.petrik.filcapp.api.model.GetPing200Response -import hu.petrik.filcapp.api.model.GetPingUptime200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class PingApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of PingApi - //val apiInstance = PingApi() - - // to test getPing - should("test getPing") { - // uncomment below to test getPing - //val result : GetPing200Response = apiInstance.getPing() - //result shouldBe ("TODO") - } - - // to test getPingUptime - should("test getPingUptime") { - // uncomment below to test getPingUptime - //val result : GetPingUptime200Response = apiInstance.getPingUptime() - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt deleted file mode 100644 index 7cef289..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/RolesApiTest.kt +++ /dev/null @@ -1,83 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.RolesApi -import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response -import hu.petrik.filcapp.api.model.GetRoles200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchRolesByNameRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response -import hu.petrik.filcapp.api.model.PostRoles201Response -import hu.petrik.filcapp.api.model.PostRolesRequest - -class RolesApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of RolesApi - //val apiInstance = RolesApi() - - // to test deleteRolesByName - should("test deleteRolesByName") { - // uncomment below to test deleteRolesByName - //val name : kotlin.String = name_example // kotlin.String | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.deleteRolesByName(name) - //result shouldBe ("TODO") - } - - // to test getRoles - should("test getRoles") { - // uncomment below to test getRoles - //val result : GetRoles200Response = apiInstance.getRoles() - //result shouldBe ("TODO") - } - - // to test getRolesPermissions - should("test getRolesPermissions") { - // uncomment below to test getRolesPermissions - //val result : GetNavigatorTranslationsAvailable200Response = apiInstance.getRolesPermissions() - //result shouldBe ("TODO") - } - - // to test patchRolesByName - should("test patchRolesByName") { - // uncomment below to test patchRolesByName - //val name : kotlin.String = name_example // kotlin.String | - //val patchRolesByNameRequest : PatchRolesByNameRequest = // PatchRolesByNameRequest | - //val result : PostRoles201Response = apiInstance.patchRolesByName(name, patchRolesByNameRequest) - //result shouldBe ("TODO") - } - - // to test postRoles - should("test postRoles") { - // uncomment below to test postRoles - //val postRolesRequest : PostRolesRequest = // PostRolesRequest | - //val result : PostRoles201Response = apiInstance.postRoles(postRolesRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt deleted file mode 100644 index e654cd3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubjectApiTest.kt +++ /dev/null @@ -1,46 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.SubjectApi -import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class SubjectApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of SubjectApi - //val apiInstance = SubjectApi() - - // to test getTimetableSubjects - should("test getTimetableSubjects") { - // uncomment below to test getTimetableSubjects - //val result : GetTimetableSubjects200Response = apiInstance.getTimetableSubjects() - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt deleted file mode 100644 index 02344a9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/SubstitutionApiTest.kt +++ /dev/null @@ -1,111 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.SubstitutionApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsCohortByCohortId200Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response -import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest -import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest -import hu.petrik.filcapp.api.model.PutTimetableSubstitutionsByIdRequest - -class SubstitutionApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of SubstitutionApi - //val apiInstance = SubstitutionApi() - - // to test deleteTimetableSubstitutionsById - should("test deleteTimetableSubstitutionsById") { - // uncomment below to test deleteTimetableSubstitutionsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableSubstitutionsById(id) - //result shouldBe ("TODO") - } - - // to test getTimetableSubstitutions - should("test getTimetableSubstitutions") { - // uncomment below to test getTimetableSubstitutions - //val result : GetTimetableSubstitutions200Response = apiInstance.getTimetableSubstitutions() - //result shouldBe ("TODO") - } - - // to test getTimetableSubstitutionsCohortByCohortId - should("test getTimetableSubstitutionsCohortByCohortId") { - // uncomment below to test getTimetableSubstitutionsCohortByCohortId - //val cohortId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableSubstitutionsCohortByCohortId200Response = apiInstance.getTimetableSubstitutionsCohortByCohortId(cohortId) - //result shouldBe ("TODO") - } - - // to test getTimetableSubstitutionsExport - should("test getTimetableSubstitutionsExport") { - // uncomment below to test getTimetableSubstitutionsExport - //val from : kotlin.String = 2013-10-20 // kotlin.String | - //val to : kotlin.String = 2013-10-20 // kotlin.String | - //val result : kotlin.String = apiInstance.getTimetableSubstitutionsExport(from, to) - //result shouldBe ("TODO") - } - - // to test getTimetableSubstitutionsRelevant - should("test getTimetableSubstitutionsRelevant") { - // uncomment below to test getTimetableSubstitutionsRelevant - //val result : GetTimetableSubstitutionsRelevant200Response = apiInstance.getTimetableSubstitutionsRelevant() - //result shouldBe ("TODO") - } - - // to test postTimetableSubstitutions - should("test postTimetableSubstitutions") { - // uncomment below to test postTimetableSubstitutions - //val postTimetableSubstitutionsRequest : PostTimetableSubstitutionsRequest = // PostTimetableSubstitutionsRequest | - //val result : PostTimetableSubstitutions200Response = apiInstance.postTimetableSubstitutions(postTimetableSubstitutionsRequest) - //result shouldBe ("TODO") - } - - // to test postTimetableSubstitutionsManual - should("test postTimetableSubstitutionsManual") { - // uncomment below to test postTimetableSubstitutionsManual - //val postTimetableSubstitutionsManualRequest : PostTimetableSubstitutionsManualRequest = // PostTimetableSubstitutionsManualRequest | - //val result : PostTimetableSubstitutions200Response = apiInstance.postTimetableSubstitutionsManual(postTimetableSubstitutionsManualRequest) - //result shouldBe ("TODO") - } - - // to test putTimetableSubstitutionsById - should("test putTimetableSubstitutionsById") { - // uncomment below to test putTimetableSubstitutionsById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putTimetableSubstitutionsByIdRequest : PutTimetableSubstitutionsByIdRequest = // PutTimetableSubstitutionsByIdRequest | - //val result : PostTimetableSubstitutions200Response = apiInstance.putTimetableSubstitutionsById(id, putTimetableSubstitutionsByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt deleted file mode 100644 index 75632b8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TeacherApiTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.TeacherApi -import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response -import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response -import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response -import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest - -class TeacherApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of TeacherApi - //val apiInstance = TeacherApi() - - // to test getTimetableTeachers - should("test getTimetableTeachers") { - // uncomment below to test getTimetableTeachers - //val result : GetTimetableTeachers200Response = apiInstance.getTimetableTeachers() - //result shouldBe ("TODO") - } - - // to test getTimetableTeachersGetAll - should("test getTimetableTeachersGetAll") { - // uncomment below to test getTimetableTeachersGetAll - //val result : GetTimetableTeachersGetAll200Response = apiInstance.getTimetableTeachersGetAll() - //result shouldBe ("TODO") - } - - // to test getTimetableTeachersMe - should("test getTimetableTeachersMe") { - // uncomment below to test getTimetableTeachersMe - //val result : GetTimetableTeachersMe200Response = apiInstance.getTimetableTeachersMe() - //result shouldBe ("TODO") - } - - // to test patchTimetableTeachersById - should("test patchTimetableTeachersById") { - // uncomment below to test patchTimetableTeachersById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchTimetableTeachersByIdRequest : PatchTimetableTeachersByIdRequest = // PatchTimetableTeachersByIdRequest | - //val result : PatchTimetableTeachersById200Response = apiInstance.patchTimetableTeachersById(id, patchTimetableTeachersByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt deleted file mode 100644 index 8b70d11..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/TimetableApiTest.kt +++ /dev/null @@ -1,108 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.TimetableApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchTimetableTimetablesById200Response -import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response -import hu.petrik.filcapp.api.model.PostTimetableImportRequest -import hu.petrik.filcapp.api.model.PostTimetableTimetablesCleanupOrphanedCohorts200Response - -class TimetableApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of TimetableApi - //val apiInstance = TimetableApi() - - // to test deleteTimetableTimetablesById - should("test deleteTimetableTimetablesById") { - // uncomment below to test deleteTimetableTimetablesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteTimetableTimetablesById(id) - //result shouldBe ("TODO") - } - - // to test getTimetableTimetables - should("test getTimetableTimetables") { - // uncomment below to test getTimetableTimetables - //val result : GetTimetableTimetables200Response = apiInstance.getTimetableTimetables() - //result shouldBe ("TODO") - } - - // to test getTimetableTimetablesByIdPreviewDelete - should("test getTimetableTimetablesByIdPreviewDelete") { - // uncomment below to test getTimetableTimetablesByIdPreviewDelete - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetTimetableTimetablesByIdPreviewDelete200Response = apiInstance.getTimetableTimetablesByIdPreviewDelete(id) - //result shouldBe ("TODO") - } - - // to test getTimetableTimetablesLatestValid - should("test getTimetableTimetablesLatestValid") { - // uncomment below to test getTimetableTimetablesLatestValid - //val result : PatchTimetableTimetablesById200Response = apiInstance.getTimetableTimetablesLatestValid() - //result shouldBe ("TODO") - } - - // to test getTimetableTimetablesValid - should("test getTimetableTimetablesValid") { - // uncomment below to test getTimetableTimetablesValid - //val result : GetTimetableTimetables200Response = apiInstance.getTimetableTimetablesValid() - //result shouldBe ("TODO") - } - - // to test patchTimetableTimetablesById - should("test patchTimetableTimetablesById") { - // uncomment below to test patchTimetableTimetablesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchTimetableTimetablesByIdRequest : PatchTimetableTimetablesByIdRequest = // PatchTimetableTimetablesByIdRequest | - //val result : PatchTimetableTimetablesById200Response = apiInstance.patchTimetableTimetablesById(id, patchTimetableTimetablesByIdRequest) - //result shouldBe ("TODO") - } - - // to test postTimetableImport - should("test postTimetableImport") { - // uncomment below to test postTimetableImport - //val postTimetableImportRequest : PostTimetableImportRequest = // PostTimetableImportRequest | - //val result : PostDoorlockDevicesByIdUpdate200Response = apiInstance.postTimetableImport(postTimetableImportRequest) - //result shouldBe ("TODO") - } - - // to test postTimetableTimetablesCleanupOrphanedCohorts - should("test postTimetableTimetablesCleanupOrphanedCohorts") { - // uncomment below to test postTimetableTimetablesCleanupOrphanedCohorts - //val result : PostTimetableTimetablesCleanupOrphanedCohorts200Response = apiInstance.postTimetableTimetablesCleanupOrphanedCohorts() - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt deleted file mode 100644 index 09d5c30..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/UsersApiTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.UsersApi -import hu.petrik.filcapp.api.model.GetUsers200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PatchUsersById200Response -import hu.petrik.filcapp.api.model.PatchUsersByIdRequest - -class UsersApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of UsersApi - //val apiInstance = UsersApi() - - // to test getUsers - should("test getUsers") { - // uncomment below to test getUsers - //val limit : kotlin.Double = 8.14 // kotlin.Double | - //val offset : kotlin.Double = 8.14 // kotlin.Double | - //val role : kotlin.String = role_example // kotlin.String | - //val search : kotlin.String = search_example // kotlin.String | - //val result : GetUsers200Response = apiInstance.getUsers(limit, offset, role, search) - //result shouldBe ("TODO") - } - - // to test patchUsersById - should("test patchUsersById") { - // uncomment below to test patchUsersById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val patchUsersByIdRequest : PatchUsersByIdRequest = // PatchUsersByIdRequest | - //val result : PatchUsersById200Response = apiInstance.patchUsersById(id, patchUsersByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt deleted file mode 100644 index 4c552eb..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/client/WiFiApiTest.kt +++ /dev/null @@ -1,313 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.client - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.client.WiFiApi -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response -import hu.petrik.filcapp.api.model.GetWifiAuthLogs200Response -import hu.petrik.filcapp.api.model.GetWifiDevices200Response -import hu.petrik.filcapp.api.model.GetWifiNas200Response -import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200Response -import hu.petrik.filcapp.api.model.GetWifiSelf200Response -import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200Response -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200Response -import hu.petrik.filcapp.api.model.GetWifiStatus200Response -import hu.petrik.filcapp.api.model.GetWifiUsers200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response -import hu.petrik.filcapp.api.model.PostWifiDevices201Response -import hu.petrik.filcapp.api.model.PostWifiDevicesRequest -import hu.petrik.filcapp.api.model.PostWifiNas201Response -import hu.petrik.filcapp.api.model.PostWifiNasRequest -import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorize200Response -import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorizeRequest -import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfiles201Response -import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfilesRequest -import hu.petrik.filcapp.api.model.PostWifiSelf201Response -import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner -import hu.petrik.filcapp.api.model.PostWifiSelfRequest -import hu.petrik.filcapp.api.model.PostWifiSpeedProfiles201Response -import hu.petrik.filcapp.api.model.PostWifiSpeedProfilesRequest -import hu.petrik.filcapp.api.model.PostWifiUsers201Response -import hu.petrik.filcapp.api.model.PostWifiUsersRequest -import hu.petrik.filcapp.api.model.PutWifiDevicesByIdRequest -import hu.petrik.filcapp.api.model.PutWifiNasByIdRequest -import hu.petrik.filcapp.api.model.PutWifiRoleSpeedProfilesByIdRequest -import hu.petrik.filcapp.api.model.PutWifiSelfDevicesByIdRequest -import hu.petrik.filcapp.api.model.PutWifiSelfPassword200Response -import hu.petrik.filcapp.api.model.PutWifiSelfPasswordRequest -import hu.petrik.filcapp.api.model.PutWifiSpeedProfilesByIdRequest -import hu.petrik.filcapp.api.model.PutWifiUsersByIdRequest - -class WiFiApiTest : ShouldSpec() { - init { - // uncomment below to create an instance of WiFiApi - //val apiInstance = WiFiApi() - - // to test deleteWifiDevicesById - should("test deleteWifiDevicesById") { - // uncomment below to test deleteWifiDevicesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiDevicesById(id) - //result shouldBe ("TODO") - } - - // to test deleteWifiNasById - should("test deleteWifiNasById") { - // uncomment below to test deleteWifiNasById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiNasById(id) - //result shouldBe ("TODO") - } - - // to test deleteWifiRoleSpeedProfilesById - should("test deleteWifiRoleSpeedProfilesById") { - // uncomment below to test deleteWifiRoleSpeedProfilesById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteWifiRoleSpeedProfilesById(id) - //result shouldBe ("TODO") - } - - // to test deleteWifiSpeedProfilesById - should("test deleteWifiSpeedProfilesById") { - // uncomment below to test deleteWifiSpeedProfilesById - //val id : kotlin.String = id_example // kotlin.String | - //val result : DeleteNavigatorBuildingsById200Response = apiInstance.deleteWifiSpeedProfilesById(id) - //result shouldBe ("TODO") - } - - // to test deleteWifiUsersById - should("test deleteWifiUsersById") { - // uncomment below to test deleteWifiUsersById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : DeleteAdminApiKeysByKeyId200Response = apiInstance.deleteWifiUsersById(id) - //result shouldBe ("TODO") - } - - // to test getWifiAuthLogs - should("test getWifiAuthLogs") { - // uncomment below to test getWifiAuthLogs - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val search : kotlin.String = search_example // kotlin.String | - //val failureReason : kotlin.String = failureReason_example // kotlin.String | - //val result : kotlin.String = result_example // kotlin.String | - //val result : GetWifiAuthLogs200Response = apiInstance.getWifiAuthLogs(limit, offset, search, failureReason, result) - //result shouldBe ("TODO") - } - - // to test getWifiDevices - should("test getWifiDevices") { - // uncomment below to test getWifiDevices - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val search : kotlin.String = search_example // kotlin.String | - //val wifiUserId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val result : GetWifiDevices200Response = apiInstance.getWifiDevices(limit, offset, search, wifiUserId) - //result shouldBe ("TODO") - } - - // to test getWifiNas - should("test getWifiNas") { - // uncomment below to test getWifiNas - //val result : GetWifiNas200Response = apiInstance.getWifiNas() - //result shouldBe ("TODO") - } - - // to test getWifiRoleSpeedProfiles - should("test getWifiRoleSpeedProfiles") { - // uncomment below to test getWifiRoleSpeedProfiles - //val result : GetWifiRoleSpeedProfiles200Response = apiInstance.getWifiRoleSpeedProfiles() - //result shouldBe ("TODO") - } - - // to test getWifiSelf - should("test getWifiSelf") { - // uncomment below to test getWifiSelf - //val result : GetWifiSelf200Response = apiInstance.getWifiSelf() - //result shouldBe ("TODO") - } - - // to test getWifiSelfCertificate - should("test getWifiSelfCertificate") { - // uncomment below to test getWifiSelfCertificate - //val result : kotlin.String = apiInstance.getWifiSelfCertificate() - //result shouldBe ("TODO") - } - - // to test getWifiSpeedProfiles - should("test getWifiSpeedProfiles") { - // uncomment below to test getWifiSpeedProfiles - //val result : GetWifiSpeedProfiles200Response = apiInstance.getWifiSpeedProfiles() - //result shouldBe ("TODO") - } - - // to test getWifiStatsOverview - should("test getWifiStatsOverview") { - // uncomment below to test getWifiStatsOverview - //val result : GetWifiStatsOverview200Response = apiInstance.getWifiStatsOverview() - //result shouldBe ("TODO") - } - - // to test getWifiStatus - should("test getWifiStatus") { - // uncomment below to test getWifiStatus - //val result : GetWifiStatus200Response = apiInstance.getWifiStatus() - //result shouldBe ("TODO") - } - - // to test getWifiUsers - should("test getWifiUsers") { - // uncomment below to test getWifiUsers - //val limit : kotlin.Int = 56 // kotlin.Int | - //val offset : kotlin.Int = 56 // kotlin.Int | - //val search : kotlin.String = search_example // kotlin.String | - //val result : GetWifiUsers200Response = apiInstance.getWifiUsers(limit, offset, search) - //result shouldBe ("TODO") - } - - // to test postWifiDevices - should("test postWifiDevices") { - // uncomment below to test postWifiDevices - //val postWifiDevicesRequest : PostWifiDevicesRequest = // PostWifiDevicesRequest | - //val result : PostWifiDevices201Response = apiInstance.postWifiDevices(postWifiDevicesRequest) - //result shouldBe ("TODO") - } - - // to test postWifiNas - should("test postWifiNas") { - // uncomment below to test postWifiNas - //val postWifiNasRequest : PostWifiNasRequest = // PostWifiNasRequest | - //val result : PostWifiNas201Response = apiInstance.postWifiNas(postWifiNasRequest) - //result shouldBe ("TODO") - } - - // to test postWifiRadiusAuthorize - should("test postWifiRadiusAuthorize") { - // uncomment below to test postWifiRadiusAuthorize - //val postWifiRadiusAuthorizeRequest : PostWifiRadiusAuthorizeRequest = // PostWifiRadiusAuthorizeRequest | - //val result : PostWifiRadiusAuthorize200Response = apiInstance.postWifiRadiusAuthorize(postWifiRadiusAuthorizeRequest) - //result shouldBe ("TODO") - } - - // to test postWifiRoleSpeedProfiles - should("test postWifiRoleSpeedProfiles") { - // uncomment below to test postWifiRoleSpeedProfiles - //val postWifiRoleSpeedProfilesRequest : PostWifiRoleSpeedProfilesRequest = // PostWifiRoleSpeedProfilesRequest | - //val result : PostWifiRoleSpeedProfiles201Response = apiInstance.postWifiRoleSpeedProfiles(postWifiRoleSpeedProfilesRequest) - //result shouldBe ("TODO") - } - - // to test postWifiSelf - should("test postWifiSelf") { - // uncomment below to test postWifiSelf - //val postWifiSelfRequest : PostWifiSelfRequest = // PostWifiSelfRequest | - //val result : PostWifiSelf201Response = apiInstance.postWifiSelf(postWifiSelfRequest) - //result shouldBe ("TODO") - } - - // to test postWifiSpeedProfiles - should("test postWifiSpeedProfiles") { - // uncomment below to test postWifiSpeedProfiles - //val postWifiSpeedProfilesRequest : PostWifiSpeedProfilesRequest = // PostWifiSpeedProfilesRequest | - //val result : PostWifiSpeedProfiles201Response = apiInstance.postWifiSpeedProfiles(postWifiSpeedProfilesRequest) - //result shouldBe ("TODO") - } - - // to test postWifiUsers - should("test postWifiUsers") { - // uncomment below to test postWifiUsers - //val postWifiUsersRequest : PostWifiUsersRequest = // PostWifiUsersRequest | - //val result : PostWifiUsers201Response = apiInstance.postWifiUsers(postWifiUsersRequest) - //result shouldBe ("TODO") - } - - // to test putWifiDevicesById - should("test putWifiDevicesById") { - // uncomment below to test putWifiDevicesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putWifiDevicesByIdRequest : PutWifiDevicesByIdRequest = // PutWifiDevicesByIdRequest | - //val result : PostWifiDevices201Response = apiInstance.putWifiDevicesById(id, putWifiDevicesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putWifiNasById - should("test putWifiNasById") { - // uncomment below to test putWifiNasById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putWifiNasByIdRequest : PutWifiNasByIdRequest = // PutWifiNasByIdRequest | - //val result : PostWifiNas201Response = apiInstance.putWifiNasById(id, putWifiNasByIdRequest) - //result shouldBe ("TODO") - } - - // to test putWifiRoleSpeedProfilesById - should("test putWifiRoleSpeedProfilesById") { - // uncomment below to test putWifiRoleSpeedProfilesById - //val id : kotlin.String = id_example // kotlin.String | - //val putWifiRoleSpeedProfilesByIdRequest : PutWifiRoleSpeedProfilesByIdRequest = // PutWifiRoleSpeedProfilesByIdRequest | - //val result : PostWifiRoleSpeedProfiles201Response = apiInstance.putWifiRoleSpeedProfilesById(id, putWifiRoleSpeedProfilesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putWifiSelfDevicesById - should("test putWifiSelfDevicesById") { - // uncomment below to test putWifiSelfDevicesById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putWifiSelfDevicesByIdRequest : PutWifiSelfDevicesByIdRequest = // PutWifiSelfDevicesByIdRequest | - //val result : PostWifiSelf201ResponseDevicesInner = apiInstance.putWifiSelfDevicesById(id, putWifiSelfDevicesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putWifiSelfPassword - should("test putWifiSelfPassword") { - // uncomment below to test putWifiSelfPassword - //val putWifiSelfPasswordRequest : PutWifiSelfPasswordRequest = // PutWifiSelfPasswordRequest | - //val result : PutWifiSelfPassword200Response = apiInstance.putWifiSelfPassword(putWifiSelfPasswordRequest) - //result shouldBe ("TODO") - } - - // to test putWifiSpeedProfilesById - should("test putWifiSpeedProfilesById") { - // uncomment below to test putWifiSpeedProfilesById - //val id : kotlin.String = id_example // kotlin.String | - //val putWifiSpeedProfilesByIdRequest : PutWifiSpeedProfilesByIdRequest = // PutWifiSpeedProfilesByIdRequest | - //val result : PostWifiSpeedProfiles201Response = apiInstance.putWifiSpeedProfilesById(id, putWifiSpeedProfilesByIdRequest) - //result shouldBe ("TODO") - } - - // to test putWifiUsersById - should("test putWifiUsersById") { - // uncomment below to test putWifiUsersById - //val id : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | - //val putWifiUsersByIdRequest : PutWifiUsersByIdRequest = // PutWifiUsersByIdRequest | - //val result : PostWifiUsers201Response = apiInstance.putWifiUsersById(id, putWifiUsersByIdRequest) - //result shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt deleted file mode 100644 index bede2e4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response - -class DeleteAdminApiKeysByKeyId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of DeleteAdminApiKeysByKeyId200Response - //val modelInstance = DeleteAdminApiKeysByKeyId200Response() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt deleted file mode 100644 index 2eb7bfb..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response - -class DeleteAdminApiKeysByKeyId400ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of DeleteAdminApiKeysByKeyId400Response - //val modelInstance = DeleteAdminApiKeysByKeyId400Response() - - // to test the property `code` - should("test code") { - // uncomment below to test the property - //modelInstance.code shouldBe ("TODO") - } - - // to test the property `message` - should("test message") { - // uncomment below to test the property - //modelInstance.message shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt deleted file mode 100644 index f86d90d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/DeleteNavigatorBuildingsById200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response - -class DeleteNavigatorBuildingsById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of DeleteNavigatorBuildingsById200Response - //val modelInstance = DeleteNavigatorBuildingsById200Response() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt deleted file mode 100644 index 267dcba..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetAdminApiKeys200ResponseItemsInner - -class GetAdminApiKeys200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetAdminApiKeys200ResponseItemsInner - //val modelInstance = GetAdminApiKeys200ResponseItemsInner() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `expiresAt` - should("test expiresAt") { - // uncomment below to test the property - //modelInstance.expiresAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastRequest` - should("test lastRequest") { - // uncomment below to test the property - //modelInstance.lastRequest shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `ownerEmail` - should("test ownerEmail") { - // uncomment below to test the property - //modelInstance.ownerEmail shouldBe ("TODO") - } - - // to test the property `ownerName` - should("test ownerName") { - // uncomment below to test the property - //modelInstance.ownerName shouldBe ("TODO") - } - - // to test the property `prefix` - should("test prefix") { - // uncomment below to test the property - //modelInstance.prefix shouldBe ("TODO") - } - - // to test the property `referenceId` - should("test referenceId") { - // uncomment below to test the property - //modelInstance.referenceId shouldBe ("TODO") - } - - // to test the property `requestCount` - should("test requestCount") { - // uncomment below to test the property - //modelInstance.requestCount shouldBe ("TODO") - } - - // to test the property `start` - should("test start") { - // uncomment below to test the property - //modelInstance.start shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt deleted file mode 100644 index 9c54e15..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetAdminApiKeys200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response -import hu.petrik.filcapp.api.model.GetAdminApiKeys200ResponseItemsInner - -class GetAdminApiKeys200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetAdminApiKeys200Response - //val modelInstance = GetAdminApiKeys200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt deleted file mode 100644 index e4c0190..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfInner -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan - -class GetBugReport200ResponseItemsInnerMetadataAnyOfInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadataAnyOfInner - //val modelInstance = GetBugReport200ResponseItemsInnerMetadataAnyOfInner() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt deleted file mode 100644 index a2b75ae..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan - -class GetBugReport200ResponseItemsInnerMetadataAnyOfValueTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadataAnyOfValue - //val modelInstance = GetBugReport200ResponseItemsInnerMetadataAnyOfValue() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt deleted file mode 100644 index a8d8c8f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataTest.kt +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadata -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfInner -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue - -class GetBugReport200ResponseItemsInnerMetadataTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetBugReport200ResponseItemsInnerMetadata - //val modelInstance = GetBugReport200ResponseItemsInnerMetadata() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt deleted file mode 100644 index 5fbea87..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,98 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadata - -class GetBugReport200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetBugReport200ResponseItemsInner - //val modelInstance = GetBugReport200ResponseItemsInner() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `metadata` - should("test metadata") { - // uncomment below to test the property - //modelInstance.metadata shouldBe ("TODO") - } - - // to test the property `page` - should("test page") { - // uncomment below to test the property - //modelInstance.page shouldBe ("TODO") - } - - // to test the property `reporterEmail` - should("test reporterEmail") { - // uncomment below to test the property - //modelInstance.reporterEmail shouldBe ("TODO") - } - - // to test the property `reporterId` - should("test reporterId") { - // uncomment below to test the property - //modelInstance.reporterId shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt deleted file mode 100644 index 2e677d7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetBugReport200Response -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInner - -class GetBugReport200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetBugReport200Response - //val modelInstance = GetBugReport200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt deleted file mode 100644 index 6925ad0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetCohort200ResponseItemsInner - -class GetCohort200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetCohort200ResponseItemsInner - //val modelInstance = GetCohort200ResponseItemsInner() - - // to test the property `classroomIds` - should("test classroomIds") { - // uncomment below to test the property - //modelInstance.classroomIds shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `teacherId` - should("test teacherId") { - // uncomment below to test the property - //modelInstance.teacherId shouldBe ("TODO") - } - - // to test the property `timetableId` - should("test timetableId") { - // uncomment below to test the property - //modelInstance.timetableId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt deleted file mode 100644 index 4557cd7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetCohort200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetCohort200Response -import hu.petrik.filcapp.api.model.GetCohort200ResponseItemsInner - -class GetCohort200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetCohort200Response - //val modelInstance = GetCohort200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt deleted file mode 100644 index ce37870..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStatsChartDataInner - -class GetDashboardStats200ResponseStatsChartDataInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDashboardStats200ResponseStatsChartDataInner - //val modelInstance = GetDashboardStats200ResponseStatsChartDataInner() - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `movedLessons` - should("test movedLessons") { - // uncomment below to test the property - //modelInstance.movedLessons shouldBe ("TODO") - } - - // to test the property `substitutions` - should("test substitutions") { - // uncomment below to test the property - //modelInstance.substitutions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt deleted file mode 100644 index a52ebd2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsTest.kt +++ /dev/null @@ -1,86 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStats -import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStatsChartDataInner - -class GetDashboardStats200ResponseStatsTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDashboardStats200ResponseStats - //val modelInstance = GetDashboardStats200ResponseStats() - - // to test the property `chartData` - should("test chartData") { - // uncomment below to test the property - //modelInstance.chartData shouldBe ("TODO") - } - - // to test the property `chartTotalMovedLessons` - should("test chartTotalMovedLessons") { - // uncomment below to test the property - //modelInstance.chartTotalMovedLessons shouldBe ("TODO") - } - - // to test the property `chartTotalSubstitutions` - should("test chartTotalSubstitutions") { - // uncomment below to test the property - //modelInstance.chartTotalSubstitutions shouldBe ("TODO") - } - - // to test the property `totalCohorts` - should("test totalCohorts") { - // uncomment below to test the property - //modelInstance.totalCohorts shouldBe ("TODO") - } - - // to test the property `totalMovedLessons` - should("test totalMovedLessons") { - // uncomment below to test the property - //modelInstance.totalMovedLessons shouldBe ("TODO") - } - - // to test the property `totalRoles` - should("test totalRoles") { - // uncomment below to test the property - //modelInstance.totalRoles shouldBe ("TODO") - } - - // to test the property `totalSubstitutions` - should("test totalSubstitutions") { - // uncomment below to test the property - //modelInstance.totalSubstitutions shouldBe ("TODO") - } - - // to test the property `totalUsers` - should("test totalUsers") { - // uncomment below to test the property - //modelInstance.totalUsers shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt deleted file mode 100644 index 9c41338..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseTest.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDashboardStats200Response -import hu.petrik.filcapp.api.model.GetDashboardStats200ResponseStats - -class GetDashboardStats200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDashboardStats200Response - //val modelInstance = GetDashboardStats200Response() - - // to test the property `stats` - should("test stats") { - // uncomment below to test the property - //modelInstance.stats shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt deleted file mode 100644 index 1ed307d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner - -class GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner - //val modelInstance = GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt deleted file mode 100644 index e307711..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerOwnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner - -class GetDoorlockCards200ResponseItemsInnerOwnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInnerOwner - //val modelInstance = GetDoorlockCards200ResponseItemsInnerOwner() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt deleted file mode 100644 index 2da644b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner - -class GetDoorlockCards200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCards200ResponseItemsInner - //val modelInstance = GetDoorlockCards200ResponseItemsInner() - - // to test the property `authorizedDevices` - should("test authorizedDevices") { - // uncomment below to test the property - //modelInstance.authorizedDevices shouldBe ("TODO") - } - - // to test the property `cardData` - should("test cardData") { - // uncomment below to test the property - //modelInstance.cardData shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `frozen` - should("test frozen") { - // uncomment below to test the property - //modelInstance.frozen shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `owner` - should("test owner") { - // uncomment below to test the property - //modelInstance.owner shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt deleted file mode 100644 index 4fdcccd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCards200Response -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInner - -class GetDoorlockCards200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCards200Response - //val modelInstance = GetDoorlockCards200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt deleted file mode 100644 index 7b2b48a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200ResponseItemsInner - -class GetDoorlockCardsUsers200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCardsUsers200ResponseItemsInner - //val modelInstance = GetDoorlockCardsUsers200ResponseItemsInner() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt deleted file mode 100644 index 23c4e70..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCardsUsers200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200Response -import hu.petrik.filcapp.api.model.GetDoorlockCardsUsers200ResponseItemsInner - -class GetDoorlockCardsUsers200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockCardsUsers200Response - //val modelInstance = GetDoorlockCardsUsers200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt deleted file mode 100644 index 371382f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevices200ResponseItemsInner - -class GetDoorlockDevices200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevices200ResponseItemsInner - //val modelInstance = GetDoorlockDevices200ResponseItemsInner() - - // to test the property `apiToken` - should("test apiToken") { - // uncomment below to test the property - //modelInstance.apiToken shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastResetReason` - should("test lastResetReason") { - // uncomment below to test the property - //modelInstance.lastResetReason shouldBe ("TODO") - } - - // to test the property `location` - should("test location") { - // uncomment below to test the property - //modelInstance.location shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt deleted file mode 100644 index d8f7255..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevices200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevices200Response -import hu.petrik.filcapp.api.model.GetDoorlockDevices200ResponseItemsInner - -class GetDoorlockDevices200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevices200Response - //val modelInstance = GetDoorlockDevices200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt deleted file mode 100644 index a6212ec..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors - -class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrorsTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors - //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors() - - // to test the property `db` - should("test db") { - // uncomment below to test the property - //modelInstance.db shouldBe ("TODO") - } - - // to test the property `nfc` - should("test nfc") { - // uncomment below to test the property - //modelInstance.nfc shouldBe ("TODO") - } - - // to test the property `ota` - should("test ota") { - // uncomment below to test the property - //modelInstance.ota shouldBe ("TODO") - } - - // to test the property `sd` - should("test sd") { - // uncomment below to test the property - //modelInstance.sd shouldBe ("TODO") - } - - // to test the property `wifi` - should("test wifi") { - // uncomment below to test the property - //modelInstance.wifi shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt deleted file mode 100644 index 5c2d963..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugErrors - -class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebugTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug - //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug() - - // to test the property `deviceState` - should("test deviceState") { - // uncomment below to test the property - //modelInstance.deviceState shouldBe ("TODO") - } - - // to test the property `errors` - should("test errors") { - // uncomment below to test the property - //modelInstance.errors shouldBe ("TODO") - } - - // to test the property `lastResetReason` - should("test lastResetReason") { - // uncomment below to test the property - //modelInstance.lastResetReason shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt deleted file mode 100644 index 6f9e5c0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage - -class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorageTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage - //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage() - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - // to test the property `used` - should("test used") { - // uncomment below to test the property - //modelInstance.used shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt deleted file mode 100644 index 7d347fe..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest.kt +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaDebug -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaStorage - -class GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMetaTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta - //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta() - - // to test the property `debug` - should("test debug") { - // uncomment below to test the property - //modelInstance.debug shouldBe ("TODO") - } - - // to test the property `fwVersion` - should("test fwVersion") { - // uncomment below to test the property - //modelInstance.fwVersion shouldBe ("TODO") - } - - // to test the property `ramFree` - should("test ramFree") { - // uncomment below to test the property - //modelInstance.ramFree shouldBe ("TODO") - } - - // to test the property `storage` - should("test storage") { - // uncomment below to test the property - //modelInstance.storage shouldBe ("TODO") - } - - // to test the property `uptime` - should("test uptime") { - // uncomment below to test the property - //modelInstance.uptime shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt deleted file mode 100644 index 007ed10..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseStatsInnerTest.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInner -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInnerDeviceMeta - -class GetDoorlockDevicesByIdStats200ResponseStatsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200ResponseStatsInner - //val modelInstance = GetDoorlockDevicesByIdStats200ResponseStatsInner() - - // to test the property `deviceMeta` - should("test deviceMeta") { - // uncomment below to test the property - //modelInstance.deviceMeta shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `timestamp` - should("test timestamp") { - // uncomment below to test the property - //modelInstance.timestamp shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt deleted file mode 100644 index 06483f5..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockDevicesByIdStats200ResponseTest.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200Response -import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200ResponseStatsInner - -class GetDoorlockDevicesByIdStats200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockDevicesByIdStats200Response - //val modelInstance = GetDoorlockDevicesByIdStats200Response() - - // to test the property `stats` - should("test stats") { - // uncomment below to test the property - //modelInstance.stats shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt deleted file mode 100644 index f2da161..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerCardTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard - -class GetDoorlockLogs200ResponseItemsInnerCardTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockLogs200ResponseItemsInnerCard - //val modelInstance = GetDoorlockLogs200ResponseItemsInnerCard() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt deleted file mode 100644 index a5c4d8e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,105 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard -import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner - -class GetDoorlockLogs200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockLogs200ResponseItemsInner - //val modelInstance = GetDoorlockLogs200ResponseItemsInner() - - // to test the property `buttonPressed` - should("test buttonPressed") { - // uncomment below to test the property - //modelInstance.buttonPressed shouldBe ("TODO") - } - - // to test the property `cardData` - should("test cardData") { - // uncomment below to test the property - //modelInstance.cardData shouldBe ("TODO") - } - - // to test the property `cardId` - should("test cardId") { - // uncomment below to test the property - //modelInstance.cardId shouldBe ("TODO") - } - - // to test the property `deviceId` - should("test deviceId") { - // uncomment below to test the property - //modelInstance.deviceId shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `result` - should("test result") { - // uncomment below to test the property - //modelInstance.result shouldBe ("TODO") - } - - // to test the property `timestamp` - should("test timestamp") { - // uncomment below to test the property - //modelInstance.timestamp shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `card` - should("test card") { - // uncomment below to test the property - //modelInstance.card shouldBe ("TODO") - } - - // to test the property `device` - should("test device") { - // uncomment below to test the property - //modelInstance.device shouldBe ("TODO") - } - - // to test the property `owner` - should("test owner") { - // uncomment below to test the property - //modelInstance.owner shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt deleted file mode 100644 index 1a30cb7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockLogs200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockLogs200Response -import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInner - -class GetDoorlockLogs200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockLogs200Response - //val modelInstance = GetDoorlockLogs200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt deleted file mode 100644 index d3602c2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner - -class GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner - //val modelInstance = GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner() - - // to test the property `count` - should("test count") { - // uncomment below to test the property - //modelInstance.count shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt deleted file mode 100644 index f7986fa..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTest.kt +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStats -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsDoorOpenSeriesInner -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsTopUsersInner - -class GetDoorlockStatsOverview200ResponseStatsTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStats - //val modelInstance = GetDoorlockStatsOverview200ResponseStats() - - // to test the property `doorOpenSeries` - should("test doorOpenSeries") { - // uncomment below to test the property - //modelInstance.doorOpenSeries shouldBe ("TODO") - } - - // to test the property `topUsers` - should("test topUsers") { - // uncomment below to test the property - //modelInstance.topUsers shouldBe ("TODO") - } - - // to test the property `totalCards` - should("test totalCards") { - // uncomment below to test the property - //modelInstance.totalCards shouldBe ("TODO") - } - - // to test the property `totalDevices` - should("test totalDevices") { - // uncomment below to test the property - //modelInstance.totalDevices shouldBe ("TODO") - } - - // to test the property `totalSuccessfulOpens` - should("test totalSuccessfulOpens") { - // uncomment below to test the property - //modelInstance.totalSuccessfulOpens shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt deleted file mode 100644 index 46f177f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStatsTopUsersInner - -class GetDoorlockStatsOverview200ResponseStatsTopUsersInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockStatsOverview200ResponseStatsTopUsersInner - //val modelInstance = GetDoorlockStatsOverview200ResponseStatsTopUsersInner() - - // to test the property `count` - should("test count") { - // uncomment below to test the property - //modelInstance.count shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt deleted file mode 100644 index 0c47675..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetDoorlockStatsOverview200ResponseTest.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200Response -import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200ResponseStats - -class GetDoorlockStatsOverview200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetDoorlockStatsOverview200Response - //val modelInstance = GetDoorlockStatsOverview200Response() - - // to test the property `stats` - should("test stats") { - // uncomment below to test the property - //modelInstance.stats shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt deleted file mode 100644 index 3474b21..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetHealth200ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetHealth200Response - -class GetHealth200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetHealth200Response - //val modelInstance = GetHealth200Response() - - // to test the property `database` - should("test database") { - // uncomment below to test the property - //modelInstance.database shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt deleted file mode 100644 index 38b09a0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,104 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKiosk200ResponseItemsInner -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetKiosk200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKiosk200ResponseItemsInner - //val modelInstance = GetKiosk200ResponseItemsInner() - - // to test the property `appVersion` - should("test appVersion") { - // uncomment below to test the property - //modelInstance.appVersion shouldBe ("TODO") - } - - // to test the property `config` - should("test config") { - // uncomment below to test the property - //modelInstance.config shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `lastSeenAt` - should("test lastSeenAt") { - // uncomment below to test the property - //modelInstance.lastSeenAt shouldBe ("TODO") - } - - // to test the property `lastSeenIp` - should("test lastSeenIp") { - // uncomment below to test the property - //modelInstance.lastSeenIp shouldBe ("TODO") - } - - // to test the property `machineId` - should("test machineId") { - // uncomment below to test the property - //modelInstance.machineId shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt deleted file mode 100644 index e0bfa4d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKiosk200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKiosk200Response -import hu.petrik.filcapp.api.model.GetKiosk200ResponseItemsInner - -class GetKiosk200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKiosk200Response - //val modelInstance = GetKiosk200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt deleted file mode 100644 index 785e4ad..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,85 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKioskNews200ResponseItemsInner - -class GetKioskNews200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKioskNews200ResponseItemsInner - //val modelInstance = GetKioskNews200ResponseItemsInner() - - // to test the property `body` - should("test body") { - // uncomment below to test the property - //modelInstance.body shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `imageVersion` - should("test imageVersion") { - // uncomment below to test the property - //modelInstance.imageVersion shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt deleted file mode 100644 index fe0f248..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskNews200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKioskNews200Response -import hu.petrik.filcapp.api.model.GetKioskNews200ResponseItemsInner - -class GetKioskNews200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKioskNews200Response - //val modelInstance = GetKioskNews200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt deleted file mode 100644 index 0c4a3a6..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKioskPetrikNews200ResponseItemsInner - -class GetKioskPetrikNews200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKioskPetrikNews200ResponseItemsInner - //val modelInstance = GetKioskPetrikNews200ResponseItemsInner() - - // to test the property `body` - should("test body") { - // uncomment below to test the property - //modelInstance.body shouldBe ("TODO") - } - - // to test the property `imageUrl` - should("test imageUrl") { - // uncomment below to test the property - //modelInstance.imageUrl shouldBe ("TODO") - } - - // to test the property `publishedAt` - should("test publishedAt") { - // uncomment below to test the property - //modelInstance.publishedAt shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `url` - should("test url") { - // uncomment below to test the property - //modelInstance.url shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt deleted file mode 100644 index a16e266..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskPetrikNews200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKioskPetrikNews200Response -import hu.petrik.filcapp.api.model.GetKioskPetrikNews200ResponseItemsInner - -class GetKioskPetrikNews200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKioskPetrikNews200Response - //val modelInstance = GetKioskPetrikNews200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt deleted file mode 100644 index 881c514..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetKioskWeather200ResponseTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetKioskWeather200Response - -class GetKioskWeather200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetKioskWeather200Response - //val modelInstance = GetKioskWeather200Response() - - // to test the property `icon` - should("test icon") { - // uncomment below to test the property - //modelInstance.icon shouldBe ("TODO") - } - - // to test the property `precipMm` - should("test precipMm") { - // uncomment below to test the property - //modelInstance.precipMm shouldBe ("TODO") - } - - // to test the property `tempC` - should("test tempC") { - // uncomment below to test the property - //modelInstance.tempC shouldBe ("TODO") - } - - // to test the property `windKph` - should("test windKph") { - // uncomment below to test the property - //modelInstance.windKph shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt deleted file mode 100644 index 83271be..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorBuildings200ResponseItemsInner - -class GetNavigatorBuildings200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorBuildings200ResponseItemsInner - //val modelInstance = GetNavigatorBuildings200ResponseItemsInner() - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `mapped` - should("test mapped") { - // uncomment below to test the property - //modelInstance.mapped shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt deleted file mode 100644 index 8a69b27..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorBuildings200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response -import hu.petrik.filcapp.api.model.GetNavigatorBuildings200ResponseItemsInner - -class GetNavigatorBuildings200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorBuildings200Response - //val modelInstance = GetNavigatorBuildings200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt deleted file mode 100644 index c80049f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200ResponseItemsInner - -class GetNavigatorClassroomTypes200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorClassroomTypes200ResponseItemsInner - //val modelInstance = GetNavigatorClassroomTypes200ResponseItemsInner() - - // to test the property `colorhex` - should("test colorhex") { - // uncomment below to test the property - //modelInstance.colorhex shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt deleted file mode 100644 index 6e21a10..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassroomTypes200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response -import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200ResponseItemsInner - -class GetNavigatorClassroomTypes200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorClassroomTypes200Response - //val modelInstance = GetNavigatorClassroomTypes200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt deleted file mode 100644 index 86cdd30..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,127 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200ResponseItemsInner - -class GetNavigatorClassrooms200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorClassrooms200ResponseItemsInner - //val modelInstance = GetNavigatorClassrooms200ResponseItemsInner() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `capacity` - should("test capacity") { - // uncomment below to test the property - //modelInstance.capacity shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `mapped` - should("test mapped") { - // uncomment below to test the property - //modelInstance.mapped shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `sizeX` - should("test sizeX") { - // uncomment below to test the property - //modelInstance.sizeX shouldBe ("TODO") - } - - // to test the property `sizeY` - should("test sizeY") { - // uncomment below to test the property - //modelInstance.sizeY shouldBe ("TODO") - } - - // to test the property `sizeZ` - should("test sizeZ") { - // uncomment below to test the property - //modelInstance.sizeZ shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `typeId` - should("test typeId") { - // uncomment below to test the property - //modelInstance.typeId shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt deleted file mode 100644 index bfea035..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorClassrooms200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response -import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200ResponseItemsInner - -class GetNavigatorClassrooms200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorClassrooms200Response - //val modelInstance = GetNavigatorClassrooms200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt deleted file mode 100644 index f0eb151..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorCorridors200ResponseItemsInner - -class GetNavigatorCorridors200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorCorridors200ResponseItemsInner - //val modelInstance = GetNavigatorCorridors200ResponseItemsInner() - - // to test the property `barrierFree` - should("test barrierFree") { - // uncomment below to test the property - //modelInstance.barrierFree shouldBe ("TODO") - } - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `isOutdoor` - should("test isOutdoor") { - // uncomment below to test the property - //modelInstance.isOutdoor shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `width` - should("test width") { - // uncomment below to test the property - //modelInstance.width shouldBe ("TODO") - } - - // to test the property `x1` - should("test x1") { - // uncomment below to test the property - //modelInstance.x1 shouldBe ("TODO") - } - - // to test the property `x2` - should("test x2") { - // uncomment below to test the property - //modelInstance.x2 shouldBe ("TODO") - } - - // to test the property `y1` - should("test y1") { - // uncomment below to test the property - //modelInstance.y1 shouldBe ("TODO") - } - - // to test the property `y2` - should("test y2") { - // uncomment below to test the property - //modelInstance.y2 shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt deleted file mode 100644 index 61e1a64..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorCorridors200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorCorridors200Response -import hu.petrik.filcapp.api.model.GetNavigatorCorridors200ResponseItemsInner - -class GetNavigatorCorridors200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorCorridors200Response - //val modelInstance = GetNavigatorCorridors200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt deleted file mode 100644 index 30e4216..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseLiftsInnerTest.kt +++ /dev/null @@ -1,91 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseLiftsInner - -class GetNavigatorGraph200ResponseLiftsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorGraph200ResponseLiftsInner - //val modelInstance = GetNavigatorGraph200ResponseLiftsInner() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt deleted file mode 100644 index 65da3fa..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseStairsInnerTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseStairsInner - -class GetNavigatorGraph200ResponseStairsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorGraph200ResponseStairsInner - //val modelInstance = GetNavigatorGraph200ResponseStairsInner() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt deleted file mode 100644 index ce62666..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorGraph200ResponseTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorGraph200Response -import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseLiftsInner -import hu.petrik.filcapp.api.model.GetNavigatorGraph200ResponseStairsInner -import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response -import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response -import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response -import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response - -class GetNavigatorGraph200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorGraph200Response - //val modelInstance = GetNavigatorGraph200Response() - - // to test the property `buildings` - should("test buildings") { - // uncomment below to test the property - //modelInstance.buildings shouldBe ("TODO") - } - - // to test the property `classroomTypes` - should("test classroomTypes") { - // uncomment below to test the property - //modelInstance.classroomTypes shouldBe ("TODO") - } - - // to test the property `classrooms` - should("test classrooms") { - // uncomment below to test the property - //modelInstance.classrooms shouldBe ("TODO") - } - - // to test the property `corridors` - should("test corridors") { - // uncomment below to test the property - //modelInstance.corridors shouldBe ("TODO") - } - - // to test the property `lifts` - should("test lifts") { - // uncomment below to test the property - //modelInstance.lifts shouldBe ("TODO") - } - - // to test the property `stairs` - should("test stairs") { - // uncomment below to test the property - //modelInstance.stairs shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt deleted file mode 100644 index fe7a69c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,91 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner - -class GetNavigatorLifts200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorLifts200ResponseItemsInner - //val modelInstance = GetNavigatorLifts200ResponseItemsInner() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt deleted file mode 100644 index 6cad36a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorLifts200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorLifts200Response -import hu.petrik.filcapp.api.model.GetNavigatorLifts200ResponseItemsInner - -class GetNavigatorLifts200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorLifts200Response - //val modelInstance = GetNavigatorLifts200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt deleted file mode 100644 index f45dd6e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner - -class GetNavigatorStairs200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorStairs200ResponseItemsInner - //val modelInstance = GetNavigatorStairs200ResponseItemsInner() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt deleted file mode 100644 index b5873c7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorStairs200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorStairs200Response -import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner - -class GetNavigatorStairs200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorStairs200Response - //val modelInstance = GetNavigatorStairs200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt deleted file mode 100644 index 14faf47..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorTranslations200ResponseItemsInner - -class GetNavigatorTranslations200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorTranslations200ResponseItemsInner - //val modelInstance = GetNavigatorTranslations200ResponseItemsInner() - - // to test the property `langKey` - should("test langKey") { - // uncomment below to test the property - //modelInstance.langKey shouldBe ("TODO") - } - - // to test the property `text` - should("test text") { - // uncomment below to test the property - //modelInstance.text shouldBe ("TODO") - } - - // to test the property `textKey` - should("test textKey") { - // uncomment below to test the property - //modelInstance.textKey shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt deleted file mode 100644 index 904edd2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslations200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorTranslations200Response -import hu.petrik.filcapp.api.model.GetNavigatorTranslations200ResponseItemsInner - -class GetNavigatorTranslations200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorTranslations200Response - //val modelInstance = GetNavigatorTranslations200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt deleted file mode 100644 index 19f69cc..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNavigatorTranslationsAvailable200ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response - -class GetNavigatorTranslationsAvailable200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNavigatorTranslationsAvailable200Response - //val modelInstance = GetNavigatorTranslationsAvailable200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt deleted file mode 100644 index 4ecde53..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerAuthorTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInnerAuthor - -class GetNewsAnnouncements200ResponseItemsInnerAuthorTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsAnnouncements200ResponseItemsInnerAuthor - //val modelInstance = GetNewsAnnouncements200ResponseItemsInnerAuthor() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `image` - should("test image") { - // uncomment below to test the property - //modelInstance.image shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt deleted file mode 100644 index 4584ec4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,141 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInnerAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsAnnouncements200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsAnnouncements200ResponseItemsInner - //val modelInstance = GetNewsAnnouncements200ResponseItemsInner() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `imageByteSize` - should("test imageByteSize") { - // uncomment below to test the property - //modelInstance.imageByteSize shouldBe ("TODO") - } - - // to test the property `imageContentType` - should("test imageContentType") { - // uncomment below to test the property - //modelInstance.imageContentType shouldBe ("TODO") - } - - // to test the property `imageKey` - should("test imageKey") { - // uncomment below to test the property - //modelInstance.imageKey shouldBe ("TODO") - } - - // to test the property `imageUpdatedAt` - should("test imageUpdatedAt") { - // uncomment below to test the property - //modelInstance.imageUpdatedAt shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt deleted file mode 100644 index c993eb4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncements200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncements200ResponseItemsInner - -class GetNewsAnnouncements200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsAnnouncements200Response - //val modelInstance = GetNewsAnnouncements200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt deleted file mode 100644 index 763e2c3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseAuthorTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor - -class GetNewsAnnouncementsById200ResponseAuthorTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsAnnouncementsById200ResponseAuthor - //val modelInstance = GetNewsAnnouncementsById200ResponseAuthor() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `image` - should("test image") { - // uncomment below to test the property - //modelInstance.image shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt deleted file mode 100644 index 7e0833e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsAnnouncementsById200ResponseTest.kt +++ /dev/null @@ -1,141 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsAnnouncementsById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsAnnouncementsById200Response - //val modelInstance = GetNewsAnnouncementsById200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `imageByteSize` - should("test imageByteSize") { - // uncomment below to test the property - //modelInstance.imageByteSize shouldBe ("TODO") - } - - // to test the property `imageContentType` - should("test imageContentType") { - // uncomment below to test the property - //modelInstance.imageContentType shouldBe ("TODO") - } - - // to test the property `imageKey` - should("test imageKey") { - // uncomment below to test the property - //modelInstance.imageKey shouldBe ("TODO") - } - - // to test the property `imageUpdatedAt` - should("test imageUpdatedAt") { - // uncomment below to test the property - //modelInstance.imageUpdatedAt shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt deleted file mode 100644 index 4c40b65..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsBlogs200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsBlogs200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsBlogs200ResponseItemsInner - //val modelInstance = GetNewsBlogs200ResponseItemsInner() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `publishedAt` - should("test publishedAt") { - // uncomment below to test the property - //modelInstance.publishedAt shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt deleted file mode 100644 index 56c36c9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogs200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsBlogs200Response -import hu.petrik.filcapp.api.model.GetNewsBlogs200ResponseItemsInner - -class GetNewsBlogs200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsBlogs200Response - //val modelInstance = GetNewsBlogs200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt deleted file mode 100644 index dba453f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsBlogsBySlug200ResponseTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsBlogsBySlug200Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsBlogsBySlug200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsBlogsBySlug200Response - //val modelInstance = GetNewsBlogsBySlug200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `publishedAt` - should("test publishedAt") { - // uncomment below to test the property - //modelInstance.publishedAt shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt deleted file mode 100644 index d56f73e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsSystemMessages200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsSystemMessages200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsSystemMessages200ResponseItemsInner - //val modelInstance = GetNewsSystemMessages200ResponseItemsInner() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt deleted file mode 100644 index 0bf30a8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessages200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response -import hu.petrik.filcapp.api.model.GetNewsSystemMessages200ResponseItemsInner - -class GetNewsSystemMessages200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsSystemMessages200Response - //val modelInstance = GetNewsSystemMessages200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt deleted file mode 100644 index 9509625..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNewsSystemMessagesById200ResponseTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNewsSystemMessagesById200Response -import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200ResponseAuthor -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class GetNewsSystemMessagesById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNewsSystemMessagesById200Response - //val modelInstance = GetNewsSystemMessagesById200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `author` - should("test author") { - // uncomment below to test the property - //modelInstance.author shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt deleted file mode 100644 index 4db28d2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,85 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInner - -class GetNotifications200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNotifications200ResponseItemsInner - //val modelInstance = GetNotifications200ResponseItemsInner() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `metadata` - should("test metadata") { - // uncomment below to test the property - //modelInstance.metadata shouldBe ("TODO") - } - - // to test the property `read` - should("test read") { - // uncomment below to test the property - //modelInstance.read shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt deleted file mode 100644 index 59bf0f1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNotifications200Response -import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInner - -class GetNotifications200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNotifications200Response - //val modelInstance = GetNotifications200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt deleted file mode 100644 index 4b4d549..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferencesTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNotificationsSettings200ResponseNotificationPreferences - -class GetNotificationsSettings200ResponseNotificationPreferencesTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNotificationsSettings200ResponseNotificationPreferences - //val modelInstance = GetNotificationsSettings200ResponseNotificationPreferences() - - // to test the property `announcement` - should("test announcement") { - // uncomment below to test the property - //modelInstance.announcement shouldBe ("TODO") - } - - // to test the property `blogPost` - should("test blogPost") { - // uncomment below to test the property - //modelInstance.blogPost shouldBe ("TODO") - } - - // to test the property `channelsEnabled` - should("test channelsEnabled") { - // uncomment below to test the property - //modelInstance.channelsEnabled shouldBe ("TODO") - } - - // to test the property `doorlockCardUsed` - should("test doorlockCardUsed") { - // uncomment below to test the property - //modelInstance.doorlockCardUsed shouldBe ("TODO") - } - - // to test the property `movedLesson` - should("test movedLesson") { - // uncomment below to test the property - //modelInstance.movedLesson shouldBe ("TODO") - } - - // to test the property `substitution` - should("test substitution") { - // uncomment below to test the property - //modelInstance.substitution shouldBe ("TODO") - } - - // to test the property `systemMessage` - should("test systemMessage") { - // uncomment below to test the property - //modelInstance.systemMessage shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt deleted file mode 100644 index 7c45702..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseTest.kt +++ /dev/null @@ -1,98 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response -import hu.petrik.filcapp.api.model.GetNotificationsSettings200ResponseNotificationPreferences - -class GetNotificationsSettings200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNotificationsSettings200Response - //val modelInstance = GetNotificationsSettings200Response() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `language` - should("test language") { - // uncomment below to test the property - //modelInstance.language shouldBe ("TODO") - } - - // to test the property `notificationPreferences` - should("test notificationPreferences") { - // uncomment below to test the property - //modelInstance.notificationPreferences shouldBe ("TODO") - } - - // to test the property `theme` - should("test theme") { - // uncomment below to test the property - //modelInstance.theme shouldBe ("TODO") - } - - // to test the property `timetableClassColors` - should("test timetableClassColors") { - // uncomment below to test the property - //modelInstance.timetableClassColors shouldBe ("TODO") - } - - // to test the property `timetableGroupDisplay` - should("test timetableGroupDisplay") { - // uncomment below to test the property - //modelInstance.timetableGroupDisplay shouldBe ("TODO") - } - - // to test the property `timetableView` - should("test timetableView") { - // uncomment below to test the property - //modelInstance.timetableView shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt deleted file mode 100644 index 43d6cc2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetNotificationsUnreadCount200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response - -class GetNotificationsUnreadCount200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetNotificationsUnreadCount200Response - //val modelInstance = GetNotificationsUnreadCount200Response() - - // to test the property `count` - should("test count") { - // uncomment below to test the property - //modelInstance.count shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt deleted file mode 100644 index 8f1c6db..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPing200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetPing200Response - -class GetPing200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetPing200Response - //val modelInstance = GetPing200Response() - - // to test the property `message` - should("test message") { - // uncomment below to test the property - //modelInstance.message shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt deleted file mode 100644 index b0fe075..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetPingUptime200ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetPingUptime200Response - -class GetPingUptime200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetPingUptime200Response - //val modelInstance = GetPingUptime200Response() - - // to test the property `pretty` - should("test pretty") { - // uncomment below to test the property - //modelInstance.pretty shouldBe ("TODO") - } - - // to test the property `uptimeMs` - should("test uptimeMs") { - // uncomment below to test the property - //modelInstance.uptimeMs shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt deleted file mode 100644 index be44efd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetRoles200ResponseItemsInner - -class GetRoles200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetRoles200ResponseItemsInner - //val modelInstance = GetRoles200ResponseItemsInner() - - // to test the property `can` - should("test can") { - // uncomment below to test the property - //modelInstance.can shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt deleted file mode 100644 index 4290268..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetRoles200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetRoles200Response -import hu.petrik.filcapp.api.model.GetRoles200ResponseItemsInner - -class GetRoles200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetRoles200Response - //val modelInstance = GetRoles200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt deleted file mode 100644 index 77edcbb..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,85 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner - -class GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner - //val modelInstance = GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner() - - // to test the property `divisionLabel` - should("test divisionLabel") { - // uncomment below to test the property - //modelInstance.divisionLabel shouldBe ("TODO") - } - - // to test the property `divisionTag` - should("test divisionTag") { - // uncomment below to test the property - //modelInstance.divisionTag shouldBe ("TODO") - } - - // to test the property `entireClass` - should("test entireClass") { - // uncomment below to test the property - //modelInstance.entireClass shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `selected` - should("test selected") { - // uncomment below to test the property - //modelInstance.selected shouldBe ("TODO") - } - - // to test the property `studentCount` - should("test studentCount") { - // uncomment below to test the property - //modelInstance.studentCount shouldBe ("TODO") - } - - // to test the property `teacherId` - should("test teacherId") { - // uncomment below to test the property - //modelInstance.teacherId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt deleted file mode 100644 index 1aa854b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableGroupsGetForCohortByCohortId200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response -import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200ResponseItemsInner - -class GetTimetableGroupsGetForCohortByCohortId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableGroupsGetForCohortByCohortId200Response - //val modelInstance = GetTimetableGroupsGetForCohortByCohortId200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt deleted file mode 100644 index 777d72f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt deleted file mode 100644 index d20cbb9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt deleted file mode 100644 index dfc596f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDayTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `days` - should("test days") { - // uncomment below to test the property - //modelInstance.days shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt deleted file mode 100644 index 4caa5af..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner() - - // to test the property `divisionTag` - should("test divisionTag") { - // uncomment below to test the property - //modelInstance.divisionTag shouldBe ("TODO") - } - - // to test the property `entireClass` - should("test entireClass") { - // uncomment below to test the property - //modelInstance.entireClass shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt deleted file mode 100644 index cca9c44..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriodTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod() - - // to test the property `endTime` - should("test endTime") { - // uncomment below to test the property - //modelInstance.endTime shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `startTime` - should("test startTime") { - // uncomment below to test the property - //modelInstance.startTime shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt deleted file mode 100644 index 0aa621b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubjectTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt deleted file mode 100644 index 39f07e3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,122 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerClassroomsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerDay -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerGroupsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner() - - // to test the property `classrooms` - should("test classrooms") { - // uncomment below to test the property - //modelInstance.classrooms shouldBe ("TODO") - } - - // to test the property `cohorts` - should("test cohorts") { - // uncomment below to test the property - //modelInstance.cohorts shouldBe ("TODO") - } - - // to test the property `groups` - should("test groups") { - // uncomment below to test the property - //modelInstance.groups shouldBe ("TODO") - } - - // to test the property `groupsIds` - should("test groupsIds") { - // uncomment below to test the property - //modelInstance.groupsIds shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `periodsPerWeek` - should("test periodsPerWeek") { - // uncomment below to test the property - //modelInstance.periodsPerWeek shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `teachers` - should("test teachers") { - // uncomment below to test the property - //modelInstance.teachers shouldBe ("TODO") - } - - // to test the property `termDefinitionId` - should("test termDefinitionId") { - // uncomment below to test the property - //modelInstance.termDefinitionId shouldBe ("TODO") - } - - // to test the property `weekDefinition` - should("test weekDefinition") { - // uncomment below to test the property - //modelInstance.weekDefinition shouldBe ("TODO") - } - - // to test the property `weeksDefinitionId` - should("test weeksDefinitionId") { - // uncomment below to test the property - //modelInstance.weeksDefinitionId shouldBe ("TODO") - } - - // to test the property `day` - should("test day") { - // uncomment below to test the property - //modelInstance.day shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt deleted file mode 100644 index 0af1ec2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition - -class GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinitionTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerWeekDefinition() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `weeks` - should("test weeks") { - // uncomment below to test the property - //modelInstance.weeks shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt deleted file mode 100644 index e95a3fc..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForCohortByCohortId200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInner - -class GetTimetableLessonsGetForCohortByCohortId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForCohortByCohortId200Response - //val modelInstance = GetTimetableLessonsGetForCohortByCohortId200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt deleted file mode 100644 index f47dce8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseDayTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay - -class GetTimetableLessonsGetForIdByLessonId200ResponseDayTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseDay - //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseDay() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `days` - should("test days") { - // uncomment below to test the property - //modelInstance.days shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt deleted file mode 100644 index cf06663..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner - -class GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner - //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner() - - // to test the property `divisionTag` - should("test divisionTag") { - // uncomment below to test the property - //modelInstance.divisionTag shouldBe ("TODO") - } - - // to test the property `entireClass` - should("test entireClass") { - // uncomment below to test the property - //modelInstance.entireClass shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt deleted file mode 100644 index 3eed9f8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseTest.kt +++ /dev/null @@ -1,127 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition - -class GetTimetableLessonsGetForIdByLessonId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200Response - //val modelInstance = GetTimetableLessonsGetForIdByLessonId200Response() - - // to test the property `classrooms` - should("test classrooms") { - // uncomment below to test the property - //modelInstance.classrooms shouldBe ("TODO") - } - - // to test the property `cohorts` - should("test cohorts") { - // uncomment below to test the property - //modelInstance.cohorts shouldBe ("TODO") - } - - // to test the property `groups` - should("test groups") { - // uncomment below to test the property - //modelInstance.groups shouldBe ("TODO") - } - - // to test the property `groupsIds` - should("test groupsIds") { - // uncomment below to test the property - //modelInstance.groupsIds shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `periodsPerWeek` - should("test periodsPerWeek") { - // uncomment below to test the property - //modelInstance.periodsPerWeek shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `teachers` - should("test teachers") { - // uncomment below to test the property - //modelInstance.teachers shouldBe ("TODO") - } - - // to test the property `termDefinitionId` - should("test termDefinitionId") { - // uncomment below to test the property - //modelInstance.termDefinitionId shouldBe ("TODO") - } - - // to test the property `weekDefinition` - should("test weekDefinition") { - // uncomment below to test the property - //modelInstance.weekDefinition shouldBe ("TODO") - } - - // to test the property `weeksDefinitionId` - should("test weeksDefinitionId") { - // uncomment below to test the property - //modelInstance.weeksDefinitionId shouldBe ("TODO") - } - - // to test the property `substitutionCohortName` - should("test substitutionCohortName") { - // uncomment below to test the property - //modelInstance.substitutionCohortName shouldBe ("TODO") - } - - // to test the property `day` - should("test day") { - // uncomment below to test the property - //modelInstance.day shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt deleted file mode 100644 index 40d0d07..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition - -class GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinitionTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition - //val modelInstance = GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `weeks` - should("test weeks") { - // uncomment below to test the property - //modelInstance.weeks shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt deleted file mode 100644 index 9a4fb6c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerMovedLesson - -class GetTimetableMovedLessons200ResponseItemsInnerMovedLessonTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInnerMovedLesson - //val modelInstance = GetTimetableMovedLessons200ResponseItemsInnerMovedLesson() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `room` - should("test room") { - // uncomment below to test the property - //modelInstance.room shouldBe ("TODO") - } - - // to test the property `startingDay` - should("test startingDay") { - // uncomment below to test the property - //modelInstance.startingDay shouldBe ("TODO") - } - - // to test the property `startingPeriod` - should("test startingPeriod") { - // uncomment below to test the property - //modelInstance.startingPeriod shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt deleted file mode 100644 index e4d6045..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerPeriodTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod - -class GetTimetableMovedLessons200ResponseItemsInnerPeriodTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInnerPeriod - //val modelInstance = GetTimetableMovedLessons200ResponseItemsInnerPeriod() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `endTime` - should("test endTime") { - // uncomment below to test the property - //modelInstance.endTime shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `startTime` - should("test startTime") { - // uncomment below to test the property - //modelInstance.startTime shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt deleted file mode 100644 index 18c673a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,72 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerMovedLesson -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod -import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner - -class GetTimetableMovedLessons200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableMovedLessons200ResponseItemsInner - //val modelInstance = GetTimetableMovedLessons200ResponseItemsInner() - - // to test the property `classroom` - should("test classroom") { - // uncomment below to test the property - //modelInstance.classroom shouldBe ("TODO") - } - - // to test the property `dayDefinition` - should("test dayDefinition") { - // uncomment below to test the property - //modelInstance.dayDefinition shouldBe ("TODO") - } - - // to test the property `lessons` - should("test lessons") { - // uncomment below to test the property - //modelInstance.lessons shouldBe ("TODO") - } - - // to test the property `movedLesson` - should("test movedLesson") { - // uncomment below to test the property - //modelInstance.movedLesson shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt deleted file mode 100644 index f76ee3e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response -import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInner - -class GetTimetableMovedLessons200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableMovedLessons200Response - //val modelInstance = GetTimetableMovedLessons200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt deleted file mode 100644 index e68daa3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200ResponseItemsInner - -class GetTimetablePeriodsGetAll200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetablePeriodsGetAll200ResponseItemsInner - //val modelInstance = GetTimetablePeriodsGetAll200ResponseItemsInner() - - // to test the property `endTime` - should("test endTime") { - // uncomment below to test the property - //modelInstance.endTime shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `startTime` - should("test startTime") { - // uncomment below to test the property - //modelInstance.startTime shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt deleted file mode 100644 index 473f38a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetablePeriodsGetAll200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response -import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200ResponseItemsInner - -class GetTimetablePeriodsGetAll200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetablePeriodsGetAll200Response - //val modelInstance = GetTimetablePeriodsGetAll200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt deleted file mode 100644 index d08f91e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubjects200ResponseItemsInner - -class GetTimetableSubjects200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubjects200ResponseItemsInner - //val modelInstance = GetTimetableSubjects200ResponseItemsInner() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt deleted file mode 100644 index 7933a7a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubjects200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response -import hu.petrik.filcapp.api.model.GetTimetableSubjects200ResponseItemsInner - -class GetTimetableSubjects200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubjects200Response - //val modelInstance = GetTimetableSubjects200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt deleted file mode 100644 index 57f717c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution - -class GetTimetableSubstitutions200ResponseItemsInnerSubstitutionTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInnerSubstitution - //val modelInstance = GetTimetableSubstitutions200ResponseItemsInnerSubstitution() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `substituter` - should("test substituter") { - // uncomment below to test the property - //modelInstance.substituter shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt deleted file mode 100644 index 9be4a93..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTeacherTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher - -class GetTimetableSubstitutions200ResponseItemsInnerTeacherTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInnerTeacher - //val modelInstance = GetTimetableSubstitutions200ResponseItemsInnerTeacher() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `gender` - should("test gender") { - // uncomment below to test the property - //modelInstance.gender shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt deleted file mode 100644 index b220d5e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,58 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner - -class GetTimetableSubstitutions200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutions200ResponseItemsInner - //val modelInstance = GetTimetableSubstitutions200ResponseItemsInner() - - // to test the property `lessons` - should("test lessons") { - // uncomment below to test the property - //modelInstance.lessons shouldBe ("TODO") - } - - // to test the property `substitution` - should("test substitution") { - // uncomment below to test the property - //modelInstance.substitution shouldBe ("TODO") - } - - // to test the property `teacher` - should("test teacher") { - // uncomment below to test the property - //modelInstance.teacher shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt deleted file mode 100644 index 9eed9df..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInner - -class GetTimetableSubstitutions200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutions200Response - //val modelInstance = GetTimetableSubstitutions200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt deleted file mode 100644 index 1d51c68..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsCohortByCohortId200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsCohortByCohortId200Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner - -class GetTimetableSubstitutionsCohortByCohortId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutionsCohortByCohortId200Response - //val modelInstance = GetTimetableSubstitutionsCohortByCohortId200Response() - - // to test the property `cohortId` - should("test cohortId") { - // uncomment below to test the property - //modelInstance.cohortId shouldBe ("TODO") - } - - // to test the property `substitutions` - should("test substitutions") { - // uncomment below to test the property - //modelInstance.substitutions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt deleted file mode 100644 index 367b413..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher - -class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacherTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher - //val modelInstance = GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `gender` - should("test gender") { - // uncomment below to test the property - //modelInstance.gender shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt deleted file mode 100644 index 61e920d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher -import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response - -class GetTimetableSubstitutionsRelevant200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200ResponseItemsInner - //val modelInstance = GetTimetableSubstitutionsRelevant200ResponseItemsInner() - - // to test the property `lessons` - should("test lessons") { - // uncomment below to test the property - //modelInstance.lessons shouldBe ("TODO") - } - - // to test the property `substitution` - should("test substitution") { - // uncomment below to test the property - //modelInstance.substitution shouldBe ("TODO") - } - - // to test the property `teacher` - should("test teacher") { - // uncomment below to test the property - //modelInstance.teacher shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt deleted file mode 100644 index aa8ed85..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200Response -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInner - -class GetTimetableSubstitutionsRelevant200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableSubstitutionsRelevant200Response - //val modelInstance = GetTimetableSubstitutionsRelevant200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt deleted file mode 100644 index 560492c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,80 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInner -import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInnerUser - -class GetTimetableTeachers200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachers200ResponseItemsInner - //val modelInstance = GetTimetableTeachers200ResponseItemsInner() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `user` - should("test user") { - // uncomment below to test the property - //modelInstance.user shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt deleted file mode 100644 index 309da98..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseItemsInnerUserTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInnerUser - -class GetTimetableTeachers200ResponseItemsInnerUserTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachers200ResponseItemsInnerUser - //val modelInstance = GetTimetableTeachers200ResponseItemsInnerUser() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt deleted file mode 100644 index 8c1553b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachers200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response -import hu.petrik.filcapp.api.model.GetTimetableTeachers200ResponseItemsInner - -class GetTimetableTeachers200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachers200Response - //val modelInstance = GetTimetableTeachers200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt deleted file mode 100644 index 9250700..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200ResponseItemsInner - -class GetTimetableTeachersGetAll200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachersGetAll200ResponseItemsInner - //val modelInstance = GetTimetableTeachersGetAll200ResponseItemsInner() - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt deleted file mode 100644 index 80449e5..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersGetAll200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response -import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200ResponseItemsInner - -class GetTimetableTeachersGetAll200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachersGetAll200Response - //val modelInstance = GetTimetableTeachersGetAll200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt deleted file mode 100644 index 40b8096..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTeachersMe200ResponseTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response - -class GetTimetableTeachersMe200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTeachersMe200Response - //val modelInstance = GetTimetableTeachersMe200Response() - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt deleted file mode 100644 index 61a17f5..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTimetables200ResponseItemsInner - -class GetTimetableTimetables200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTimetables200ResponseItemsInner - //val modelInstance = GetTimetableTimetables200ResponseItemsInner() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validTo` - should("test validTo") { - // uncomment below to test the property - //modelInstance.validTo shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt deleted file mode 100644 index fbfed13..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetables200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response -import hu.petrik.filcapp.api.model.GetTimetableTimetables200ResponseItemsInner - -class GetTimetableTimetables200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTimetables200Response - //val modelInstance = GetTimetableTimetables200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt deleted file mode 100644 index 378b914..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner - -class GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner - //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner() - - // to test the property `becomesOrphaned` - should("test becomesOrphaned") { - // uncomment below to test the property - //modelInstance.becomesOrphaned shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt deleted file mode 100644 index 126a35b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTest.kt +++ /dev/null @@ -1,64 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200Response -import hu.petrik.filcapp.api.model.GetDoorlockLogs200ResponseItemsInnerCard -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseCohortsInner -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseTotals - -class GetTimetableTimetablesByIdPreviewDelete200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200Response - //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200Response() - - // to test the property `cohorts` - should("test cohorts") { - // uncomment below to test the property - //modelInstance.cohorts shouldBe ("TODO") - } - - // to test the property `isCurrentTimetable` - should("test isCurrentTimetable") { - // uncomment below to test the property - //modelInstance.isCurrentTimetable shouldBe ("TODO") - } - - // to test the property `targetTimetable` - should("test targetTimetable") { - // uncomment below to test the property - //modelInstance.targetTimetable shouldBe ("TODO") - } - - // to test the property `totals` - should("test totals") { - // uncomment below to test the property - //modelInstance.totals shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt deleted file mode 100644 index 9994425..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200ResponseTotals - -class GetTimetableTimetablesByIdPreviewDelete200ResponseTotalsTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetTimetableTimetablesByIdPreviewDelete200ResponseTotals - //val modelInstance = GetTimetableTimetablesByIdPreviewDelete200ResponseTotals() - - // to test the property `danglingUsersCleaned` - should("test danglingUsersCleaned") { - // uncomment below to test the property - //modelInstance.danglingUsersCleaned shouldBe ("TODO") - } - - // to test the property `lessonsDeleted` - should("test lessonsDeleted") { - // uncomment below to test the property - //modelInstance.lessonsDeleted shouldBe ("TODO") - } - - // to test the property `movedLessonsDeleted` - should("test movedLessonsDeleted") { - // uncomment below to test the property - //modelInstance.movedLessonsDeleted shouldBe ("TODO") - } - - // to test the property `orphanedCohorts` - should("test orphanedCohorts") { - // uncomment below to test the property - //modelInstance.orphanedCohorts shouldBe ("TODO") - } - - // to test the property `substitutionsDeleted` - should("test substitutionsDeleted") { - // uncomment below to test the property - //modelInstance.substitutionsDeleted shouldBe ("TODO") - } - - // to test the property `survivingCohorts` - should("test survivingCohorts") { - // uncomment below to test the property - //modelInstance.survivingCohorts shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt deleted file mode 100644 index a391946..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,109 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetUsers200ResponseItemsInner - -class GetUsers200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetUsers200ResponseItemsInner - //val modelInstance = GetUsers200ResponseItemsInner() - - // to test the property `cohortId` - should("test cohortId") { - // uncomment below to test the property - //modelInstance.cohortId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `emailVerified` - should("test emailVerified") { - // uncomment below to test the property - //modelInstance.emailVerified shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `image` - should("test image") { - // uncomment below to test the property - //modelInstance.image shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `roles` - should("test roles") { - // uncomment below to test the property - //modelInstance.roles shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `displayName` - should("test displayName") { - // uncomment below to test the property - //modelInstance.displayName shouldBe ("TODO") - } - - // to test the property `permissions` - should("test permissions") { - // uncomment below to test the property - //modelInstance.permissions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt deleted file mode 100644 index da1c23e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetUsers200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetUsers200Response -import hu.petrik.filcapp.api.model.GetUsers200ResponseItemsInner - -class GetUsers200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetUsers200Response - //val modelInstance = GetUsers200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt deleted file mode 100644 index 94337a8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiAuthLogs200ResponseItemsInner - -class GetWifiAuthLogs200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiAuthLogs200ResponseItemsInner - //val modelInstance = GetWifiAuthLogs200ResponseItemsInner() - - // to test the property `deviceNickname` - should("test deviceNickname") { - // uncomment below to test the property - //modelInstance.deviceNickname shouldBe ("TODO") - } - - // to test the property `deviceReportedHostname` - should("test deviceReportedHostname") { - // uncomment below to test the property - //modelInstance.deviceReportedHostname shouldBe ("TODO") - } - - // to test the property `failureReason` - should("test failureReason") { - // uncomment below to test the property - //modelInstance.failureReason shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nasComment` - should("test nasComment") { - // uncomment below to test the property - //modelInstance.nasComment shouldBe ("TODO") - } - - // to test the property `nasIpAddress` - should("test nasIpAddress") { - // uncomment below to test the property - //modelInstance.nasIpAddress shouldBe ("TODO") - } - - // to test the property `nasMacAddress` - should("test nasMacAddress") { - // uncomment below to test the property - //modelInstance.nasMacAddress shouldBe ("TODO") - } - - // to test the property `result` - should("test result") { - // uncomment below to test the property - //modelInstance.result shouldBe ("TODO") - } - - // to test the property `timestamp` - should("test timestamp") { - // uncomment below to test the property - //modelInstance.timestamp shouldBe ("TODO") - } - - // to test the property `userComment` - should("test userComment") { - // uncomment below to test the property - //modelInstance.userComment shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - // to test the property `wifiUserId` - should("test wifiUserId") { - // uncomment below to test the property - //modelInstance.wifiUserId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt deleted file mode 100644 index b80d5dd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiAuthLogs200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiAuthLogs200Response -import hu.petrik.filcapp.api.model.GetWifiAuthLogs200ResponseItemsInner - -class GetWifiAuthLogs200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiAuthLogs200Response - //val modelInstance = GetWifiAuthLogs200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt deleted file mode 100644 index 7f9e5e8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiDevices200ResponseItemsInner - -class GetWifiDevices200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiDevices200ResponseItemsInner - //val modelInstance = GetWifiDevices200ResponseItemsInner() - - // to test the property `adminNotes` - should("test adminNotes") { - // uncomment below to test the property - //modelInstance.adminNotes shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `reportedHostname` - should("test reportedHostname") { - // uncomment below to test the property - //modelInstance.reportedHostname shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `wifiUserId` - should("test wifiUserId") { - // uncomment below to test the property - //modelInstance.wifiUserId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt deleted file mode 100644 index 19164a1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiDevices200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiDevices200Response -import hu.petrik.filcapp.api.model.GetWifiDevices200ResponseItemsInner - -class GetWifiDevices200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiDevices200Response - //val modelInstance = GetWifiDevices200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt deleted file mode 100644 index aed56df..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiNas200ResponseItemsInner - -class GetWifiNas200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiNas200ResponseItemsInner - //val modelInstance = GetWifiNas200ResponseItemsInner() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `ipAddress` - should("test ipAddress") { - // uncomment below to test the property - //modelInstance.ipAddress shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt deleted file mode 100644 index bc6fa4c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiNas200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiNas200Response -import hu.petrik.filcapp.api.model.GetWifiNas200ResponseItemsInner - -class GetWifiNas200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiNas200Response - //val modelInstance = GetWifiNas200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt deleted file mode 100644 index 0874c58..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200ResponseItemsInner - -class GetWifiRoleSpeedProfiles200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiRoleSpeedProfiles200ResponseItemsInner - //val modelInstance = GetWifiRoleSpeedProfiles200ResponseItemsInner() - - // to test the property `priority` - should("test priority") { - // uncomment below to test the property - //modelInstance.priority shouldBe ("TODO") - } - - // to test the property `roleName` - should("test roleName") { - // uncomment below to test the property - //modelInstance.roleName shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt deleted file mode 100644 index 028b0b2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiRoleSpeedProfiles200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200Response -import hu.petrik.filcapp.api.model.GetWifiRoleSpeedProfiles200ResponseItemsInner - -class GetWifiRoleSpeedProfiles200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiRoleSpeedProfiles200Response - //val modelInstance = GetWifiRoleSpeedProfiles200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt deleted file mode 100644 index 9b750d1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseDevicesInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseDevicesInner - -class GetWifiSelf200ResponseDevicesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiSelf200ResponseDevicesInner - //val modelInstance = GetWifiSelf200ResponseDevicesInner() - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `reportedHostname` - should("test reportedHostname") { - // uncomment below to test the property - //modelInstance.reportedHostname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt deleted file mode 100644 index c1c1e61..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseSpeedLimitTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit - -class GetWifiSelf200ResponseSpeedLimitTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiSelf200ResponseSpeedLimit - //val modelInstance = GetWifiSelf200ResponseSpeedLimit() - - // to test the property `downloadSpeedMbps` - should("test downloadSpeedMbps") { - // uncomment below to test the property - //modelInstance.downloadSpeedMbps shouldBe ("TODO") - } - - // to test the property `roleName` - should("test roleName") { - // uncomment below to test the property - //modelInstance.roleName shouldBe ("TODO") - } - - // to test the property `source` - should("test source") { - // uncomment below to test the property - //modelInstance.source shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `uploadSpeedMbps` - should("test uploadSpeedMbps") { - // uncomment below to test the property - //modelInstance.uploadSpeedMbps shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt deleted file mode 100644 index fce6c0e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSelf200ResponseTest.kt +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiSelf200Response -import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseDevicesInner -import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit - -class GetWifiSelf200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiSelf200Response - //val modelInstance = GetWifiSelf200Response() - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `devices` - should("test devices") { - // uncomment below to test the property - //modelInstance.devices shouldBe ("TODO") - } - - // to test the property `speedLimit` - should("test speedLimit") { - // uncomment below to test the property - //modelInstance.speedLimit shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt deleted file mode 100644 index de9dcf6..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200ResponseItemsInner - -class GetWifiSpeedProfiles200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiSpeedProfiles200ResponseItemsInner - //val modelInstance = GetWifiSpeedProfiles200ResponseItemsInner() - - // to test the property `downloadSpeedMbps` - should("test downloadSpeedMbps") { - // uncomment below to test the property - //modelInstance.downloadSpeedMbps shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `isWlanDefault` - should("test isWlanDefault") { - // uncomment below to test the property - //modelInstance.isWlanDefault shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `uploadSpeedMbps` - should("test uploadSpeedMbps") { - // uncomment below to test the property - //modelInstance.uploadSpeedMbps shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt deleted file mode 100644 index edca484..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiSpeedProfiles200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200Response -import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200ResponseItemsInner - -class GetWifiSpeedProfiles200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiSpeedProfiles200Response - //val modelInstance = GetWifiSpeedProfiles200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt deleted file mode 100644 index 28b99da..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStatsAuthSeriesInner - -class GetWifiStatsOverview200ResponseStatsAuthSeriesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiStatsOverview200ResponseStatsAuthSeriesInner - //val modelInstance = GetWifiStatsOverview200ResponseStatsAuthSeriesInner() - - // to test the property `accepted` - should("test accepted") { - // uncomment below to test the property - //modelInstance.accepted shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `rejected` - should("test rejected") { - // uncomment below to test the property - //modelInstance.rejected shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt deleted file mode 100644 index f00b980..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseStatsTest.kt +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStats -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStatsAuthSeriesInner - -class GetWifiStatsOverview200ResponseStatsTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiStatsOverview200ResponseStats - //val modelInstance = GetWifiStatsOverview200ResponseStats() - - // to test the property `activeDevices` - should("test activeDevices") { - // uncomment below to test the property - //modelInstance.activeDevices shouldBe ("TODO") - } - - // to test the property `authSeries` - should("test authSeries") { - // uncomment below to test the property - //modelInstance.authSeries shouldBe ("TODO") - } - - // to test the property `totalDevices` - should("test totalDevices") { - // uncomment below to test the property - //modelInstance.totalDevices shouldBe ("TODO") - } - - // to test the property `totalUsers` - should("test totalUsers") { - // uncomment below to test the property - //modelInstance.totalUsers shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt deleted file mode 100644 index 6ab57d4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatsOverview200ResponseTest.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200Response -import hu.petrik.filcapp.api.model.GetWifiStatsOverview200ResponseStats - -class GetWifiStatsOverview200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiStatsOverview200Response - //val modelInstance = GetWifiStatsOverview200Response() - - // to test the property `stats` - should("test stats") { - // uncomment below to test the property - //modelInstance.stats shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt deleted file mode 100644 index 6a131cd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiStatus200ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiStatus200Response - -class GetWifiStatus200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiStatus200Response - //val modelInstance = GetWifiStatus200Response() - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `ssid` - should("test ssid") { - // uncomment below to test the property - //modelInstance.ssid shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt deleted file mode 100644 index 47623f2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,109 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiUsers200ResponseItemsInner - -class GetWifiUsers200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiUsers200ResponseItemsInner - //val modelInstance = GetWifiUsers200ResponseItemsInner() - - // to test the property `allowedMacAddresses` - should("test allowedMacAddresses") { - // uncomment below to test the property - //modelInstance.allowedMacAddresses shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `createdBy` - should("test createdBy") { - // uncomment below to test the property - //modelInstance.createdBy shouldBe ("TODO") - } - - // to test the property `creatorName` - should("test creatorName") { - // uncomment below to test the property - //modelInstance.creatorName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt deleted file mode 100644 index db3b1b8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/GetWifiUsers200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.GetWifiUsers200Response -import hu.petrik.filcapp.api.model.GetWifiUsers200ResponseItemsInner - -class GetWifiUsers200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of GetWifiUsers200Response - //val modelInstance = GetWifiUsers200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt deleted file mode 100644 index 3da6488..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200ResponseTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response - -class PatchAdminApiKeysByKeyId200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchAdminApiKeysByKeyId200Response - //val modelInstance = PatchAdminApiKeysByKeyId200Response() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `expiresAt` - should("test expiresAt") { - // uncomment below to test the property - //modelInstance.expiresAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastRequest` - should("test lastRequest") { - // uncomment below to test the property - //modelInstance.lastRequest shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `ownerEmail` - should("test ownerEmail") { - // uncomment below to test the property - //modelInstance.ownerEmail shouldBe ("TODO") - } - - // to test the property `ownerName` - should("test ownerName") { - // uncomment below to test the property - //modelInstance.ownerName shouldBe ("TODO") - } - - // to test the property `prefix` - should("test prefix") { - // uncomment below to test the property - //modelInstance.prefix shouldBe ("TODO") - } - - // to test the property `referenceId` - should("test referenceId") { - // uncomment below to test the property - //modelInstance.referenceId shouldBe ("TODO") - } - - // to test the property `requestCount` - should("test requestCount") { - // uncomment below to test the property - //modelInstance.requestCount shouldBe ("TODO") - } - - // to test the property `start` - should("test start") { - // uncomment below to test the property - //modelInstance.start shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt deleted file mode 100644 index dcbc66c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId400ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response - -class PatchAdminApiKeysByKeyId400ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchAdminApiKeysByKeyId400Response - //val modelInstance = PatchAdminApiKeysByKeyId400Response() - - // to test the property `code` - should("test code") { - // uncomment below to test the property - //modelInstance.code shouldBe ("TODO") - } - - // to test the property `message` - should("test message") { - // uncomment below to test the property - //modelInstance.message shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt deleted file mode 100644 index 3070bd6..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyIdRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest - -class PatchAdminApiKeysByKeyIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchAdminApiKeysByKeyIdRequest - //val modelInstance = PatchAdminApiKeysByKeyIdRequest() - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt deleted file mode 100644 index 482dfa3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseMetadataTest.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata -import hu.petrik.filcapp.api.model.GetBugReport200ResponseItemsInnerMetadataAnyOfValue - -class PatchBugReportByIdStatus200ResponseMetadataTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchBugReportByIdStatus200ResponseMetadata - //val modelInstance = PatchBugReportByIdStatus200ResponseMetadata() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt deleted file mode 100644 index 15c3fd1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatus200ResponseTest.kt +++ /dev/null @@ -1,98 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PatchBugReportByIdStatus200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchBugReportByIdStatus200Response - //val modelInstance = PatchBugReportByIdStatus200Response() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `metadata` - should("test metadata") { - // uncomment below to test the property - //modelInstance.metadata shouldBe ("TODO") - } - - // to test the property `page` - should("test page") { - // uncomment below to test the property - //modelInstance.page shouldBe ("TODO") - } - - // to test the property `reporterEmail` - should("test reporterEmail") { - // uncomment below to test the property - //modelInstance.reporterEmail shouldBe ("TODO") - } - - // to test the property `reporterId` - should("test reporterId") { - // uncomment below to test the property - //modelInstance.reporterId shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt deleted file mode 100644 index 6732a22..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchBugReportByIdStatusRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest - -class PatchBugReportByIdStatusRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchBugReportByIdStatusRequest - //val modelInstance = PatchBugReportByIdStatusRequest() - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt deleted file mode 100644 index e402482..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsById200ResponseTest.kt +++ /dev/null @@ -1,134 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsById200Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PatchNewsAnnouncementsById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsAnnouncementsById200Response - //val modelInstance = PatchNewsAnnouncementsById200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `imageByteSize` - should("test imageByteSize") { - // uncomment below to test the property - //modelInstance.imageByteSize shouldBe ("TODO") - } - - // to test the property `imageContentType` - should("test imageContentType") { - // uncomment below to test the property - //modelInstance.imageContentType shouldBe ("TODO") - } - - // to test the property `imageKey` - should("test imageKey") { - // uncomment below to test the property - //modelInstance.imageKey shouldBe ("TODO") - } - - // to test the property `imageUpdatedAt` - should("test imageUpdatedAt") { - // uncomment below to test the property - //modelInstance.imageUpdatedAt shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt deleted file mode 100644 index 7974e63..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestContentInnerTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner -import hu.petrik.filcapp.api.model.PostKioskRequestConfig - -class PatchNewsAnnouncementsByIdRequestContentInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsAnnouncementsByIdRequestContentInner - //val modelInstance = PatchNewsAnnouncementsByIdRequestContentInner() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt deleted file mode 100644 index ca19ab6..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsAnnouncementsByIdRequestTest.kt +++ /dev/null @@ -1,86 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner - -class PatchNewsAnnouncementsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsAnnouncementsByIdRequest - //val modelInstance = PatchNewsAnnouncementsByIdRequest() - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt deleted file mode 100644 index b02b400..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsById200ResponseTest.kt +++ /dev/null @@ -1,92 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PatchNewsBlogsById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsBlogsById200Response - //val modelInstance = PatchNewsBlogsById200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `publishedAt` - should("test publishedAt") { - // uncomment below to test the property - //modelInstance.publishedAt shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt deleted file mode 100644 index 5a15ac2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsBlogsByIdRequestTest.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner - -class PatchNewsBlogsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsBlogsByIdRequest - //val modelInstance = PatchNewsBlogsByIdRequest() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt deleted file mode 100644 index e94644a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesById200ResponseTest.kt +++ /dev/null @@ -1,92 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PatchNewsSystemMessagesById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsSystemMessagesById200Response - //val modelInstance = PatchNewsSystemMessagesById200Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt deleted file mode 100644 index a61f57b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNewsSystemMessagesByIdRequestTest.kt +++ /dev/null @@ -1,68 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner - -class PatchNewsSystemMessagesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNewsSystemMessagesByIdRequest - //val modelInstance = PatchNewsSystemMessagesByIdRequest() - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt deleted file mode 100644 index ba92b58..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferencesTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequestNotificationPreferences - -class PatchNotificationsSettingsRequestNotificationPreferencesTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNotificationsSettingsRequestNotificationPreferences - //val modelInstance = PatchNotificationsSettingsRequestNotificationPreferences() - - // to test the property `announcement` - should("test announcement") { - // uncomment below to test the property - //modelInstance.announcement shouldBe ("TODO") - } - - // to test the property `blogPost` - should("test blogPost") { - // uncomment below to test the property - //modelInstance.blogPost shouldBe ("TODO") - } - - // to test the property `channelsEnabled` - should("test channelsEnabled") { - // uncomment below to test the property - //modelInstance.channelsEnabled shouldBe ("TODO") - } - - // to test the property `doorlockCardUsed` - should("test doorlockCardUsed") { - // uncomment below to test the property - //modelInstance.doorlockCardUsed shouldBe ("TODO") - } - - // to test the property `movedLesson` - should("test movedLesson") { - // uncomment below to test the property - //modelInstance.movedLesson shouldBe ("TODO") - } - - // to test the property `substitution` - should("test substitution") { - // uncomment below to test the property - //modelInstance.substitution shouldBe ("TODO") - } - - // to test the property `systemMessage` - should("test systemMessage") { - // uncomment below to test the property - //modelInstance.systemMessage shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt deleted file mode 100644 index 651de4c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestTest.kt +++ /dev/null @@ -1,74 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequest -import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequestNotificationPreferences - -class PatchNotificationsSettingsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchNotificationsSettingsRequest - //val modelInstance = PatchNotificationsSettingsRequest() - - // to test the property `language` - should("test language") { - // uncomment below to test the property - //modelInstance.language shouldBe ("TODO") - } - - // to test the property `notificationPreferences` - should("test notificationPreferences") { - // uncomment below to test the property - //modelInstance.notificationPreferences shouldBe ("TODO") - } - - // to test the property `theme` - should("test theme") { - // uncomment below to test the property - //modelInstance.theme shouldBe ("TODO") - } - - // to test the property `timetableClassColors` - should("test timetableClassColors") { - // uncomment below to test the property - //modelInstance.timetableClassColors shouldBe ("TODO") - } - - // to test the property `timetableGroupDisplay` - should("test timetableGroupDisplay") { - // uncomment below to test the property - //modelInstance.timetableGroupDisplay shouldBe ("TODO") - } - - // to test the property `timetableView` - should("test timetableView") { - // uncomment below to test the property - //modelInstance.timetableView shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt deleted file mode 100644 index 0d94150..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchRolesByNameRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchRolesByNameRequest - -class PatchRolesByNameRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchRolesByNameRequest - //val modelInstance = PatchRolesByNameRequest() - - // to test the property `permissions` - should("test permissions") { - // uncomment below to test the property - //modelInstance.permissions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt deleted file mode 100644 index 2edde83..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseTest.kt +++ /dev/null @@ -1,80 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response -import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200ResponseUser - -class PatchTimetableTeachersById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchTimetableTeachersById200Response - //val modelInstance = PatchTimetableTeachersById200Response() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `firstName` - should("test firstName") { - // uncomment below to test the property - //modelInstance.firstName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastName` - should("test lastName") { - // uncomment below to test the property - //modelInstance.lastName shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `user` - should("test user") { - // uncomment below to test the property - //modelInstance.user shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt deleted file mode 100644 index fb6011c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersById200ResponseUserTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200ResponseUser - -class PatchTimetableTeachersById200ResponseUserTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchTimetableTeachersById200ResponseUser - //val modelInstance = PatchTimetableTeachersById200ResponseUser() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt deleted file mode 100644 index 1c402e0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTeachersByIdRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest - -class PatchTimetableTeachersByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchTimetableTeachersByIdRequest - //val modelInstance = PatchTimetableTeachersByIdRequest() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt deleted file mode 100644 index 6a28ece..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesById200ResponseTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchTimetableTimetablesById200Response - -class PatchTimetableTimetablesById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchTimetableTimetablesById200Response - //val modelInstance = PatchTimetableTimetablesById200Response() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validTo` - should("test validTo") { - // uncomment below to test the property - //modelInstance.validTo shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt deleted file mode 100644 index d419690..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchTimetableTimetablesByIdRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest - -class PatchTimetableTimetablesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchTimetableTimetablesByIdRequest - //val modelInstance = PatchTimetableTimetablesByIdRequest() - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validTo` - should("test validTo") { - // uncomment below to test the property - //modelInstance.validTo shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt deleted file mode 100644 index c1fef3d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersById200ResponseTest.kt +++ /dev/null @@ -1,109 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchUsersById200Response - -class PatchUsersById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchUsersById200Response - //val modelInstance = PatchUsersById200Response() - - // to test the property `cohortId` - should("test cohortId") { - // uncomment below to test the property - //modelInstance.cohortId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `emailVerified` - should("test emailVerified") { - // uncomment below to test the property - //modelInstance.emailVerified shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `image` - should("test image") { - // uncomment below to test the property - //modelInstance.image shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `roles` - should("test roles") { - // uncomment below to test the property - //modelInstance.roles shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `displayName` - should("test displayName") { - // uncomment below to test the property - //modelInstance.displayName shouldBe ("TODO") - } - - // to test the property `permissions` - should("test permissions") { - // uncomment below to test the property - //modelInstance.permissions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt deleted file mode 100644 index 9bf19db..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PatchUsersByIdRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PatchUsersByIdRequest - -class PatchUsersByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PatchUsersByIdRequest - //val modelInstance = PatchUsersByIdRequest() - - // to test the property `cohortId` - should("test cohortId") { - // uncomment below to test the property - //modelInstance.cohortId shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `roles` - should("test roles") { - // uncomment below to test the property - //modelInstance.roles shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt deleted file mode 100644 index 96e9090..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReport201ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostBugReport201Response - -class PostBugReport201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostBugReport201Response - //val modelInstance = PostBugReport201Response() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt deleted file mode 100644 index b26afed..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfInnerTest.kt +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfInner - -class PostBugReportRequestMetadataValueAnyOfInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostBugReportRequestMetadataValueAnyOfInner - //val modelInstance = PostBugReportRequestMetadataValueAnyOfInner() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt deleted file mode 100644 index 102bd7a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueAnyOfValueTest.kt +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue - -class PostBugReportRequestMetadataValueAnyOfValueTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostBugReportRequestMetadataValueAnyOfValue - //val modelInstance = PostBugReportRequestMetadataValueAnyOfValue() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt deleted file mode 100644 index e1637fc..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestMetadataValueTest.kt +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValue -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfInner -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue - -class PostBugReportRequestMetadataValueTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostBugReportRequestMetadataValue - //val modelInstance = PostBugReportRequestMetadataValue() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt deleted file mode 100644 index 47bbbc4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostBugReportRequestTest.kt +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostBugReportRequest -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValue - -class PostBugReportRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostBugReportRequest - //val modelInstance = PostBugReportRequest() - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `metadata` - should("test metadata") { - // uncomment below to test the property - //modelInstance.metadata shouldBe ("TODO") - } - - // to test the property `page` - should("test page") { - // uncomment below to test the property - //modelInstance.page shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt deleted file mode 100644 index 51a2974..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseAuthorizedDevicesInnerTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseAuthorizedDevicesInner - -class PostDoorlockCards201ResponseAuthorizedDevicesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockCards201ResponseAuthorizedDevicesInner - //val modelInstance = PostDoorlockCards201ResponseAuthorizedDevicesInner() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt deleted file mode 100644 index 81c85a8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseOwnerTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner - -class PostDoorlockCards201ResponseOwnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockCards201ResponseOwner - //val modelInstance = PostDoorlockCards201ResponseOwner() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt deleted file mode 100644 index 6a5878c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCards201ResponseTest.kt +++ /dev/null @@ -1,99 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockCards201Response -import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseAuthorizedDevicesInner -import hu.petrik.filcapp.api.model.PostDoorlockCards201ResponseOwner - -class PostDoorlockCards201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockCards201Response - //val modelInstance = PostDoorlockCards201Response() - - // to test the property `authorizedDevices` - should("test authorizedDevices") { - // uncomment below to test the property - //modelInstance.authorizedDevices shouldBe ("TODO") - } - - // to test the property `cardData` - should("test cardData") { - // uncomment below to test the property - //modelInstance.cardData shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `frozen` - should("test frozen") { - // uncomment below to test the property - //modelInstance.frozen shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `owner` - should("test owner") { - // uncomment below to test the property - //modelInstance.owner shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt deleted file mode 100644 index 6a6526c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockCardsRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockCardsRequest - -class PostDoorlockCardsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockCardsRequest - //val modelInstance = PostDoorlockCardsRequest() - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `cardData` - should("test cardData") { - // uncomment below to test the property - //modelInstance.cardData shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `authorizedDeviceIds` - should("test authorizedDeviceIds") { - // uncomment below to test the property - //modelInstance.authorizedDeviceIds shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `frozen` - should("test frozen") { - // uncomment below to test the property - //modelInstance.frozen shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt deleted file mode 100644 index 9f9b44c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevices201ResponseTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockDevices201Response - -class PostDoorlockDevices201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockDevices201Response - //val modelInstance = PostDoorlockDevices201Response() - - // to test the property `apiToken` - should("test apiToken") { - // uncomment below to test the property - //modelInstance.apiToken shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastResetReason` - should("test lastResetReason") { - // uncomment below to test the property - //modelInstance.lastResetReason shouldBe ("TODO") - } - - // to test the property `location` - should("test location") { - // uncomment below to test the property - //modelInstance.location shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt deleted file mode 100644 index 4c28485..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response - -class PostDoorlockDevicesByIdUpdate200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockDevicesByIdUpdate200Response - //val modelInstance = PostDoorlockDevicesByIdUpdate200Response() - - // to test the property `ok` - should("test ok") { - // uncomment below to test the property - //modelInstance.ok shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt deleted file mode 100644 index fdedd2e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdateRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdateRequest - -class PostDoorlockDevicesByIdUpdateRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockDevicesByIdUpdateRequest - //val modelInstance = PostDoorlockDevicesByIdUpdateRequest() - - // to test the property `url` - should("test url") { - // uncomment below to test the property - //modelInstance.url shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt deleted file mode 100644 index 58ea150..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockDevicesRequest - -class PostDoorlockDevicesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockDevicesRequest - //val modelInstance = PostDoorlockDevicesRequest() - - // to test the property `apiToken` - should("test apiToken") { - // uncomment below to test the property - //modelInstance.apiToken shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `lastResetReason` - should("test lastResetReason") { - // uncomment below to test the property - //modelInstance.lastResetReason shouldBe ("TODO") - } - - // to test the property `location` - should("test location") { - // uncomment below to test the property - //modelInstance.location shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt deleted file mode 100644 index 79f88d8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesUpdate200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockDevicesUpdate200Response - -class PostDoorlockDevicesUpdate200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockDevicesUpdate200Response - //val modelInstance = PostDoorlockDevicesUpdate200Response() - - // to test the property `count` - should("test count") { - // uncomment below to test the property - //modelInstance.count shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt deleted file mode 100644 index fd73a11..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivate200ResponseTest.kt +++ /dev/null @@ -1,85 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivate200Response - -class PostDoorlockSelfCardsByIdActivate200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockSelfCardsByIdActivate200Response - //val modelInstance = PostDoorlockSelfCardsByIdActivate200Response() - - // to test the property `buttonPressed` - should("test buttonPressed") { - // uncomment below to test the property - //modelInstance.buttonPressed shouldBe ("TODO") - } - - // to test the property `cardData` - should("test cardData") { - // uncomment below to test the property - //modelInstance.cardData shouldBe ("TODO") - } - - // to test the property `cardId` - should("test cardId") { - // uncomment below to test the property - //modelInstance.cardId shouldBe ("TODO") - } - - // to test the property `deviceId` - should("test deviceId") { - // uncomment below to test the property - //modelInstance.deviceId shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `result` - should("test result") { - // uncomment below to test the property - //modelInstance.result shouldBe ("TODO") - } - - // to test the property `timestamp` - should("test timestamp") { - // uncomment below to test the property - //modelInstance.timestamp shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt deleted file mode 100644 index ad4db8b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostDoorlockSelfCardsByIdActivateRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostDoorlockSelfCardsByIdActivateRequest - -class PostDoorlockSelfCardsByIdActivateRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostDoorlockSelfCardsByIdActivateRequest - //val modelInstance = PostDoorlockSelfCardsByIdActivateRequest() - - // to test the property `deviceId` - should("test deviceId") { - // uncomment below to test the property - //modelInstance.deviceId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt deleted file mode 100644 index e0a4f67..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKiosk201ResponseTest.kt +++ /dev/null @@ -1,104 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKiosk201Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PostKiosk201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKiosk201Response - //val modelInstance = PostKiosk201Response() - - // to test the property `appVersion` - should("test appVersion") { - // uncomment below to test the property - //modelInstance.appVersion shouldBe ("TODO") - } - - // to test the property `config` - should("test config") { - // uncomment below to test the property - //modelInstance.config shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `lastSeenAt` - should("test lastSeenAt") { - // uncomment below to test the property - //modelInstance.lastSeenAt shouldBe ("TODO") - } - - // to test the property `lastSeenIp` - should("test lastSeenIp") { - // uncomment below to test the property - //modelInstance.lastSeenIp shouldBe ("TODO") - } - - // to test the property `machineId` - should("test machineId") { - // uncomment below to test the property - //modelInstance.machineId shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt deleted file mode 100644 index 63fcc70..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskDepartures200ResponseItemsInner - -class PostKioskDepartures200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskDepartures200ResponseItemsInner - //val modelInstance = PostKioskDepartures200ResponseItemsInner() - - // to test the property `label` - should("test label") { - // uncomment below to test the property - //modelInstance.label shouldBe ("TODO") - } - - // to test the property `predictedDepartureTime` - should("test predictedDepartureTime") { - // uncomment below to test the property - //modelInstance.predictedDepartureTime shouldBe ("TODO") - } - - // to test the property `routeShortDesc` - should("test routeShortDesc") { - // uncomment below to test the property - //modelInstance.routeShortDesc shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt deleted file mode 100644 index 2af3e98..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDepartures200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskDepartures200Response -import hu.petrik.filcapp.api.model.PostKioskDepartures200ResponseItemsInner - -class PostKioskDepartures200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskDepartures200Response - //val modelInstance = PostKioskDepartures200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt deleted file mode 100644 index f51d706..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerStopsInnerTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInnerStopsInner - -class PostKioskDeparturesRequestGroupsInnerStopsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskDeparturesRequestGroupsInnerStopsInner - //val modelInstance = PostKioskDeparturesRequestGroupsInnerStopsInner() - - // to test the property `stopId` - should("test stopId") { - // uncomment below to test the property - //modelInstance.stopId shouldBe ("TODO") - } - - // to test the property `routeFilter` - should("test routeFilter") { - // uncomment below to test the property - //modelInstance.routeFilter shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt deleted file mode 100644 index 99ba50c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestGroupsInnerTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInner -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInnerStopsInner - -class PostKioskDeparturesRequestGroupsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskDeparturesRequestGroupsInner - //val modelInstance = PostKioskDeparturesRequestGroupsInner() - - // to test the property `label` - should("test label") { - // uncomment below to test the property - //modelInstance.label shouldBe ("TODO") - } - - // to test the property `stops` - should("test stops") { - // uncomment below to test the property - //modelInstance.stops shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt deleted file mode 100644 index dabae2e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskDeparturesRequestTest.kt +++ /dev/null @@ -1,44 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequest -import hu.petrik.filcapp.api.model.PostKioskDeparturesRequestGroupsInner - -class PostKioskDeparturesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskDeparturesRequest - //val modelInstance = PostKioskDeparturesRequest() - - // to test the property `groups` - should("test groups") { - // uncomment below to test the property - //modelInstance.groups shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt deleted file mode 100644 index 2c28473..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1KioskTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1Kiosk - -class PostKioskHeartbeat200ResponseAnyOf1KioskTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf1Kiosk - //val modelInstance = PostKioskHeartbeat200ResponseAnyOf1Kiosk() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt deleted file mode 100644 index 894502a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1Test.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1 -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1Kiosk - -class PostKioskHeartbeat200ResponseAnyOf1Test : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf1 - //val modelInstance = PostKioskHeartbeat200ResponseAnyOf1() - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `kiosk` - should("test kiosk") { - // uncomment below to test the property - //modelInstance.kiosk shouldBe ("TODO") - } - - // to test the property `registered` - should("test registered") { - // uncomment below to test the property - //modelInstance.registered shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt deleted file mode 100644 index ab5d46c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2KioskTest.kt +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PostKioskHeartbeat200ResponseAnyOf2KioskTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf2Kiosk - //val modelInstance = PostKioskHeartbeat200ResponseAnyOf2Kiosk() - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `config` - should("test config") { - // uncomment below to test the property - //modelInstance.config shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt deleted file mode 100644 index be74765..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2Test.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2 -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk - -class PostKioskHeartbeat200ResponseAnyOf2Test : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf2 - //val modelInstance = PostKioskHeartbeat200ResponseAnyOf2() - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `kiosk` - should("test kiosk") { - // uncomment below to test the property - //modelInstance.kiosk shouldBe ("TODO") - } - - // to test the property `registered` - should("test registered") { - // uncomment below to test the property - //modelInstance.registered shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt deleted file mode 100644 index d9847d3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOfTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf - -class PostKioskHeartbeat200ResponseAnyOfTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200ResponseAnyOf - //val modelInstance = PostKioskHeartbeat200ResponseAnyOf() - - // to test the property `registered` - should("test registered") { - // uncomment below to test the property - //modelInstance.registered shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt deleted file mode 100644 index 3bef97b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseTest.kt +++ /dev/null @@ -1,59 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200Response -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf1 -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2 -import hu.petrik.filcapp.api.model.PostKioskHeartbeat200ResponseAnyOf2Kiosk - -class PostKioskHeartbeat200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeat200Response - //val modelInstance = PostKioskHeartbeat200Response() - - // to test the property `registered` - should("test registered") { - // uncomment below to test the property - //modelInstance.registered shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `kiosk` - should("test kiosk") { - // uncomment below to test the property - //modelInstance.kiosk shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt deleted file mode 100644 index 8a4fec1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeatRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskHeartbeatRequest - -class PostKioskHeartbeatRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskHeartbeatRequest - //val modelInstance = PostKioskHeartbeatRequest() - - // to test the property `appVersion` - should("test appVersion") { - // uncomment below to test the property - //modelInstance.appVersion shouldBe ("TODO") - } - - // to test the property `machineId` - should("test machineId") { - // uncomment below to test the property - //modelInstance.machineId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt deleted file mode 100644 index 670f7c2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestConfigTest.kt +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskRequestConfig -import hu.petrik.filcapp.api.model.PostBugReportRequestMetadataValueAnyOfValue - -class PostKioskRequestConfigTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskRequestConfig - //val modelInstance = PostKioskRequestConfig() - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt deleted file mode 100644 index 3b083d7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostKioskRequestTest.kt +++ /dev/null @@ -1,68 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostKioskRequest -import hu.petrik.filcapp.api.model.PostKioskRequestConfig - -class PostKioskRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostKioskRequest - //val modelInstance = PostKioskRequest() - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `machineId` - should("test machineId") { - // uncomment below to test the property - //modelInstance.machineId shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `config` - should("test config") { - // uncomment below to test the property - //modelInstance.config shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt deleted file mode 100644 index d6ee3a9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildings201ResponseTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response - -class PostNavigatorBuildings201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorBuildings201Response - //val modelInstance = PostNavigatorBuildings201Response() - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `mapped` - should("test mapped") { - // uncomment below to test the property - //modelInstance.mapped shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt deleted file mode 100644 index 7f6a197..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorBuildingsRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorBuildingsRequest - -class PostNavigatorBuildingsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorBuildingsRequest - //val modelInstance = PostNavigatorBuildingsRequest() - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt deleted file mode 100644 index ca6c40d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypes201ResponseTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response - -class PostNavigatorClassroomTypes201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorClassroomTypes201Response - //val modelInstance = PostNavigatorClassroomTypes201Response() - - // to test the property `colorhex` - should("test colorhex") { - // uncomment below to test the property - //modelInstance.colorhex shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt deleted file mode 100644 index 3f21f84..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomTypesRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypesRequest - -class PostNavigatorClassroomTypesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorClassroomTypesRequest - //val modelInstance = PostNavigatorClassroomTypesRequest() - - // to test the property `colorhex` - should("test colorhex") { - // uncomment below to test the property - //modelInstance.colorhex shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt deleted file mode 100644 index 6ee6f25..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassrooms201ResponseTest.kt +++ /dev/null @@ -1,127 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response - -class PostNavigatorClassrooms201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorClassrooms201Response - //val modelInstance = PostNavigatorClassrooms201Response() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `capacity` - should("test capacity") { - // uncomment below to test the property - //modelInstance.capacity shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `mapped` - should("test mapped") { - // uncomment below to test the property - //modelInstance.mapped shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `sizeX` - should("test sizeX") { - // uncomment below to test the property - //modelInstance.sizeX shouldBe ("TODO") - } - - // to test the property `sizeY` - should("test sizeY") { - // uncomment below to test the property - //modelInstance.sizeY shouldBe ("TODO") - } - - // to test the property `sizeZ` - should("test sizeZ") { - // uncomment below to test the property - //modelInstance.sizeZ shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `typeId` - should("test typeId") { - // uncomment below to test the property - //modelInstance.typeId shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt deleted file mode 100644 index 209ba0a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorClassroomsRequestTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorClassroomsRequest - -class PostNavigatorClassroomsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorClassroomsRequest - //val modelInstance = PostNavigatorClassroomsRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `capacity` - should("test capacity") { - // uncomment below to test the property - //modelInstance.capacity shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `sizeX` - should("test sizeX") { - // uncomment below to test the property - //modelInstance.sizeX shouldBe ("TODO") - } - - // to test the property `sizeY` - should("test sizeY") { - // uncomment below to test the property - //modelInstance.sizeY shouldBe ("TODO") - } - - // to test the property `sizeZ` - should("test sizeZ") { - // uncomment below to test the property - //modelInstance.sizeZ shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `typeId` - should("test typeId") { - // uncomment below to test the property - //modelInstance.typeId shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt deleted file mode 100644 index 71e173a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridors201ResponseTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorCorridors201Response - -class PostNavigatorCorridors201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorCorridors201Response - //val modelInstance = PostNavigatorCorridors201Response() - - // to test the property `barrierFree` - should("test barrierFree") { - // uncomment below to test the property - //modelInstance.barrierFree shouldBe ("TODO") - } - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `isOutdoor` - should("test isOutdoor") { - // uncomment below to test the property - //modelInstance.isOutdoor shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `width` - should("test width") { - // uncomment below to test the property - //modelInstance.width shouldBe ("TODO") - } - - // to test the property `x1` - should("test x1") { - // uncomment below to test the property - //modelInstance.x1 shouldBe ("TODO") - } - - // to test the property `x2` - should("test x2") { - // uncomment below to test the property - //modelInstance.x2 shouldBe ("TODO") - } - - // to test the property `y1` - should("test y1") { - // uncomment below to test the property - //modelInstance.y1 shouldBe ("TODO") - } - - // to test the property `y2` - should("test y2") { - // uncomment below to test the property - //modelInstance.y2 shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt deleted file mode 100644 index f9f7386..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorCorridorsRequestTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorCorridorsRequest - -class PostNavigatorCorridorsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorCorridorsRequest - //val modelInstance = PostNavigatorCorridorsRequest() - - // to test the property `barrierFree` - should("test barrierFree") { - // uncomment below to test the property - //modelInstance.barrierFree shouldBe ("TODO") - } - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `isOutdoor` - should("test isOutdoor") { - // uncomment below to test the property - //modelInstance.isOutdoor shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `width` - should("test width") { - // uncomment below to test the property - //modelInstance.width shouldBe ("TODO") - } - - // to test the property `x1` - should("test x1") { - // uncomment below to test the property - //modelInstance.x1 shouldBe ("TODO") - } - - // to test the property `x2` - should("test x2") { - // uncomment below to test the property - //modelInstance.x2 shouldBe ("TODO") - } - - // to test the property `y1` - should("test y1") { - // uncomment below to test the property - //modelInstance.y1 shouldBe ("TODO") - } - - // to test the property `y2` - should("test y2") { - // uncomment below to test the property - //modelInstance.y2 shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt deleted file mode 100644 index 696daed..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImport200ResponseTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorImport200Response - -class PostNavigatorImport200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorImport200Response - //val modelInstance = PostNavigatorImport200Response() - - // to test the property `buildings` - should("test buildings") { - // uncomment below to test the property - //modelInstance.buildings shouldBe ("TODO") - } - - // to test the property `classrooms` - should("test classrooms") { - // uncomment below to test the property - //modelInstance.classrooms shouldBe ("TODO") - } - - // to test the property `classroomTypes` - should("test classroomTypes") { - // uncomment below to test the property - //modelInstance.classroomTypes shouldBe ("TODO") - } - - // to test the property `corridors` - should("test corridors") { - // uncomment below to test the property - //modelInstance.corridors shouldBe ("TODO") - } - - // to test the property `lifts` - should("test lifts") { - // uncomment below to test the property - //modelInstance.lifts shouldBe ("TODO") - } - - // to test the property `stairs` - should("test stairs") { - // uncomment below to test the property - //modelInstance.stairs shouldBe ("TODO") - } - - // to test the property `translations` - should("test translations") { - // uncomment below to test the property - //modelInstance.translations shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt deleted file mode 100644 index 2eea691..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorImportRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorImportRequest - -class PostNavigatorImportRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorImportRequest - //val modelInstance = PostNavigatorImportRequest() - - // to test the property `file` - should("test file") { - // uncomment below to test the property - //modelInstance.file shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt deleted file mode 100644 index e851613..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorLiftsRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorLiftsRequest - -class PostNavigatorLiftsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorLiftsRequest - //val modelInstance = PostNavigatorLiftsRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt deleted file mode 100644 index 45952ab..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorStairsRequestTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorStairsRequest - -class PostNavigatorStairsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorStairsRequest - //val modelInstance = PostNavigatorStairsRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt deleted file mode 100644 index 06ac63f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseItemsInnerTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner - -class PostNavigatorTranslations201ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorTranslations201ResponseItemsInner - //val modelInstance = PostNavigatorTranslations201ResponseItemsInner() - - // to test the property `langKey` - should("test langKey") { - // uncomment below to test the property - //modelInstance.langKey shouldBe ("TODO") - } - - // to test the property `text` - should("test text") { - // uncomment below to test the property - //modelInstance.text shouldBe ("TODO") - } - - // to test the property `textKey` - should("test textKey") { - // uncomment below to test the property - //modelInstance.textKey shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt deleted file mode 100644 index 585c361..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslations201ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorTranslations201Response -import hu.petrik.filcapp.api.model.PostNavigatorTranslations201ResponseItemsInner - -class PostNavigatorTranslations201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorTranslations201Response - //val modelInstance = PostNavigatorTranslations201Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt deleted file mode 100644 index 5dcb134..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNavigatorTranslationsRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNavigatorTranslationsRequest - -class PostNavigatorTranslationsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNavigatorTranslationsRequest - //val modelInstance = PostNavigatorTranslationsRequest() - - // to test the property `textKey` - should("test textKey") { - // uncomment below to test the property - //modelInstance.textKey shouldBe ("TODO") - } - - // to test the property `translations` - should("test translations") { - // uncomment below to test the property - //modelInstance.translations shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt deleted file mode 100644 index 0275bb2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncements201ResponseTest.kt +++ /dev/null @@ -1,134 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsAnnouncements201Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PostNewsAnnouncements201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsAnnouncements201Response - //val modelInstance = PostNewsAnnouncements201Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `imageByteSize` - should("test imageByteSize") { - // uncomment below to test the property - //modelInstance.imageByteSize shouldBe ("TODO") - } - - // to test the property `imageContentType` - should("test imageContentType") { - // uncomment below to test the property - //modelInstance.imageContentType shouldBe ("TODO") - } - - // to test the property `imageKey` - should("test imageKey") { - // uncomment below to test the property - //modelInstance.imageKey shouldBe ("TODO") - } - - // to test the property `imageUpdatedAt` - should("test imageUpdatedAt") { - // uncomment below to test the property - //modelInstance.imageUpdatedAt shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt deleted file mode 100644 index a3cad00..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestContentInnerTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequestContentInner -import hu.petrik.filcapp.api.model.PostKioskRequestConfig - -class PostNewsAnnouncementsRequestContentInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsAnnouncementsRequestContentInner - //val modelInstance = PostNewsAnnouncementsRequestContentInner() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt deleted file mode 100644 index ba96eec..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsAnnouncementsRequestTest.kt +++ /dev/null @@ -1,86 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequest -import hu.petrik.filcapp.api.model.PostNewsAnnouncementsRequestContentInner - -class PostNewsAnnouncementsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsAnnouncementsRequest - //val modelInstance = PostNewsAnnouncementsRequest() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - // to test the property `highlighted` - should("test highlighted") { - // uncomment below to test the property - //modelInstance.highlighted shouldBe ("TODO") - } - - // to test the property `kioskIds` - should("test kioskIds") { - // uncomment below to test the property - //modelInstance.kioskIds shouldBe ("TODO") - } - - // to test the property `kioskOnly` - should("test kioskOnly") { - // uncomment below to test the property - //modelInstance.kioskOnly shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt deleted file mode 100644 index b2841ac..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogs201ResponseTest.kt +++ /dev/null @@ -1,92 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsBlogs201Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PostNewsBlogs201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsBlogs201Response - //val modelInstance = PostNewsBlogs201Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `publishedAt` - should("test publishedAt") { - // uncomment below to test the property - //modelInstance.publishedAt shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt deleted file mode 100644 index 12eb4e9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsBlogsRequestTest.kt +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsBlogsRequest -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner - -class PostNewsBlogsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsBlogsRequest - //val modelInstance = PostNewsBlogsRequest() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `slug` - should("test slug") { - // uncomment below to test the property - //modelInstance.slug shouldBe ("TODO") - } - - // to test the property `status` - should("test status") { - // uncomment below to test the property - //modelInstance.status shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt deleted file mode 100644 index bfebfa4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessages201ResponseTest.kt +++ /dev/null @@ -1,92 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response -import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200ResponseMetadata - -class PostNewsSystemMessages201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsSystemMessages201Response - //val modelInstance = PostNewsSystemMessages201Response() - - // to test the property `authorId` - should("test authorId") { - // uncomment below to test the property - //modelInstance.authorId shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt deleted file mode 100644 index ed08a16..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNewsSystemMessagesRequestTest.kt +++ /dev/null @@ -1,68 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNewsSystemMessagesRequest -import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequestContentInner - -class PostNewsSystemMessagesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNewsSystemMessagesRequest - //val modelInstance = PostNewsSystemMessagesRequest() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validUntil` - should("test validUntil") { - // uncomment below to test the property - //modelInstance.validUntil shouldBe ("TODO") - } - - // to test the property `cohortIds` - should("test cohortIds") { - // uncomment below to test the property - //modelInstance.cohortIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt deleted file mode 100644 index 4e8a93d..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseTest.kt +++ /dev/null @@ -1,85 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200Response - -class PostNotificationsByIdRead200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsByIdRead200Response - //val modelInstance = PostNotificationsByIdRead200Response() - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `metadata` - should("test metadata") { - // uncomment below to test the property - //modelInstance.metadata shouldBe ("TODO") - } - - // to test the property `read` - should("test read") { - // uncomment below to test the property - //modelInstance.read shouldBe ("TODO") - } - - // to test the property `title` - should("test title") { - // uncomment below to test the property - //modelInstance.title shouldBe ("TODO") - } - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt deleted file mode 100644 index ef8ef87..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsFcmTokensRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsFcmTokensRequest - -class PostNotificationsFcmTokensRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsFcmTokensRequest - //val modelInstance = PostNotificationsFcmTokensRequest() - - // to test the property `token` - should("test token") { - // uncomment below to test the property - //modelInstance.token shouldBe ("TODO") - } - - // to test the property `deviceInfo` - should("test deviceInfo") { - // uncomment below to test the property - //modelInstance.deviceInfo shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt deleted file mode 100644 index 95a37d3..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreview200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsTestPreview200Response - -class PostNotificationsTestPreview200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsTestPreview200Response - //val modelInstance = PostNotificationsTestPreview200Response() - - // to test the property `html` - should("test html") { - // uncomment below to test the property - //modelInstance.html shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt deleted file mode 100644 index 7788ad5..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsTestPreviewRequest - -class PostNotificationsTestPreviewRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsTestPreviewRequest - //val modelInstance = PostNotificationsTestPreviewRequest() - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `language` - should("test language") { - // uncomment below to test the property - //modelInstance.language shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt deleted file mode 100644 index faa49bc..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSend200ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsTestSend200Response - -class PostNotificationsTestSend200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsTestSend200Response - //val modelInstance = PostNotificationsTestSend200Response() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `inApp` - should("test inApp") { - // uncomment below to test the property - //modelInstance.inApp shouldBe ("TODO") - } - - // to test the property `push` - should("test push") { - // uncomment below to test the property - //modelInstance.push shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt deleted file mode 100644 index ae6e253..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestChannelsTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels - -class PostNotificationsTestSendRequestChannelsTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsTestSendRequestChannels - //val modelInstance = PostNotificationsTestSendRequestChannels() - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `inApp` - should("test inApp") { - // uncomment below to test the property - //modelInstance.inApp shouldBe ("TODO") - } - - // to test the property `push` - should("test push") { - // uncomment below to test the property - //modelInstance.push shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt deleted file mode 100644 index 7725e55..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequestTest.kt +++ /dev/null @@ -1,74 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequest -import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels - -class PostNotificationsTestSendRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostNotificationsTestSendRequest - //val modelInstance = PostNotificationsTestSendRequest() - - // to test the property `channels` - should("test channels") { - // uncomment below to test the property - //modelInstance.channels shouldBe ("TODO") - } - - // to test the property `type` - should("test type") { - // uncomment below to test the property - //modelInstance.type shouldBe ("TODO") - } - - // to test the property `content` - should("test content") { - // uncomment below to test the property - //modelInstance.content shouldBe ("TODO") - } - - // to test the property `email` - should("test email") { - // uncomment below to test the property - //modelInstance.email shouldBe ("TODO") - } - - // to test the property `language` - should("test language") { - // uncomment below to test the property - //modelInstance.language shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt deleted file mode 100644 index edffd2f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRoles201ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostRoles201Response - -class PostRoles201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostRoles201Response - //val modelInstance = PostRoles201Response() - - // to test the property `can` - should("test can") { - // uncomment below to test the property - //modelInstance.can shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt deleted file mode 100644 index f0b316f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostRolesRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostRolesRequest - -class PostRolesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostRolesRequest - //val modelInstance = PostRolesRequest() - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `permissions` - should("test permissions") { - // uncomment below to test the property - //modelInstance.permissions shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt deleted file mode 100644 index 3f19890..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelect200ResponseTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response - -class PostTimetableGroupsSelect200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableGroupsSelect200Response - //val modelInstance = PostTimetableGroupsSelect200Response() - - // to test the property `divisionTag` - should("test divisionTag") { - // uncomment below to test the property - //modelInstance.divisionTag shouldBe ("TODO") - } - - // to test the property `selectedGroupId` - should("test selectedGroupId") { - // uncomment below to test the property - //modelInstance.selectedGroupId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt deleted file mode 100644 index e8477d0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableGroupsSelectRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest - -class PostTimetableGroupsSelectRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableGroupsSelectRequest - //val modelInstance = PostTimetableGroupsSelectRequest() - - // to test the property `groupId` - should("test groupId") { - // uncomment below to test the property - //modelInstance.groupId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt deleted file mode 100644 index 0863b25..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableImportRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableImportRequest - -class PostTimetableImportRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableImportRequest - //val modelInstance = PostTimetableImportRequest() - - // to test the property `file` - should("test file") { - // uncomment below to test the property - //modelInstance.file shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `validFrom` - should("test validFrom") { - // uncomment below to test the property - //modelInstance.validFrom shouldBe ("TODO") - } - - // to test the property `validTo` - should("test validTo") { - // uncomment below to test the property - //modelInstance.validTo shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt deleted file mode 100644 index 9f679a6..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay - -class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDayTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay - //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay() - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `days` - should("test days") { - // uncomment below to test the property - //modelInstance.days shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt deleted file mode 100644 index 86584ff..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest.kt +++ /dev/null @@ -1,121 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerPeriod -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseGroupsInner -import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseWeekDefinition -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerDay - -class PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner - //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner() - - // to test the property `classrooms` - should("test classrooms") { - // uncomment below to test the property - //modelInstance.classrooms shouldBe ("TODO") - } - - // to test the property `cohorts` - should("test cohorts") { - // uncomment below to test the property - //modelInstance.cohorts shouldBe ("TODO") - } - - // to test the property `groups` - should("test groups") { - // uncomment below to test the property - //modelInstance.groups shouldBe ("TODO") - } - - // to test the property `groupsIds` - should("test groupsIds") { - // uncomment below to test the property - //modelInstance.groupsIds shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `period` - should("test period") { - // uncomment below to test the property - //modelInstance.period shouldBe ("TODO") - } - - // to test the property `periodsPerWeek` - should("test periodsPerWeek") { - // uncomment below to test the property - //modelInstance.periodsPerWeek shouldBe ("TODO") - } - - // to test the property `subject` - should("test subject") { - // uncomment below to test the property - //modelInstance.subject shouldBe ("TODO") - } - - // to test the property `teachers` - should("test teachers") { - // uncomment below to test the property - //modelInstance.teachers shouldBe ("TODO") - } - - // to test the property `termDefinitionId` - should("test termDefinitionId") { - // uncomment below to test the property - //modelInstance.termDefinitionId shouldBe ("TODO") - } - - // to test the property `weekDefinition` - should("test weekDefinition") { - // uncomment below to test the property - //modelInstance.weekDefinition shouldBe ("TODO") - } - - // to test the property `weeksDefinitionId` - should("test weeksDefinitionId") { - // uncomment below to test the property - //modelInstance.weeksDefinitionId shouldBe ("TODO") - } - - // to test the property `day` - should("test day") { - // uncomment below to test the property - //modelInstance.day shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt deleted file mode 100644 index d4fd447..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInner -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner - -class PostTimetableLessonsGetForTeachers200ResponseItemsInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200ResponseItemsInner - //val modelInstance = PostTimetableLessonsGetForTeachers200ResponseItemsInner() - - // to test the property `lessons` - should("test lessons") { - // uncomment below to test the property - //modelInstance.lessons shouldBe ("TODO") - } - - // to test the property `teacherId` - should("test teacherId") { - // uncomment below to test the property - //modelInstance.teacherId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt deleted file mode 100644 index 8126458..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachers200ResponseTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInner - -class PostTimetableLessonsGetForTeachers200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetForTeachers200Response - //val modelInstance = PostTimetableLessonsGetForTeachers200Response() - - // to test the property `items` - should("test items") { - // uncomment below to test the property - //modelInstance.items shouldBe ("TODO") - } - - // to test the property `total` - should("test total") { - // uncomment below to test the property - //modelInstance.total shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt deleted file mode 100644 index 7ec5643..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetForTeachersRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest - -class PostTimetableLessonsGetForTeachersRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetForTeachersRequest - //val modelInstance = PostTimetableLessonsGetForTeachersRequest() - - // to test the property `teacherIds` - should("test teacherIds") { - // uncomment below to test the property - //modelInstance.teacherIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt deleted file mode 100644 index 79a0287..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest.kt +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner -import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response - -class PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner - //val modelInstance = PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner() - - // to test the property `hasH1` - should("test hasH1") { - // uncomment below to test the property - //modelInstance.hasH1 shouldBe ("TODO") - } - - // to test the property `hasH2` - should("test hasH2") { - // uncomment below to test the property - //modelInstance.hasH2 shouldBe ("TODO") - } - - // to test the property `teacher` - should("test teacher") { - // uncomment below to test the property - //modelInstance.teacher shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt deleted file mode 100644 index 6eebef2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidates200ResponseTest.kt +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200ResponseSubstituteCandidatesInner - -class PostTimetableLessonsGetSubstitutionCandidates200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidates200Response - //val modelInstance = PostTimetableLessonsGetSubstitutionCandidates200Response() - - // to test the property `availableLessons` - should("test availableLessons") { - // uncomment below to test the property - //modelInstance.availableLessons shouldBe ("TODO") - } - - // to test the property `parallelLessons` - should("test parallelLessons") { - // uncomment below to test the property - //modelInstance.parallelLessons shouldBe ("TODO") - } - - // to test the property `substituteCandidates` - should("test substituteCandidates") { - // uncomment below to test the property - //modelInstance.substituteCandidates shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt deleted file mode 100644 index e005481..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableLessonsGetSubstitutionCandidatesRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidatesRequest - -class PostTimetableLessonsGetSubstitutionCandidatesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableLessonsGetSubstitutionCandidatesRequest - //val modelInstance = PostTimetableLessonsGetSubstitutionCandidatesRequest() - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `missingTeacherId` - should("test missingTeacherId") { - // uncomment below to test the property - //modelInstance.missingTeacherId shouldBe ("TODO") - } - - // to test the property `teacherIds` - should("test teacherIds") { - // uncomment below to test the property - //modelInstance.teacherIds shouldBe ("TODO") - } - - // to test the property `selectedLessonIds` - should("test selectedLessonIds") { - // uncomment below to test the property - //modelInstance.selectedLessonIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt deleted file mode 100644 index 3447f38..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200ResponseTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response - -class PostTimetableMovedLessons200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableMovedLessons200Response - //val modelInstance = PostTimetableMovedLessons200Response() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `room` - should("test room") { - // uncomment below to test the property - //modelInstance.room shouldBe ("TODO") - } - - // to test the property `startingDay` - should("test startingDay") { - // uncomment below to test the property - //modelInstance.startingDay shouldBe ("TODO") - } - - // to test the property `startingPeriod` - should("test startingPeriod") { - // uncomment below to test the property - //modelInstance.startingPeriod shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt deleted file mode 100644 index 4398e74..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest - -class PostTimetableMovedLessonsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableMovedLessonsRequest - //val modelInstance = PostTimetableMovedLessonsRequest() - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `lessonIds` - should("test lessonIds") { - // uncomment below to test the property - //modelInstance.lessonIds shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `room` - should("test room") { - // uncomment below to test the property - //modelInstance.room shouldBe ("TODO") - } - - // to test the property `startingDay` - should("test startingDay") { - // uncomment below to test the property - //modelInstance.startingDay shouldBe ("TODO") - } - - // to test the property `startingPeriod` - should("test startingPeriod") { - // uncomment below to test the property - //modelInstance.startingPeriod shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt deleted file mode 100644 index f38fa5a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutions200ResponseTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response - -class PostTimetableSubstitutions200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableSubstitutions200Response - //val modelInstance = PostTimetableSubstitutions200Response() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `substituter` - should("test substituter") { - // uncomment below to test the property - //modelInstance.substituter shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt deleted file mode 100644 index 25ed8ce..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsManualRequestTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest - -class PostTimetableSubstitutionsManualRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableSubstitutionsManualRequest - //val modelInstance = PostTimetableSubstitutionsManualRequest() - - // to test the property `cohortId` - should("test cohortId") { - // uncomment below to test the property - //modelInstance.cohortId shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `periodId` - should("test periodId") { - // uncomment below to test the property - //modelInstance.periodId shouldBe ("TODO") - } - - // to test the property `subjectId` - should("test subjectId") { - // uncomment below to test the property - //modelInstance.subjectId shouldBe ("TODO") - } - - // to test the property `substituter` - should("test substituter") { - // uncomment below to test the property - //modelInstance.substituter shouldBe ("TODO") - } - - // to test the property `teacherId` - should("test teacherId") { - // uncomment below to test the property - //modelInstance.teacherId shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt deleted file mode 100644 index 3d587f8..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableSubstitutionsRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest - -class PostTimetableSubstitutionsRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableSubstitutionsRequest - //val modelInstance = PostTimetableSubstitutionsRequest() - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `lessonIds` - should("test lessonIds") { - // uncomment below to test the property - //modelInstance.lessonIds shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `substituter` - should("test substituter") { - // uncomment below to test the property - //modelInstance.substituter shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt deleted file mode 100644 index 668e847..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostTimetableTimetablesCleanupOrphanedCohorts200Response - -class PostTimetableTimetablesCleanupOrphanedCohorts200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostTimetableTimetablesCleanupOrphanedCohorts200Response - //val modelInstance = PostTimetableTimetablesCleanupOrphanedCohorts200Response() - - // to test the property `affectedUserCount` - should("test affectedUserCount") { - // uncomment below to test the property - //modelInstance.affectedUserCount shouldBe ("TODO") - } - - // to test the property `deletedCohortIds` - should("test deletedCohortIds") { - // uncomment below to test the property - //modelInstance.deletedCohortIds shouldBe ("TODO") - } - - // to test the property `deletedTeacherIds` - should("test deletedTeacherIds") { - // uncomment below to test the property - //modelInstance.deletedTeacherIds shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt deleted file mode 100644 index 6ac7546..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevices201ResponseTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiDevices201Response - -class PostWifiDevices201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiDevices201Response - //val modelInstance = PostWifiDevices201Response() - - // to test the property `adminNotes` - should("test adminNotes") { - // uncomment below to test the property - //modelInstance.adminNotes shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `reportedHostname` - should("test reportedHostname") { - // uncomment below to test the property - //modelInstance.reportedHostname shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `wifiUserId` - should("test wifiUserId") { - // uncomment below to test the property - //modelInstance.wifiUserId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt deleted file mode 100644 index c06a427..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiDevicesRequestTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiDevicesRequest - -class PostWifiDevicesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiDevicesRequest - //val modelInstance = PostWifiDevicesRequest() - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `adminNotes` - should("test adminNotes") { - // uncomment below to test the property - //modelInstance.adminNotes shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `wifiUserId` - should("test wifiUserId") { - // uncomment below to test the property - //modelInstance.wifiUserId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt deleted file mode 100644 index 25bcbc1..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNas201ResponseTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiNas201Response - -class PostWifiNas201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiNas201Response - //val modelInstance = PostWifiNas201Response() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `ipAddress` - should("test ipAddress") { - // uncomment below to test the property - //modelInstance.ipAddress shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt deleted file mode 100644 index 312171f..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiNasRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiNasRequest - -class PostWifiNasRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiNasRequest - //val modelInstance = PostWifiNasRequest() - - // to test the property `ipAddress` - should("test ipAddress") { - // uncomment below to test the property - //modelInstance.ipAddress shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt deleted file mode 100644 index 3fee69c..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorize200ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorize200Response - -class PostWifiRadiusAuthorize200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiRadiusAuthorize200Response - //val modelInstance = PostWifiRadiusAuthorize200Response() - - // to test the property `cleartextPassword` - should("test cleartextPassword") { - // uncomment below to test the property - //modelInstance.cleartextPassword shouldBe ("TODO") - } - - // to test the property `controlCleartextPassword` - should("test controlCleartextPassword") { - // uncomment below to test the property - //modelInstance.controlCleartextPassword shouldBe ("TODO") - } - - // to test the property `sessionTimeout` - should("test sessionTimeout") { - // uncomment below to test the property - //modelInstance.sessionTimeout shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt deleted file mode 100644 index dc72bcd..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRadiusAuthorizeRequestTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiRadiusAuthorizeRequest - -class PostWifiRadiusAuthorizeRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiRadiusAuthorizeRequest - //val modelInstance = PostWifiRadiusAuthorizeRequest() - - // to test the property `source` - should("test source") { - // uncomment below to test the property - //modelInstance.source shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - // to test the property `destination` - should("test destination") { - // uncomment below to test the property - //modelInstance.destination shouldBe ("TODO") - } - - // to test the property `IP` - should("test IP") { - // uncomment below to test the property - //modelInstance.IP shouldBe ("TODO") - } - - // to test the property `NAS` - should("test NAS") { - // uncomment below to test the property - //modelInstance.NAS shouldBe ("TODO") - } - - // to test the property `password` - should("test password") { - // uncomment below to test the property - //modelInstance.password shouldBe ("TODO") - } - - // to test the property `sharedSecret` - should("test sharedSecret") { - // uncomment below to test the property - //modelInstance.sharedSecret shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt deleted file mode 100644 index a06cc70..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfiles201ResponseTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfiles201Response - -class PostWifiRoleSpeedProfiles201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiRoleSpeedProfiles201Response - //val modelInstance = PostWifiRoleSpeedProfiles201Response() - - // to test the property `priority` - should("test priority") { - // uncomment below to test the property - //modelInstance.priority shouldBe ("TODO") - } - - // to test the property `roleName` - should("test roleName") { - // uncomment below to test the property - //modelInstance.roleName shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt deleted file mode 100644 index 26cbec4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiRoleSpeedProfilesRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiRoleSpeedProfilesRequest - -class PostWifiRoleSpeedProfilesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiRoleSpeedProfilesRequest - //val modelInstance = PostWifiRoleSpeedProfilesRequest() - - // to test the property `roleName` - should("test roleName") { - // uncomment below to test the property - //modelInstance.roleName shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `priority` - should("test priority") { - // uncomment below to test the property - //modelInstance.priority shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt deleted file mode 100644 index 0160b80..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseDevicesInnerTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner - -class PostWifiSelf201ResponseDevicesInnerTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiSelf201ResponseDevicesInner - //val modelInstance = PostWifiSelf201ResponseDevicesInner() - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `reportedHostname` - should("test reportedHostname") { - // uncomment below to test the property - //modelInstance.reportedHostname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt deleted file mode 100644 index bd8b925..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelf201ResponseTest.kt +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiSelf201Response -import hu.petrik.filcapp.api.model.GetWifiSelf200ResponseSpeedLimit -import hu.petrik.filcapp.api.model.PostWifiSelf201ResponseDevicesInner - -class PostWifiSelf201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiSelf201Response - //val modelInstance = PostWifiSelf201Response() - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `devices` - should("test devices") { - // uncomment below to test the property - //modelInstance.devices shouldBe ("TODO") - } - - // to test the property `speedLimit` - should("test speedLimit") { - // uncomment below to test the property - //modelInstance.speedLimit shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt deleted file mode 100644 index 804b65b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSelfRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiSelfRequest - -class PostWifiSelfRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiSelfRequest - //val modelInstance = PostWifiSelfRequest() - - // to test the property `password` - should("test password") { - // uncomment below to test the property - //modelInstance.password shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt deleted file mode 100644 index 0ffde76..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfiles201ResponseTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiSpeedProfiles201Response - -class PostWifiSpeedProfiles201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiSpeedProfiles201Response - //val modelInstance = PostWifiSpeedProfiles201Response() - - // to test the property `downloadSpeedMbps` - should("test downloadSpeedMbps") { - // uncomment below to test the property - //modelInstance.downloadSpeedMbps shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `isWlanDefault` - should("test isWlanDefault") { - // uncomment below to test the property - //modelInstance.isWlanDefault shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `uploadSpeedMbps` - should("test uploadSpeedMbps") { - // uncomment below to test the property - //modelInstance.uploadSpeedMbps shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt deleted file mode 100644 index 3e81e9b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiSpeedProfilesRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiSpeedProfilesRequest - -class PostWifiSpeedProfilesRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiSpeedProfilesRequest - //val modelInstance = PostWifiSpeedProfilesRequest() - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `downloadSpeedMbps` - should("test downloadSpeedMbps") { - // uncomment below to test the property - //modelInstance.downloadSpeedMbps shouldBe ("TODO") - } - - // to test the property `uploadSpeedMbps` - should("test uploadSpeedMbps") { - // uncomment below to test the property - //modelInstance.uploadSpeedMbps shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt deleted file mode 100644 index 9d20593..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsers201ResponseTest.kt +++ /dev/null @@ -1,109 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiUsers201Response - -class PostWifiUsers201ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiUsers201Response - //val modelInstance = PostWifiUsers201Response() - - // to test the property `allowedMacAddresses` - should("test allowedMacAddresses") { - // uncomment below to test the property - //modelInstance.allowedMacAddresses shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `createdAt` - should("test createdAt") { - // uncomment below to test the property - //modelInstance.createdAt shouldBe ("TODO") - } - - // to test the property `createdBy` - should("test createdBy") { - // uncomment below to test the property - //modelInstance.createdBy shouldBe ("TODO") - } - - // to test the property `creatorName` - should("test creatorName") { - // uncomment below to test the property - //modelInstance.creatorName shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `lastActiveAt` - should("test lastActiveAt") { - // uncomment below to test the property - //modelInstance.lastActiveAt shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `updatedAt` - should("test updatedAt") { - // uncomment below to test the property - //modelInstance.updatedAt shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt deleted file mode 100644 index 1f2adb2..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PostWifiUsersRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PostWifiUsersRequest - -class PostWifiUsersRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PostWifiUsersRequest - //val modelInstance = PostWifiUsersRequest() - - // to test the property `password` - should("test password") { - // uncomment below to test the property - //modelInstance.password shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - // to test the property `allowedMacAddresses` - should("test allowedMacAddresses") { - // uncomment below to test the property - //modelInstance.allowedMacAddresses shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt deleted file mode 100644 index 5faa225..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockCardsByIdRequestTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutDoorlockCardsByIdRequest - -class PutDoorlockCardsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutDoorlockCardsByIdRequest - //val modelInstance = PutDoorlockCardsByIdRequest() - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `authorizedDeviceIds` - should("test authorizedDeviceIds") { - // uncomment below to test the property - //modelInstance.authorizedDeviceIds shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `frozen` - should("test frozen") { - // uncomment below to test the property - //modelInstance.frozen shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt deleted file mode 100644 index dffea52..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockDevicesByIdRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutDoorlockDevicesByIdRequest - -class PutDoorlockDevicesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutDoorlockDevicesByIdRequest - //val modelInstance = PutDoorlockDevicesByIdRequest() - - // to test the property `apiToken` - should("test apiToken") { - // uncomment below to test the property - //modelInstance.apiToken shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `lastResetReason` - should("test lastResetReason") { - // uncomment below to test the property - //modelInstance.lastResetReason shouldBe ("TODO") - } - - // to test the property `location` - should("test location") { - // uncomment below to test the property - //modelInstance.location shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt deleted file mode 100644 index c90c60e..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutDoorlockSelfCardsByIdFrozenRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutDoorlockSelfCardsByIdFrozenRequest - -class PutDoorlockSelfCardsByIdFrozenRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutDoorlockSelfCardsByIdFrozenRequest - //val modelInstance = PutDoorlockSelfCardsByIdFrozenRequest() - - // to test the property `frozen` - should("test frozen") { - // uncomment below to test the property - //modelInstance.frozen shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt deleted file mode 100644 index 142964b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutKioskByIdRequestTest.kt +++ /dev/null @@ -1,62 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutKioskByIdRequest -import hu.petrik.filcapp.api.model.PostKioskRequestConfig - -class PutKioskByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutKioskByIdRequest - //val modelInstance = PutKioskByIdRequest() - - // to test the property `config` - should("test config") { - // uncomment below to test the property - //modelInstance.config shouldBe ("TODO") - } - - // to test the property `enabled` - should("test enabled") { - // uncomment below to test the property - //modelInstance.enabled shouldBe ("TODO") - } - - // to test the property `kind` - should("test kind") { - // uncomment below to test the property - //modelInstance.kind shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt deleted file mode 100644 index 7dc7607..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorBuildingsByIdRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorBuildingsByIdRequest - -class PutNavigatorBuildingsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorBuildingsByIdRequest - //val modelInstance = PutNavigatorBuildingsByIdRequest() - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt deleted file mode 100644 index 199b37b..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomTypesByIdRequestTest.kt +++ /dev/null @@ -1,49 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorClassroomTypesByIdRequest - -class PutNavigatorClassroomTypesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorClassroomTypesByIdRequest - //val modelInstance = PutNavigatorClassroomTypesByIdRequest() - - // to test the property `colorhex` - should("test colorhex") { - // uncomment below to test the property - //modelInstance.colorhex shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt deleted file mode 100644 index 146ebfa..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsById200ResponseTest.kt +++ /dev/null @@ -1,127 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorClassroomsById200Response - -class PutNavigatorClassroomsById200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorClassroomsById200Response - //val modelInstance = PutNavigatorClassroomsById200Response() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `capacity` - should("test capacity") { - // uncomment below to test the property - //modelInstance.capacity shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `id` - should("test id") { - // uncomment below to test the property - //modelInstance.id shouldBe ("TODO") - } - - // to test the property `mapped` - should("test mapped") { - // uncomment below to test the property - //modelInstance.mapped shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `sizeX` - should("test sizeX") { - // uncomment below to test the property - //modelInstance.sizeX shouldBe ("TODO") - } - - // to test the property `sizeY` - should("test sizeY") { - // uncomment below to test the property - //modelInstance.sizeY shouldBe ("TODO") - } - - // to test the property `sizeZ` - should("test sizeZ") { - // uncomment below to test the property - //modelInstance.sizeZ shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `typeId` - should("test typeId") { - // uncomment below to test the property - //modelInstance.typeId shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt deleted file mode 100644 index 3c7f5ad..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorClassroomsByIdRequestTest.kt +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorClassroomsByIdRequest - -class PutNavigatorClassroomsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorClassroomsByIdRequest - //val modelInstance = PutNavigatorClassroomsByIdRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `capacity` - should("test capacity") { - // uncomment below to test the property - //modelInstance.capacity shouldBe ("TODO") - } - - // to test the property `description` - should("test description") { - // uncomment below to test the property - //modelInstance.description shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `short` - should("test short") { - // uncomment below to test the property - //modelInstance.short shouldBe ("TODO") - } - - // to test the property `sizeX` - should("test sizeX") { - // uncomment below to test the property - //modelInstance.sizeX shouldBe ("TODO") - } - - // to test the property `sizeY` - should("test sizeY") { - // uncomment below to test the property - //modelInstance.sizeY shouldBe ("TODO") - } - - // to test the property `sizeZ` - should("test sizeZ") { - // uncomment below to test the property - //modelInstance.sizeZ shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `typeId` - should("test typeId") { - // uncomment below to test the property - //modelInstance.typeId shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt deleted file mode 100644 index 12b99b9..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorCorridorsByIdRequestTest.kt +++ /dev/null @@ -1,97 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorCorridorsByIdRequest - -class PutNavigatorCorridorsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorCorridorsByIdRequest - //val modelInstance = PutNavigatorCorridorsByIdRequest() - - // to test the property `barrierFree` - should("test barrierFree") { - // uncomment below to test the property - //modelInstance.barrierFree shouldBe ("TODO") - } - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `isOutdoor` - should("test isOutdoor") { - // uncomment below to test the property - //modelInstance.isOutdoor shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `storey` - should("test storey") { - // uncomment below to test the property - //modelInstance.storey shouldBe ("TODO") - } - - // to test the property `width` - should("test width") { - // uncomment below to test the property - //modelInstance.width shouldBe ("TODO") - } - - // to test the property `x1` - should("test x1") { - // uncomment below to test the property - //modelInstance.x1 shouldBe ("TODO") - } - - // to test the property `x2` - should("test x2") { - // uncomment below to test the property - //modelInstance.x2 shouldBe ("TODO") - } - - // to test the property `y1` - should("test y1") { - // uncomment below to test the property - //modelInstance.y1 shouldBe ("TODO") - } - - // to test the property `y2` - should("test y2") { - // uncomment below to test the property - //modelInstance.y2 shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt deleted file mode 100644 index df7b6a0..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorLiftsByIdRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorLiftsByIdRequest - -class PutNavigatorLiftsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorLiftsByIdRequest - //val modelInstance = PutNavigatorLiftsByIdRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt deleted file mode 100644 index c055f18..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorStairsByIdRequestTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorStairsByIdRequest - -class PutNavigatorStairsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorStairsByIdRequest - //val modelInstance = PutNavigatorStairsByIdRequest() - - // to test the property `buildingId` - should("test buildingId") { - // uncomment below to test the property - //modelInstance.buildingId shouldBe ("TODO") - } - - // to test the property `maxStorey` - should("test maxStorey") { - // uncomment below to test the property - //modelInstance.maxStorey shouldBe ("TODO") - } - - // to test the property `minStorey` - should("test minStorey") { - // uncomment below to test the property - //modelInstance.minStorey shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `rotation` - should("test rotation") { - // uncomment below to test the property - //modelInstance.rotation shouldBe ("TODO") - } - - // to test the property `x` - should("test x") { - // uncomment below to test the property - //modelInstance.x shouldBe ("TODO") - } - - // to test the property `y` - should("test y") { - // uncomment below to test the property - //modelInstance.y shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt deleted file mode 100644 index c697814..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutNavigatorTranslationsByLangByKeyRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutNavigatorTranslationsByLangByKeyRequest - -class PutNavigatorTranslationsByLangByKeyRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutNavigatorTranslationsByLangByKeyRequest - //val modelInstance = PutNavigatorTranslationsByLangByKeyRequest() - - // to test the property `text` - should("test text") { - // uncomment below to test the property - //modelInstance.text shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt deleted file mode 100644 index 9018229..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequestTest.kt +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest - -class PutTimetableMovedLessonsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutTimetableMovedLessonsByIdRequest - //val modelInstance = PutTimetableMovedLessonsByIdRequest() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `lessonIds` - should("test lessonIds") { - // uncomment below to test the property - //modelInstance.lessonIds shouldBe ("TODO") - } - - // to test the property `room` - should("test room") { - // uncomment below to test the property - //modelInstance.room shouldBe ("TODO") - } - - // to test the property `startingDay` - should("test startingDay") { - // uncomment below to test the property - //modelInstance.startingDay shouldBe ("TODO") - } - - // to test the property `startingPeriod` - should("test startingPeriod") { - // uncomment below to test the property - //modelInstance.startingPeriod shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt deleted file mode 100644 index 9fcc639..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutTimetableSubstitutionsByIdRequestTest.kt +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutTimetableSubstitutionsByIdRequest - -class PutTimetableSubstitutionsByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutTimetableSubstitutionsByIdRequest - //val modelInstance = PutTimetableSubstitutionsByIdRequest() - - // to test the property `lessonIds` - should("test lessonIds") { - // uncomment below to test the property - //modelInstance.lessonIds shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `date` - should("test date") { - // uncomment below to test the property - //modelInstance.date shouldBe ("TODO") - } - - // to test the property `substituter` - should("test substituter") { - // uncomment below to test the property - //modelInstance.substituter shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt deleted file mode 100644 index 1e835af..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiDevicesByIdRequestTest.kt +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiDevicesByIdRequest - -class PutWifiDevicesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiDevicesByIdRequest - //val modelInstance = PutWifiDevicesByIdRequest() - - // to test the property `adminNotes` - should("test adminNotes") { - // uncomment below to test the property - //modelInstance.adminNotes shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - // to test the property `wifiUserId` - should("test wifiUserId") { - // uncomment below to test the property - //modelInstance.wifiUserId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt deleted file mode 100644 index 97e11a4..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiNasByIdRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiNasByIdRequest - -class PutWifiNasByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiNasByIdRequest - //val modelInstance = PutWifiNasByIdRequest() - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `ipAddress` - should("test ipAddress") { - // uncomment below to test the property - //modelInstance.ipAddress shouldBe ("TODO") - } - - // to test the property `macAddress` - should("test macAddress") { - // uncomment below to test the property - //modelInstance.macAddress shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt deleted file mode 100644 index 8629ebf..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiRoleSpeedProfilesByIdRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiRoleSpeedProfilesByIdRequest - -class PutWifiRoleSpeedProfilesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiRoleSpeedProfilesByIdRequest - //val modelInstance = PutWifiRoleSpeedProfilesByIdRequest() - - // to test the property `priority` - should("test priority") { - // uncomment below to test the property - //modelInstance.priority shouldBe ("TODO") - } - - // to test the property `roleName` - should("test roleName") { - // uncomment below to test the property - //modelInstance.roleName shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt deleted file mode 100644 index ba4e498..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfDevicesByIdRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiSelfDevicesByIdRequest - -class PutWifiSelfDevicesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiSelfDevicesByIdRequest - //val modelInstance = PutWifiSelfDevicesByIdRequest() - - // to test the property `nickname` - should("test nickname") { - // uncomment below to test the property - //modelInstance.nickname shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt deleted file mode 100644 index 2402b28..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPassword200ResponseTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiSelfPassword200Response - -class PutWifiSelfPassword200ResponseTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiSelfPassword200Response - //val modelInstance = PutWifiSelfPassword200Response() - - // to test the property `success` - should("test success") { - // uncomment below to test the property - //modelInstance.success shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt deleted file mode 100644 index ddea57a..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSelfPasswordRequestTest.kt +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiSelfPasswordRequest - -class PutWifiSelfPasswordRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiSelfPasswordRequest - //val modelInstance = PutWifiSelfPasswordRequest() - - // to test the property `newPassword` - should("test newPassword") { - // uncomment below to test the property - //modelInstance.newPassword shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt deleted file mode 100644 index a1388e7..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiSpeedProfilesByIdRequestTest.kt +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiSpeedProfilesByIdRequest - -class PutWifiSpeedProfilesByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiSpeedProfilesByIdRequest - //val modelInstance = PutWifiSpeedProfilesByIdRequest() - - // to test the property `downloadSpeedMbps` - should("test downloadSpeedMbps") { - // uncomment below to test the property - //modelInstance.downloadSpeedMbps shouldBe ("TODO") - } - - // to test the property `name` - should("test name") { - // uncomment below to test the property - //modelInstance.name shouldBe ("TODO") - } - - // to test the property `uploadSpeedMbps` - should("test uploadSpeedMbps") { - // uncomment below to test the property - //modelInstance.uploadSpeedMbps shouldBe ("TODO") - } - - } -} diff --git a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt b/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt deleted file mode 100644 index 1a0e514..0000000 --- a/composeApp/src/test/kotlin/hu/petrik/filcapp/api/model/PutWifiUsersByIdRequestTest.kt +++ /dev/null @@ -1,79 +0,0 @@ -/** - * - * Please note: - * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit this file manually. - * - */ - -@file:Suppress( - "ArrayInDataClass", - "DuplicatedCode", - "EnumEntryName", - "RemoveRedundantQualifierName", - "RemoveRedundantCallsOfConversionMethods", - "REDUNDANT_CALL_OF_CONVERSION_METHOD", - "RedundantUnitReturnType", - "RemoveEmptyClassBody", - "UnnecessaryVariable", - "UnusedImport", - "UnnecessaryVariable", - "unused" -) - -package hu.petrik.filcapp.api.model - -import io.kotlintest.shouldBe -import io.kotlintest.specs.ShouldSpec - -import hu.petrik.filcapp.api.model.PutWifiUsersByIdRequest - -class PutWifiUsersByIdRequestTest : ShouldSpec() { - init { - // uncomment below to create an instance of PutWifiUsersByIdRequest - //val modelInstance = PutWifiUsersByIdRequest() - - // to test the property `allowedMacAddresses` - should("test allowedMacAddresses") { - // uncomment below to test the property - //modelInstance.allowedMacAddresses shouldBe ("TODO") - } - - // to test the property `comment` - should("test comment") { - // uncomment below to test the property - //modelInstance.comment shouldBe ("TODO") - } - - // to test the property `password` - should("test password") { - // uncomment below to test the property - //modelInstance.password shouldBe ("TODO") - } - - // to test the property `speedProfileId` - should("test speedProfileId") { - // uncomment below to test the property - //modelInstance.speedProfileId shouldBe ("TODO") - } - - // to test the property `userId` - should("test userId") { - // uncomment below to test the property - //modelInstance.userId shouldBe ("TODO") - } - - // to test the property `username` - should("test username") { - // uncomment below to test the property - //modelInstance.username shouldBe ("TODO") - } - - // to test the property `banned` - should("test banned") { - // uncomment below to test the property - //modelInstance.banned shouldBe ("TODO") - } - - } -} From 456f15787b9ed86e75467168583bfd62d60a7f6b Mon Sep 17 00:00:00 2001 From: merenyimiklos Date: Thu, 19 Nov 2026 14:57:00 +0100 Subject: [PATCH 3/5] feat(api): update OpenAPI spec to Chronos and regenerate API client * Update `generateFilcApiClient` Gradle task to use `chronos-openapi.json` as the input specification. * Add `ThemeApi` for retrieving and setting the site-wide seasonal theme. * Add avatar management endpoints (`postUsersAvatar`, `deleteUsersAvatar`, `getUsersAvatarsByFile`) to `UsersApi`. * Add `getPingTime` to `PingApi` to fetch authoritative server time and timezone offsets. * Add models for activity logs (`GetActivityLog200Response`). * Update `MovedLessonApi` models to support manual moved lesson definitions (cohorts, source room, subject, and teachers). * Update notification settings and preference models with new color scheme and email channel configuration fields. --- composeApp/build.gradle.kts | 2 +- .../petrik/filcapp/api/client/APIKeysApi.kt | 1 - .../filcapp/api/client/BugReportsApi.kt | 1 - .../petrik/filcapp/api/client/ClassroomApi.kt | 2 +- .../hu/petrik/filcapp/api/client/CohortApi.kt | 2 +- .../petrik/filcapp/api/client/DashboardApi.kt | 2 +- .../petrik/filcapp/api/client/DoorlockApi.kt | 1 - .../hu/petrik/filcapp/api/client/GroupApi.kt | 2 +- .../hu/petrik/filcapp/api/client/HealthApi.kt | 2 +- .../hu/petrik/filcapp/api/client/ImportApi.kt | 2 +- .../hu/petrik/filcapp/api/client/KioskApi.kt | 1 - .../hu/petrik/filcapp/api/client/LessonApi.kt | 2 +- .../filcapp/api/client/MovedLessonApi.kt | 5 +- .../petrik/filcapp/api/client/NavigatorApi.kt | 2 +- .../api/client/NewsAnnouncementsApi.kt | 1 - .../petrik/filcapp/api/client/NewsBlogsApi.kt | 1 - .../api/client/NewsSystemMessagesApi.kt | 1 - .../filcapp/api/client/NotificationsApi.kt | 6 +- .../hu/petrik/filcapp/api/client/PeriodApi.kt | 2 +- .../hu/petrik/filcapp/api/client/PingApi.kt | 35 ++++- .../hu/petrik/filcapp/api/client/RolesApi.kt | 2 +- .../petrik/filcapp/api/client/SubjectApi.kt | 2 +- .../filcapp/api/client/SubstitutionApi.kt | 1 - .../petrik/filcapp/api/client/TeacherApi.kt | 2 +- .../hu/petrik/filcapp/api/client/ThemeApi.kt | 123 ++++++++++++++++++ .../petrik/filcapp/api/client/TimetableApi.kt | 1 - .../hu/petrik/filcapp/api/client/UsersApi.kt | 103 ++++++++++++++- .../hu/petrik/filcapp/api/client/WiFiApi.kt | 1 - .../DeleteAdminApiKeysByKeyId400Response.kt | 2 +- .../api/model/GetActivityLog200Response.kt | 48 +++++++ .../GetActivityLog200ResponseItemsInner.kt | 73 +++++++++++ ...etActivityLog200ResponseItemsInnerActor.kt | 53 ++++++++ .../api/model/GetActivityLog400Response.kt | 50 +++++++ ...200ResponseItemsInnerMetadataAnyOfInner.kt | 1 + ...200ResponseItemsInnerMetadataAnyOfValue.kt | 1 + ...oardStats200ResponseStatsChartDataInner.kt | 2 +- .../GetDoorlockCards200ResponseItemsInner.kt | 4 +- .../filcapp/api/model/GetHealth200Response.kt | 4 +- .../GetNotifications200ResponseItemsInner.kt | 3 +- ...ifications200ResponseItemsInnerMetadata.kt | 57 ++++++++ ...0ResponseItemsInnerMetadataDetailsInner.kt | 47 +++++++ .../GetNotificationsSettings200Response.kt | 24 ++++ ...tings200ResponseNotificationPreferences.kt | 14 +- .../api/model/GetPingTime200Response.kt | 56 ++++++++ .../filcapp/api/model/GetTheme200Response.kt | 59 +++++++++ ...etableMovedLessons200ResponseItemsInner.kt | 4 + ...MovedLessons200ResponseItemsInnerManual.kt | 56 ++++++++ ...ssons200ResponseItemsInnerManualSubject.kt | 56 ++++++++ ...Lessons200ResponseItemsInnerMovedLesson.kt | 12 ++ ...tableSubstitutions200ResponseItemsInner.kt | 4 +- ...stitutionsRelevant200ResponseItemsInner.kt | 4 +- .../PatchAdminApiKeysByKeyId200Response.kt | 4 +- .../PatchNotificationsSettingsRequest.kt | 24 ++++ ...sSettingsRequestNotificationPreferences.kt | 14 +- ...ostDoorlockDevicesByIdUpdate200Response.kt | 2 +- .../model/PostKioskHeartbeat200Response.kt | 4 +- .../PostKioskHeartbeat200ResponseAnyOf.kt | 2 +- .../PostKioskHeartbeat200ResponseAnyOf1.kt | 4 +- .../PostKioskHeartbeat200ResponseAnyOf2.kt | 4 +- .../PostNotificationsByIdRead200Response.kt | 3 +- ...otificationsByIdRead200ResponseMetadata.kt | 57 ++++++++ ...ByIdRead200ResponseMetadataDetailsInner.kt | 47 +++++++ .../PostNotificationsTestPreviewRequest.kt | 14 +- .../model/PostNotificationsTestSendRequest.kt | 10 +- .../PostTimetableMovedLessons200Response.kt | 12 ++ .../model/PostTimetableMovedLessonsRequest.kt | 18 ++- .../api/model/PostUsersAvatar200Response.kt | 47 +++++++ .../PutTimetableMovedLessonsByIdRequest.kt | 12 ++ 68 files changed, 1158 insertions(+), 62 deletions(-) create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ThemeApi.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200Response.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInnerActor.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog400Response.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadataDetailsInner.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingTime200Response.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTheme200Response.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManual.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManualSubject.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadataDetailsInner.kt create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostUsersAvatar200Response.kt diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index e6caa4e..d78058e 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -28,7 +28,7 @@ plugins { val generateFilcApiClient by tasks.registering(GenerateTask::class) { generatorName.set("kotlin") library.set("multiplatform") - inputSpec.set(rootProject.file("openapi/filc-openapi.json").absolutePath) + inputSpec.set(rootProject.file("openapi/chronos-openapi.json").absolutePath) outputDir.set(projectDir.absolutePath) packageName.set("hu.petrik.filcapp.api") apiPackage.set("hu.petrik.filcapp.api.client") diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt index 9c6b7f0..6f40569 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/APIKeysApi.kt @@ -27,7 +27,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetAdminApiKeys200Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyIdRequest import hu.petrik.filcapp.api.infrastructure.* diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt index d4beaed..b871bc4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/BugReportsApi.kt @@ -26,7 +26,6 @@ package hu.petrik.filcapp.api.client import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetBugReport200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchBugReportByIdStatus200Response import hu.petrik.filcapp.api.model.PatchBugReportByIdStatusRequest import hu.petrik.filcapp.api.model.PostBugReport201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt index d9e7c06..cd667e1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ClassroomApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNavigatorClassrooms200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt index 94149c5..63c50a1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/CohortApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetCohort200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt index cfb5a23..67b3489 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DashboardApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetDashboardStats200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt index 8e725d3..dbafa5c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/DoorlockApi.kt @@ -31,7 +31,6 @@ import hu.petrik.filcapp.api.model.GetDoorlockDevices200Response import hu.petrik.filcapp.api.model.GetDoorlockDevicesByIdStats200Response import hu.petrik.filcapp.api.model.GetDoorlockLogs200Response import hu.petrik.filcapp.api.model.GetDoorlockStatsOverview200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostDoorlockCards201Response import hu.petrik.filcapp.api.model.PostDoorlockCardsRequest import hu.petrik.filcapp.api.model.PostDoorlockDevices201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt index f6ffd8b..6a353b7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/GroupApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableGroupsGetForCohortByCohortId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableGroupsSelect200Response import hu.petrik.filcapp.api.model.PostTimetableGroupsSelectRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt index c69a546..7510a05 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/HealthApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetHealth200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt index c429bc3..3d96eeb 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ImportApi.kt @@ -23,7 +23,7 @@ package hu.petrik.filcapp.api.client -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostTimetableImportRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt index f4a54cc..a9c1b8b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/KioskApi.kt @@ -29,7 +29,6 @@ import hu.petrik.filcapp.api.model.GetKiosk200Response import hu.petrik.filcapp.api.model.GetKioskNews200Response import hu.petrik.filcapp.api.model.GetKioskPetrikNews200Response import hu.petrik.filcapp.api.model.GetKioskWeather200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostKiosk201Response import hu.petrik.filcapp.api.model.PostKioskDepartures200Response import hu.petrik.filcapp.api.model.PostKioskDeparturesRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt index 804b5e3..604361d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/LessonApi.kt @@ -23,9 +23,9 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200Response import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachersRequest import hu.petrik.filcapp.api.model.PostTimetableLessonsGetSubstitutionCandidates200Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt index abe425a..2f10f4b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/MovedLessonApi.kt @@ -26,7 +26,6 @@ package hu.petrik.filcapp.api.client import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableMovedLessons200Response import hu.petrik.filcapp.api.model.PostTimetableMovedLessonsRequest import hu.petrik.filcapp.api.model.PutTimetableMovedLessonsByIdRequest @@ -261,7 +260,7 @@ open class MovedLessonApi : ApiClient { /** * - * Create a moved lesson. + * Create a moved lesson: linked to existing lessons, or manual (a subject plus cohorts, with no source lessons). * @param postTimetableMovedLessonsRequest * @return PostTimetableMovedLessons200Response */ @@ -294,7 +293,7 @@ open class MovedLessonApi : ApiClient { /** * - * Update a moved lesson. + * Update a moved lesson. Every field is optional and an omitted one keeps its stored value. A moved lesson still has exactly one source, so switching sources must clear the other one explicitly: send `lessonIds: []` together with the manual fields to switch to manual, or `manualCohortIds: []` together with `lessonIds` to switch to linked. * @param id * @param putTimetableMovedLessonsByIdRequest (optional) * @return PostTimetableMovedLessons200Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt index 80ada14..40f1fc4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NavigatorApi.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.DeleteNavigatorBuildingsById200Response import hu.petrik.filcapp.api.model.GetNavigatorBuildings200Response import hu.petrik.filcapp.api.model.GetNavigatorClassroomTypes200Response @@ -35,7 +36,6 @@ import hu.petrik.filcapp.api.model.GetNavigatorStairs200Response import hu.petrik.filcapp.api.model.GetNavigatorStairs200ResponseItemsInner import hu.petrik.filcapp.api.model.GetNavigatorTranslations200Response import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostNavigatorBuildings201Response import hu.petrik.filcapp.api.model.PostNavigatorBuildingsRequest import hu.petrik.filcapp.api.model.PostNavigatorClassroomTypes201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt index 07ffda6..6f08f59 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsAnnouncementsApi.kt @@ -27,7 +27,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsAnnouncements200Response import hu.petrik.filcapp.api.model.GetNewsAnnouncementsById200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsById200Response import hu.petrik.filcapp.api.model.PatchNewsAnnouncementsByIdRequest import hu.petrik.filcapp.api.model.PostNavigatorImportRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt index 58a66a1..0ad5b53 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsBlogsApi.kt @@ -27,7 +27,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsBlogs200Response import hu.petrik.filcapp.api.model.GetNewsBlogsBySlug200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchNewsBlogsById200Response import hu.petrik.filcapp.api.model.PatchNewsBlogsByIdRequest import hu.petrik.filcapp.api.model.PostNewsBlogs201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt index 608cb71..bdfb07a 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NewsSystemMessagesApi.kt @@ -27,7 +27,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNewsSystemMessages200Response import hu.petrik.filcapp.api.model.GetNewsSystemMessagesById200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesById200Response import hu.petrik.filcapp.api.model.PatchNewsSystemMessagesByIdRequest import hu.petrik.filcapp.api.model.PostNewsSystemMessages201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt index e7c83da..699c9c7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/NotificationsApi.kt @@ -23,10 +23,10 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNotifications200Response import hu.petrik.filcapp.api.model.GetNotificationsSettings200Response import hu.petrik.filcapp.api.model.GetNotificationsUnreadCount200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchNotificationsSettingsRequest import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200Response @@ -355,7 +355,7 @@ open class NotificationsApi : ApiClient { /** * - * Development helper: drop a test notification into the caller's own inbox (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS) + * Development helper: drop a test notification into the caller's own inbox (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS). * @return PostNotificationsByIdRead200Response */ @Suppress("UNCHECKED_CAST") @@ -387,7 +387,7 @@ open class NotificationsApi : ApiClient { /** * - * Development helper: render a notification template without sending it (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS) + * Development helper: render a notification template without sending it (needs CHRONOS_ENABLE_TEST_NOTIFICATIONS). When entityId is given, a real record is rendered through the same builders as the live pipeline instead of the supplied text: substitution, substitution_teacher, moved_lesson, moved_lesson_teacher, announcement, system_message and blog_post; every other type answers 400. * @param postNotificationsTestPreviewRequest * @return PostNotificationsTestPreview200Response */ diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt index 646537e..c3c415f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PeriodApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetablePeriodsGetAll200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt index cf8d1c6..041852f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/PingApi.kt @@ -23,9 +23,10 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetPing200Response +import hu.petrik.filcapp.api.model.GetPingTime200Response import hu.petrik.filcapp.api.model.GetPingUptime200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient @@ -88,6 +89,38 @@ open class PingApi : ApiClient { } + /** + * + * Returns the current server time in the school's configured timezone (Europe/Budapest by default), so a client can render the authoritative local date and UTC offset without trusting its own clock. + * @return GetPingTime200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getPingTime(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/ping/time", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + /** * * Get the uptime. diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt index e468176..6e337e1 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/RolesApi.kt @@ -23,9 +23,9 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetNavigatorTranslationsAvailable200Response import hu.petrik.filcapp.api.model.GetRoles200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchRolesByNameRequest import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response import hu.petrik.filcapp.api.model.PostRoles201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt index dcbed1b..44ee481 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubjectApi.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableSubjects200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt index af380a0..fb1d8f7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/SubstitutionApi.kt @@ -28,7 +28,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200Response import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsCohortByCohortId200Response import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsManualRequest import hu.petrik.filcapp.api.model.PostTimetableSubstitutionsRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt index 9cd5f32..d23db78 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TeacherApi.kt @@ -23,10 +23,10 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableTeachers200Response import hu.petrik.filcapp.api.model.GetTimetableTeachersGetAll200Response import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchTimetableTeachersById200Response import hu.petrik.filcapp.api.model.PatchTimetableTeachersByIdRequest diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ThemeApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ThemeApi.kt new file mode 100644 index 0000000..0d36a63 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ThemeApi.kt @@ -0,0 +1,123 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response +import hu.petrik.filcapp.api.model.GetTheme200Response + +import hu.petrik.filcapp.api.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class ThemeApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * + * Read the site-wide seasonal theme. Public because signed-out visitors need it. + * @return GetTheme200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getTheme(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/theme", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * + * Set the site-wide seasonal theme. Admin-only. + * @param getTheme200Response + * @return GetTheme200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun patchTheme(getTheme200Response: GetTheme200Response): HttpResponse { + + val localVariableAuthNames = listOf("sessionAuth") + + val localVariableBody = getTheme200Response + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/theme", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt index c266722..785a564 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/TimetableApi.kt @@ -27,7 +27,6 @@ import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetTimetableTimetables200Response import hu.petrik.filcapp.api.model.GetTimetableTimetablesByIdPreviewDelete200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchTimetableTimetablesById200Response import hu.petrik.filcapp.api.model.PatchTimetableTimetablesByIdRequest import hu.petrik.filcapp.api.model.PostDoorlockDevicesByIdUpdate200Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt index c589ef0..6b21436 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/UsersApi.kt @@ -23,10 +23,13 @@ package hu.petrik.filcapp.api.client +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId200Response +import hu.petrik.filcapp.api.model.DeleteAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.GetUsers200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PatchUsersById200Response import hu.petrik.filcapp.api.model.PatchUsersByIdRequest +import hu.petrik.filcapp.api.model.PostNavigatorImportRequest +import hu.petrik.filcapp.api.model.PostUsersAvatar200Response import hu.petrik.filcapp.api.infrastructure.* import io.ktor.client.HttpClient @@ -57,6 +60,38 @@ open class UsersApi : ApiClient { httpClient: HttpClient ): super(baseUrl = baseUrl, httpClient = httpClient) + /** + * + * Remove your own profile picture + * @return DeleteAdminApiKeysByKeyId200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun deleteUsersAvatar(): HttpResponse { + + val localVariableAuthNames = listOf("sessionAuth") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/users/avatar", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + /** * * List users @@ -97,6 +132,39 @@ open class UsersApi : ApiClient { } + /** + * + * Get a stored profile picture + * @param file + * @return kotlin.String + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getUsersAvatarsByFile(file: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/users/avatars/{file}".replace("{" + "file" + "}", "$file"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + /** * * Update user @@ -131,4 +199,37 @@ open class UsersApi : ApiClient { + /** + * + * Replace your own profile picture + * @param postNavigatorImportRequest + * @return PostUsersAvatar200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun postUsersAvatar(postNavigatorImportRequest: PostNavigatorImportRequest): HttpResponse { + + val localVariableAuthNames = listOf("sessionAuth") + + val localVariableBody = postNavigatorImportRequest + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/users/avatar", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt index 2effc16..8f6989f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/WiFiApi.kt @@ -35,7 +35,6 @@ import hu.petrik.filcapp.api.model.GetWifiSpeedProfiles200Response import hu.petrik.filcapp.api.model.GetWifiStatsOverview200Response import hu.petrik.filcapp.api.model.GetWifiStatus200Response import hu.petrik.filcapp.api.model.GetWifiUsers200Response -import hu.petrik.filcapp.api.model.PatchAdminApiKeysByKeyId400Response import hu.petrik.filcapp.api.model.PostWifiDevices201Response import hu.petrik.filcapp.api.model.PostWifiDevicesRequest import hu.petrik.filcapp.api.model.PostWifiNas201Response diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt index 9b43a4b..7ff26b8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/DeleteAdminApiKeysByKeyId400Response.kt @@ -39,7 +39,7 @@ data class DeleteAdminApiKeysByKeyId400Response ( @SerialName(value = "code") @Required val code: kotlin.String, - @SerialName(value = "message") @Required val message: kotlin.String?, + @SerialName(value = "message") @Required val message: kotlin.String, @SerialName(value = "status") @Required val status: kotlin.Int diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200Response.kt new file mode 100644 index 0000000..54c93e6 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200Response.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import hu.petrik.filcapp.api.model.GetActivityLog200ResponseItemsInner + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param items + * @param total + */ +@Serializable + +data class GetActivityLog200Response ( + + @SerialName(value = "items") @Required val items: kotlin.collections.List, + + @SerialName(value = "total") @Required val total: kotlin.Double + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt new file mode 100644 index 0000000..ae63b13 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan +import hu.petrik.filcapp.api.model.GetActivityLog200ResponseItemsInnerActor + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param action + * @param actorId + * @param createdAt + * @param entityId + * @param entityType + * @param id + * @param ipAddress + * @param userAgent + * @param actor + * @param metadata + */ +@Serializable + +data class GetActivityLog200ResponseItemsInner ( + + @SerialName(value = "action") @Required val action: kotlin.String?, + + @SerialName(value = "actorId") @Required val actorId: kotlin.String?, + + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, + + @SerialName(value = "entityId") @Required val entityId: kotlin.String?, + + @SerialName(value = "entityType") @Required val entityType: kotlin.String?, + + @SerialName(value = "id") @Required val id: kotlin.Int, + + @SerialName(value = "ipAddress") @Required val ipAddress: kotlin.String?, + + @SerialName(value = "userAgent") @Required val userAgent: kotlin.String?, + + @SerialName(value = "actor") @Required val actor: GetActivityLog200ResponseItemsInnerActor?, + + @SerialName(value = "metadata") val metadata: AnyOfLessThanGreaterThan? = null + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInnerActor.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInnerActor.kt new file mode 100644 index 0000000..146bcfe --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInnerActor.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param email + * @param id + * @param name + * @param nickname + */ +@Serializable + +data class GetActivityLog200ResponseItemsInnerActor ( + + @SerialName(value = "email") @Required val email: kotlin.String?, + + @SerialName(value = "id") @Required val id: kotlin.String?, + + @SerialName(value = "name") @Required val name: kotlin.String?, + + @SerialName(value = "nickname") @Required val nickname: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog400Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog400Response.kt new file mode 100644 index 0000000..7a64a4b --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog400Response.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param code + * @param message + * @param status + */ +@Serializable + +data class GetActivityLog400Response ( + + @SerialName(value = "code") @Required val code: kotlin.String?, + + @SerialName(value = "message") @Required val message: kotlin.String?, + + @SerialName(value = "status") @Required val status: kotlin.Int + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt index bcf1495..8deae8c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan import kotlinx.serialization.* import kotlinx.serialization.descriptors.* diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt index d0cdc3f..d6e734b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan import kotlinx.serialization.* import kotlinx.serialization.descriptors.* diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt index d31fba6..92ef408 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDashboardStats200ResponseStatsChartDataInner.kt @@ -39,7 +39,7 @@ data class GetDashboardStats200ResponseStatsChartDataInner ( @SerialName(value = "date") @Required val date: kotlin.String?, - @SerialName(value = "movedLessons") @Required val movedLessons: kotlin.Int, + @SerialName(value = "movedLessons") @Required val movedLessons: kotlin.Int?, @SerialName(value = "substitutions") @Required val substitutions: kotlin.Int? diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt index 594484d..cbaed55 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetDoorlockCards200ResponseItemsInner.kt @@ -23,8 +23,8 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.GetActivityLog200ResponseItemsInnerActor import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerAuthorizedDevicesInner -import hu.petrik.filcapp.api.model.GetDoorlockCards200ResponseItemsInnerOwner import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -64,7 +64,7 @@ data class GetDoorlockCards200ResponseItemsInner ( @SerialName(value = "userId") @Required val userId: kotlin.String?, - @SerialName(value = "owner") val owner: GetDoorlockCards200ResponseItemsInnerOwner? = null + @SerialName(value = "owner") val owner: GetActivityLog200ResponseItemsInnerActor? = null ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt index 28023e0..619a43e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt @@ -36,9 +36,9 @@ import kotlinx.serialization.encoding.* data class GetHealth200Response ( - @SerialName(value = "database") @Required val database: kotlinx.serialization.json.JsonElement?, + @SerialName(value = "database") @Required val database: kotlin.Any?, - @SerialName(value = "status") @Required val status: kotlinx.serialization.json.JsonElement? + @SerialName(value = "status") @Required val status: kotlin.Any? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt index cf39780..607b1f9 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInner.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInnerMetadata import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -48,7 +49,7 @@ data class GetNotifications200ResponseItemsInner ( @SerialName(value = "id") @Required val id: kotlin.String?, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "metadata") @Required val metadata: GetNotifications200ResponseItemsInnerMetadata?, @SerialName(value = "read") @Required val read: kotlin.Boolean, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt new file mode 100644 index 0000000..f4c500c --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import hu.petrik.filcapp.api.model.GetNotifications200ResponseItemsInnerMetadataDetailsInner + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param action + * @param details + * @param highlights + * @param slug + * @param userId + */ +@Serializable + +data class GetNotifications200ResponseItemsInnerMetadata ( + + @SerialName(value = "action") val action: kotlin.String? = null, + + @SerialName(value = "details") val details: kotlin.collections.List? = null, + + @SerialName(value = "highlights") val highlights: kotlin.collections.List? = null, + + @SerialName(value = "slug") val slug: kotlin.String? = null, + + @SerialName(value = "userId") val userId: kotlin.String? = null + +) : kotlin.collections.HashMap()() { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadataDetailsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadataDetailsInner.kt new file mode 100644 index 0000000..812ec96 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadataDetailsInner.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param label + * @param `value` + */ +@Serializable + +data class GetNotifications200ResponseItemsInnerMetadataDetailsInner ( + + @SerialName(value = "label") @Required val label: kotlin.String?, + + @SerialName(value = "value") @Required val `value`: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt index d308fa6..233104d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200Response.kt @@ -30,10 +30,13 @@ import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** + * @param colorScheme * @param createdAt * @param id * @param language * @param notificationPreferences + * @param siteThemeAcknowledged + * @param siteThemeEnabled * @param theme * @param timetableClassColors * @param timetableGroupDisplay @@ -45,6 +48,8 @@ import kotlinx.serialization.encoding.* data class GetNotificationsSettings200Response ( + @SerialName(value = "colorScheme") @Required val colorScheme: GetNotificationsSettings200Response.ColorScheme, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, @SerialName(value = "id") @Required val id: kotlin.String?, @@ -53,6 +58,10 @@ data class GetNotificationsSettings200Response ( @SerialName(value = "notificationPreferences") @Required val notificationPreferences: GetNotificationsSettings200ResponseNotificationPreferences, + @SerialName(value = "siteThemeAcknowledged") @Required val siteThemeAcknowledged: kotlin.String?, + + @SerialName(value = "siteThemeEnabled") @Required val siteThemeEnabled: kotlin.Boolean, + @SerialName(value = "theme") @Required val theme: kotlin.String?, @SerialName(value = "timetableClassColors") @Required val timetableClassColors: kotlin.collections.Map, @@ -67,6 +76,21 @@ data class GetNotificationsSettings200Response ( ) { + /** + * Values: default,catppuccin,dracula,gruvbox,nord,rosePine,solarized,tokyoNight + */ + @Serializable + enum class ColorScheme(val value: kotlin.String) { + @SerialName(value = "default") default("default"), + @SerialName(value = "catppuccin") catppuccin("catppuccin"), + @SerialName(value = "dracula") dracula("dracula"), + @SerialName(value = "gruvbox") gruvbox("gruvbox"), + @SerialName(value = "nord") nord("nord"), + @SerialName(value = "rosePine") rosePine("rosePine"), + @SerialName(value = "solarized") solarized("solarized"), + @SerialName(value = "tokyoNight") tokyoNight("tokyoNight"); + override fun toString(): kotlin.String = value + } } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt index 9e4a17e..c3cd64f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotificationsSettings200ResponseNotificationPreferences.kt @@ -30,12 +30,14 @@ import kotlinx.serialization.encoding.* /** * @param announcement + * @param announcementEmail Email me about announcements; in-app announcements are unaffected * @param blogPost - * @param channelsEnabled + * @param channelsEnabled Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default * @param doorlockCardUsed + * @param emailEnabled Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher * @param movedLesson * @param substitution - * @param systemMessage + * @param systemMessage Ignored: system messages are always delivered */ @Serializable @@ -43,16 +45,24 @@ data class GetNotificationsSettings200ResponseNotificationPreferences ( @SerialName(value = "announcement") @Required val announcement: kotlin.Boolean, + /* Email me about announcements; in-app announcements are unaffected */ + @SerialName(value = "announcementEmail") @Required val announcementEmail: kotlin.Boolean, + @SerialName(value = "blogPost") @Required val blogPost: kotlin.Boolean, + /* Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default */ @SerialName(value = "channelsEnabled") @Required val channelsEnabled: kotlin.Boolean, @SerialName(value = "doorlockCardUsed") @Required val doorlockCardUsed: kotlin.Boolean, + /* Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher */ + @SerialName(value = "emailEnabled") @Required val emailEnabled: kotlin.Boolean, + @SerialName(value = "movedLesson") @Required val movedLesson: kotlin.Boolean, @SerialName(value = "substitution") @Required val substitution: kotlin.Boolean, + /* Ignored: system messages are always delivered */ @SerialName(value = "systemMessage") @Required val systemMessage: kotlin.Boolean ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingTime200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingTime200Response.kt new file mode 100644 index 0000000..9a5e485 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetPingTime200Response.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param date + * @param iso + * @param offsetMinutes + * @param timeZone + * @param unixMs + */ +@Serializable + +data class GetPingTime200Response ( + + @SerialName(value = "date") @Required val date: kotlin.String?, + + @SerialName(value = "iso") @Required val iso: kotlin.String?, + + @SerialName(value = "offsetMinutes") @Required val offsetMinutes: kotlin.Double?, + + @SerialName(value = "timeZone") @Required val timeZone: kotlin.String?, + + @SerialName(value = "unixMs") @Required val unixMs: kotlin.Double? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTheme200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTheme200Response.kt new file mode 100644 index 0000000..8063d51 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTheme200Response.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param theme + */ +@Serializable + +data class GetTheme200Response ( + + @SerialName(value = "theme") @Required val theme: GetTheme200Response.Theme + +) { + + /** + * Values: default,newYear,valentines,march15,easter,summer,halloween,christmas + */ + @Serializable + enum class Theme(val value: kotlin.String) { + @SerialName(value = "default") default("default"), + @SerialName(value = "newYear") newYear("newYear"), + @SerialName(value = "valentines") valentines("valentines"), + @SerialName(value = "march15") march15("march15"), + @SerialName(value = "easter") easter("easter"), + @SerialName(value = "summer") summer("summer"), + @SerialName(value = "halloween") halloween("halloween"), + @SerialName(value = "christmas") christmas("christmas"); + override fun toString(): kotlin.String = value + } + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt index f548a42..cc4e622 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInner.kt @@ -24,6 +24,7 @@ package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForIdByLessonId200ResponseDay +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerManual import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerMovedLesson import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerPeriod import hu.petrik.filcapp.api.model.PostNavigatorClassrooms201Response @@ -37,6 +38,7 @@ import kotlinx.serialization.encoding.* * @param classroom * @param dayDefinition * @param lessons + * @param manual * @param movedLesson * @param period */ @@ -50,6 +52,8 @@ data class GetTimetableMovedLessons200ResponseItemsInner ( @SerialName(value = "lessons") @Required val lessons: kotlin.collections.List, + @SerialName(value = "manual") @Required val manual: GetTimetableMovedLessons200ResponseItemsInnerManual?, + @SerialName(value = "movedLesson") @Required val movedLesson: GetTimetableMovedLessons200ResponseItemsInnerMovedLesson, @SerialName(value = "period") @Required val period: GetTimetableMovedLessons200ResponseItemsInnerPeriod? diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManual.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManual.kt new file mode 100644 index 0000000..ecce66f --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManual.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerCohortsInner +import hu.petrik.filcapp.api.model.GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject +import hu.petrik.filcapp.api.model.GetTimetableMovedLessons200ResponseItemsInnerManualSubject + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param cohorts + * @param sourceRoom + * @param subject + * @param teachers + */ +@Serializable + +data class GetTimetableMovedLessons200ResponseItemsInnerManual ( + + @SerialName(value = "cohorts") @Required val cohorts: kotlin.collections.List, + + @SerialName(value = "sourceRoom") @Required val sourceRoom: GetTimetableLessonsGetForCohortByCohortId200ResponseItemsInnerSubject?, + + @SerialName(value = "subject") @Required val subject: GetTimetableMovedLessons200ResponseItemsInnerManualSubject?, + + @SerialName(value = "teachers") @Required val teachers: kotlin.collections.List + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManualSubject.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManualSubject.kt new file mode 100644 index 0000000..54702e6 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerManualSubject.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param createdAt + * @param id + * @param name + * @param short + * @param updatedAt + */ +@Serializable + +data class GetTimetableMovedLessons200ResponseItemsInnerManualSubject ( + + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "short") @Required val short: kotlin.String, + + @SerialName(value = "updatedAt") @Required val updatedAt: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt index dee406a..69bb0c4 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableMovedLessons200ResponseItemsInnerMovedLesson.kt @@ -32,6 +32,10 @@ import kotlinx.serialization.encoding.* * @param comment * @param date * @param id + * @param manualCohortIds + * @param manualSourceRoomId + * @param manualSubjectId + * @param manualTeacherIds * @param room * @param startingDay * @param startingPeriod @@ -46,6 +50,14 @@ data class GetTimetableMovedLessons200ResponseItemsInnerMovedLesson ( @SerialName(value = "id") @Required val id: kotlin.String?, + @SerialName(value = "manualCohortIds") @Required val manualCohortIds: kotlin.collections.List, + + @SerialName(value = "manualSourceRoomId") @Required val manualSourceRoomId: kotlin.String?, + + @SerialName(value = "manualSubjectId") @Required val manualSubjectId: kotlin.String?, + + @SerialName(value = "manualTeacherIds") @Required val manualTeacherIds: kotlin.collections.List, + @SerialName(value = "room") @Required val room: kotlin.String?, @SerialName(value = "startingDay") @Required val startingDay: kotlin.String?, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt index 967fcdc..2b4a18b 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutions200ResponseItemsInner.kt @@ -24,7 +24,7 @@ package hu.petrik.filcapp.api.model import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerSubstitution -import hu.petrik.filcapp.api.model.GetTimetableSubstitutions200ResponseItemsInnerTeacher +import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response import hu.petrik.filcapp.api.model.PostTimetableLessonsGetForTeachers200ResponseItemsInnerLessonsInner import kotlinx.serialization.* @@ -44,7 +44,7 @@ data class GetTimetableSubstitutions200ResponseItemsInner ( @SerialName(value = "substitution") @Required val substitution: GetTimetableSubstitutions200ResponseItemsInnerSubstitution, - @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutions200ResponseItemsInnerTeacher? + @SerialName(value = "teacher") @Required val teacher: GetTimetableTeachersMe200Response? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt index c6eef9b..97c0c8e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetTimetableSubstitutionsRelevant200ResponseItemsInner.kt @@ -23,7 +23,7 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher +import hu.petrik.filcapp.api.model.GetTimetableTeachersMe200Response import hu.petrik.filcapp.api.model.PostTimetableSubstitutions200Response import kotlinx.serialization.* @@ -43,7 +43,7 @@ data class GetTimetableSubstitutionsRelevant200ResponseItemsInner ( @SerialName(value = "substitution") @Required val substitution: PostTimetableSubstitutions200Response, - @SerialName(value = "teacher") @Required val teacher: GetTimetableSubstitutionsRelevant200ResponseItemsInnerTeacher? + @SerialName(value = "teacher") @Required val teacher: GetTimetableTeachersMe200Response? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt index b402504..6780a1d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchAdminApiKeysByKeyId200Response.kt @@ -47,7 +47,7 @@ import kotlinx.serialization.encoding.* data class PatchAdminApiKeysByKeyId200Response ( - @SerialName(value = "createdAt") @Required val createdAt: kotlin.String, + @SerialName(value = "createdAt") @Required val createdAt: kotlin.String?, @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, @@ -67,7 +67,7 @@ data class PatchAdminApiKeysByKeyId200Response ( @SerialName(value = "referenceId") @Required val referenceId: kotlin.String?, - @SerialName(value = "requestCount") @Required val requestCount: kotlin.Double, + @SerialName(value = "requestCount") @Required val requestCount: kotlin.Double?, @SerialName(value = "start") @Required val start: kotlin.String?, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt index 0b2849e..0cc2741 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequest.kt @@ -30,8 +30,11 @@ import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* /** + * @param colorScheme * @param language * @param notificationPreferences + * @param siteThemeAcknowledged + * @param siteThemeEnabled * @param theme * @param timetableClassColors * @param timetableGroupDisplay @@ -41,10 +44,16 @@ import kotlinx.serialization.encoding.* data class PatchNotificationsSettingsRequest ( + @SerialName(value = "colorScheme") val colorScheme: PatchNotificationsSettingsRequest.ColorScheme? = null, + @SerialName(value = "language") val language: kotlin.String? = null, @SerialName(value = "notificationPreferences") val notificationPreferences: PatchNotificationsSettingsRequestNotificationPreferences? = null, + @SerialName(value = "siteThemeAcknowledged") val siteThemeAcknowledged: kotlin.String? = null, + + @SerialName(value = "siteThemeEnabled") val siteThemeEnabled: kotlin.Boolean? = null, + @SerialName(value = "theme") val theme: kotlin.String? = null, @SerialName(value = "timetableClassColors") val timetableClassColors: kotlin.collections.Map? = null, @@ -55,6 +64,21 @@ data class PatchNotificationsSettingsRequest ( ) { + /** + * Values: default,catppuccin,dracula,gruvbox,nord,rosePine,solarized,tokyoNight + */ + @Serializable + enum class ColorScheme(val value: kotlin.String) { + @SerialName(value = "default") default("default"), + @SerialName(value = "catppuccin") catppuccin("catppuccin"), + @SerialName(value = "dracula") dracula("dracula"), + @SerialName(value = "gruvbox") gruvbox("gruvbox"), + @SerialName(value = "nord") nord("nord"), + @SerialName(value = "rosePine") rosePine("rosePine"), + @SerialName(value = "solarized") solarized("solarized"), + @SerialName(value = "tokyoNight") tokyoNight("tokyoNight"); + override fun toString(): kotlin.String = value + } /** * Values: highlight,hide */ diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt index fe05bb2..f9c7020 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PatchNotificationsSettingsRequestNotificationPreferences.kt @@ -30,12 +30,14 @@ import kotlinx.serialization.encoding.* /** * @param announcement + * @param announcementEmail Email me about announcements; in-app announcements are unaffected * @param blogPost - * @param channelsEnabled + * @param channelsEnabled Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default * @param doorlockCardUsed + * @param emailEnabled Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher * @param movedLesson * @param substitution - * @param systemMessage + * @param systemMessage Ignored: system messages are always delivered */ @Serializable @@ -43,16 +45,24 @@ data class PatchNotificationsSettingsRequestNotificationPreferences ( @SerialName(value = "announcement") val announcement: kotlin.Boolean? = null, + /* Email me about announcements; in-app announcements are unaffected */ + @SerialName(value = "announcementEmail") val announcementEmail: kotlin.Boolean? = null, + @SerialName(value = "blogPost") val blogPost: kotlin.Boolean? = null, + /* Legacy master switch; ignored since the channel split — use emailEnabled. A stored false still forces email off, beating the role default */ @SerialName(value = "channelsEnabled") val channelsEnabled: kotlin.Boolean? = null, @SerialName(value = "doorlockCardUsed") val doorlockCardUsed: kotlin.Boolean? = null, + /* Receive notification email; the only user-facing channel switch, on by default only for an account linked to a teacher */ + @SerialName(value = "emailEnabled") val emailEnabled: kotlin.Boolean? = null, + @SerialName(value = "movedLesson") val movedLesson: kotlin.Boolean? = null, @SerialName(value = "substitution") val substitution: kotlin.Boolean? = null, + /* Ignored: system messages are always delivered */ @SerialName(value = "systemMessage") val systemMessage: kotlin.Boolean? = null ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt index de4bb13..75e94df 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* data class PostDoorlockDevicesByIdUpdate200Response ( - @SerialName(value = "ok") @Required val ok: kotlinx.serialization.json.JsonElement? + @SerialName(value = "ok") @Required val ok: kotlin.Any? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt index ee91839..50f2034 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt @@ -41,9 +41,9 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200Response ( - @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement?, + @SerialName(value = "registered") @Required val registered: kotlin.Any?, - @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt index 47ed3a3..6cdc118 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf ( - @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? + @SerialName(value = "registered") @Required val registered: kotlin.Any? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt index 875a7f7..64f35bf 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt @@ -38,11 +38,11 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf1 ( - @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf1Kiosk, - @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? + @SerialName(value = "registered") @Required val registered: kotlin.Any? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt index d291f5b..da84df0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt @@ -38,11 +38,11 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf2 ( - @SerialName(value = "enabled") @Required val enabled: kotlinx.serialization.json.JsonElement?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk, - @SerialName(value = "registered") @Required val registered: kotlinx.serialization.json.JsonElement? + @SerialName(value = "registered") @Required val registered: kotlin.Any? ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt index 9eb6cfd..ab9091e 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200Response.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200ResponseMetadata import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -48,7 +49,7 @@ data class PostNotificationsByIdRead200Response ( @SerialName(value = "id") @Required val id: kotlin.String, - @SerialName(value = "metadata") @Required val metadata: kotlin.collections.Map?, + @SerialName(value = "metadata") @Required val metadata: PostNotificationsByIdRead200ResponseMetadata?, @SerialName(value = "read") @Required val read: kotlin.Boolean, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt new file mode 100644 index 0000000..a47dfaa --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200ResponseMetadataDetailsInner + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param action + * @param details + * @param highlights + * @param slug + * @param userId + */ +@Serializable + +data class PostNotificationsByIdRead200ResponseMetadata ( + + @SerialName(value = "action") val action: kotlin.String? = null, + + @SerialName(value = "details") val details: kotlin.collections.List? = null, + + @SerialName(value = "highlights") val highlights: kotlin.collections.List? = null, + + @SerialName(value = "slug") val slug: kotlin.String? = null, + + @SerialName(value = "userId") val userId: kotlin.String? = null + +) : kotlin.collections.HashMap()() { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadataDetailsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadataDetailsInner.kt new file mode 100644 index 0000000..d594b43 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadataDetailsInner.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param label + * @param `value` + */ +@Serializable + +data class PostNotificationsByIdRead200ResponseMetadataDetailsInner ( + + @SerialName(value = "label") @Required val label: kotlin.String, + + @SerialName(value = "value") @Required val `value`: kotlin.String + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt index 17b6cb8..6612136 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestPreviewRequest.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200ResponseMetadataDetailsInner import kotlinx.serialization.* import kotlinx.serialization.descriptors.* @@ -31,6 +32,9 @@ import kotlinx.serialization.encoding.* /** * @param type * @param content + * @param details + * @param entityId Id of a real record to render instead of the supplied text; only the types previewTest resolves accept one + * @param highlights * @param language * @param subject */ @@ -42,6 +46,13 @@ data class PostNotificationsTestPreviewRequest ( @SerialName(value = "content") val content: kotlin.String? = null, + @SerialName(value = "details") val details: kotlin.collections.List? = null, + + /* Id of a real record to render instead of the supplied text; only the types previewTest resolves accept one */ + @SerialName(value = "entityId") val entityId: kotlin.String? = null, + + @SerialName(value = "highlights") val highlights: kotlin.collections.List? = null, + @SerialName(value = "language") val language: PostNotificationsTestPreviewRequest.Language? = null, @SerialName(value = "subject") val subject: kotlin.String? = null @@ -49,13 +60,14 @@ data class PostNotificationsTestPreviewRequest ( ) { /** - * Values: substitution,substitution_teacher,moved_lesson,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test + * Values: substitution,substitution_teacher,moved_lesson,moved_lesson_teacher,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test */ @Serializable enum class Type(val value: kotlin.String) { @SerialName(value = "substitution") substitution("substitution"), @SerialName(value = "substitution_teacher") substitution_teacher("substitution_teacher"), @SerialName(value = "moved_lesson") moved_lesson("moved_lesson"), + @SerialName(value = "moved_lesson_teacher") moved_lesson_teacher("moved_lesson_teacher"), @SerialName(value = "announcement") announcement("announcement"), @SerialName(value = "system_message") system_message("system_message"), @SerialName(value = "blog_post") blog_post("blog_post"), diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt index 9b3d420..d66808c 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsTestSendRequest.kt @@ -23,6 +23,7 @@ package hu.petrik.filcapp.api.model +import hu.petrik.filcapp.api.model.PostNotificationsByIdRead200ResponseMetadataDetailsInner import hu.petrik.filcapp.api.model.PostNotificationsTestSendRequestChannels import kotlinx.serialization.* @@ -33,7 +34,9 @@ import kotlinx.serialization.encoding.* * @param channels * @param type * @param content + * @param details * @param email + * @param highlights * @param language * @param subject */ @@ -47,8 +50,12 @@ data class PostNotificationsTestSendRequest ( @SerialName(value = "content") val content: kotlin.String? = null, + @SerialName(value = "details") val details: kotlin.collections.List? = null, + @SerialName(value = "email") val email: kotlin.String? = null, + @SerialName(value = "highlights") val highlights: kotlin.collections.List? = null, + @SerialName(value = "language") val language: PostNotificationsTestSendRequest.Language? = null, @SerialName(value = "subject") val subject: kotlin.String? = null @@ -56,13 +63,14 @@ data class PostNotificationsTestSendRequest ( ) { /** - * Values: substitution,substitution_teacher,moved_lesson,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test + * Values: substitution,substitution_teacher,moved_lesson,moved_lesson_teacher,announcement,system_message,blog_post,doorlock_card_used,cohort_reselection_required,test */ @Serializable enum class Type(val value: kotlin.String) { @SerialName(value = "substitution") substitution("substitution"), @SerialName(value = "substitution_teacher") substitution_teacher("substitution_teacher"), @SerialName(value = "moved_lesson") moved_lesson("moved_lesson"), + @SerialName(value = "moved_lesson_teacher") moved_lesson_teacher("moved_lesson_teacher"), @SerialName(value = "announcement") announcement("announcement"), @SerialName(value = "system_message") system_message("system_message"), @SerialName(value = "blog_post") blog_post("blog_post"), diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt index c04dc99..e3c6e2f 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessons200Response.kt @@ -32,6 +32,10 @@ import kotlinx.serialization.encoding.* * @param comment * @param date * @param id + * @param manualCohortIds + * @param manualSourceRoomId + * @param manualSubjectId + * @param manualTeacherIds * @param room * @param startingDay * @param startingPeriod @@ -46,6 +50,14 @@ data class PostTimetableMovedLessons200Response ( @SerialName(value = "id") @Required val id: kotlin.String, + @SerialName(value = "manualCohortIds") @Required val manualCohortIds: kotlin.collections.List, + + @SerialName(value = "manualSourceRoomId") @Required val manualSourceRoomId: kotlin.String?, + + @SerialName(value = "manualSubjectId") @Required val manualSubjectId: kotlin.String?, + + @SerialName(value = "manualTeacherIds") @Required val manualTeacherIds: kotlin.collections.List, + @SerialName(value = "room") @Required val room: kotlin.String?, @SerialName(value = "startingDay") @Required val startingDay: kotlin.String?, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt index 5eacc62..14295dc 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostTimetableMovedLessonsRequest.kt @@ -30,8 +30,12 @@ import kotlinx.serialization.encoding.* /** * @param date - * @param lessonIds * @param comment + * @param lessonIds + * @param manualCohortIds + * @param manualSourceRoomId + * @param manualSubjectId + * @param manualTeacherIds * @param room * @param startingDay * @param startingPeriod @@ -42,10 +46,18 @@ data class PostTimetableMovedLessonsRequest ( @SerialName(value = "date") @Required val date: kotlin.String?, - @SerialName(value = "lessonIds") @Required val lessonIds: kotlin.collections.List, - @SerialName(value = "comment") val comment: kotlin.String? = null, + @SerialName(value = "lessonIds") val lessonIds: kotlin.collections.List? = null, + + @SerialName(value = "manualCohortIds") val manualCohortIds: kotlin.collections.List? = null, + + @SerialName(value = "manualSourceRoomId") val manualSourceRoomId: kotlin.String? = null, + + @SerialName(value = "manualSubjectId") val manualSubjectId: kotlin.String? = null, + + @SerialName(value = "manualTeacherIds") val manualTeacherIds: kotlin.collections.List? = null, + @SerialName(value = "room") val room: kotlin.String? = null, @SerialName(value = "startingDay") val startingDay: kotlin.String? = null, diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostUsersAvatar200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostUsersAvatar200Response.kt new file mode 100644 index 0000000..4b5ebbc --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostUsersAvatar200Response.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.model + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * @param id + * @param image + */ +@Serializable + +data class PostUsersAvatar200Response ( + + @SerialName(value = "id") @Required val id: kotlin.String?, + + @SerialName(value = "image") @Required val image: kotlin.String? + +) { + + +} + diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt index 39fbac1..08d10e8 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PutTimetableMovedLessonsByIdRequest.kt @@ -32,6 +32,10 @@ import kotlinx.serialization.encoding.* * @param comment * @param date * @param lessonIds + * @param manualCohortIds + * @param manualSourceRoomId + * @param manualSubjectId + * @param manualTeacherIds * @param room * @param startingDay * @param startingPeriod @@ -46,6 +50,14 @@ data class PutTimetableMovedLessonsByIdRequest ( @SerialName(value = "lessonIds") val lessonIds: kotlin.collections.List? = null, + @SerialName(value = "manualCohortIds") val manualCohortIds: kotlin.collections.List? = null, + + @SerialName(value = "manualSourceRoomId") val manualSourceRoomId: kotlin.String? = null, + + @SerialName(value = "manualSubjectId") val manualSubjectId: kotlin.String? = null, + + @SerialName(value = "manualTeacherIds") val manualTeacherIds: kotlin.collections.List? = null, + @SerialName(value = "room") val room: kotlin.String? = null, @SerialName(value = "startingDay") val startingDay: kotlin.String? = null, From 7cf12bcf680a74e15efb54261ee909f6792680e2 Mon Sep 17 00:00:00 2001 From: merenyimiklos Date: Thu, 19 Nov 2026 14:57:20 +0100 Subject: [PATCH 4/5] ```text feat(api): add ActivityLogApi client ``` --- .../filcapp/api/client/ActivityLogApi.kt | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ActivityLogApi.kt diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ActivityLogApi.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ActivityLogApi.kt new file mode 100644 index 0000000..0110aa0 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/client/ActivityLogApi.kt @@ -0,0 +1,106 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "DuplicatedCode", + "EnumEntryName", + "RemoveRedundantQualifierName", + "RemoveRedundantCallsOfConversionMethods", + "REDUNDANT_CALL_OF_CONVERSION_METHOD", + "RedundantUnitReturnType", + "RemoveEmptyClassBody", + "UnnecessaryVariable", + "UnusedImport", + "UnnecessaryVariable", + "unused" +) + +package hu.petrik.filcapp.api.client + +import hu.petrik.filcapp.api.model.GetActivityLog200Response +import hu.petrik.filcapp.api.model.GetActivityLog400Response + +import hu.petrik.filcapp.api.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import io.ktor.http.Headers +import io.ktor.http.HttpHeaders +import io.ktor.http.ContentType +import io.ktor.http.content.PartData +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class ActivityLogApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * + * List generic admin activity log entries + * @param action (optional) + * @param actorId (optional) + * @param entityType (optional) + * @param from (optional) + * @param limit (optional, default to 50) + * @param offset (optional, default to 0) + * @param search (optional) + * @param to (optional) + * @return GetActivityLog200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getActivityLog(action: kotlin.String? = null, actorId: kotlin.String? = null, entityType: kotlin.String? = null, from: kotlin.String? = null, limit: kotlin.Int? = 50, offset: kotlin.Int? = 0, search: kotlin.String? = null, to: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("sessionAuth") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + action?.apply { localVariableQuery["action"] = listOf("$action") } + actorId?.apply { localVariableQuery["actorId"] = listOf("$actorId") } + entityType?.apply { localVariableQuery["entityType"] = listOf("$entityType") } + from?.apply { localVariableQuery["from"] = listOf("$from") } + limit?.apply { localVariableQuery["limit"] = listOf("$limit") } + offset?.apply { localVariableQuery["offset"] = listOf("$offset") } + search?.apply { localVariableQuery["search"] = listOf("$search") } + to?.apply { localVariableQuery["to"] = listOf("$to") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/activity-log", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + +} From d85ab231ca559c4110f10a1a62b125c891733e30 Mon Sep 17 00:00:00 2001 From: merenyimiklos Date: Thu, 19 Nov 2026 15:28:03 +0100 Subject: [PATCH 5/5] ```text refactor(api): refine field types and clean up generated API response models * Replace `kotlin.Any?` types with explicit `Boolean`, `String`, and `JsonElement` types across API models. * Remove `HashMap` inheritance from notification metadata models. * Clean up unused imports for generated `AnyOf` types. ``` --- .../api/model/GetActivityLog200ResponseItemsInner.kt | 4 ++-- .../GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt | 2 +- .../GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt | 2 +- .../hu/petrik/filcapp/api/model/GetHealth200Response.kt | 4 ++-- .../model/GetNotifications200ResponseItemsInnerMetadata.kt | 2 +- .../api/model/PostDoorlockDevicesByIdUpdate200Response.kt | 2 +- .../filcapp/api/model/PostKioskHeartbeat200Response.kt | 6 +++--- .../filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt | 2 +- .../api/model/PostKioskHeartbeat200ResponseAnyOf1.kt | 4 ++-- .../api/model/PostKioskHeartbeat200ResponseAnyOf2.kt | 4 ++-- .../model/PostNotificationsByIdRead200ResponseMetadata.kt | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt index ae63b13..8286555 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetActivityLog200ResponseItemsInner.kt @@ -23,7 +23,7 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + import hu.petrik.filcapp.api.model.GetActivityLog200ResponseItemsInnerActor import kotlinx.serialization.* @@ -64,7 +64,7 @@ data class GetActivityLog200ResponseItemsInner ( @SerialName(value = "actor") @Required val actor: GetActivityLog200ResponseItemsInnerActor?, - @SerialName(value = "metadata") val metadata: AnyOfLessThanGreaterThan? = null + @SerialName(value = "metadata") val metadata: kotlinx.serialization.json.JsonElement? = null ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt index 8deae8c..bc73729 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfInner.kt @@ -23,7 +23,7 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt index d6e734b..b16a6de 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetBugReport200ResponseItemsInnerMetadataAnyOfValue.kt @@ -23,7 +23,7 @@ package hu.petrik.filcapp.api.model -import hu.petrik.filcapp.api.model.AnyOfLessThanGreaterThan + import kotlinx.serialization.* import kotlinx.serialization.descriptors.* diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt index 619a43e..bde38f0 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetHealth200Response.kt @@ -36,9 +36,9 @@ import kotlinx.serialization.encoding.* data class GetHealth200Response ( - @SerialName(value = "database") @Required val database: kotlin.Any?, + @SerialName(value = "database") @Required val database: kotlin.String, - @SerialName(value = "status") @Required val status: kotlin.Any? + @SerialName(value = "status") @Required val status: kotlin.String ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt index f4c500c..0c49c40 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/GetNotifications200ResponseItemsInnerMetadata.kt @@ -50,7 +50,7 @@ data class GetNotifications200ResponseItemsInnerMetadata ( @SerialName(value = "userId") val userId: kotlin.String? = null -) : kotlin.collections.HashMap()() { +) { } diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt index 75e94df..b51c9df 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostDoorlockDevicesByIdUpdate200Response.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* data class PostDoorlockDevicesByIdUpdate200Response ( - @SerialName(value = "ok") @Required val ok: kotlin.Any? + @SerialName(value = "ok") @Required val ok: kotlin.Boolean ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt index 50f2034..9c0ee0d 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200Response.kt @@ -41,11 +41,11 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200Response ( - @SerialName(value = "registered") @Required val registered: kotlin.Any?, + @SerialName(value = "registered") @Required val registered: kotlin.Boolean, - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = null, - @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk + @SerialName(value = "kiosk") val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk? = null ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt index 6cdc118..6d50382 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf.kt @@ -35,7 +35,7 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf ( - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlin.Boolean ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt index 64f35bf..5d60ff3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf1.kt @@ -38,11 +38,11 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf1 ( - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf1Kiosk, - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlin.Boolean ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt index da84df0..d6b66f3 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostKioskHeartbeat200ResponseAnyOf2.kt @@ -38,11 +38,11 @@ import kotlinx.serialization.encoding.* data class PostKioskHeartbeat200ResponseAnyOf2 ( - @SerialName(value = "enabled") @Required val enabled: kotlin.Any?, + @SerialName(value = "enabled") @Required val enabled: kotlin.Boolean, @SerialName(value = "kiosk") @Required val kiosk: PostKioskHeartbeat200ResponseAnyOf2Kiosk, - @SerialName(value = "registered") @Required val registered: kotlin.Any? + @SerialName(value = "registered") @Required val registered: kotlin.Boolean ) { diff --git a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt index a47dfaa..cd292c7 100644 --- a/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt +++ b/composeApp/src/commonMain/kotlin/hu/petrik/filcapp/api/model/PostNotificationsByIdRead200ResponseMetadata.kt @@ -50,7 +50,7 @@ data class PostNotificationsByIdRead200ResponseMetadata ( @SerialName(value = "userId") val userId: kotlin.String? = null -) : kotlin.collections.HashMap()() { +) { }