/* Options: Date: 2025-04-07 10:09:21 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: EnvokeGiveImpliedConsentRequestAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/Envoke/GiveImpliedConsent", "POST") class EnvokeGiveImpliedConsentRequestAsync implements IConvertible, IPost { String? email; String? preferred_name; String? first_name; String? last_name; String? salutation; String? city; String? country; String? consent_source; List? tags; EnvokeGiveImpliedConsentRequestAsync({this.email,this.preferred_name,this.first_name,this.last_name,this.salutation,this.city,this.country,this.consent_source,this.tags}); EnvokeGiveImpliedConsentRequestAsync.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['email']; preferred_name = json['preferred_name']; first_name = json['first_name']; last_name = json['last_name']; salutation = json['salutation']; city = json['city']; country = json['country']; consent_source = json['consent_source']; tags = JsonConverters.fromJson(json['tags'],'List',context!); return this; } Map toJson() => { 'email': email, 'preferred_name': preferred_name, 'first_name': first_name, 'last_name': last_name, 'salutation': salutation, 'city': city, 'country': country, 'consent_source': consent_source, 'tags': JsonConverters.toJson(tags,'List',context!) }; getTypeName() => "EnvokeGiveImpliedConsentRequestAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'EnvokeGiveImpliedConsentRequestAsync': TypeInfo(TypeOf.Class, create:() => EnvokeGiveImpliedConsentRequestAsync()), });