/* Options: Date: 2024-10-18 04:31:22 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddFile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AddFileResponse implements IConvertible { String? FileID; AddFileResponse({this.FileID}); AddFileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FileID = json['FileID']; return this; } Map toJson() => { 'FileID': FileID }; getTypeName() => "AddFileResponse"; TypeContext? context = _ctx; } class AddFile implements IReturn, IConvertible { String? Link; String? BlobID; int? Size; bool? IsAttachment; bool? Data; bool? OCR; bool? Preview; String? Type; DateTime? DateTimeLastModified; int? MetricHeight; int? MetricWidth; String? DocumentID; String? OriginalFileName; AddFile({this.Link,this.BlobID,this.Size,this.IsAttachment,this.Data,this.OCR,this.Preview,this.Type,this.DateTimeLastModified,this.MetricHeight,this.MetricWidth,this.DocumentID,this.OriginalFileName}); AddFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Link = json['Link']; BlobID = json['BlobID']; Size = json['Size']; IsAttachment = json['IsAttachment']; Data = json['Data']; OCR = json['OCR']; Preview = json['Preview']; Type = json['Type']; DateTimeLastModified = JsonConverters.fromJson(json['DateTimeLastModified'],'DateTime',context!); MetricHeight = json['MetricHeight']; MetricWidth = json['MetricWidth']; DocumentID = json['DocumentID']; OriginalFileName = json['OriginalFileName']; return this; } Map toJson() => { 'Link': Link, 'BlobID': BlobID, 'Size': Size, 'IsAttachment': IsAttachment, 'Data': Data, 'OCR': OCR, 'Preview': Preview, 'Type': Type, 'DateTimeLastModified': JsonConverters.toJson(DateTimeLastModified,'DateTime',context!), 'MetricHeight': MetricHeight, 'MetricWidth': MetricWidth, 'DocumentID': DocumentID, 'OriginalFileName': OriginalFileName }; createResponse() => AddFileResponse(); getResponseTypeName() => "AddFileResponse"; getTypeName() => "AddFile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'AddFileResponse': TypeInfo(TypeOf.Class, create:() => AddFileResponse()), 'AddFile': TypeInfo(TypeOf.Class, create:() => AddFile()), });