/* Options: Date: 2024-12-15 20:51:40 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: ChangeUserAccountEmailAddressRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class PutOperationUnTenanted implements IPut { PutOperationUnTenanted(); PutOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PutOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } class ChangeUserAccountEmailAddressResponse implements IConvertible { ResponseStatus? responseStatus; ChangeUserAccountEmailAddressResponse({this.responseStatus}); ChangeUserAccountEmailAddressResponse.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() => "ChangeUserAccountEmailAddressResponse"; TypeContext? context = _ctx; } // @Route("/users/{Id}/email", "PUT") class ChangeUserAccountEmailAddressRequest extends PutOperationUnTenanted implements IReturn, IConvertible { String? id; String? emailAddress; ChangeUserAccountEmailAddressRequest({this.id,this.emailAddress}); ChangeUserAccountEmailAddressRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; emailAddress = json['emailAddress']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id, 'emailAddress': emailAddress }); createResponse() => ChangeUserAccountEmailAddressResponse(); getResponseTypeName() => "ChangeUserAccountEmailAddressResponse"; getTypeName() => "ChangeUserAccountEmailAddressRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'PutOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'ChangeUserAccountEmailAddressResponse': TypeInfo(TypeOf.Class, create:() => ChangeUserAccountEmailAddressResponse()), 'ChangeUserAccountEmailAddressRequest': TypeInfo(TypeOf.Class, create:() => ChangeUserAccountEmailAddressRequest()), });