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