/* Options: Date: 2024-12-23 11:19:07 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ConfirmEmailRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ConfirmEmailResponse implements IConvertible { String? confirmedEmail; ConfirmEmailResponse({this.confirmedEmail}); ConfirmEmailResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { confirmedEmail = json['confirmedEmail']; return this; } Map toJson() => { 'confirmedEmail': confirmedEmail }; getTypeName() => "ConfirmEmailResponse"; TypeContext? context = _ctx; } class ConfirmEmailRequest implements IReturn, IPost, IConvertible { String? token; ConfirmEmailRequest({this.token}); ConfirmEmailRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; return this; } Map toJson() => { 'token': token }; createResponse() => ConfirmEmailResponse(); getResponseTypeName() => "ConfirmEmailResponse"; getTypeName() => "ConfirmEmailRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ConfirmEmailResponse': TypeInfo(TypeOf.Class, create:() => ConfirmEmailResponse()), 'ConfirmEmailRequest': TypeInfo(TypeOf.Class, create:() => ConfirmEmailRequest()), });