/* Options: Date: 2024-10-18 04:33:07 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: UpdateDocumentWithEmail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class UpdateDocumentWithFileResponse implements IConvertible { bool? IsSucces; String? FileUrl; UpdateDocumentWithFileResponse({this.IsSucces,this.FileUrl}); UpdateDocumentWithFileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsSucces = json['IsSucces']; FileUrl = json['FileUrl']; return this; } Map toJson() => { 'IsSucces': IsSucces, 'FileUrl': FileUrl }; getTypeName() => "UpdateDocumentWithFileResponse"; TypeContext? context = _ctx; } class UpdateDocumentWithFile implements IReturn, IConvertible { String? DocumentId; bool? UpdateStorageSystem; UpdateDocumentWithFile({this.DocumentId,this.UpdateStorageSystem}); UpdateDocumentWithFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentId = json['DocumentId']; UpdateStorageSystem = json['UpdateStorageSystem']; return this; } Map toJson() => { 'DocumentId': DocumentId, 'UpdateStorageSystem': UpdateStorageSystem }; createResponse() => UpdateDocumentWithFileResponse(); getResponseTypeName() => "UpdateDocumentWithFileResponse"; getTypeName() => "UpdateDocumentWithFile"; TypeContext? context = _ctx; } class UpdateDocumentWithEmail extends UpdateDocumentWithFile implements IReturn, IConvertible { String? EmailConversationID; UpdateDocumentWithEmail({this.EmailConversationID}); UpdateDocumentWithEmail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); EmailConversationID = json['EmailConversationID']; return this; } Map toJson() => super.toJson()..addAll({ 'EmailConversationID': EmailConversationID }); createResponse() => UpdateDocumentWithFileResponse(); getResponseTypeName() => "UpdateDocumentWithFileResponse"; getTypeName() => "UpdateDocumentWithEmail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'UpdateDocumentWithFileResponse': TypeInfo(TypeOf.Class, create:() => UpdateDocumentWithFileResponse()), 'UpdateDocumentWithFile': TypeInfo(TypeOf.Class, create:() => UpdateDocumentWithFile()), 'UpdateDocumentWithEmail': TypeInfo(TypeOf.Class, create:() => UpdateDocumentWithEmail()), });