/* Options: Date: 2025-05-05 01:51:53 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListCrmContacts.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CrmContactInfo implements IConvertible { String? id; String? displayName; CrmContactInfo({this.id,this.displayName}); CrmContactInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; displayName = json['displayName']; return this; } Map toJson() => { 'id': id, 'displayName': displayName }; getTypeName() => "CrmContactInfo"; TypeContext? context = _ctx; } class ListCrmContactsResponse implements IConvertible { List? contacts; ListCrmContactsResponse({this.contacts}); ListCrmContactsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { contacts = JsonConverters.fromJson(json['contacts'],'List',context!); return this; } Map toJson() => { 'contacts': JsonConverters.toJson(contacts,'List',context!) }; getTypeName() => "ListCrmContactsResponse"; TypeContext? context = _ctx; } // @Route("/integrations/{integrationId}/contacts") class ListCrmContacts implements IReturn, IConvertible, IGet { String? integrationId; String? customerId; String? query; ListCrmContacts({this.integrationId,this.customerId,this.query}); ListCrmContacts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { integrationId = json['integrationId']; customerId = json['customerId']; query = json['query']; return this; } Map toJson() => { 'integrationId': integrationId, 'customerId': customerId, 'query': query }; createResponse() => ListCrmContactsResponse(); getResponseTypeName() => "ListCrmContactsResponse"; getTypeName() => "ListCrmContacts"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'CrmContactInfo': TypeInfo(TypeOf.Class, create:() => CrmContactInfo()), 'ListCrmContactsResponse': TypeInfo(TypeOf.Class, create:() => ListCrmContactsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ListCrmContacts': TypeInfo(TypeOf.Class, create:() => ListCrmContacts()), });