/* Options: Date: 2024-06-26 09:32:57 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SettingsErrorCheck.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class SettingsErrorCheckResponse implements IConvertible { /** * The errormessage */ // @ApiMember(DataType="string", Description="The errormessage") String? ErrorMessage; SettingsErrorCheckResponse({this.ErrorMessage}); SettingsErrorCheckResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ErrorMessage = json['ErrorMessage']; return this; } Map toJson() => { 'ErrorMessage': ErrorMessage }; getTypeName() => "SettingsErrorCheckResponse"; TypeContext? context = _ctx; } // @Route("/settings/errorcheck", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) // @ValidateRequest(Validator="IsAuthenticated") class SettingsErrorCheck implements IReturn, ICompany, IConvertible, IGet { /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") String? CompanyId; SettingsErrorCheck({this.CompanyId}); SettingsErrorCheck.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; return this; } Map toJson() => { 'CompanyId': CompanyId }; createResponse() => SettingsErrorCheckResponse(); getResponseTypeName() => "SettingsErrorCheckResponse"; getTypeName() => "SettingsErrorCheck"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'SettingsErrorCheckResponse': TypeInfo(TypeOf.Class, create:() => SettingsErrorCheckResponse()), 'SettingsErrorCheck': TypeInfo(TypeOf.Class, create:() => SettingsErrorCheck()), });