/* Options: Date: 2025-05-05 03:34:15 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteSessions.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Clears out sessions. */ // @Route("/sessions", "DELETE") // @Api(Description="Clears out sessions.") class DeleteSessions implements IReturnVoid, IDelete, IConvertible { /** * The account ID you are clearing out */ // @ApiMember(Description="The account ID you are clearing out") String? accountId; /** * The start date to delete from in ISO8601 */ // @ApiMember(Description="The start date to delete from in ISO8601") String? startDateTime; /** * The end date to delete from in ISO8601 */ // @ApiMember(Description="The end date to delete from in ISO8601") String? endDateTime; DeleteSessions({this.accountId,this.startDateTime,this.endDateTime}); DeleteSessions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; startDateTime = json['startDateTime']; endDateTime = json['endDateTime']; return this; } Map toJson() => { 'accountId': accountId, 'startDateTime': startDateTime, 'endDateTime': endDateTime }; createResponse() {} getTypeName() => "DeleteSessions"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'DeleteSessions': TypeInfo(TypeOf.Class, create:() => DeleteSessions()), });