/* Options: Date: 2024-12-15 20:46:15 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: DeleteOrganisationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class DeleteOperationUnTenanted implements IDelete { DeleteOperationUnTenanted(); DeleteOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DeleteOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class DeleteOrganisationResponse implements IConvertible { ResponseStatus? responseStatus; DeleteOrganisationResponse({this.responseStatus}); DeleteOrganisationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "DeleteOrganisationResponse"; TypeContext? context = _ctx; } // @Route("/organisations/{Id}", "DELETE") class DeleteOrganisationRequest extends DeleteOperationUnTenanted implements IReturn, IConvertible { String? id; DeleteOrganisationRequest({this.id}); DeleteOrganisationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id }); createResponse() => DeleteOrganisationResponse(); getResponseTypeName() => "DeleteOrganisationResponse"; getTypeName() => "DeleteOrganisationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'DeleteOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'DeleteOrganisationResponse': TypeInfo(TypeOf.Class, create:() => DeleteOrganisationResponse()), 'DeleteOrganisationRequest': TypeInfo(TypeOf.Class, create:() => DeleteOrganisationRequest()), });