/* Options: Date: 2025-12-06 08:40:09 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: BusinessCardTypeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BusinessCardType implements IConvertible { int? BusinessCardTypeId; String? Name; String? Description; bool? IsBack; BusinessCardType({this.BusinessCardTypeId,this.Name,this.Description,this.IsBack}); BusinessCardType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BusinessCardTypeId = json['BusinessCardTypeId']; Name = json['Name']; Description = json['Description']; IsBack = json['IsBack']; return this; } Map toJson() => { 'BusinessCardTypeId': BusinessCardTypeId, 'Name': Name, 'Description': Description, 'IsBack': IsBack }; getTypeName() => "BusinessCardType"; TypeContext? context = _ctx; } class BusinessCardTypeResponse implements IConvertible { ResponseStatus? ResponseStatus; List? BusinessCardType = []; BusinessCardTypeResponse({this.ResponseStatus,this.BusinessCardType}); BusinessCardTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); BusinessCardType = JsonConverters.fromJson(json['BusinessCardType'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'BusinessCardType': JsonConverters.toJson(BusinessCardType,'List',context!) }; getTypeName() => "BusinessCardTypeResponse"; TypeContext? context = _ctx; } // @Route("/v1/BusinessCardType", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/BusinessCardType/{BusinessCardTypeId}", "GET,POST,PUT,DELETE,OPTIONS") class BusinessCardTypeRequest implements IReturn, IConvertible, IPost { List? BusinessCardType = []; BusinessCardTypeRequest({this.BusinessCardType}); BusinessCardTypeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BusinessCardType = JsonConverters.fromJson(json['BusinessCardType'],'List',context!); return this; } Map toJson() => { 'BusinessCardType': JsonConverters.toJson(BusinessCardType,'List',context!) }; createResponse() => BusinessCardTypeResponse(); getResponseTypeName() => "BusinessCardTypeResponse"; getTypeName() => "BusinessCardTypeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'BusinessCardType': TypeInfo(TypeOf.Class, create:() => BusinessCardType()), 'BusinessCardTypeResponse': TypeInfo(TypeOf.Class, create:() => BusinessCardTypeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BusinessCardTypeRequest': TypeInfo(TypeOf.Class, create:() => BusinessCardTypeRequest()), });