/* Options: Date: 2026-08-12 19:18:38 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: RecordsRequestsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecordsRequestDto implements IConvertible { int? RequestId; String? RequestKey; String? Subject; String? Body; String? RequesterName; String? RequesterContact; String? Channel; String? ReceivedLabel; String? Status; int? ExtendedDays; String? ItemsJson; String? LogJson; String? DueDate; int? DueDays; RecordsRequestDto({this.RequestId,this.RequestKey,this.Subject,this.Body,this.RequesterName,this.RequesterContact,this.Channel,this.ReceivedLabel,this.Status,this.ExtendedDays,this.ItemsJson,this.LogJson,this.DueDate,this.DueDays}); RecordsRequestDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RequestId = json['RequestId']; RequestKey = json['RequestKey']; Subject = json['Subject']; Body = json['Body']; RequesterName = json['RequesterName']; RequesterContact = json['RequesterContact']; Channel = json['Channel']; ReceivedLabel = json['ReceivedLabel']; Status = json['Status']; ExtendedDays = json['ExtendedDays']; ItemsJson = json['ItemsJson']; LogJson = json['LogJson']; DueDate = json['DueDate']; DueDays = json['DueDays']; return this; } Map toJson() => { 'RequestId': RequestId, 'RequestKey': RequestKey, 'Subject': Subject, 'Body': Body, 'RequesterName': RequesterName, 'RequesterContact': RequesterContact, 'Channel': Channel, 'ReceivedLabel': ReceivedLabel, 'Status': Status, 'ExtendedDays': ExtendedDays, 'ItemsJson': ItemsJson, 'LogJson': LogJson, 'DueDate': DueDate, 'DueDays': DueDays }; getTypeName() => "RecordsRequestDto"; TypeContext? context = _ctx; } class RecordsRequestsResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Requests = []; RecordsRequestsResponse({this.ResponseStatus,this.Requests}); RecordsRequestsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Requests = JsonConverters.fromJson(json['Requests'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Requests': JsonConverters.toJson(Requests,'List',context!) }; getTypeName() => "RecordsRequestsResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/requests", "GET,OPTIONS") class RecordsRequestsRequest implements IReturn, IConvertible, IGet { RecordsRequestsRequest(); RecordsRequestsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => RecordsRequestsResponse(); getResponseTypeName() => "RecordsRequestsResponse"; getTypeName() => "RecordsRequestsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RecordsRequestDto': TypeInfo(TypeOf.Class, create:() => RecordsRequestDto()), 'RecordsRequestsResponse': TypeInfo(TypeOf.Class, create:() => RecordsRequestsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RecordsRequestsRequest': TypeInfo(TypeOf.Class, create:() => RecordsRequestsRequest()), });