/* Options: Date: 2025-12-06 08:55:13 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAttendanceHistory.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/attendance/history", Verbs="GET") open class GetAttendanceHistory : ApiServiceRequest(), IReturn { @ApiMember(IsRequired=true) var date:String? = null companion object { private val responseType = GetAttendanceHistoryResponse::class.java } override fun getResponseType(): Any? = GetAttendanceHistory.responseType } open class GetAttendanceHistoryResponse : ApiServiceResponse() { var attendanceSessions:ArrayList = ArrayList() } open class ApiServiceRequest : IServiceRequest, IHasApiKey, IHasDeviceInfo { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) var apiKey:String? = null /** * Latitude of the user making this request */ @ApiMember(DataType="double", Description="Latitude of the user making this request") var latitude:Double? = null /** * Longitude of the user making this request */ @ApiMember(DataType="double", Description="Longitude of the user making this request") var longitude:Double? = null } open interface IServiceRequest { } open interface IHasApiKey { var apiKey:String? } open interface IHasDeviceInfo { } open class AttendanceHistoryData { var attendanceSessionId:Int? = null var date:String? = null var attendanceTotal:String? = null var breakTotal:String? = null var lunchTotal:String? = null } open class ApiServiceResponse : IServiceResponse { var description:String? = null var heading:String? = null var wasSuccessful:Boolean? = null var modelState:Object? = null }