/* Options: Date: 2024-07-03 14:27:26 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: AccessKeyTypeQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BaseModel implements IConvertible { BaseModel(); BaseModel.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BaseModel"; TypeContext? context = _ctx; } class AccessKeyType extends BaseModel implements IConvertible { // @Required() String? KeyType; String? Description; int? Id; AccessKeyType({this.KeyType,this.Description,this.Id}); AccessKeyType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); KeyType = json['KeyType']; Description = json['Description']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'KeyType': KeyType, 'Description': Description, 'Id': Id }); getTypeName() => "AccessKeyType"; TypeContext? context = _ctx; } class AccessKeyTypeResponse implements IConvertible { int? Id; String? KeyType; String? Description; AccessKeyTypeResponse({this.Id,this.KeyType,this.Description}); AccessKeyTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; KeyType = json['KeyType']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'KeyType': KeyType, 'Description': Description }; getTypeName() => "AccessKeyTypeResponse"; TypeContext? context = _ctx; } // @Route("/accesskeytypes", "GET") class AccessKeyTypeQuery extends QueryDb2 implements IReturn>, IConvertible, IGet { AccessKeyTypeQuery(); AccessKeyTypeQuery.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "AccessKeyTypeQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'BaseModel': TypeInfo(TypeOf.Class, create:() => BaseModel()), 'AccessKeyType': TypeInfo(TypeOf.Class, create:() => AccessKeyType()), 'AccessKeyTypeResponse': TypeInfo(TypeOf.Class, create:() => AccessKeyTypeResponse()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'AccessKeyTypeQuery': TypeInfo(TypeOf.Class, create:() => AccessKeyTypeQuery()), 'List': TypeInfo(TypeOf.Class, create:() => []), });