(* Options: Date: 2025-12-06 08:59:09 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: AttendanceSessionStatusChangeRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace WebService.ServiceModel open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type ApiServiceRequest() = /// ///The API Key required for authentication /// [] member val ApiKey:String = null with get,set /// ///Latitude of the user making this request /// [] member val Latitude:Double = new Double() with get,set /// ///Longitude of the user making this request /// [] member val Longitude:Double = new Double() with get,set [] type IServiceRequest = interface end [] type IHasApiKey = abstract ApiKey:String with get,set [] type IHasDeviceInfo = interface end type AttendanceEventType = | ClockOut = 0 | ClockIn = 1 | StartLunch = 2 | EndLunch = 3 | StartBreak = 4 | EndBreak = 5 [] type AttendanceEventData() = member val Type:AttendanceEventType = new AttendanceEventType() with get,set member val Time:String = null with get,set member val Location:String = null with get,set [] type AttendanceSessionInfo() = member val AttendanceSessionId:Int32 = new Int32() with get,set member val AttendanceGoalTime:Double = new Double() with get,set member val AttendanceGoalTimeValue:String = null with get,set member val AttendanceEvents:ResizeArray = new ResizeArray() with get,set member val StartDate:String = null with get,set member val EndDate:String = null with get,set member val IsClockedIn:Boolean = new Boolean() with get,set member val TimeElapsed:Double = new Double() with get,set member val LatestEventType:AttendanceEventType = new AttendanceEventType() with get,set member val TotalBreakTime:Double = new Double() with get,set member val TotalLunchTime:Double = new Double() with get,set member val IsNew:Boolean = new Boolean() with get,set [] type ApiServiceResponse() = member val Description:String = null with get,set member val Heading:String = null with get,set member val WasSuccessful:Boolean = new Boolean() with get,set member val ModelState:Object = null with get,set [] type GetAttendanceSessionInfoResponse() = inherit ApiServiceResponse() member val SessionInfo:AttendanceSessionInfo = null with get,set [] [] type AttendanceSessionStatusChangeRequest() = inherit ApiServiceRequest() interface IReturn member val AttendanceSessionId:Int32 = new Int32() with get,set member val EventType:AttendanceEventType = new AttendanceEventType() with get,set member val TimeZoneName:String = null with get,set