/* Options: Date: 2024-10-06 10:32:28 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: EnvokeGiveExpressConsentRequestAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Envoke/GiveExpressConsent", "POST") class EnvokeGiveExpressConsentRequestAsync implements IConvertible, IPost { String? email; String? preferred_name; String? first_name; String? last_name; String? salutation; String? city; String? country; String? consent_source; EnvokeGiveExpressConsentRequestAsync({this.email,this.preferred_name,this.first_name,this.last_name,this.salutation,this.city,this.country,this.consent_source}); EnvokeGiveExpressConsentRequestAsync.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']; 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 }; getTypeName() => "EnvokeGiveExpressConsentRequestAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'EnvokeGiveExpressConsentRequestAsync': TypeInfo(TypeOf.Class, create:() => EnvokeGiveExpressConsentRequestAsync()), });