/* Options: Date: 2026-08-10 19:13:43 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: ReceptionistConfigPutRequest.* //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", "PUT,OPTIONS") class ReceptionistConfigPutRequest implements IReturn, IConvertible, IPut { String? Greeting; String? EscalationPhone; int? CallbackAgentId; bool? RegenerateKey; bool? DisableKey; ReceptionistConfigPutRequest({this.Greeting,this.EscalationPhone,this.CallbackAgentId,this.RegenerateKey,this.DisableKey}); ReceptionistConfigPutRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Greeting = json['Greeting']; EscalationPhone = json['EscalationPhone']; CallbackAgentId = json['CallbackAgentId']; RegenerateKey = json['RegenerateKey']; DisableKey = json['DisableKey']; return this; } Map toJson() => { 'Greeting': Greeting, 'EscalationPhone': EscalationPhone, 'CallbackAgentId': CallbackAgentId, 'RegenerateKey': RegenerateKey, 'DisableKey': DisableKey }; createResponse() => ReceptionistConfigResponse(); getResponseTypeName() => "ReceptionistConfigResponse"; getTypeName() => "ReceptionistConfigPutRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistConfigResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistConfigResponse()), 'ReceptionistConfigPutRequest': TypeInfo(TypeOf.Class, create:() => ReceptionistConfigPutRequest()), });