/* Options: Date: 2025-12-06 07:38:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CurrentCheckInRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ActiveCheckin implements IConvertible { DateTime? CheckInTime; int? CheckInId; ActiveCheckin({this.CheckInTime,this.CheckInId}); ActiveCheckin.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckInTime = JsonConverters.fromJson(json['CheckInTime'],'DateTime',context!); CheckInId = json['CheckInId']; return this; } Map toJson() => { 'CheckInTime': JsonConverters.toJson(CheckInTime,'DateTime',context!), 'CheckInId': CheckInId }; getTypeName() => "ActiveCheckin"; TypeContext? context = _ctx; } class CurrentCheckInResponse implements IConvertible { ResponseStatus? ResponseStatus; ActiveCheckin? result; CurrentCheckInResponse({this.ResponseStatus,this.result}); CurrentCheckInResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); result = JsonConverters.fromJson(json['result'],'ActiveCheckin',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'result': JsonConverters.toJson(result,'ActiveCheckin',context!) }; getTypeName() => "CurrentCheckInResponse"; TypeContext? context = _ctx; } // @Route("/v1/TimeTracker/GetCurrentCheckIn/{AgentId}", "GET,OPTIONS") class CurrentCheckInRequest implements IReturn, IConvertible, IGet { int? AgentId; CurrentCheckInRequest({this.AgentId}); CurrentCheckInRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentId = json['AgentId']; return this; } Map toJson() => { 'AgentId': AgentId }; createResponse() => CurrentCheckInResponse(); getResponseTypeName() => "CurrentCheckInResponse"; getTypeName() => "CurrentCheckInRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ActiveCheckin': TypeInfo(TypeOf.Class, create:() => ActiveCheckin()), 'CurrentCheckInResponse': TypeInfo(TypeOf.Class, create:() => CurrentCheckInResponse()), 'CurrentCheckInRequest': TypeInfo(TypeOf.Class, create:() => CurrentCheckInRequest()), });