/* Options: Date: 2026-08-10 17:05:51 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: ReceptionistConfigGetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReceptionistConfigResponse implements IConvertible { bool? Enabled; String? ToolKey; String? Greeting; String? EscalationPhone; int? CallbackAgentId; ResponseStatus? ResponseStatus; ReceptionistConfigResponse({this.Enabled,this.ToolKey,this.Greeting,this.EscalationPhone,this.CallbackAgentId,this.ResponseStatus}); ReceptionistConfigResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; ToolKey = json['ToolKey']; Greeting = json['Greeting']; EscalationPhone = json['EscalationPhone']; CallbackAgentId = json['CallbackAgentId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Enabled': Enabled, 'ToolKey': ToolKey, 'Greeting': Greeting, 'EscalationPhone': EscalationPhone, 'CallbackAgentId': CallbackAgentId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ReceptionistConfigResponse"; TypeContext? context = _ctx; } // @Route("/v1/receptionist/config", "GET,OPTIONS") class ReceptionistConfigGetRequest implements IReturn, IConvertible, IGet { ReceptionistConfigGetRequest(); ReceptionistConfigGetRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ReceptionistConfigResponse(); getResponseTypeName() => "ReceptionistConfigResponse"; getTypeName() => "ReceptionistConfigGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistConfigResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistConfigResponse()), 'ReceptionistConfigGetRequest': TypeInfo(TypeOf.Class, create:() => ReceptionistConfigGetRequest()), });