/* Options: Date: 2025-12-06 08:04:18 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: AgentOfficeLocationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentOfficeLocation implements IConvertible { int? Id; String? City; String? State; AgentOfficeLocation({this.Id,this.City,this.State}); AgentOfficeLocation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; City = json['City']; State = json['State']; return this; } Map toJson() => { 'Id': Id, 'City': City, 'State': State }; getTypeName() => "AgentOfficeLocation"; TypeContext? context = _ctx; } class AgentOfficeLocationResponse implements IConvertible { ResponseStatus? ResponseStatus; List? AgentOfficeLocations = []; AgentOfficeLocationResponse({this.ResponseStatus,this.AgentOfficeLocations}); AgentOfficeLocationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AgentOfficeLocations = JsonConverters.fromJson(json['AgentOfficeLocations'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AgentOfficeLocations': JsonConverters.toJson(AgentOfficeLocations,'List',context!) }; getTypeName() => "AgentOfficeLocationResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentCrmGetOfficeLocations", "GET,OPTIONS") class AgentOfficeLocationRequest implements IReturn, IConvertible, IGet { AgentOfficeLocationRequest(); AgentOfficeLocationRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AgentOfficeLocationResponse(); getResponseTypeName() => "AgentOfficeLocationResponse"; getTypeName() => "AgentOfficeLocationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentOfficeLocation': TypeInfo(TypeOf.Class, create:() => AgentOfficeLocation()), 'AgentOfficeLocationResponse': TypeInfo(TypeOf.Class, create:() => AgentOfficeLocationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AgentOfficeLocationRequest': TypeInfo(TypeOf.Class, create:() => AgentOfficeLocationRequest()), });