/* Options: Date: 2025-12-19 17:43:33 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PartnerRegister.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class PartnerRegisterResponse implements IConvertible { int? Id; ResponseStatus? ResponseStatus; PartnerRegisterResponse({this.Id,this.ResponseStatus}); PartnerRegisterResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PartnerRegisterResponse"; TypeContext? context = _ctx; } // @Route("/partnerregister", "POST") class PartnerRegister implements IReturn, IConvertible, IPost { // @Validate(Validator="Email") String? EMail; // @Validate(Validator="[NotNull,NotEmpty]") String? Name; // @Validate(Validator="NotNull") String? Password; String? ConfirmPassword; // @Validate(Validator="NotNull") String? Company; // @Validate(Validator="NotNull") int? CurrencyId; List? Roles; PartnerRegister({this.EMail,this.Name,this.Password,this.ConfirmPassword,this.Company,this.CurrencyId,this.Roles}); PartnerRegister.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EMail = json['EMail']; Name = json['Name']; Password = json['Password']; ConfirmPassword = json['ConfirmPassword']; Company = json['Company']; CurrencyId = json['CurrencyId']; Roles = JsonConverters.fromJson(json['Roles'],'List',context!); return this; } Map toJson() => { 'EMail': EMail, 'Name': Name, 'Password': Password, 'ConfirmPassword': ConfirmPassword, 'Company': Company, 'CurrencyId': CurrencyId, 'Roles': JsonConverters.toJson(Roles,'List',context!) }; createResponse() => PartnerRegisterResponse(); getResponseTypeName() => "PartnerRegisterResponse"; getTypeName() => "PartnerRegister"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'PartnerRegisterResponse': TypeInfo(TypeOf.Class, create:() => PartnerRegisterResponse()), 'PartnerRegister': TypeInfo(TypeOf.Class, create:() => PartnerRegister()), });