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