/* Options: Date: 2025-12-06 08:53:00 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: GetDashboardInfo.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/dashboard/info", Verbs="GET") open class GetDashboardInfo : ApiServiceRequest(), IReturn { companion object { private val responseType = GetDashboardInfoResponse::class.java } override fun getResponseType(): Any? = GetDashboardInfo.responseType } open class GetDashboardInfoResponse : ApiServiceResponse() { var unreadNotificationCount:Int? = null var nextMeetingDate:String? = null var totalMeetingsToday:Int? = null var outstandingRatingsCount:Int? = null var usersAverageRating:Double? = null var hasSharedRatings:Boolean? = null var isSalesPerson:Boolean? = null var usersRatingTotalVotes:Int? = null var usersRatingPosition:Int? = null var teamIds:ArrayList = ArrayList() var nextMeeting:MeetingData? = null var attendanceEventType:AttendanceEventType? = null var outstandingDebriefsToReviewCount:Int? = null var outstandingTemplateApprovalsCount:Int? = null } 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 { } enum class AttendanceEventType(val value:Int) { @SerializedName("0") ClockOut(0), @SerializedName("1") ClockIn(1), @SerializedName("2") StartLunch(2), @SerializedName("3") EndLunch(3), @SerializedName("4") StartBreak(4), @SerializedName("5") EndBreak(5), } open class MeetingData { var meetingId:Int? = null var startTime:String? = null var arrivalTime:String? = null var leftTime:String? = null var duration:String? = null var showTimeFields:Boolean? = null var arrivalStatus:String? = null var email:String? = null var hasEmail:Boolean? = null var contactName:String? = null var latitude:Double? = null var longitude:Double? = null var location:String? = null var address:String? = null var subject:String? = null var description:String? = null var endTime:String? = null var company:String? = null var contactNumber:String? = null var hasContactNumber:Boolean? = null var hasLocation:Boolean? = null var setBy:String? = null var virtualOrInPerson:String? = null } open class ApiServiceResponse : IServiceResponse { var description:String? = null var heading:String? = null var wasSuccessful:Boolean? = null var modelState:Object? = null }