/* Options: Date: 2024-12-23 11:53:48 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: ProfileUpdatePhotoRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ProfileUpdatePhotoResponse implements IConvertible { String? imageUrl; ProfileUpdatePhotoResponse({this.imageUrl}); ProfileUpdatePhotoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { imageUrl = json['imageUrl']; return this; } Map toJson() => { 'imageUrl': imageUrl }; getTypeName() => "ProfileUpdatePhotoResponse"; TypeContext? context = _ctx; } // @Route("/profile/update-photo", "PUT") class ProfileUpdatePhotoRequest implements IReturn, IPut, IConvertible { String? base64EncodedImage; ProfileUpdatePhotoRequest({this.base64EncodedImage}); ProfileUpdatePhotoRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { base64EncodedImage = json['base64EncodedImage']; return this; } Map toJson() => { 'base64EncodedImage': base64EncodedImage }; createResponse() => ProfileUpdatePhotoResponse(); getResponseTypeName() => "ProfileUpdatePhotoResponse"; getTypeName() => "ProfileUpdatePhotoRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ProfileUpdatePhotoResponse': TypeInfo(TypeOf.Class, create:() => ProfileUpdatePhotoResponse()), 'ProfileUpdatePhotoRequest': TypeInfo(TypeOf.Class, create:() => ProfileUpdatePhotoRequest()), });