/* Options: Date: 2024-12-15 20:53:07 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: ConfirmRegistrationRequest.* //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 ConfirmRegistrationResponse implements IConvertible { ResponseStatus? responseStatus; ConfirmRegistrationResponse({this.responseStatus}); ConfirmRegistrationResponse.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() => "ConfirmRegistrationResponse"; TypeContext? context = _ctx; } // @Route("/users/register/confirm", "POST") class ConfirmRegistrationRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? token; ConfirmRegistrationRequest({this.token}); ConfirmRegistrationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); token = json['token']; return this; } Map toJson() => super.toJson()..addAll({ 'token': token }); createResponse() => ConfirmRegistrationResponse(); getResponseTypeName() => "ConfirmRegistrationResponse"; getTypeName() => "ConfirmRegistrationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'ConfirmRegistrationResponse': TypeInfo(TypeOf.Class, create:() => ConfirmRegistrationResponse()), 'ConfirmRegistrationRequest': TypeInfo(TypeOf.Class, create:() => ConfirmRegistrationRequest()), });