/* Options: Date: 2024-12-15 19:55:16 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: ConfirmGuestInvitationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class GetOperationUnTenanted implements IHasGetOptions, IGet { String? embed; GetOperationUnTenanted({this.embed}); GetOperationUnTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { embed = json['embed']; return this; } Map toJson() => { 'embed': embed }; getTypeName() => "GetOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class IHasGetOptions { String? embed; } class Invitation implements IConvertible { String? firstName; String? lastName; String? email; String? id; Invitation({this.firstName,this.lastName,this.email,this.id}); Invitation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstName = json['firstName']; lastName = json['lastName']; email = json['email']; id = json['id']; return this; } Map toJson() => { 'firstName': firstName, 'lastName': lastName, 'email': email, 'id': id }; getTypeName() => "Invitation"; TypeContext? context = _ctx; } class ConfirmGuestInvitationResponse implements IConvertible { ResponseStatus? responseStatus; Invitation? invitation; ConfirmGuestInvitationResponse({this.responseStatus,this.invitation}); ConfirmGuestInvitationResponse.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() => "ConfirmGuestInvitationResponse"; TypeContext? context = _ctx; } // @Route("/users/invite/confirm", "GET") class ConfirmGuestInvitationRequest extends GetOperationUnTenanted implements IReturn, IConvertible { String? token; ConfirmGuestInvitationRequest({this.token}); ConfirmGuestInvitationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); token = json['token']; return this; } Map toJson() => super.toJson()..addAll({ 'token': token }); createResponse() => ConfirmGuestInvitationResponse(); getResponseTypeName() => "ConfirmGuestInvitationResponse"; getTypeName() => "ConfirmGuestInvitationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'GetOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'IHasGetOptions': TypeInfo(TypeOf.Interface), 'Invitation': TypeInfo(TypeOf.Class, create:() => Invitation()), 'ConfirmGuestInvitationResponse': TypeInfo(TypeOf.Class, create:() => ConfirmGuestInvitationResponse()), 'ConfirmGuestInvitationRequest': TypeInfo(TypeOf.Class, create:() => ConfirmGuestInvitationRequest()), });