/* Options: Date: 2025-12-06 08:22:40 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AgentSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentSearchResponse implements IConvertible { bool? Success; String? Message; ResponseStatus? ResponseStatus; int? Upline1; int? Upline2; String? Office; AgentSearchResponse({this.Success,this.Message,this.ResponseStatus,this.Upline1,this.Upline2,this.Office}); AgentSearchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Upline1 = json['Upline1']; Upline2 = json['Upline2']; Office = json['Office']; return this; } Map toJson() => { 'Success': Success, 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Upline1': Upline1, 'Upline2': Upline2, 'Office': Office }; getTypeName() => "AgentSearchResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentRegistrationTemp/{AgentName}/search/{Upline}", "GET") class AgentSearchRequest implements IReturn, IConvertible, IGet { String? AgentName; int? Upline; AgentSearchRequest({this.AgentName,this.Upline}); AgentSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentName = json['AgentName']; Upline = json['Upline']; return this; } Map toJson() => { 'AgentName': AgentName, 'Upline': Upline }; createResponse() => AgentSearchResponse(); getResponseTypeName() => "AgentSearchResponse"; getTypeName() => "AgentSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentSearchResponse': TypeInfo(TypeOf.Class, create:() => AgentSearchResponse()), 'AgentSearchRequest': TypeInfo(TypeOf.Class, create:() => AgentSearchRequest()), });