/* Options: Date: 2026-11-23 14:24:58 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: FormOfficeFileRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormFillFileResponse implements IConvertible { String? Id; String? Name; String? Size; String? Kind; int? Rev; ResponseStatus? ResponseStatus; FormFillFileResponse({this.Id,this.Name,this.Size,this.Kind,this.Rev,this.ResponseStatus}); FormFillFileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Size = json['Size']; Kind = json['Kind']; Rev = json['Rev']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Size': Size, 'Kind': Kind, 'Rev': Rev, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormFillFileResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/office/drafts/{SubmissionUID}/file/{FieldKey}", "POST,OPTIONS") class FormOfficeFileRequest implements IReturn, IConvertible, IPost { String? SubmissionUID; String? FieldKey; int? Rev; Uint8List? RequestStream; FormOfficeFileRequest({this.SubmissionUID,this.FieldKey,this.Rev,this.RequestStream}); FormOfficeFileRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; FieldKey = json['FieldKey']; Rev = json['Rev']; RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!); return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'FieldKey': FieldKey, 'Rev': Rev, 'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!) }; createResponse() => FormFillFileResponse(); getResponseTypeName() => "FormFillFileResponse"; getTypeName() => "FormOfficeFileRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormFillFileResponse': TypeInfo(TypeOf.Class, create:() => FormFillFileResponse()), 'FormOfficeFileRequest': TypeInfo(TypeOf.Class, create:() => FormOfficeFileRequest()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });