/* Options: Date: 2025-04-06 15:28:27 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: EncryptText.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class EncryptTextResponse implements IConvertible { String? Text; String? EncryptedText; EncryptTextResponse({this.Text,this.EncryptedText}); EncryptTextResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Text = json['Text']; EncryptedText = json['EncryptedText']; return this; } Map toJson() => { 'Text': Text, 'EncryptedText': EncryptedText }; getTypeName() => "EncryptTextResponse"; TypeContext? context = _ctx; } // @Route("/encryption/encrypt", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class EncryptText implements IReturn, ICompany, IConvertible, IGet { String? CompanyId; String? Text; EncryptText({this.CompanyId,this.Text}); EncryptText.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Text = json['Text']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Text': Text }; createResponse() => EncryptTextResponse(); getResponseTypeName() => "EncryptTextResponse"; getTypeName() => "EncryptText"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'EncryptTextResponse': TypeInfo(TypeOf.Class, create:() => EncryptTextResponse()), 'EncryptText': TypeInfo(TypeOf.Class, create:() => EncryptText()), });