/* Options: Date: 2024-12-15 20:01:24 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StoreAuditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class PostOperationUnTenanted implements IPost { PostOperationUnTenanted(); PostOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PostOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class StoreAuditResponse implements IConvertible { ResponseStatus? responseStatus; bool? isStored; StoreAuditResponse({this.responseStatus,this.isStored}); StoreAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); isStored = json['isStored']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'isStored': isStored }; getTypeName() => "StoreAuditResponse"; TypeContext? context = _ctx; } // @Route("/audits/store", "POST") class StoreAuditRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? message; StoreAuditRequest({this.message}); StoreAuditRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); message = json['message']; return this; } Map toJson() => super.toJson()..addAll({ 'message': message }); createResponse() => StoreAuditResponse(); getResponseTypeName() => "StoreAuditResponse"; getTypeName() => "StoreAuditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'StoreAuditResponse': TypeInfo(TypeOf.Class, create:() => StoreAuditResponse()), 'StoreAuditRequest': TypeInfo(TypeOf.Class, create:() => StoreAuditRequest()), });