/* Options: Date: 2024-10-06 10:26:44 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: PasswordChangeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/password/change", "POST") class PasswordChangeRequest implements IReturn, IConvertible, IPost { String? uuid; String? current_password; String? new_password; PasswordChangeRequest({this.uuid,this.current_password,this.new_password}); PasswordChangeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; current_password = json['current_password']; new_password = json['new_password']; return this; } Map toJson() => { 'uuid': uuid, 'current_password': current_password, 'new_password': new_password }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "PasswordChangeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'PasswordChangeRequest': TypeInfo(TypeOf.Class, create:() => PasswordChangeRequest()), });