/* Options: Date: 2024-07-03 13:15:37 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; } // @Route("/encryption/encrypt", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") class EncryptText implements 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 }; getTypeName() => "EncryptText"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'EncryptText': TypeInfo(TypeOf.Class, create:() => EncryptText()), });