/* Options: Date: 2025-09-04 06:31:10 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InviteGuestRequest.* //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 Invitation implements IConvertible { String? firstName; String? lastName; String? emailAddress; Invitation({this.firstName,this.lastName,this.emailAddress}); Invitation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstName = json['firstName']; lastName = json['lastName']; emailAddress = json['emailAddress']; return this; } Map toJson() => { 'firstName': firstName, 'lastName': lastName, 'emailAddress': emailAddress }; getTypeName() => "Invitation"; TypeContext? context = _ctx; } class InviteGuestResponse implements IConvertible { ResponseStatus? responseStatus; Invitation? invitation; InviteGuestResponse({this.responseStatus,this.invitation}); InviteGuestResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); invitation = JsonConverters.fromJson(json['invitation'],'Invitation',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'invitation': JsonConverters.toJson(invitation,'Invitation',context!) }; getTypeName() => "InviteGuestResponse"; TypeContext? context = _ctx; } // @Route("/users/invite", "POST") class InviteGuestRequest extends PostOperationUnTenanted implements IReturn, IConvertible { String? emailAddress; InviteGuestRequest({this.emailAddress}); InviteGuestRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); emailAddress = json['emailAddress']; return this; } Map toJson() => super.toJson()..addAll({ 'emailAddress': emailAddress }); createResponse() => InviteGuestResponse(); getResponseTypeName() => "InviteGuestResponse"; getTypeName() => "InviteGuestRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'foundrystage_api_app.azurewebsites.net', types: { 'PostOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'Invitation': TypeInfo(TypeOf.Class, create:() => Invitation()), 'InviteGuestResponse': TypeInfo(TypeOf.Class, create:() => InviteGuestResponse()), 'InviteGuestRequest': TypeInfo(TypeOf.Class, create:() => InviteGuestRequest()), });