/* Options: Date: 2026-08-12 18:54:31 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: RecordCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordsOkResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Ok; int? Id; String? Key; List? Matches = []; RecordsOkResponse({this.ResponseStatus,this.Ok,this.Id,this.Key,this.Matches}); RecordsOkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Ok = json['Ok']; Id = json['Id']; Key = json['Key']; Matches = JsonConverters.fromJson(json['Matches'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Ok': Ok, 'Id': Id, 'Key': Key, 'Matches': JsonConverters.toJson(Matches,'List',context!) }; getTypeName() => "RecordsOkResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/entry", "POST,OPTIONS") class RecordCreateRequest implements IReturn, IConvertible, IPost { String? Name; int? SeriesId; String? Classification; String? Format; String? TriggerDate; String? MetaJson; String? FilesJson; String? Warehouse; String? Aisle; String? Shelf; RecordCreateRequest({this.Name,this.SeriesId,this.Classification,this.Format,this.TriggerDate,this.MetaJson,this.FilesJson,this.Warehouse,this.Aisle,this.Shelf}); RecordCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; SeriesId = json['SeriesId']; Classification = json['Classification']; Format = json['Format']; TriggerDate = json['TriggerDate']; MetaJson = json['MetaJson']; FilesJson = json['FilesJson']; Warehouse = json['Warehouse']; Aisle = json['Aisle']; Shelf = json['Shelf']; return this; } Map toJson() => { 'Name': Name, 'SeriesId': SeriesId, 'Classification': Classification, 'Format': Format, 'TriggerDate': TriggerDate, 'MetaJson': MetaJson, 'FilesJson': FilesJson, 'Warehouse': Warehouse, 'Aisle': Aisle, 'Shelf': Shelf }; createResponse() => RecordsOkResponse(); getResponseTypeName() => "RecordsOkResponse"; getTypeName() => "RecordCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RecordsOkResponse': TypeInfo(TypeOf.Class, create:() => RecordsOkResponse()), 'RecordCreateRequest': TypeInfo(TypeOf.Class, create:() => RecordCreateRequest()), });