/* Options: Date: 2024-11-21 11:39:04 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CheckCompanyUserExists.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CheckCompanyUserExistsResponse implements IConvertible { bool? Exists; String? Message; CheckCompanyUserExistsResponse({this.Exists,this.Message}); CheckCompanyUserExistsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Exists = json['Exists']; Message = json['Message']; return this; } Map toJson() => { 'Exists': Exists, 'Message': Message }; getTypeName() => "CheckCompanyUserExistsResponse"; TypeContext? context = _ctx; } // @Route("/administrators/exists", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class CheckCompanyUserExists implements IReturn, IConvertible, IGet { /** * The email to the administrator. */ // @ApiMember(Description="The email to the administrator.") String? Email; CheckCompanyUserExists({this.Email}); CheckCompanyUserExists.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Email = json['Email']; return this; } Map toJson() => { 'Email': Email }; createResponse() => CheckCompanyUserExistsResponse(); getResponseTypeName() => "CheckCompanyUserExistsResponse"; getTypeName() => "CheckCompanyUserExists"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'CheckCompanyUserExistsResponse': TypeInfo(TypeOf.Class, create:() => CheckCompanyUserExistsResponse()), 'CheckCompanyUserExists': TypeInfo(TypeOf.Class, create:() => CheckCompanyUserExists()), });