/* Options: Date: 2024-12-29 04:26:02 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PersonPictureUploadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/person/{uuid}/picture/upload", "POST") class PersonPictureUploadRequest implements IReturn, IConvertible, IPost { String? image_base64; String? uuid; String? contentType; PersonPictureUploadRequest({this.image_base64,this.uuid,this.contentType}); PersonPictureUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { image_base64 = json['image_base64']; uuid = json['uuid']; contentType = json['contentType']; return this; } Map toJson() => { 'image_base64': image_base64, 'uuid': uuid, 'contentType': contentType }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "PersonPictureUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'PersonPictureUploadRequest': TypeInfo(TypeOf.Class, create:() => PersonPictureUploadRequest()), });